#[non_exhaustive]pub struct LinkedProducerVpcNetwork {
pub network: String,
pub service_consumer_vpc_spoke: String,
pub peering: String,
pub producer_network: 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>,
/* private fields */
}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.network: StringImmutable. The URI of the Service Consumer VPC that the Producer VPC is peered with.
service_consumer_vpc_spoke: StringOutput only. The Service Consumer Network spoke.
peering: StringImmutable. The name of the VPC peering between the Service Consumer VPC and the Producer VPC (defined in the Tenant project) which is added to the NCC hub. This peering must be in ACTIVE state.
producer_network: StringOutput only. The URI of the Producer VPC.
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.
Implementations§
Source§impl LinkedProducerVpcNetwork
impl LinkedProducerVpcNetwork
pub fn new() -> Self
Sourcepub fn set_network<T: Into<String>>(self, v: T) -> Self
pub fn set_network<T: Into<String>>(self, v: T) -> Self
Sets the value of network.
Sourcepub fn set_service_consumer_vpc_spoke<T: Into<String>>(self, v: T) -> Self
pub fn set_service_consumer_vpc_spoke<T: Into<String>>(self, v: T) -> Self
Sets the value of service_consumer_vpc_spoke.
Sourcepub fn set_peering<T: Into<String>>(self, v: T) -> Self
pub fn set_peering<T: Into<String>>(self, v: T) -> Self
Sets the value of peering.
Sourcepub fn set_producer_network<T: Into<String>>(self, v: T) -> Self
pub fn set_producer_network<T: Into<String>>(self, v: T) -> Self
Sets the value of producer_network.
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.
Trait Implementations§
Source§impl Clone for LinkedProducerVpcNetwork
impl Clone for LinkedProducerVpcNetwork
Source§fn clone(&self) -> LinkedProducerVpcNetwork
fn clone(&self) -> LinkedProducerVpcNetwork
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more