getCdnPlusInstanceList
  • PDF

getCdnPlusInstanceList

  • PDF

概述

查询CDN+实例列表。

请求

请求参数

参数名称 是否为必填项 类型 限制事项 描述
cdnInstanceNo No String CDN实例编号
pageNo No Integer Min :0,
Max :2147483647
数量过多时,与页面大小对应的页面编号
pageSize No Integer Min :0,
Max :2147483647
在一个页面上要查询的页面大小
responseFormatType No String JSON或XML 响应类型

响应

所有响应以HTTP Status Code返回成功/失败。

HTTP状态代码 代码消息 描述
200 Success 查询成功
401 Unauthorized 认证失败
500 Internal Server Error 服务器错误

属性

项目 是否为必填项 类型 描述
cdnInstanceNo No String CDN实例编号
cdnInstanceStatus No CommonCode CDN 实例状态
cdnInstanceOperation No CommonCode CDN实例OP
cdnInstanceStatusName No String CDN实例状态名称
createDate No String 创建日期
lastModifiedDate No String UPTIME
cdnInstanceDescription No String CDN 实例说明
serviceName No String 服务名称
isForLiveTranscoder No Boolean 是否为实时转码器
liveTranscoderInstanceNoList No List<String> 实时转码器实例编号列表
isForImageOptimizer No Boolean 是否为Image Optimizer
imageOptimizerInstanceNo No String Image Optimizer实例编号
isAvailablePartialDomainPurge No Boolean
cdnPlusServiceDomainList No List<CdnPlusServiceDomain> CDN+服务域列表
domainId No String 域ID
serviceDomainTypeCode No String 服务域分类代码
protocolTypeCode No String 协议分类代码
defaultDomainName No String 默认域名
userDomainName No String 用户域名
cdnPlusRule No CdnPlusRule CDN设置

示例

请求示例

https://ncloud.apigw.ntruss.com/cdn/v2/getCdnPlusInstanceList?cdnInstanceNo=711484&responseFormatType=XML

响应示例

<?xml version="1.0" encoding="UTF-8"?>
<getCdnPlusInstanceListResponse>
  <requestId>8a19fde8-8a3b-4f61-b291-4a3f586e3c9c</requestId>
  <returnCode>0</returnCode>
  <returnMessage>success</returnMessage>
  <totalRows>1</totalRows>
  <cdnPlusInstanceList>
    <cdnPlusInstance>
      <cdnInstanceNo>711484</cdnInstanceNo>
      <cdnInstanceStatus>
        <code>RUN</code>
        <codeName>CDN Plus Run State</codeName>
      </cdnInstanceStatus>
      <cdnInstanceOperation>
        <code>NULL</code>
        <codeName>CDN3 NULL OP</codeName>
      </cdnInstanceOperation>
      <cdnInstanceStatusName>running</cdnInstanceStatusName>
      <createDate>2018-03-29T21:32:18+0900</createDate>
      <lastModifiedDate>2018-12-06T21:55:25+0900</lastModifiedDate>
      <cdnInstanceDescription></cdnInstanceDescription>
      <serviceName>cdn-log-test3</serviceName>
      <isForLiveTranscoder>false</isForLiveTranscoder>
      <liveTranscoderInstanceNoList/>
      <isForImageOptimizer>false</isForImageOptimizer>
      <imageOptimizerInstanceNo></imageOptimizerInstanceNo>
      <isAvailablePartialDomainPurge>false</isAvailablePartialDomainPurge>
      <cdnPlusServiceDomainList>
        <cdnPlusServiceDomain>
          <domainId>CD000000000000008054</domainId>
          <serviceDomainTypeCode>DEFAULT</serviceDomainTypeCode>
          <protocolTypeCode>HTTP</protocolTypeCode>
          <defaultDomainName>sjktsyeuckvp711484.cdn.ntruss.com</defaultDomainName>
          <userDomainName></userDomainName>
        </cdnPlusServiceDomain>
      </cdnPlusServiceDomainList>
      <cdnPlusRule>
        <protocolTypeCode>HTTP</protocolTypeCode>
        <serviceDomainTypeCode>DEFAULT</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>true</isReferrerDomainUse>
        <referrerDomainList>
          <string>www.naver.com</string>
          <string>*.naver.com</string>
        </referrerDomainList>
        <isReferrerDomainRestrictUse>false</isReferrerDomainRestrictUse>
        <isSecureTokenUse>false</isSecureTokenUse>
        <secureTokenPassword></secureTokenPassword>
        <isReissueSecureTokenPassword>false</isReissueSecureTokenPassword>
        <certificateName></certificateName>
        <isAccessLogUse>true</isAccessLogUse>
        <accessLogFileStorageContainerName>cdnlogtest</accessLogFileStorageContainerName>
        <isRequestCustomHeaderUse>false</isRequestCustomHeaderUse>
        <requestCustomHeaderList/>
        <isResponseCustomHeaderUse>false</isResponseCustomHeaderUse>
        <responseCustomHeaderList/>
      </cdnPlusRule>
    </cdnPlusInstance>
  </cdnPlusInstanceList>
</getCdnPlusInstanceListResponse>

错误代码

错误代码 描述
29200 Invalid CDN rule.
29201 Can not operate this CDN service.Please check status.
29202 Invalid CDN purge request.
29203 Invalid CDN service domain type code.
29204 Invalid CDN instance.
29205 Unable to control the CDN service because this CDN service is for Live Transcoder.
29211 An error occurred while creating CDN service.
29215 This CDN service can not request purge with partial domains.
29216 Invalid CDN service domain.
29209 The certificate can not register for CDN.
29217 Please enter target file list or directory.
29218 Please select target service domains.
29221 Unable to control the CDN service because this CDN service is for Image Optimizer.
29222 Invalid image optimizer instance number.
29223 Cache Key Hostname can not be set Origin Hostname if there is only one service domain.
29224 Cache Key Hostname can not be set Origin Hostname if use CDN domain.

本文对您有帮助吗?

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.