#![doc = "generated by AutoRust 0.1.0"]
#[cfg(feature = "package-2020-05-preview")]
mod package_2020_05_preview;
#[cfg(feature = "package-2020-05-preview")]
pub use package_2020_05_preview::{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 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 use package_2020_03::{models, operations, API_VERSION};
#[cfg(feature = "package-2019-11")]
mod package_2019_11;
#[cfg(feature = "package-2019-11")]
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 use package_2019_10_17_preview_only::{models, operations, API_VERSION};
#[cfg(feature = "package-2019-06")]
mod package_2019_06;
#[cfg(feature = "package-2019-06")]
pub use package_2019_06::{models, operations, API_VERSION};
#[cfg(feature = "package-2019-03")]
mod package_2019_03;
#[cfg(feature = "package-2019-03")]
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 use package_2018_11_preview::{models, operations, API_VERSION};
#[cfg(feature = "package-2018-09")]
mod package_2018_09;
#[cfg(feature = "package-2018-09")]
pub use package_2018_09::{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-02-preview")]
mod package_2018_02_preview;
#[cfg(feature = "package-2018-02-preview")]
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 use package_2017_12::{models, operations, API_VERSION};
#[cfg(feature = "package-2017-09")]
mod package_2017_09;
#[cfg(feature = "package-2017-09")]
pub use package_2017_09::{models, operations, API_VERSION};
#[cfg(feature = "package-2017-08")]
mod package_2017_08;
#[cfg(feature = "package-2017-08")]
pub use package_2017_08::{models, operations, API_VERSION};
#[cfg(feature = "package-2019-11-preview-only")]
mod package_2019_11_preview_only;
#[cfg(feature = "package-2019-11-preview-only")]
pub use package_2019_11_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 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 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 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 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 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 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 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 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 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 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 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 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 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 use package_2016_09_01_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 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 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 use package_2015_04_01_only::{models, operations, API_VERSION};
pub struct OperationConfig {
    pub api_version: String,
    pub client: reqwest::Client,
    pub base_path: String,
    pub token_credential: Option<Box<dyn azure_core::TokenCredential>>,
    pub token_credential_resource: String,
}
impl OperationConfig {
    pub fn new(token_credential: Box<dyn azure_core::TokenCredential>) -> Self {
        Self {
            token_credential: Some(token_credential),
            ..Default::default()
        }
    }
}
impl Default for OperationConfig {
    fn default() -> Self {
        Self {
            api_version: API_VERSION.to_owned(),
            client: reqwest::Client::new(),
            base_path: "https://management.azure.com".to_owned(),
            token_credential: None,
            token_credential_resource: "https://management.azure.com/".to_owned(),
        }
    }
}
