GetMetaSubnet
    • PDF

    GetMetaSubnet

    • PDF

    Article Summary

    개요

    VPC 환경에서 이용 가능합니다.

    NTM 에서 사용가능한 Subnet 를 조회합니다.

    요청

    API URL

    URL: https://vpc-ntm.apigw.fin-ntruss.com/meta/v1/subnet
    Method: GET
    

    요청 헤더

    공통설정에 명시된 요청헤더가 필요합니다.

    x-ncp-apigw-signature-v2: {generated signature}
    x-ncp-apigw-timestamp: {current timestamp}
    x-ncp-iam-access-key: {your iam access key}
    
    파라미터명필수 여부타입제약사항설명
    subnetNameNStringSubnet 이름 Prefix
    regionCodeNStringregion code, default FKR

    예시

    요청 예시

    GET /meta/v1/subnet?subnetName=subne&regionCode=KR
    Host: vpc-ntm.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}
    

    응답 예시

    오류 없이 조회가 완료된 경우 HTTP code 200과 Subnet 정보가 조회됩니다.

    [
      {
        "subnetNo": 1925,
        "subnetName": "subnet3",
        "subnet": "10.0.3.0/24",
        "gateway": "10.0.3.1",
        "zoneNo": 2,
        "zoneName": "KR-1",
        "vpcNo": 458,
        "vpcName": "vpc-sample",
        "statusCode": "RUN",
        "statusName": "Running"
      }
    ]
    

    이 문서가 도움이 되었습니까?

    What's Next
    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.