pulumi_wasm_providers_gcp_mini::compute::network

Struct NetworkArgs

source
pub struct NetworkArgs {
Show 14 fields pub auto_create_subnetworks: Output<Option<bool>>, pub bgp_always_compare_med: Output<Option<bool>>, pub bgp_best_path_selection_mode: Output<Option<String>>, pub bgp_inter_region_cost: Output<Option<String>>, pub delete_default_routes_on_create: Output<Option<bool>>, pub description: Output<Option<String>>, pub enable_ula_internal_ipv6: Output<Option<bool>>, pub internal_ipv6_range: Output<Option<String>>, pub mtu: Output<Option<i32>>, pub name: Output<Option<String>>, pub network_firewall_policy_enforcement_order: Output<Option<String>>, pub network_profile: Output<Option<String>>, pub project: Output<Option<String>>, pub routing_mode: Output<Option<String>>,
}

Fields§

§auto_create_subnetworks: Output<Option<bool>>

When set to true, the network is created in “auto subnet mode” and it will create a subnet for each region automatically across the 10.128.0.0/9 address range. When set to false, the network is created in “custom subnet mode” so the user can explicitly connect subnetwork resources.

§bgp_always_compare_med: Output<Option<bool>>

Enables/disables the comparison of MED across routes with different Neighbor ASNs. This value can only be set if the –bgp-best-path-selection-mode is STANDARD

§bgp_best_path_selection_mode: Output<Option<String>>

The BGP best selection algorithm to be employed. MODE can be LEGACY or STANDARD. Possible values are: LEGACY, STANDARD.

§bgp_inter_region_cost: Output<Option<String>>

Choice of the behavior of inter-regional cost and MED in the BPS algorithm. Possible values are: DEFAULT, ADD_COST_TO_MED.

§delete_default_routes_on_create: Output<Option<bool>>

If set to true, default routes (0.0.0.0/0) will be deleted immediately after network creation. Defaults to false.

§description: Output<Option<String>>

An optional description of this resource. The resource must be recreated to modify this field.

§enable_ula_internal_ipv6: Output<Option<bool>>

Enable ULA internal ipv6 on this network. Enabling this feature will assign a /48 from google defined ULA prefix fd20::/20.

§internal_ipv6_range: Output<Option<String>>

When enabling ula internal ipv6, caller optionally can specify the /48 range they want from the google defined ULA prefix fd20::/20. The input must be a valid /48 ULA IPv6 address and must be within the fd20::/20. Operation will fail if the speficied /48 is already in used by another resource. If the field is not speficied, then a /48 range will be randomly allocated from fd20::/20 and returned via this field.

§mtu: Output<Option<i32>>

Maximum Transmission Unit in bytes. The default value is 1460 bytes. The minimum value for this field is 1300 and the maximum value is 8896 bytes (jumbo frames). Note that packets larger than 1500 bytes (standard Ethernet) can be subject to TCP-MSS clamping or dropped with an ICMP Fragmentation-Needed message if the packets are routed to the Internet or other VPCs with varying MTUs.

§name: Output<Option<String>>

Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.


§network_firewall_policy_enforcement_order: Output<Option<String>>

Set the order that Firewall Rules and Firewall Policies are evaluated. Default value is AFTER_CLASSIC_FIREWALL. Possible values are: BEFORE_CLASSIC_FIREWALL, AFTER_CLASSIC_FIREWALL.

§network_profile: Output<Option<String>>

A full or partial URL of the network profile to apply to this network. This field can be set only at resource creation time. For example, the following are valid URLs:

  • https://www.googleapis.com/compute/beta/projects/{projectId}/global/networkProfiles/{network_profile_name}
  • projects/{projectId}/global/networkProfiles/{network_profile_name}
§project: Output<Option<String>>

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

§routing_mode: Output<Option<String>>

The network-wide routing mode to use. If set to REGIONAL, this network’s cloud routers will only advertise routes with subnetworks of this network in the same region as the router. If set to GLOBAL, this network’s cloud routers will advertise routes with all subnetworks of this network, across regions. Possible values are: REGIONAL, GLOBAL.

Implementations§

source§

impl NetworkArgs

source

pub fn builder() -> NetworkArgsBuilder

Create an instance of NetworkArgs using the builder syntax

Trait Implementations§

source§

impl Clone for NetworkArgs

source§

fn clone(&self) -> NetworkArgs

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.