{"base_path":null,"components":null,"consumes":"[\"application/json\"]","definitions":{"BaseResponse":{"description":"API响应基类","properties":{"error_code":{"description":"错误码。","maxLength":12,"minLength":0,"type":"string"},"error_msg":{"description":"错误描述。","maxLength":1000,"minLength":0,"type":"string"}}},"Eips":{"description":"桌面EIP。","properties":{"address":{"description":"Eip地址。","readOnly":true,"type":"string"},"attached_desktop_id":{"description":"绑定的桌面id。","readOnly":true,"type":"string"},"attached_desktop_name":{"description":"绑定的桌面名称。","readOnly":true,"type":"string"},"bandwidth_size":{"description":"带宽大小。","format":"int32","maximum":2000,"minimum":1,"type":"integer"},"create_time":{"description":"创建时间,格式为:yyyy-MM-ddTHH:mm:ssZ。","readOnly":true,"type":"string"},"eip_charge_mode":{"description":"traffic(按流量计费),bandwidth(按带宽计费)。","readOnly":true,"type":"string"},"enterprise_project_id":{"description":"企业项目ID","readOnly":true,"type":"string"},"id":{"description":"EIP的id。","readOnly":true,"type":"string"}}},"ListDesktopsEipsRsp":{"description":"查询桌面EIP列表响应。","properties":{"eips":{"description":"桌面EIP。","items":{"$ref":"#/definitions/Eips"},"readOnly":true,"type":"array"},"total_count":{"description":"总数。","format":"int32","readOnly":true,"type":"integer"}}}},"description":null,"group_id":"7383c32d5d5e4d0481c071faeb994404","host":"workspace.cn-north-4.myhuaweicloud.com","id":"cc074f0a8efa4133b1d2ebe09aebeeb4","info_version":"v2","method":"get","name":"ListDesktopsEips","parameters":{},"paths":{"/v2/{project_id}/eips":{"get":{"description":"查询已绑定桌面和未绑定的Eip。","operationId":"ListDesktopsEips","parameters":[{"description":"用户Token。\n通过调用IAM服务获取用户Token接口获取(响应消息头中X-Subject-Token的值)。","in":"header","maxLength":15000,"minLength":1,"name":"X-Auth-Token","required":true,"type":"string","x-annotations":"@Size(max = 15000, min = 1)"},{"description":"项目ID","in":"path","maxLength":255,"minLength":1,"name":"project_id","required":true,"type":"string","x-annotations":"@Size(max = 255, min = 1)"},{"description":"发送的实体的MIME类型。","in":"header","maxLength":255,"minLength":1,"name":"Content-Type","required":true,"type":"string","x-annotations":"@Size(max = 255, min = 1)","x-example":"application/json"},{"description":"企业项目ID","in":"query","maxLength":36,"minLength":0,"name":"enterprise_project_id","pattern":"^[a-zA-Z0-9_-]+$","required":false,"type":"string"},{"description":"桌面ID。","in":"query","maxLength":255,"minLength":0,"name":"desktop_id","required":false,"type":"string"},{"description":"桌面名称。","in":"query","maxLength":255,"minLength":0,"name":"desktop_name","required":false,"type":"string"},{"description":"桌面所属用户。","in":"query","maxLength":255,"minLength":0,"name":"user_name","required":false,"type":"string","x-isSensitive":true},{"description":"EIP地址。","in":"query","maxLength":255,"minLength":0,"name":"address","required":false,"type":"string"},{"description":"用于分页查询,查询的起始记录序号,从0开始。","in":"query","maximum":2147483647,"minimum":0,"name":"offset","required":false,"type":"integer"},{"description":"用于分页查询,返回桌面数量限制。如果不指定,则返回所有符合条件的记录。","in":"query","maximum":1000,"minimum":0,"name":"limit","required":false,"type":"integer"},{"description":"EIP绑定状态。\n- bind:表示已绑定的EIP。\n- unbind:表示未绑定的EIP。","in":"query","maxLength":255,"minLength":0,"name":"state","required":false,"type":"string"}],"responses":{"200":{"description":"查询上网功能响应。","schema":{"$ref":"#/definitions/ListDesktopsEipsRsp"}},"default":{"description":"默认响应","schema":{"$ref":"#/definitions/BaseResponse"}}},"summary":"查询已绑定桌面和未绑定的Eip","tags":["Network"],"x-apiexplorer-hide":"N","x-apig-group":"public,internal_token","x-apigateway-request-type":"public","x-is-registered":"Y","x-support-sdk":"Y"}}},"product_short":"Workspace","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"查询已绑定桌面和未绑定的Eip","tags":"网络","uri":null,"version":"2.0"}