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. |
InstanceId
Optional
public object InstanceId { get; set; }
- Type: object
Property instanceId: The ID of the instance to which the ENI is bound.
Ipv6Addresses
Optional
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.
NetworkInterfaceIds
Optional
public object NetworkInterfaceIds { get; set; }
- Type: object
Property networkInterfaceIds: The ID of ENI N.
Valid values of N: 1 to 100.
NetworkInterfaceName
Optional
public object NetworkInterfaceName { get; set; }
- Type: object
Property networkInterfaceName: The name of the ENI.
PrimaryIpAddress
Optional
public object PrimaryIpAddress { get; set; }
- Type: object
Property primaryIpAddress: The primary private IPv4 address of the ENI.
PrivateIpAddresses
Optional
public object PrivateIpAddresses { get; set; }
- Type: object
Property privateIpAddresses: Secondary private IPv4 address N of the ENI.
Valid values of N: 1 to 100.
RefreshOptions
Optional
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.
ResourceGroupId
Optional
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.
SecurityGroupId
Optional
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.
ServiceManaged
Optional
public object ServiceManaged { get; set; }
- Type: object
Property serviceManaged: Specifies whether the user is an Alibaba Cloud service or a distributor.
Status
Optional
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.
Tags
Optional
public TagsProperty[] Tags { get; set; }
- Type: AlibabaCloud.SDK.ROS.CDK.Ecs.datasource.RosNetworkInterfaces.TagsProperty[]
Property tags: Tags of eni.
Type
Optional
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.
VpcId
Optional
public object VpcId { get; set; }
- Type: object
Property vpcId: The ID of the virtual private cloud (VPC) to which the ENI belongs.
VSwitchId
Optional
public object VSwitchId { get; set; }
- Type: object
Property vSwitchId: The ID of the vSwitch to which the ENI is connected.