Querying Details of a ROMA Connect Instance
Function
Querying Details of a ROMA Connect Instance
URI
GET /v2/{project_id}/apic/instances/{instance_id}
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID. For details about how to obtain the project ID, see Appendix > Obtaining a Project ID in the ROMA Connect API Reference. |
instance_id |
Yes |
String |
Instance ID. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
User token, which can be obtained by calling the IAM API (value of X-Subject-Token in the response header). |
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
id |
String |
Instance ID. |
project_id |
String |
Project ID to which the instance belongs. |
instance_name |
String |
Instance name. |
status |
String |
Status of the instance:
|
instance_status |
Integer |
Instance status value, expressed by a number.
|
type |
String |
Instance type. This parameter is currently not supported. |
spec |
String |
Instance edition.
|
create_time |
Long |
Time when the instance is created. The time is in the Unix timestamp format. |
enterprise_project_id |
String |
Enterprise project ID. This parameter is required for an enterprise account. |
eip_address |
String |
EIP bound to the instance. |
charging_mode |
Integer |
Billing mode of the instance. |
cbc_metadata |
String |
Order ID. |
description |
String |
Description about the instance. |
vpc_id |
String |
VPC ID. |
subnet_id |
String |
Subnet network ID. |
security_group_id |
String |
Security group to which the instance belongs. |
maintain_begin |
String |
Start time of the maintenance time window, in the format "xx:00:00". The value of xx can be 02, 06, 10, 14, 18, or 22. ' During the maintenance time period, O&M personnel can perform maintenance operations on the gateway. During maintenance, services can still be used, but occasionally there may be temporary service interruptions. Scheduled maintenance occurs infrequently (typically once every several months). ' |
maintain_end |
String |
End time of the maintenance time window, in the format "xx:00:00". There is a 4-hour difference between the start time and end time. During the maintenance time period, O&M personnel can perform maintenance operations on the instance. During maintenance, services can still be used, but occasionally there may be temporary service interruptions. Scheduled maintenance occurs infrequently (typically once every several months). |
ingress_ip |
String |
VPC ingress address. |
user_id |
String |
ID of the account to which the instance belongs. |
nat_eip_ipv6_cidr |
String |
Public egress address (IPv6). Currently, IPv6 addresses are supported only in certain regions. |
eip_ipv6_address |
String |
EIP (IPv6). Currently, IPv6 addresses are supported only in certain regions. |
nat_eip_address |
String |
IP address for public outbound access. |
bandwidth_size |
Integer |
Outbound access bandwidth. |
available_zone_ids |
String |
AZ. |
instance_version |
String |
Instance version. |
virsubnet_id |
String |
Subnet network ID. This parameter is currently not supported. |
roma_eip_address |
String |
ROMA EIP. This parameter is currently not supported. |
listeners |
Array of Listener objects |
Listening information. [This parameter is currently not supported.] (tag:public) |
supported_features |
Array of strings |
Supported features. |
ingress_ip_v6 |
String |
Instance entry (IPv6). Currently, only some AZs in some regions support IPv6. |
Parameter |
Type |
Description |
---|---|---|
name |
String |
Listener name. |
port |
Integer |
Port for the listener to provide services externally. |
backend |
Backend object |
Backend service definition. |
ip_version |
Integer |
IP protocol type for creating a load balancer. |
Parameter |
Type |
Description |
---|---|---|
ip |
Array of strings |
Backend host address list. |
port |
Integer |
Backend service port. If the port does not exist, use the listener port. |
health_check |
HealthCheck object |
Health check settings. |
Parameter |
Type |
Description |
---|---|---|
protocol |
String |
Currently, LVS supports only TCP_CHECK. |
port |
Integer |
Health check port. |
unhealthy |
Integer |
The threshold for determining whether the backend is unhealthy. The number of consecutive detection failures is used as the threshold. |
timeout |
Integer |
Timeout interval for detecting the backend, in seconds. |
interval |
Integer |
Interval for detecting the backend, in seconds. |
Status code: 401
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
Error code. |
error_msg |
String |
Error description. |
Status code: 403
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
Error code. |
error_msg |
String |
Error description. |
Status code: 404
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
Error code. |
error_msg |
String |
Error description. |
Status code: 500
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
Error code. |
error_msg |
String |
Error description. |
Example Requests
None
Example Responses
Status code: 200
OK
{ "available_zone_ids" : "[region01, region02]", "bandwidth_size" : 5, "description" : "test create instance", "eip_id" : "41f961ab-2bdd-4ca7-9b59-cfc4fcef10c9", "enterprise_project_id" : "0", "instance_name" : "apig-demo", "maintain_begin" : "22:00:00", "maintain_end" : "02:00:00", "security_group_id" : "36d0ec18-bd10-4da7-86f3-ad7a5ddc55d7", "spec_id" : "PROFESSIONAL", "subnet_id" : "a938121c-11c4-4c91-b983-bc9acd347bb5", "vpc_id" : "0957108c-257c-4ce0-9e93-527d279ce763" }
Status code: 401
Unauthorized
{ "error_code" : "APIC.7102", "error_msg" : "Incorrect token or token resolution failed" }
Status code: 403
Forbidden
{ "error_code" : "APIC.7106", "error_msg" : "No permissions to request for the method" }
Status code: 404
Not Found
{ "error_code" : "APIC.7302", "error_msg" : "Instance not found" }
Status code: 500
Internal Server Error
{ "error_code" : "APIC.9000", "error_msg" : "Failed to request internal service" }
Status Codes
Status Code |
Description |
---|---|
200 |
OK |
401 |
Unauthorized |
403 |
Forbidden |
404 |
Not Found |
500 |
Internal Server Error |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot