Class NetworkInterfaceState
Inherited Members
Namespace: Pulumi.AliCloud.Vpc
Assembly: Pulumi.AliCloud.dll
Syntax
public sealed class NetworkInterfaceState : ResourceArgs
Constructors
View SourceNetworkInterfaceState()
Declaration
public NetworkInterfaceState()
Properties
View SourceDescription
Description of the ENI. This description can have a string of 2 to 256 characters, It cannot begin with http:// or https://. Default value is null.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Mac
(Available in 1.54.0+) The MAC address of an ENI.
Declaration
public Input<string> Mac { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Name
Name of the ENI. This name can have a string of 2 to 128 characters, must contain only alphanumeric characters or hyphens, such as "-", ".", "_", and must not begin or end with a hyphen, and must not begin with http:// or https://. Default value is null.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
PrivateIp
The primary private IP of the ENI.
Declaration
public Input<string> PrivateIp { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
PrivateIps
List of secondary private IPs to assign to the ENI. Don't use both private_ips and private_ips_count in the same ENI resource block.
Declaration
public InputList<string> PrivateIps { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
PrivateIpsCount
Number of secondary private IPs to assign to the ENI. Don't use both private_ips and private_ips_count in the same ENI resource block.
Declaration
public Input<int> PrivateIpsCount { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
ResourceGroupId
The Id of resource group which the network interface belongs.
Declaration
public Input<string> ResourceGroupId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SecurityGroups
A list of security group ids to associate with.
Declaration
public InputList<string> SecurityGroups { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
Tags
A mapping of tags to assign to the resource.
Declaration
public InputMap<object> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.Object> |
VswitchId
The VSwitch to create the ENI in.
Declaration
public Input<string> VswitchId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |