查看EIP实例详情 | 大装置帮助中心
跳到主要内容

查看EIP实例详情

GET https://management.sensecoreapi.cn/network/eip/v1/subscriptions/{subscription_name}/resourceGroups/{resource_group_name}/zones/{zone}/eips/{eip_name}

请求头(Request Header)

参考认证(authentication)

请求参数(Request Parameters)

名称类型必须默认值取值范围描述
subscription_namestring--订阅
resource_group_namestring--资源组
zonestring--可用区
eip_namestring--eip名

请求体(Request Body)

请求示例(Request Example)

curl --request GET 'https://management.sensecoreapi.cn/network/eip/data/v1/subscriptions/f5e41c2b-9859-4c10-8b0a-78c02bf2a748/resourceGroups/default/zones/cn-sh-01a/eips/eip-bosontest1-e209b82b' \
-H 'content-type: application/json' \
-H 'Authorization: xxx'

响应(Response)

名称类型描述
idstringEIP资源id标识
namestringEIP名
display_namestringEIP前端展示名
descriptionstringEIP说明
uidstringEIP资源uuid
resource_typestringEIP资源类型
creator_idstring创建该EIP的用户id
owner_idstring拥有该EIP资源的用户id
tenant_idstring租户id
zonestring可用区
stateenum当前EIP资源的状态
sku_idstring文件创建者最小库存单元id标识
tagsmap<string, string>EIP资源标签
propertiesEIPPropertiesEIP资源属性
vpc_idstringVPC的uuid
association_idstring关联的设备或组件id, 例如vpc nat gateway id
association_typeenum关联的设备或组件类型,NATGW,POD,SLB,BM
resourcesResourcesEIP资源规格属性
billing_itemsBillingItemseip计费项
bwint32EIP 带宽限制,单位: M/s
limit_rate_itemsLimitRateItemseip限速项
up_stream_bwint32EIP 上行带宽限制,单位: M/s
down_stream_bwint32EIP 下行带宽限制,单位: M/s
skustringEIP sku
default_snatboolEIP是否作为默认 vpc 流量出口
acl_enabledbool是否启用黑白名单
aclsEIPACLEIP黑白名单规则列表
acl_namestringACL名称
acl_propertiesACLPropertiesACL属性
actionenum ACLActionACL动作类型: DENY(拒绝规则), ALLOW(允许规则)
srcstringACL源地址
deststringACL目的地址
dest_portstringACL目的端口,目前保留
protocolstring对外暴露的协议,目前保留
priorityint32ACL规则优先级,目前保留

响应示例(Response Example)

{
"id": "string",
"name": "string",
"display_name": "string",
"description": "string",
"uid": "string",
"resource_type": "string",
"creator_id": "string",
"owner_id": "string",
"tenant_id": "string",
"zone": "string",
"state": "CREATING",
"sku_id": "string",
"tags": {
"additionalProp1": "string",
"additionalProp2": "string",
"additionalProp3": "string"
},
"properties": {
"vpc_id": "string",
"association_id": "string",
"association_type": "NATGW",
"resources": {
"billing_items": {
"bw": 0
},
"limit_rate_items": {
"up_stream_bw": 0,
"down_stream_bw": 0
}
},
"sku": "string",
"default_snat": true,
"acl_enabled": true,
"acls": [
{
"acl_name": "string",
"acl_properties": {
"action": "DENY",
"src": "string",
"dest": "string",
"dest_port": "string",
"protocol": "string",
"priority": 0
},
"acl_state": "string"
}
]
},
"order_info": {
"billing_cycle_number": 0,
"auto_renew": true,
"currency_code": "string",
"payment_channel": "PC_UNSPECIFIED",
"note": "string",
"order_type": "OT_UNSPECIFIED",
"order_id": "string",
"start_time": "2023-11-23T07:23:19.180Z",
"payment_model": "PM_UNSPECIFIED",
"billing_model": "BM_UNSPECIFIED",
"original_id": "string",
"end_time": "2023-11-23T07:23:19.180Z",
"auto_convert_postpaid": true
},
"deleted": true,
"create_time": "2023-11-23T07:23:19.180Z",
"update_time": "2023-11-23T07:23:19.180Z"
}