Show / Hide Table of Contents

Class InstanceNetworkInterfaceArgs

Inheritance
System.Object
InputArgs
ResourceArgs
InstanceNetworkInterfaceArgs
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Gcp.Compute.Inputs
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class InstanceNetworkInterfaceArgs : ResourceArgs

Constructors

View Source

InstanceNetworkInterfaceArgs()

Declaration
public InstanceNetworkInterfaceArgs()

Properties

View Source

AccessConfigs

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.