getCdnPlusInstanceList
    • PDF

    getCdnPlusInstanceList

    • PDF

    Article Summary

    概要

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

    リクエスト

    リクエストパラメータ

    パラメータ名必須タイプ制約事項説明
    cdnInstanceNoNoStringCDNインスタンス番号
    pageNoNoIntegerMin : 0,
    Max : 2147483647
    件数が多い場合はページサイズに該当するページ番号
    pageSizeNoIntegerMin : 0,
    Max : 2147483647
    1ページで照会するページサイズ
    responseFormatTypeNoStringJSONまたはXMLレスポンスタイプ

    レスポンス

    すべてのレスポンスはHTTP Status Codeで成功/失敗を返却します。

    HTTPステータスコードコードメッセージ説明
    200Success照会成功
    401Unauthorized認証失敗
    500Internal Server Errorサーバエラー

    属性

    項目必須タイプ説明
    cdnInstanceNoNoStringCDNインスタンス番号
    cdnInstanceStatusNoCommonCodeCDNインスタンスステータス
    cdnInstanceOperationNoCommonCodeCDNインスタンスOP
    cdnInstanceStatusNameNoStringCDNインスタンスステータス名
    createDateNoString作成日付
    lastModifiedDateNoStringUPTIME
    cdnInstanceDescriptionNoStringCDNインスタンス説明
    serviceNameNoStringサービス名
    isForLiveTranscoderNoBooleanライブトランスコーダ区分
    liveTranscoderInstanceNoListNoList<String>ライブトランスコーダインスタンス番号リスト
    isForImageOptimizerNoBooleanImage Optimizer区分
    imageOptimizerInstanceNoNoStringImage Optimizerインスタンス番号
    isAvailablePartialDomainPurgeNoBoolean
    cdnPlusServiceDomainListNoList<CdnPlusServiceDomain>CDN+サービスドメインリスト
    domainIdNoStringドメインID
    serviceDomainTypeCodeNoStringサービスドメイン区分コード
    protocolTypeCodeNoStringプロトコル区分コード
    defaultDomainNameNoStringデフォルトドメイン名
    userDomainNameNoStringユーザードメイン名
    cdnPlusRuleNoCdnPlusRuleCDN設定

    例示

    リクエスト例示

    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コード説明
    29200Invalid CDN rule.
    29201Can not operate this CDN service. Please check status.
    29202Invalid CDN purge request.
    29203Invalid CDN service domain type code.
    29204Invalid CDN instance.
    29205Unable to control the CDN service because this CDN service is for Live Transcoder.
    29211An error occurred while creating CDN service.
    29215This CDN service can not request purge with partial domains.
    29216Invalid CDN service domain.
    29209The certificate can not register for CDN.
    29217Please enter target file list or directory.
    29218Please select target service domains.
    29221Unable to control the CDN service because this CDN service is for Image Optimizer.
    29222Invalid image optimizer instance number.
    29223Cache Key Hostname can not be set Origin Hostname if there is only one service domain.
    29224Cache 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.