pub struct NetworkConfig {
pub connect_mode: Option<String>,
pub ip_addresses: Option<Vec<String>>,
pub modes: Option<Vec<String>>,
pub network: Option<String>,
pub psc_config: Option<PscConfig>,
pub reserved_ip_range: Option<String>,
}Expand description
Network configuration for the instance.
This type is not used in any activity, and only used as part of another schema.
Fields§
§connect_mode: Option<String>The network connect mode of the Filestore instance. If not provided, the connect mode defaults to DIRECT_PEERING.
ip_addresses: Option<Vec<String>>Output only. IPv4 addresses in the format {octet1}.{octet2}.{octet3}.{octet4} or IPv6 addresses in the format {block1}:{block2}:{block3}:{block4}:{block5}:{block6}:{block7}:{block8}.
modes: Option<Vec<String>>Internet protocol versions for which the instance has IP addresses assigned. For this version, only MODE_IPV4 is supported.
network: Option<String>The name of the Google Compute Engine VPC network to which the instance is connected.
psc_config: Option<PscConfig>Optional. Private Service Connect configuration. Should only be set when connect_mode is PRIVATE_SERVICE_CONNECT.
reserved_ip_range: Option<String>Optional, reserved_ip_range can have one of the following two types of values. * CIDR range value when using DIRECT_PEERING connect mode. * Allocated IP address range when using PRIVATE_SERVICE_ACCESS connect mode. When the name of an allocated IP address range is specified, it must be one of the ranges associated with the private service access connection. When specified as a direct CIDR value, it must be a /29 CIDR block for Basic tier, a /24 CIDR block for High Scale tier, or a /26 CIDR block for Enterprise tier in one of the internal IP address ranges that identifies the range of IP addresses reserved for this instance. For example, 10.0.0.0/29, 192.168.0.0/24 or 192.168.0.0/26, respectively. The range you specify can’t overlap with either existing subnets or assigned IP address ranges for other Filestore instances in the selected VPC network.
Trait Implementations§
Source§impl Clone for NetworkConfig
impl Clone for NetworkConfig
Source§fn clone(&self) -> NetworkConfig
fn clone(&self) -> NetworkConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more