Class InstanceNetworkInterface
Inheritance
Inherited Members
Namespace: Pulumi.Gcp.Compute.Outputs
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class InstanceNetworkInterface
Fields
View SourceAccessConfigs
Access configurations, i.e. IPs via which this instance can be accessed via the Internet. Omit to ensure that the instance is not accessible from the Internet. If omitted, ssh will not work unless this provider can send traffic to the instance's network (e.g. via tunnel or because it is running on another cloud instance on that network). This block can be repeated multiple times. Structure documented below.
Declaration
public readonly ImmutableArray<InstanceNetworkInterfaceAccessConfig> AccessConfigs
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<InstanceNetworkInterfaceAccessConfig> |
AliasIpRanges
An array of alias IP ranges for this network interface. Can only be specified for network interfaces on subnet-mode networks. Structure documented below.
Declaration
public readonly ImmutableArray<InstanceNetworkInterfaceAliasIpRange> AliasIpRanges
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<InstanceNetworkInterfaceAliasIpRange> |
Name
A unique name for the resource, required by GCE. Changing this forces a new resource to be created.
Declaration
public readonly string Name
Field Value
| Type | Description |
|---|---|
| System.String |
Network
The name or self_link of the network to attach this interface to.
Either network or subnetwork must be provided.
Declaration
public readonly string Network
Field Value
| Type | Description |
|---|---|
| System.String |
NetworkIp
The private IP address to assign to the instance. If empty, the address will be automatically assigned.
Declaration
public readonly string NetworkIp
Field Value
| Type | Description |
|---|---|
| System.String |
Subnetwork
The name or self_link of the subnetwork to attach this
interface to. The subnetwork must exist in the same region this instance will be
created in. Either network or subnetwork must be provided.
Declaration
public readonly string Subnetwork
Field Value
| Type | Description |
|---|---|
| System.String |
SubnetworkProject
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.
Declaration
public readonly string SubnetworkProject
Field Value
| Type | Description |
|---|---|
| System.String |