Skip to main content

alien_core/import/data/azure/
sandbox.rs

1use serde::{Deserialize, Serialize};
2
3/// Azure Sandbox ImportData.
4///
5/// Carries the sandbox group from the setup emitter to the runtime controller. All three fields
6/// are required to address it: the ADC data plane endpoint is **per-region**, so a group without
7/// its region cannot be reached at all, and the data plane path is scoped by resource group.
8#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
9#[cfg_attr(feature = "openapi", derive(utoipa::ToSchema))]
10#[cfg_attr(feature = "jsonschema", derive(schemars::JsonSchema))]
11#[serde(rename_all = "camelCase")]
12pub struct AzureSandboxImportData {
13    /// Sandbox group name.
14    pub sandbox_group: String,
15    /// Region the group lives in; selects the ADC endpoint.
16    pub region: String,
17    /// Resource group containing the sandbox group.
18    pub resource_group: String,
19}