GetExtendedStatus
- Print
- PDF
GetExtendedStatus
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Summary
Inquire if Instance has Extended settings
Request
API URL
URL: https://cw.apigw.ntruss.com/cw_fea/real/cw/api/schema/extended/status
Method: GET(Deprecated), POST
Request header
The request headers specified in common settings are required.
x-ncp-apigw-signature-v2: {generated signature}
x-ncp-apigw-timestamp: {current timestamp}
x-ncp-iam-access-key: {your iam access key}
Request Parameters
- using GET method (Deprecated)
Parameter Name | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
cw_key | Y | String | Product's cw_key (Please refer Product List) | |
instanceIds | Y | String | The instanceId that you want to inquire about whether Extended is enabled (you can enter multiple instanceIds separated by comma without spaces). |
Request Body
- using POST method
Parameter Name | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
prodKey | Y | String | Product's cw_key (Please refer Product List) | |
servers | Y | List | The instanceId that you want to inquire about whether Extended is enabled |
Example
Request example
The code below shows an example of querying about extended setting of "instanceNo001" and "instanceNo002" in Server(VPC).
- GET method example (Deprecated)
GET /cw_fea/real/cw/api/schema/extended/status?cw_key=xxxxxxxxxxxxxxxxxx&instanceIds=instanceNo001,instanceNo002
Host: cw.apigw.ntruss.com
x-ncp-apigw-signature-v2: {generated signature}
x-ncp-apigw-timestamp: {current timestamp}
x-ncp-iam-access-key: {your iam access key}
- POST method example
POST /cw_fea/real/cw/api/schema/extended/status
Host: cw.apigw.ntruss.com
x-ncp-apigw-signature-v2: {generated signature}
x-ncp-apigw-timestamp: {current timestamp}
x-ncp-iam-access-key: {your iam access key}
Payload:
{
"prodKey": "xxxxxxxxxxxxxxxxxxxxxx",
"servers": [
"instanceNo01",
"instanceNo02"
]
}
Response example
The API returns HTTP code 200 as well as the extended settings of corresponding instanceNo if the query is completed without any errors.
The result means that instanceNo001 is not extended, and instanceNo002 is extended.
[
{
"enabled": false,
"instanceId": "instanceNo001"
},
{
"enabled": true,
"instanceId": "instanceNo002"
}
]
Was this article helpful?