getCloudPostgresqlInstanceList
    • PDF

    getCloudPostgresqlInstanceList

    • PDF

    기사 요약

    Cloud DB for PostgreSQL 인스턴스 목록을 조회합니다.

    요청

    요청 파라미터

    파라미터타입필수 여부설명제약 사항
    regionCodeStringN리전 코드
    - regionCode는 getRegionList 액션을 통해 획득
    - default: getRegionList 조회 결과의 첫 번째 리전을 선택
    -
    zoneCodeStringNZone 코드
    - zoneCode는 getZoneList 액션을 통해 획득
    -
    vpcNoStringNVPC 번호
    - vpcNo는 getCloudPostgresqlTargetVpcList 액션을 통해서 획득
    -
    subnetNoStringNSubnet 번호
    - SubnetNo는 getCloudPostgresqlTargetSubnetList 액션을 통해서 획득
    -
    cloudPostgresqlServiceNameStringNCloud DB for PostgreSQL 서비스 이름
    - Cloud DB for PostgreSQL 서비스 이름으로 필터링하여 검색 가능
    - cloudPostgresqlServiceName은 getCloudPostgresqlInstanceList 액션을 통해 획득
    -
    cloudPostgresqlInstanceNoListList<String>NCloud DB for PostgreSQL 인스턴스 번호 목록
    - Cloud DB for PostgreSQL 인스턴스 번호로 필터링하여 검색 가능
    - cloudPostgresqlInstanceNoList는 getCloudPostgresqlInstanceList 액션을 통해 획득
    - ex) cloudPostgresqlInstanceNoList.1=1234&cloudPostgresqlInstanceNoList.2=2345
    -
    cloudPostgresqlServerNameStringNCloud DB for PostgreSQL 서버 이름
    - Cloud DB for PostgreSQL 서버 이름으로 필터링하여 검색 가능
    - cloudPostgresqlServerName은 getCloudPostgresqlInstanceList 액션을 통해 획득
    -
    cloudPostgresqlServerInstanceNoListList<String>NCloud DB for PostgreSQL 서버 인스턴스 번호 목록
    - Cloud DB for PostgreSQL 서버 인스턴스 번호로 필터링하여 검색 가능
    - cloudPostgresqlServerInstanceNoList getCloudPostgresqlInstanceList 액션을 통해 획득
    - ex) cloudPostgresqlServerInstanceNoList.1=1234&cloudPostgresqlServerInstanceNoList.2=2345
    -
    pageNoIntegerN페이징 된 결과의 페이지 번호
    - 결값을 pageNo, pageSize를 이용하여 페이징 처리 가능
    - Min: 0
    pageSizeIntegerN페이징 시 보여줄 각 페이지 사이즈
    - 결괏값을 pageNo, pageSize를 이용하여 페이징 처리 가능
    - pageNo 입력 시 반드시 입력
    - Min: 1
    responseFormatTypeStringN응답 결과의 포맷 타입
    - options: xml | json
    - default: xml
    -

    응답

    응답 바디

    응답 바디는 CloudPostgresqlInstanceList를 참고해 주십시오.

    예시

    요청 예시

    요청 구문 예시는 다음과 같습니다.

    GET {API_URL}/getCloudPostgresqlInstanceList
    ?regionCode=FKR
    

    응답 예시

    응답 구문 예시는 다음과 같습니다.

    응답 결과 포맷 타입(responseFormatType)이 json 일 때

    {
      "getCloudPostgresqlInstanceListResponse": {
        "requestId": "3c690190-a654-499e-8e00-7916d62ae416",
        "returnCode": 0,
        "returnMessage": "success",
        "totalRows": 1,
        "cloudPostgresqlInstanceList": [
          {
            "cloudPostgresqlInstanceNo": "****925",
            "cloudPostgresqlServiceName": "test-****",
            "cloudPostgresqlInstanceStatusName": "running",
            "cloudPostgresqlInstanceStatus": {
              "code": "CREAT",
              "codeName": "CLOUD DATABASE(VPC) Created State"
            },
            "cloudPostgresqlInstanceOperation": {
              "code": "NULL",
              "codeName": "CLOUD DATABASE(VPC) Null OP"
            },
            "generationCode": "G2",
            "isHa": true,
            "isMultiZone": true,
            "cloudPostgresqlConfigList": [
                "sample_config=sample_value"
            ],
            "cloudPostgresqlServerInstanceList": [
              {
                "cloudPostgresqlServerInstanceNo": "****926",
                "cloudPostgresqlServerName": "test-****-001-gcb",
                "cloudPostgresqlServerRole": {
                  "code": "M",
                  "codeName": "Primary"
                },
                "cloudPostgresqlServerInstanceStatusName": "running",
                "cloudPostgresqlServerInstanceStatus": {
                  "code": "RUN",
                  "codeName": "CLOUD DATABASE(VPC) Server Running State"
                },
                "cloudPostgresqlServerInstanceOperation": {
                  "code": "NOOP",
                  "codeName": "CLOUD DATABASE(VPC) Server Null OP"
                },
                "regionCode": "FKR",
                "zoneCode": "FKR-1",
                "vpcNo": "****87",
                "subnetNo": "****49",
                "privateIp": "***.***.***.***",
                "dataStorageSize": 10737418240,
                "cpuCount": 2,
                "memorySize": 4294967296
              },
              {
                "cloudPostgresqlServerInstanceNo": "****932",
                "cloudPostgresqlServerName": "test-****-002-gcc",
                "cloudPostgresqlServerRole": {
                  "code": "H",
                  "codeName": "Secondary"
                },
                "cloudPostgresqlServerInstanceStatusName": "running",
                "cloudPostgresqlServerInstanceStatus": {
                  "code": "RUN",
                  "codeName": "CLOUD DATABASE(VPC) Server Running State"
                },
                "cloudPostgresqlServerInstanceOperation": {
                  "code": "NOOP",
                  "codeName": "CLOUD DATABASE(VPC) Server Null OP"
                },
                "regionCode": "FKR",
                "zoneCode": "FKR-2",
                "vpcNo": "****87",
                "subnetNo": "****51",
                "privateIp": "***.***.***.***",
                "dataStorageSize": 10737418240,
                "cpuCount": 2,
                "memorySize": 4294967296
              }
            ]
          }
        ]
      }
    }
    

    응답 결과 포맷 타입(responseFormatType)이 xml 일 때

    <getCloudPostgresqlInstanceListResponse>
        <requestId>3c690190-a654-499e-8e00-7916d62ae416</requestId>
        <returnCode>0</returnCode>
        <returnMessage>success</returnMessage>
        <totalRows>1</totalRows>
        <cloudPostgresqlInstanceList>
            <cloudPostgresqlInstance>
                <cloudPostgresqlInstanceNo>****925</cloudPostgresqlInstanceNo>
                <cloudPostgresqlServiceName>test-****</cloudPostgresqlServiceName>
                <cloudPostgresqlInstanceStatusName>running</cloudPostgresqlInstanceStatusName>
                <cloudPostgresqlInstanceStatus>
                    <code>CREAT</code>
                    <codeName>CLOUD DATABASE(VPC) Created State</codeName>
                </cloudPostgresqlInstanceStatus>
                <cloudPostgresqlInstanceOperation>
                    <code>NULL</code>
                    <codeName>CLOUD DATABASE(VPC) Null OP</codeName>
                </cloudPostgresqlInstanceOperation>
                <generationCode>G2</generationCode>
                <isHa>true</isHa>
                <isMultiZone>true</isMultiZone>
                <cloudPostgresqlConfigList>
                    <cloudPostgresqlConfig>sample_config=sample_value</cloudPostgresqlConfig>
                </cloudPostgresqlConfigList>
                <cloudPostgresqlServerInstanceList>
                    <cloudPostgresqlServerInstance>
                        <cloudPostgresqlServerInstanceNo>****926</cloudPostgresqlServerInstanceNo>
                        <cloudPostgresqlServerName>test-****-001-gcb</cloudPostgresqlServerName>
                        <cloudPostgresqlServerRole>
                            <code>M</code>
                            <codeName>Primary</codeName>
                        </cloudPostgresqlServerRole>
                        <cloudPostgresqlServerInstanceStatusName>running</cloudPostgresqlServerInstanceStatusName>
                        <cloudPostgresqlServerInstanceStatus>
                            <code>RUN</code>
                            <codeName>CLOUD DATABASE(VPC) Server Running State</codeName>
                        </cloudPostgresqlServerInstanceStatus>
                        <cloudPostgresqlServerInstanceOperation>
                            <code>NOOP</code>
                            <codeName>CLOUD DATABASE(VPC) Server Null OP</codeName>
                        </cloudPostgresqlServerInstanceOperation>
                        <regionCode>FKR</regionCode>
                        <zoneCode>FKR-1</zoneCode>
                        <vpcNo>****87</vpcNo>
                        <subnetNo>****49</subnetNo>
                        <privateIp>***.***.***.***</privateIp>
                        <dataStorageSize>10737418240</dataStorageSize>
                        <cpuCount>2</cpuCount>
                        <memorySize>4294967296</memorySize>
                    </cloudPostgresqlServerInstance>
                    <cloudPostgresqlServerInstance>
                        <cloudPostgresqlServerInstanceNo>****932</cloudPostgresqlServerInstanceNo>
                        <cloudPostgresqlServerName>test-****-002-gcc</cloudPostgresqlServerName>
                        <cloudPostgresqlServerRole>
                            <code>H</code>
                            <codeName>Secondary</codeName>
                        </cloudPostgresqlServerRole>
                        <cloudPostgresqlServerInstanceStatusName>running</cloudPostgresqlServerInstanceStatusName>
                        <cloudPostgresqlServerInstanceStatus>
                            <code>RUN</code>
                            <codeName>CLOUD DATABASE(VPC) Server Running State</codeName>
                        </cloudPostgresqlServerInstanceStatus>
                        <cloudPostgresqlServerInstanceOperation>
                            <code>NOOP</code>
                            <codeName>CLOUD DATABASE(VPC) Server Null OP</codeName>
                        </cloudPostgresqlServerInstanceOperation>
                        <regionCode>FKR</regionCode>
                        <zoneCode>FKR-2</zoneCode>
                        <vpcNo>****87</vpcNo>
                        <subnetNo>****51</subnetNo>
                        <privateIp>***.***.***.***</privateIp>
                        <dataStorageSize>10737418240</dataStorageSize>
                        <cpuCount>2</cpuCount>
                        <memorySize>4294967296</memorySize>
                    </cloudPostgresqlServerInstance>
                </cloudPostgresqlServerInstanceList>
            </cloudPostgresqlInstance>
        </cloudPostgresqlInstanceList>
    </getCloudPostgresqlInstanceListResponse>
    

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

    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.