pub struct AzureSandboxBinding {
pub sandbox_group: BindingValue<String>,
pub data_plane_endpoint: BindingValue<String>,
pub region: BindingValue<String>,
pub resource_group: BindingValue<String>,
pub egress: SandboxEgress,
pub idle_pause_seconds: Option<u32>,
pub disk_image: BindingValue<String>,
pub cpu: Option<BindingValue<String>>,
pub memory: Option<BindingValue<String>>,
pub disk: Option<BindingValue<String>>,
}Expand description
Azure sandbox binding configuration.
Fields§
§sandbox_group: BindingValue<String>Sandbox group that scopes every sandbox, image, snapshot and secret
data_plane_endpoint: BindingValue<String>ADC data-plane endpoint, which is separate from the ARM control plane
region: BindingValue<String>Region the sandbox group lives in; selects the per-region ADC endpoint
resource_group: BindingValue<String>Resource group the sandbox group sits in. The data-plane path is scoped by it, and the Azure client config does not carry one.
egress: SandboxEgressOutbound policy every sandbox is created with, as declared.
Carried whole rather than as a flag: the data plane’s default action is Allow, so a
sandbox created without a policy is an open one, and a hostname list has no boolean to
travel in.
idle_pause_seconds: Option<u32>Idle seconds after which a sandbox pauses, if the declaration asked for one.
Carried because the data plane takes it at create and nowhere else: a policy that does not travel with the create body is a declaration the sandbox never hears about.
disk_image: BindingValue<String>Catalog name or registry image every sandbox is created from, as code declares it. A
registry image is resolved by label to the disk image the controller built, so the value
stays one a setup package can render.
cpu: Option<BindingValue<String>>Sandbox ceilings in the data plane’s own units, from the declaration. Optional because a binding from an earlier release carries none — a required field would fail to deserialize on an already-running deployment. Absent takes the data plane’s own default.
memory: Option<BindingValue<String>>§disk: Option<BindingValue<String>>Trait Implementations§
Source§impl Clone for AzureSandboxBinding
impl Clone for AzureSandboxBinding
Source§impl Debug for AzureSandboxBinding
impl Debug for AzureSandboxBinding
Source§impl<'de> Deserialize<'de> for AzureSandboxBinding
impl<'de> Deserialize<'de> for AzureSandboxBinding
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for AzureSandboxBinding
Source§impl PartialEq for AzureSandboxBinding
impl PartialEq for AzureSandboxBinding
Source§impl Serialize for AzureSandboxBinding
impl Serialize for AzureSandboxBinding
impl StructuralPartialEq for AzureSandboxBinding
Auto Trait Implementations§
impl Freeze for AzureSandboxBinding
impl RefUnwindSafe for AzureSandboxBinding
impl Send for AzureSandboxBinding
impl Sync for AzureSandboxBinding
impl Unpin for AzureSandboxBinding
impl UnsafeUnpin for AzureSandboxBinding
impl UnwindSafe for AzureSandboxBinding
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.