getCdnPlusInstanceList
  • PDF

getCdnPlusInstanceList

  • PDF

概要

CDN+のインスタンスリストを照会します。

リクエスト

リクエストパラメータ

パラメータ名 必須 タイプ 制約事項 説明
cdnInstanceNo No String CDNインスタンス番号
pageNo No Integer Min : 0,
Max : 2147483647
件数が多い場合はページサイズに該当するページ番号
pageSize No Integer Min : 0,
Max : 2147483647
1ページで照会するページサイズ
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>

エラーコード

Errorコード 説明
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.