Class InstanceTemplateNetworkInterfaceArgs
Inherited Members
Namespace: Pulumi.Gcp.Compute.Inputs
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class InstanceTemplateNetworkInterfaceArgs : ResourceArgs
Constructors
View SourceInstanceTemplateNetworkInterfaceArgs()
Declaration
public InstanceTemplateNetworkInterfaceArgs()
Properties
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 InputList<InstanceTemplateNetworkInterfaceAccessConfigArgs> AccessConfigs { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<InstanceTemplateNetworkInterfaceAccessConfigArgs> |
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 InputList<InstanceTemplateNetworkInterfaceAliasIpRangeArgs> AliasIpRanges { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<InstanceTemplateNetworkInterfaceAliasIpRangeArgs> |
Name
The name of the instance template. If you leave this blank, the provider will auto-generate a unique name.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<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 Input<string> Network { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
NetworkIp
The private IP address to assign to the instance. If empty, the address will be automatically assigned.
Declaration
public Input<string> NetworkIp { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<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 Input<string> Subnetwork { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<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 Input<string> SubnetworkProject { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |