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_suspend_seconds: Option<u32>,
pub disk_image: 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 session is created with, as declared.
Carried whole rather than as a flag: the data plane’s default action is Allow, so a
session created without a policy is an open one, and a hostname list has no boolean to
travel in.
idle_suspend_seconds: Option<u32>Idle seconds after which a session suspends, 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 disk image every session is created from, taken from the declaration’s code.
Carried rather than hardcoded in the provider because the declaration is the only place that knows it, and a sandbox running an image its author did not choose is the one Azure gap that fails without an error.
Trait Implementations§
Source§impl Clone for AzureSandboxBinding
impl Clone for AzureSandboxBinding
Source§fn clone(&self) -> AzureSandboxBinding
fn clone(&self) -> AzureSandboxBinding
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§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.