Instance Network Interface Args
Constructors
Properties
Access configurations, i.e. IPs via which this instance can be accessed via the Internet.
An array of alias IP ranges for this network interface. Can only be specified for network interfaces on subnet-mode networks. Structure documented below.
The prefix length of the primary internal IPv6 range.
An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access. Structure documented below.
One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork.
An IPv6 internal network address for this network interface. If not specified, Google Cloud will automatically assign an internal IPv6 address from the instance's subnetwork.
The URL of the network attachment that this interface should connect to in the following format: projects/{projectNumber}/regions/{region_name}/networkAttachments/{network_attachment_name}
.
The networking queue count that's specified by users for the network interface. Both Rx and Tx queues will be set to this number. It will be empty if not specified.
A full or partial URL to a security policy to add to this instance. If this field is set to an empty string it will remove the associated security policy.
The name or self_link of the subnetwork to attach this interface to. Either network
or subnetwork
must be provided. If network isn't provided it will be inferred from the subnetwork. The subnetwork must exist in the same region this instance will be created in. If the network resource is in legacy mode, do not specify this field. If the network is in auto subnet mode, specifying the subnetwork is optional. If the network is in custom subnet mode, specifying the subnetwork is required.
The project in which the subnetwork belongs. If the subnetwork
is a self_link, this field is ignored in favor of the project defined in the subnetwork self_link. If the subnetwork
is a name and this field is not provided, the provider project is used.