pub struct NetworkPeeringArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> NetworkPeeringArgsBuilder<S>
impl<S: State> NetworkPeeringArgsBuilder<S>
sourcepub fn build_struct(self) -> NetworkPeeringArgswhere
S: IsComplete,
pub fn build_struct(self) -> NetworkPeeringArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn export_custom_routes(
self,
value: impl Into<Output<Option<bool>>>,
) -> NetworkPeeringArgsBuilder<SetExportCustomRoutes<S>>where
S::ExportCustomRoutes: IsUnset,
pub fn export_custom_routes(
self,
value: impl Into<Output<Option<bool>>>,
) -> NetworkPeeringArgsBuilder<SetExportCustomRoutes<S>>where
S::ExportCustomRoutes: IsUnset,
sourcepub fn maybe_export_custom_routes(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> NetworkPeeringArgsBuilder<SetExportCustomRoutes<S>>where
S::ExportCustomRoutes: IsUnset,
pub fn maybe_export_custom_routes(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> NetworkPeeringArgsBuilder<SetExportCustomRoutes<S>>where
S::ExportCustomRoutes: IsUnset,
sourcepub fn export_subnet_routes_with_public_ip(
self,
value: impl Into<Output<Option<bool>>>,
) -> NetworkPeeringArgsBuilder<SetExportSubnetRoutesWithPublicIp<S>>where
S::ExportSubnetRoutesWithPublicIp: IsUnset,
pub fn export_subnet_routes_with_public_ip(
self,
value: impl Into<Output<Option<bool>>>,
) -> NetworkPeeringArgsBuilder<SetExportSubnetRoutesWithPublicIp<S>>where
S::ExportSubnetRoutesWithPublicIp: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default()
.
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.
sourcepub fn maybe_export_subnet_routes_with_public_ip(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> NetworkPeeringArgsBuilder<SetExportSubnetRoutesWithPublicIp<S>>where
S::ExportSubnetRoutesWithPublicIp: IsUnset,
pub fn maybe_export_subnet_routes_with_public_ip(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> NetworkPeeringArgsBuilder<SetExportSubnetRoutesWithPublicIp<S>>where
S::ExportSubnetRoutesWithPublicIp: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default()
.
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.
sourcepub fn import_custom_routes(
self,
value: impl Into<Output<Option<bool>>>,
) -> NetworkPeeringArgsBuilder<SetImportCustomRoutes<S>>where
S::ImportCustomRoutes: IsUnset,
pub fn import_custom_routes(
self,
value: impl Into<Output<Option<bool>>>,
) -> NetworkPeeringArgsBuilder<SetImportCustomRoutes<S>>where
S::ImportCustomRoutes: IsUnset,
sourcepub fn maybe_import_custom_routes(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> NetworkPeeringArgsBuilder<SetImportCustomRoutes<S>>where
S::ImportCustomRoutes: IsUnset,
pub fn maybe_import_custom_routes(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> NetworkPeeringArgsBuilder<SetImportCustomRoutes<S>>where
S::ImportCustomRoutes: IsUnset,
sourcepub fn import_subnet_routes_with_public_ip(
self,
value: impl Into<Output<Option<bool>>>,
) -> NetworkPeeringArgsBuilder<SetImportSubnetRoutesWithPublicIp<S>>where
S::ImportSubnetRoutesWithPublicIp: IsUnset,
pub fn import_subnet_routes_with_public_ip(
self,
value: impl Into<Output<Option<bool>>>,
) -> NetworkPeeringArgsBuilder<SetImportSubnetRoutesWithPublicIp<S>>where
S::ImportSubnetRoutesWithPublicIp: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default()
.
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.
sourcepub fn maybe_import_subnet_routes_with_public_ip(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> NetworkPeeringArgsBuilder<SetImportSubnetRoutesWithPublicIp<S>>where
S::ImportSubnetRoutesWithPublicIp: IsUnset,
pub fn maybe_import_subnet_routes_with_public_ip(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> NetworkPeeringArgsBuilder<SetImportSubnetRoutesWithPublicIp<S>>where
S::ImportSubnetRoutesWithPublicIp: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default()
.
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.
sourcepub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> NetworkPeeringArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> NetworkPeeringArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> NetworkPeeringArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> NetworkPeeringArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn network(
self,
value: impl Into<Output<String>>,
) -> NetworkPeeringArgsBuilder<SetNetwork<S>>where
S::Network: IsUnset,
pub fn network(
self,
value: impl Into<Output<String>>,
) -> NetworkPeeringArgsBuilder<SetNetwork<S>>where
S::Network: IsUnset,
Required.
The primary network of the peering.
sourcepub fn peer_network(
self,
value: impl Into<Output<String>>,
) -> NetworkPeeringArgsBuilder<SetPeerNetwork<S>>where
S::PeerNetwork: IsUnset,
pub fn peer_network(
self,
value: impl Into<Output<String>>,
) -> NetworkPeeringArgsBuilder<SetPeerNetwork<S>>where
S::PeerNetwork: IsUnset,
Required.
The peer network in the peering. The peer network may belong to a different project.