#[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
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.
§Example
let x = LinkedVpcNetwork::new().set_exclude_export_ranges(["a", "b", "c"]);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.
§Example
let x = LinkedVpcNetwork::new().set_include_export_ranges(["a", "b", "c"]);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.
§Example
let x = LinkedVpcNetwork::new().set_proposed_include_export_ranges(["a", "b", "c"]);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.
§Example
let x = LinkedVpcNetwork::new().set_proposed_exclude_export_ranges(["a", "b", "c"]);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.
§Example
let x = LinkedVpcNetwork::new().set_producer_vpc_spokes(["a", "b", "c"]);Trait Implementations§
Source§impl Clone for LinkedVpcNetwork
impl Clone for LinkedVpcNetwork
Source§fn clone(&self) -> LinkedVpcNetwork
fn clone(&self) -> LinkedVpcNetwork
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 LinkedVpcNetwork
impl Debug for LinkedVpcNetwork
Source§impl Default for LinkedVpcNetwork
impl Default for LinkedVpcNetwork
Source§fn default() -> LinkedVpcNetwork
fn default() -> LinkedVpcNetwork
Source§impl Message for LinkedVpcNetwork
impl Message for LinkedVpcNetwork
Source§impl PartialEq for LinkedVpcNetwork
impl PartialEq for LinkedVpcNetwork
impl StructuralPartialEq for LinkedVpcNetwork
Auto Trait Implementations§
impl Freeze for LinkedVpcNetwork
impl RefUnwindSafe for LinkedVpcNetwork
impl Send for LinkedVpcNetwork
impl Sync for LinkedVpcNetwork
impl Unpin for LinkedVpcNetwork
impl UnsafeUnpin for LinkedVpcNetwork
impl UnwindSafe for LinkedVpcNetwork
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<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request