Class InstanceTemplateNetworkInterface
Inheritance
Inherited Members
Namespace: Pulumi.Gcp.Compute.Outputs
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class InstanceTemplateNetworkInterface
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 (this means that ssh provisioners will not work unless you 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<InstanceTemplateNetworkInterfaceAccessConfig> AccessConfigs
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<InstanceTemplateNetworkInterfaceAccessConfig> |
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<InstanceTemplateNetworkInterfaceAliasIpRange> AliasIpRanges
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<InstanceTemplateNetworkInterfaceAliasIpRange> |
Name
The name of the instance template. If you leave this blank, the provider will auto-generate a unique name.
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.
Use network attribute for Legacy or Auto subnetted networks and
subnetwork for custom subnetted networks.
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 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 ID of the project in which the subnetwork belongs. If it is not provided, the provider project is used.
Declaration
public readonly string SubnetworkProject
Field Value
| Type | Description |
|---|---|
| System.String |