NetworkInterfacesProps
Properties for defining a NetworkInterfaces.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-ecs-networkinterfaces
Initializer
import { datasource } from '@alicloud/ros-cdk-ecs'
const networkInterfacesProps: datasource.NetworkInterfacesProps = { ... }
Properties
| Name | Type | Description |
|---|---|---|
instanceId |
string | @alicloud/ros-cdk-core.IResolvable |
Property instanceId: The ID of the instance to which the ENI is bound. |
ipv6Addresses |
@alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] |
Property ipv6Addresses: IPv6 address N of the ENI. |
networkInterfaceIds |
@alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] |
Property networkInterfaceIds: The ID of ENI N. |
networkInterfaceName |
string | @alicloud/ros-cdk-core.IResolvable |
Property networkInterfaceName: The name of the ENI. |
primaryIpAddress |
string | @alicloud/ros-cdk-core.IResolvable |
Property primaryIpAddress: The primary private IPv4 address of the ENI. |
privateIpAddresses |
@alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] |
Property privateIpAddresses: Secondary private IPv4 address N of the ENI. |
refreshOptions |
string | @alicloud/ros-cdk-core.IResolvable |
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
resourceGroupId |
string | @alicloud/ros-cdk-core.IResolvable |
Property resourceGroupId: The ID of the resource group to which the eni belongs. |
securityGroupId |
string | @alicloud/ros-cdk-core.IResolvable |
Property securityGroupId: The ID of the security group to which the secondary ENI belongs. |
serviceManaged |
boolean | @alicloud/ros-cdk-core.IResolvable |
Property serviceManaged: Specifies whether the user is an Alibaba Cloud service or a distributor. |
status |
string | @alicloud/ros-cdk-core.IResolvable |
Property status: The state of the ENI. |
tags |
@alicloud/ros-cdk-ecs.datasource.RosNetworkInterfaces.TagsProperty[] |
Property tags: Tags of eni. |
type |
string | @alicloud/ros-cdk-core.IResolvable |
Property type: The type of the ENI. |
vpcId |
string | @alicloud/ros-cdk-core.IResolvable |
Property vpcId: The ID of the virtual private cloud (VPC) to which the ENI belongs. |
vSwitchId |
string | @alicloud/ros-cdk-core.IResolvable |
Property vSwitchId: The ID of the vSwitch to which the ENI is connected. |
instanceIdOptional
public readonly instanceId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property instanceId: The ID of the instance to which the ENI is bound.
ipv6AddressesOptional
public readonly ipv6Addresses: IResolvable | string | IResolvable[];
- Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]
Property ipv6Addresses: IPv6 address N of the ENI.
You can specify multiple IPv6 addresses. Valid values of N: 1 to 100.
networkInterfaceIdsOptional
public readonly networkInterfaceIds: IResolvable | string | IResolvable[];
- Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]
Property networkInterfaceIds: The ID of ENI N.
Valid values of N: 1 to 100.
networkInterfaceNameOptional
public readonly networkInterfaceName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property networkInterfaceName: The name of the ENI.
primaryIpAddressOptional
public readonly primaryIpAddress: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property primaryIpAddress: The primary private IPv4 address of the ENI.
privateIpAddressesOptional
public readonly privateIpAddresses: IResolvable | string | IResolvable[];
- Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]
Property privateIpAddresses: Secondary private IPv4 address N of the ENI.
Valid values of N: 1 to 100.
refreshOptionsOptional
public readonly refreshOptions: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
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 readonly resourceGroupId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
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 readonly securityGroupId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
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 readonly serviceManaged: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property serviceManaged: Specifies whether the user is an Alibaba Cloud service or a distributor.
statusOptional
public readonly status: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
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 readonly tags: TagsProperty[];
- Type: @alicloud/ros-cdk-ecs.datasource.RosNetworkInterfaces.TagsProperty[]
Property tags: Tags of eni.
typeOptional
public readonly type: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
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 readonly vpcId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property vpcId: The ID of the virtual private cloud (VPC) to which the ENI belongs.
vSwitchIdOptional
public readonly vSwitchId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property vSwitchId: The ID of the vSwitch to which the ENI is connected.