pub struct NetworkPeeringArgs {
pub export_custom_routes: Output<Option<bool>>,
pub export_subnet_routes_with_public_ip: Output<Option<bool>>,
pub import_custom_routes: Output<Option<bool>>,
pub import_subnet_routes_with_public_ip: Output<Option<bool>>,
pub name: Output<Option<String>>,
pub network: Output<String>,
pub peer_network: Output<String>,
pub stack_type: Output<Option<String>>,
}
Fields§
§export_custom_routes: Output<Option<bool>>
Whether to export the custom routes to the peer network. Defaults to false
.
export_subnet_routes_with_public_ip: Output<Option<bool>>
Whether subnet routes with public IP range are exported. The default value is true, all subnet routes are exported. The IPv4 special-use ranges (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always exported to peers and are not controlled by this field.
import_custom_routes: Output<Option<bool>>
Whether to import the custom routes from the peer network. Defaults to false
.
import_subnet_routes_with_public_ip: Output<Option<bool>>
Whether subnet routes with public IP range are imported. The default value is false. The IPv4 special-use ranges (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always imported from peers and are not controlled by this field.
name: Output<Option<String>>
Name of the peering.
network: Output<String>
The primary network of the peering.
peer_network: Output<String>
The peer network in the peering. The peer network may belong to a different project.
stack_type: Output<Option<String>>
Which IP version(s) of traffic and routes are allowed to be imported or exported between peer networks. The default value is IPV4_ONLY. Possible values: [“IPV4_ONLY”, “IPV4_IPV6”].
Implementations§
source§impl NetworkPeeringArgs
impl NetworkPeeringArgs
sourcepub fn builder() -> NetworkPeeringArgsBuilder
pub fn builder() -> NetworkPeeringArgsBuilder
Create an instance of NetworkPeeringArgs
using the builder syntax
Trait Implementations§
source§impl Clone for NetworkPeeringArgs
impl Clone for NetworkPeeringArgs
source§fn clone(&self) -> NetworkPeeringArgs
fn clone(&self) -> NetworkPeeringArgs
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for NetworkPeeringArgs
impl RefUnwindSafe for NetworkPeeringArgs
impl Send for NetworkPeeringArgs
impl Sync for NetworkPeeringArgs
impl Unpin for NetworkPeeringArgs
impl UnwindSafe for NetworkPeeringArgs
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)