#[non_exhaustive]pub struct LinkedVpcNetwork {
pub uri: String,
pub exclude_export_ranges: Vec<String>,
pub include_export_ranges: Vec<String>,
pub proposed_include_export_ranges: Vec<String>,
pub proposed_exclude_export_ranges: Vec<String>,
pub producer_vpc_spokes: Vec<String>,
/* private fields */
}Expand description
An existing VPC network.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.uri: StringRequired. The URI of the VPC network resource.
exclude_export_ranges: Vec<String>Optional. IP ranges encompassing the subnets to be excluded from peering.
include_export_ranges: Vec<String>Optional. IP ranges allowed to be included from peering.
proposed_include_export_ranges: Vec<String>Optional. The proposed include export IP ranges waiting for hub administration’s approval.
proposed_exclude_export_ranges: Vec<String>Output only. The proposed exclude export IP ranges waiting for hub administration’s approval.
producer_vpc_spokes: Vec<String>Output only. The list of Producer VPC spokes that this VPC spoke is a service consumer VPC spoke for. These producer VPCs are connected through VPC peering to this spoke’s backing VPC network. Because they are directly connected throuh VPC peering, NCC export filters do not apply between the service consumer VPC spoke and any of its producer VPC spokes. This VPC spoke cannot be deleted as long as any of these producer VPC spokes are connected to the NCC Hub.
Implementations§
Source§impl LinkedVpcNetwork
impl LinkedVpcNetwork
pub fn new() -> Self
Sourcepub fn set_exclude_export_ranges<T, V>(self, v: T) -> Self
pub fn set_exclude_export_ranges<T, V>(self, v: T) -> Self
Sets the value of exclude_export_ranges.
Sourcepub fn set_include_export_ranges<T, V>(self, v: T) -> Self
pub fn set_include_export_ranges<T, V>(self, v: T) -> Self
Sets the value of include_export_ranges.
Sourcepub fn set_proposed_include_export_ranges<T, V>(self, v: T) -> Self
pub fn set_proposed_include_export_ranges<T, V>(self, v: T) -> Self
Sets the value of proposed_include_export_ranges.
Sourcepub fn set_proposed_exclude_export_ranges<T, V>(self, v: T) -> Self
pub fn set_proposed_exclude_export_ranges<T, V>(self, v: T) -> Self
Sets the value of proposed_exclude_export_ranges.
Sourcepub fn set_producer_vpc_spokes<T, V>(self, v: T) -> Self
pub fn set_producer_vpc_spokes<T, V>(self, v: T) -> Self
Sets the value of producer_vpc_spokes.
Trait Implementations§
Source§impl Clone for LinkedVpcNetwork
impl Clone for LinkedVpcNetwork
Source§fn clone(&self) -> LinkedVpcNetwork
fn clone(&self) -> LinkedVpcNetwork
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more