NetworkInterfacesProps
Properties for defining a NetworkInterfaces.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-ecs-networkinterfaces
Initializer
using AlibabaCloud.SDK.ROS.CDK.Ecs;
new NetworkInterfacesProps {
object InstanceId = null,
object Ipv6Addresses = null,
object NetworkInterfaceIds = null,
object NetworkInterfaceName = null,
object PrimaryIpAddress = null,
object PrivateIpAddresses = null,
object RefreshOptions = null,
object ResourceGroupId = null,
object SecurityGroupId = null,
object ServiceManaged = null,
object Status = null,
TagsProperty[] Tags = null,
object Type = null,
object VpcId = null,
object VSwitchId = null
};
Properties
| Name | Type | Description |
|---|---|---|
InstanceId |
object |
Property instanceId: The ID of the instance to which the ENI is bound. |
Ipv6Addresses |
object |
Property ipv6Addresses: IPv6 address N of the ENI. |
NetworkInterfaceIds |
object |
Property networkInterfaceIds: The ID of ENI N. |
NetworkInterfaceName |
object |
Property networkInterfaceName: The name of the ENI. |
PrimaryIpAddress |
object |
Property primaryIpAddress: The primary private IPv4 address of the ENI. |
PrivateIpAddresses |
object |
Property privateIpAddresses: Secondary private IPv4 address N of the ENI. |
RefreshOptions |
object |
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
ResourceGroupId |
object |
Property resourceGroupId: The ID of the resource group to which the eni belongs. |
SecurityGroupId |
object |
Property securityGroupId: The ID of the security group to which the secondary ENI belongs. |
ServiceManaged |
object |
Property serviceManaged: Specifies whether the user is an Alibaba Cloud service or a distributor. |
Status |
object |
Property status: The state of the ENI. |
Tags |
AlibabaCloud.SDK.ROS.CDK.Ecs.datasource.RosNetworkInterfaces.TagsProperty[] |
Property tags: Tags of eni. |
Type |
object |
Property type: The type of the ENI. |
VpcId |
object |
Property vpcId: The ID of the virtual private cloud (VPC) to which the ENI belongs. |
VSwitchId |
object |
Property vSwitchId: The ID of the vSwitch to which the ENI is connected. |
InstanceIdOptional
public object InstanceId { get; set; }
- Type: object
Property instanceId: The ID of the instance to which the ENI is bound.
Ipv6AddressesOptional
public object Ipv6Addresses { get; set; }
- Type: object
Property ipv6Addresses: IPv6 address N of the ENI.
You can specify multiple IPv6 addresses. Valid values of N: 1 to 100.
NetworkInterfaceIdsOptional
public object NetworkInterfaceIds { get; set; }
- Type: object
Property networkInterfaceIds: The ID of ENI N.
Valid values of N: 1 to 100.
NetworkInterfaceNameOptional
public object NetworkInterfaceName { get; set; }
- Type: object
Property networkInterfaceName: The name of the ENI.
PrimaryIpAddressOptional
public object PrimaryIpAddress { get; set; }
- Type: object
Property primaryIpAddress: The primary private IPv4 address of the ENI.
PrivateIpAddressesOptional
public object PrivateIpAddresses { get; set; }
- Type: object
Property privateIpAddresses: Secondary private IPv4 address N of the ENI.
Valid values of N: 1 to 100.
RefreshOptionsOptional
public object RefreshOptions { get; set; }
- Type: object
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
Valid values:
- Never: Never refresh the datasource resource when the stack is updated.
- Always: Always refresh the datasource resource when the stack is updated. Default is Never.
ResourceGroupIdOptional
public object ResourceGroupId { get; set; }
- Type: object
Property resourceGroupId: The ID of the resource group to which the eni belongs.
If this parameter is specified to query resources,up to 1,000 resources that belong to the specified resource group can be displayed in the response.
SecurityGroupIdOptional
public object SecurityGroupId { get; set; }
- Type: object
Property securityGroupId: The ID of the security group to which the secondary ENI belongs.
To query the details of secondary ENIs based on the ID of a security group, specify this parameter. To query the details of primary ENIs based on the ID of a security group, call the DescribeInstances operation and specify the SecurityGroupId parameter.
ServiceManagedOptional
public object ServiceManaged { get; set; }
- Type: object
Property serviceManaged: Specifies whether the user is an Alibaba Cloud service or a distributor.
StatusOptional
public object Status { get; set; }
- Type: object
Property status: The state of the ENI.
Valid values: Creating: The ENI is being created. Available: The ENI is not bound to an instance. Attaching: The ENI is being bound to an instance. InUse: The ENI is bound to an instance. Detaching: The ENI is being unbound from an instance. Deleting: The ENI is being deleted. CreateFailed: The ENI cannot be created. This parameter is empty by default, which indicates that ENIs in all states are queried.
TagsOptional
public TagsProperty[] Tags { get; set; }
- Type: AlibabaCloud.SDK.ROS.CDK.Ecs.datasource.RosNetworkInterfaces.TagsProperty[]
Property tags: Tags of eni.
TypeOptional
public object Type { get; set; }
- Type: object
Property type: The type of the ENI.
Valid values: Primary Secondary This parameter is empty by default, which indicates that both primary and secondary ENIs are queried.
VpcIdOptional
public object VpcId { get; set; }
- Type: object
Property vpcId: The ID of the virtual private cloud (VPC) to which the ENI belongs.
VSwitchIdOptional
public object VSwitchId { get; set; }
- Type: object
Property vSwitchId: The ID of the vSwitch to which the ENI is connected.