getCdnPlusInstanceList
- 인쇄
- PDF
getCdnPlusInstanceList
- 인쇄
- PDF
기사 요약
이 요약이 도움이 되었나요?
의견을 보내 주셔서 감사합니다.
개요
CDN 인스턴스 도메인 리스트 조회
설명
CDN 생성된 인스턴스의 도메인 ID와 정보를 조회하는 API를 제공합니다.
요청 파라미터
파라미터 명 | 필수 여부 | 타입 | 제약사항 | 설명 |
---|---|---|---|---|
cdnInstanceNo | No | String | - | CDN 인스턴스 번호를 입력하지 않을 경우 계정 내 생성된 모든 인스턴스와 도메인 리스트 정보가 보여짐 CDN 인스턴스 번호를 입력하면 해당 인스턴스 내 도메인 리스트 정보만 보여짐 |
pageNo | No | Integer | Min:0, Max:2147483647 | 대량의 CDN 인스턴스 목록을 조회시 Pagination의 페이지 정보를 입력함 기본 값 0으로 입력한 경우 모든 인스턴스 조회 |
pageSize | No | Integer | Min:0, Max:2147483647 | 대량의 CDN 인스턴스 목록을 조회시 Pagination의 보여질 인스턴스 수 입력 기본 값 0으로 입력한 경우 모든 인스턴스 조회 |
응답 데이터 타입
- CdnPlusInstanceList 타입
CdnPlusInstanceList extends CommonResponse |
---|
private Integer totalRows; |
private List cdnPlusInstanceList = new ArrayList(); |
CdnPlusInstance |
---|
private String cdnInstanceNo; |
private CommonCode cdnInstanceStatus; |
private CommonCode cdnInstanceOperation; |
private String cdnInstanceStatusName; |
private String createDate; |
private String lastModifiedDate; |
private String cdnInstanceDescription; |
private String serviceName; |
private Boolean isForLiveTranscoder; |
private List |
private Boolean isAvailablePartialDomainPurge; |
private List |
private CdnPlusRule cdnPlusRule; |
예시
호출
ncloud cdn getCdnPlusInstanceList --cdnInstanceNo 456400
응답
{
"getCdnPlusInstanceListResponse": {
"requestId": "f56c997c-2d4f-464b-bfff-2728e4c52191",
"returnCode": "0",
"returnMessage": "success",
"totalRows": 1,
"cdnPlusInstanceList": [
{
"cdnInstanceNo": "456400",
"cdnInstanceStatus": {
"code": "RUN",
"codeName": "Server run state"
},
"cdnInstanceOperation": {
"code": "NULL",
"codeName": "Server NULL OP"
},
"cdnInstanceStatusName": "running",
"createDate": "2017-08-30T22:33:52+0900",
"lastModifiedDate": "2017-09-19T11:34:46+0900",
"cdnInstanceDescription": "",
"serviceName": "real-qa-custom02",
"isForLiveTranscoder": false,
"liveTranscoderInstanceNoList": [],
"isForImageOptimizer": false,
"imageOptimizerInstanceNo" : "",
"isAvailablePartialDomainPurge": true,
"cdnPlusServiceDomainList": [
{
"domainId": "CD000000000000006580",
"serviceDomainTypeCode": "USER",
"protocolTypeCode": "HTTP",
"defaultDomainName": "qhytwoxdervh456400.cdn.ntruss.com",
"userDomainName": "ncp-cdn.a.navercdn.com"
},
{
"domainId": "CD000000000000006581",
"serviceDomainTypeCode": "USER",
"protocolTypeCode": "HTTP",
"defaultDomainName": "piytcmfpkjvy456400.cdn.ntruss.com",
"userDomainName": "ncp-cdn.b.navercdn.com"
},
{
"domainId": "CD000000000000006585",
"serviceDomainTypeCode": "USER",
"protocolTypeCode": "HTTP",
"defaultDomainName": "bamupnqrzjwh456400.cdn.ntruss.com",
"userDomainName": "ncp-cdn.c.navercdn.com"
}
],
"cdnPlusRule": {
"protocolTypeCode": "HTTP",
"serviceDomainTypeCode": "USER",
"originUrl": "ncp-cdn.origin.navercdn.com",
"originPath": "",
"originHttpPort": 80,
"originHttpsPort": 0,
"forwardHostHeaderTypeCode": "REQUEST_HOST_HEADER",
"forwardHostHeader": "",
"cacheKeyHostNameTypeCode": "REQUEST_HOST_HEADER",
"isGzipCompressionUse": true,
"cachingOptionTypeCode": "CACHE_CONTROL_MAX_AGE",
"isErrorContentsResponseUse": false,
"cachingTtlTime": 604800,
"isQueryStringIgnoreUse": true,
"isRemoveVaryHeaderUse": true,
"isLargeFileOptimizationUse": false,
"gzipResponseTypeCode": "ORIGIN_RESPONSE",
"isReferrerDomainUse": false,
"referrerDomainList": [],
"isReferrerDomainRestrictUse": false,
"isSecureTokenUse": false,
"secureTokenPassword": "",
"isReissueSecureTokenPassword": false,
"certificateName": "",
"isAccessLogUse": false,
"accessLogFileStorageContainerName": "",
"isRequestCustomHeaderUse" : false,
"requestCustomHeaderList" : [],
"isResponseCustomHeaderUse" : false,
"responseCustomHeaderList" : []
}
}
]
}
}
<?xml version="1.0" encoding="UTF-8" ?>
<getCdnPlusInstanceListResponse>
<requestId>f56c997c-2d4f-464b-bfff-2728e4c52191</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<cdnPlusInstanceList>
<cdnInstanceNo>456400</cdnInstanceNo>
<cdnInstanceStatus>
<code>RUN</code>
<codeName>Server run state</codeName>
</cdnInstanceStatus>
<cdnInstanceOperation>
<code>NULL</code>
<codeName>Server NULL OP</codeName>
</cdnInstanceOperation>
<cdnInstanceStatusName>running</cdnInstanceStatusName>
<createDate>2017-08-30T22:33:52+0900</createDate>
<lastModifiedDate>2017-09-19T11:34:46+0900</lastModifiedDate>
<cdnInstanceDescription></cdnInstanceDescription>
<serviceName>real-qa-custom02</serviceName>
<isForLiveTranscoder>false</isForLiveTranscoder>
<liveTranscoderInstanceNoList/>
<isForImageOptimizer>false</isForImageOptimizer>
<imageOptimizerInstanceNo></imageOptimizerInstanceNo>
<isAvailablePartialDomainPurge>true</isAvailablePartialDomainPurge>
<cdnPlusServiceDomainList>
<domainId>CD000000000000006580</domainId>
<serviceDomainTypeCode>USER</serviceDomainTypeCode>
<protocolTypeCode>HTTP</protocolTypeCode>
<defaultDomainName>qhytwoxdervh456400.cdn.ntruss.com</defaultDomainName>
<userDomainName>ncp-cdn.a.navercdn.com</userDomainName>
</cdnPlusServiceDomainList>
<cdnPlusServiceDomainList>
<domainId>CD000000000000006581</domainId>
<serviceDomainTypeCode>USER</serviceDomainTypeCode>
<protocolTypeCode>HTTP</protocolTypeCode>
<defaultDomainName>piytcmfpkjvy456400.cdn.ntruss.com</defaultDomainName>
<userDomainName>ncp-cdn.b.navercdn.com</userDomainName>
</cdnPlusServiceDomainList>
<cdnPlusServiceDomainList>
<domainId>CD000000000000006585</domainId>
<serviceDomainTypeCode>USER</serviceDomainTypeCode>
<protocolTypeCode>HTTP</protocolTypeCode>
<defaultDomainName>bamupnqrzjwh456400.cdn.ntruss.com</defaultDomainName>
<userDomainName>ncp-cdn.c.navercdn.com</userDomainName>
</cdnPlusServiceDomainList>
<cdnPlusRule>
<protocolTypeCode>HTTP</protocolTypeCode>
<serviceDomainTypeCode>USER</serviceDomainTypeCode>
<originUrl>ncp-cdn.origin.navercdn.com</originUrl>
<originPath></originPath>
<originHttpPort>80</originHttpPort>
<originHttpsPort>0</originHttpsPort>
<forwardHostHeaderTypeCode>REQUEST_HOST_HEADER</forwardHostHeaderTypeCode>
<forwardHostHeader></forwardHostHeader>
<cacheKeyHostNameTypeCode>REQUEST_HOST_HEADER</cacheKeyHostNameTypeCode>
<isGzipCompressionUse>true</isGzipCompressionUse>
<cachingOptionTypeCode>CACHE_CONTROL_MAX_AGE</cachingOptionTypeCode>
<isErrorContentsResponseUse>false</isErrorContentsResponseUse>
<cachingTtlTime>604800</cachingTtlTime>
<isQueryStringIgnoreUse>true</isQueryStringIgnoreUse>
<isRemoveVaryHeaderUse>true</isRemoveVaryHeaderUse>
<isLargeFileOptimizationUse>false</isLargeFileOptimizationUse>
<gzipResponseTypeCode>ORIGIN_RESPONSE</gzipResponseTypeCode>
<isReferrerDomainUse>false</isReferrerDomainUse>
<referrerDomainList/>
<isReferrerDomainRestrictUse>false</isReferrerDomainRestrictUse>
<isSecureTokenUse>false</isSecureTokenUse>
<secureTokenPassword></secureTokenPassword>
<isReissueSecureTokenPassword>false</isReissueSecureTokenPassword>
<certificateName></certificateName>
<isAccessLogUse>false</isAccessLogUse>
<accessLogFileStorageContainerName></accessLogFileStorageContainerName>
<isRequestCustomHeaderUse>false</isRequestCustomHeaderUse>
<requestCustomHeaderList/>
<isResponseCustomHeaderUse>false</isResponseCustomHeaderUse>
<responseCustomHeaderList/>
</cdnPlusRule>
</cdnPlusInstanceList>
</getCdnPlusInstanceListResponse>
이 문서가 도움이 되었습니까?