调用DescribeNetworkInterfaces接口,并可以指定ResourceGroupId、VSwitchId、InstanceId等参数,查询一个或多个弹性网卡(ENI)的详细信息。
下列程式碼範例示範如何使用 DescribeNetworkInterfaces。 CLI PowerShell AWS CLI 描述您的網路介面 此範例說明您的所有網路介面。 命令: aws ec2 describe-network-interfaces 輸出: { "NetworkInterfaces": [ { "Status": "in-use", "MacAddress": "02:2f:8f:b0:cf:75", "SourceDestCheck": true, ...
ActionString是DescribeNetworkInterfaces要执行的操作。取值:DescribeNetworkInterfaces。 VersionString是2020-04-01API版本信息,取值为:2020-04-01。 NetworkInterfaceNameString否eni-1网卡的名称。 NetworkInterfaceIds.N String 否 NetworkInterfaceIds.1=eni-bp1fg6nh***&NetworkInterfaceIds.2=eni-5nh68xyz9*** 网卡...
POST/ HTTP/1.1Host:vpc.intl.tencentcloudapi.com Content-Type:application/json X-TC-Action:DescribeNetworkInterfaces <Common request parameters> {} Output Example {"Response": {"TotalCount":1,"NetworkInterfaceSet": [ {"MacAddress":"20:90:6F:F5:34:C7","VpcId":"vpc-2kx9z6h3","Business":...
network-interface-id - The ID of the network interface. operator.managed - A Boolean that indicates whether this is a managed network interface. operator.principal - The principal that manages the network interface. Only valid for managed network interfaces, where managed is true. owner-id - The...
DescribeNetworkInterfaces,Elastic Compute Service:Queries the details of one or more elastic network interfaces (ENIs). When you call this operation, you can specify parameters, such as ResourceGroupId, VSwitchId, and InstanceId, in the request.
describeNetworkInterfaces 描述 查询弹性网卡列表 请求方式 GET 请求地址 https://vpc.jdcloud-api.com/v1/regions/{regionId}/networkInterfaces/ 名称类型是否必需默认值描述 regionIdStringTrueRegion ID 请求参数 名称类型是否必需默认值描述 pageNumberIntegerFalse1页码, 默认为1, 取值范围:[1,∞), 页码超过总...
返回{‘附件’:{ 'AttachTime':34545,'DeleteOnTermination':False,'DeviceIndex':123,'Network...
importcom.amazonaws.services.ec2.model.DescribeNetworkInterfacesResult;//導入依賴的package包/類/** * Makes a call to the service to load this resource's attributes if they * are not loaded yet, and use a ResultCapture to retrieve the low-level ...
本文整理了Java中com.amazonaws.services.ec2.AmazonEC2.describeNetworkInterfaces()方法的一些代码示例,展示了AmazonEC2.describeNetworkInterfaces()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。AmazonEC2.describeNetwork...