pub struct NetworkPeeringResult {
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<String>,
pub network: Output<String>,
pub peer_network: Output<String>,
pub stack_type: Output<Option<String>>,
pub state: Output<String>,
pub state_details: Output<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<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”].
state: Output<String>
State for the peering, either ACTIVE
or INACTIVE
. The peering is
ACTIVE
when there’s a matching configuration in the peer network.
state_details: Output<String>
Details about the current state of the peering.