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

查看VPC实例详情

GET https://management.sensecoreapi.cn/network/vpc/v1/subscriptions/{subscription_name}/resourceGroups/{resource_group_name}/zones/{zone}/vpcs/{vpc_name}

请求头(Request Header)

参考认证(authentication)

请求参数(Request Parameters)

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

请求体(Request Body)

请求示例(Request Example)

curl --request GET 'https://management.sensecoreapi.cn/network/vpc/v1/subscriptions/{subscription_name}/resourceGroups/{resource_group_name}/zones/{zone}/vpcs/{vpc_name}' \
-H 'content-type: application/json' \
-H 'Authorization: xxx'

响应(Response)

名称类型描述
idstringvpc id
namestringVPC名
display_namestringvpc展示名
descriptionstringvpc资源说明
uidstringvpc资源的uuid
resource_typestring资源类型
creator_idstring创建该vpc资源的用户id
owner_idstring拥有该vpc资源的用户id
tenant_idstring租户id
zonestring可用区
stateenumVPC状态
sku_idstring最小库存单元id
tagsmap<string, string>VPC标签
propertiesVPCPropertiesVPC属性信息
cidrstringVPC级别最大的cidr, subnet的cidr应该为VPC cidr的子集
is_defaultbool是否作为默认VPC
order_infostruct OrderInfoVPC订单信息
deletedboolVPC是否已删除
create_timetimestampVPC创建时间
update_timetimestampVPC更新时间

响应示例(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": {
"cidr": "string",
"is_default": true
},
"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-23T08:03:19.951Z",
"payment_model": "PM_UNSPECIFIED",
"billing_model": "BM_UNSPECIFIED",
"original_id": "string",
"end_time": "2023-11-23T08:03:19.951Z",
"auto_convert_postpaid": true
},
"deleted": true,
"create_time": "2023-11-23T08:03:19.951Z",
"update_time": "2023-11-23T08:03:19.951Z"
}