pub struct Network {Show 17 fields
pub cidr: Option<String>,
pub gateway_ip: Option<String>,
pub id: Option<String>,
pub ip_address: Option<String>,
pub jumbo_frames_enabled: Option<bool>,
pub labels: Option<HashMap<String, String>>,
pub mac_address: Option<Vec<String>>,
pub mount_points: Option<Vec<NetworkMountPoint>>,
pub name: Option<String>,
pub pod: Option<String>,
pub reservations: Option<Vec<NetworkAddressReservation>>,
pub services_cidr: Option<String>,
pub state: Option<String>,
pub type_: Option<String>,
pub vlan_id: Option<String>,
pub vrf: Option<VRF>,
pub vrf_attachment: Option<String>,
}Expand description
A Network.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations networks get projects (response)
- locations networks patch projects (request)
- locations networks rename projects (response)
Fields§
§cidr: Option<String>The cidr of the Network.
gateway_ip: Option<String>Output only. Gateway ip address.
id: Option<String>An identifier for the Network, generated by the backend.
ip_address: Option<String>IP address configured.
jumbo_frames_enabled: Option<bool>Whether network uses standard frames or jumbo ones.
labels: Option<HashMap<String, String>>Labels as key value pairs.
mac_address: Option<Vec<String>>List of physical interfaces.
mount_points: Option<Vec<NetworkMountPoint>>Input only. List of mount points to attach the network to.
name: Option<String>Output only. The resource name of this Network. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. Format: projects/{project}/locations/{location}/networks/{network}
pod: Option<String>Immutable. Pod name. Pod is an independent part of infrastructure. Network can only be connected to the assets (instances, nfsshares) allocated in the same pod.
reservations: Option<Vec<NetworkAddressReservation>>List of IP address reservations in this network. When updating this field, an error will be generated if a reservation conflicts with an IP address already allocated to a physical server.
services_cidr: Option<String>IP range for reserved for services (e.g. NFS).
state: Option<String>The Network state.
type_: Option<String>The type of this network.
vlan_id: Option<String>The vlan id of the Network.
vrf: Option<VRF>The Vrf for the Network. Use this only if a new Vrf needs to be created.
vrf_attachment: Option<String>Optional. The name of a pre-existing Vrf that the network should be attached to. Format is vrfs/{vrf}.