GetExtendedStatus
    • PDF

    GetExtendedStatus

    • PDF

    Article summary

    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 NameRequirement statusTypeRestrictionsDescription
    cw_keyYStringProduct's cw_key (Please refer Product List)
    instanceIdsYStringThe 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 NameRequirement statusTypeRestrictionsDescription
    prodKeyYStringProduct's cw_key (Please refer Product List)
    serversYListThe 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?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.