Class InstanceNetworkInterfaceArgs
Inherited Members
Namespace: Pulumi.Gcp.Compute.Inputs
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class InstanceNetworkInterfaceArgs : ResourceArgs
Constructors
View SourceInstanceNetworkInterfaceArgs()
Declaration
public InstanceNetworkInterfaceArgs()
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. 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 InputList<InstanceNetworkInterfaceAccessConfigArgs> AccessConfigs { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<InstanceNetworkInterfaceAccessConfigArgs> |
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<InstanceNetworkInterfaceAliasIpRangeArgs> AliasIpRanges { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<InstanceNetworkInterfaceAliasIpRangeArgs> |
Name
A unique name for the resource, required by GCE. Changing this forces a new resource to be created.
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.
Either network or subnetwork must be provided.
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 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 Input<string> Subnetwork { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<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 Input<string> SubnetworkProject { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |