pub struct NetworkOutputs {
pub network_id: String,
pub availability_zones: u8,
pub has_public_subnets: bool,
pub has_nat_gateway: bool,
pub cidr: Option<String>,
}Expand description
Outputs generated by a successfully provisioned Network.
Network outputs are cloud-agnostic and primarily for observability/debugging.
Resources that need platform-specific details (VPC ID, subnet IDs) use require_dependency
to access the controller state directly.
Fields§
§network_id: StringHuman-readable network identifier (VPC ID, VNet name, etc.)
availability_zones: u8Number of availability zones / regions used
has_public_subnets: boolWhether public subnets exist
has_nat_gateway: boolWhether NAT gateway exists
cidr: Option<String>CIDR block (if created by Alien, None for BYO-VPC)
Trait Implementations§
Source§impl Clone for NetworkOutputs
impl Clone for NetworkOutputs
Source§fn clone(&self) -> NetworkOutputs
fn clone(&self) -> NetworkOutputs
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NetworkOutputs
impl Debug for NetworkOutputs
Source§impl<'de> Deserialize<'de> for NetworkOutputs
impl<'de> Deserialize<'de> for NetworkOutputs
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for NetworkOutputs
impl PartialEq for NetworkOutputs
Source§impl ResourceOutputsDefinition for NetworkOutputs
impl ResourceOutputsDefinition for NetworkOutputs
Source§fn resource_type() -> ResourceType
fn resource_type() -> ResourceType
Returns the resource type this output corresponds to
Source§fn box_clone(&self) -> Box<dyn ResourceOutputsDefinition>
fn box_clone(&self) -> Box<dyn ResourceOutputsDefinition>
Creates a boxed clone of this resource outputs
Source§fn outputs_eq(&self, other: &dyn ResourceOutputsDefinition) -> bool
fn outputs_eq(&self, other: &dyn ResourceOutputsDefinition) -> bool
For equality comparison between resource outputs
Source§impl Serialize for NetworkOutputs
impl Serialize for NetworkOutputs
impl Eq for NetworkOutputs
impl StructuralPartialEq for NetworkOutputs
Auto Trait Implementations§
impl Freeze for NetworkOutputs
impl RefUnwindSafe for NetworkOutputs
impl Send for NetworkOutputs
impl Sync for NetworkOutputs
impl Unpin for NetworkOutputs
impl UnsafeUnpin for NetworkOutputs
impl UnwindSafe for NetworkOutputs
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
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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
Compare self to
key and return true if they are equal.