CDN 인스턴스 조회
    • PDF

    CDN 인스턴스 조회

    • PDF

    기사 요약

    개요

    CDN+ 인스턴스 리스트를 조회합니다.

    요청

    요청 파라미터

    파라미터명필수 여부타입제약 사항설명
    cdnInstanceNoNoStringCDN 인스턴스 번호
    pageNoNoIntegerMin : 0,
    Max : 2147483647
    건수가 많을 경우 페이지 사이즈에 해당하는 페이지 번호
    pageSizeNoIntegerMin : 0,
    Max : 2147483647
    한 페이지에서 조회할 페이지 사이즈
    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://fin-ncloud.apigw.fin-ntruss.com/cdn/v2/getCdnPlusInstanceList?cdnInstanceNo=2391364&responseFormatType=XML
    

    응답 예시

    <?xml version="1.0" encoding="UTF-8"?>
      <getCdnPlusInstanceListResponse>
        <requestId>7fb82c40-5072-4d56-9143-87a497cfaf33</requestId>
        <returnCode>0</returnCode>
        <returnMessage>success</returnMessage>
        <totalRows>1</totalRows>
        <cdnPlusInstanceList>
          <cdnPlusInstance>
            <cdnInstanceNo>2391364</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>2022-06-02T16:37:34+0900</createDate>
            <lastModifiedDate>2022-06-02T16:38:21+0900</lastModifiedDate>
            <cdnInstanceDescription>
            </cdnInstanceDescription>
            <serviceName>test</serviceName>
            <isForLiveTranscoder>false</isForLiveTranscoder>
            <liveTranscoderInstanceNoList/>
            <isForImageOptimizer>false</isForImageOptimizer>
            <imageOptimizerInstanceNo>
            </imageOptimizerInstanceNo>
            <isAvailablePartialDomainPurge>false</isAvailablePartialDomainPurge>
            <cdnPlusServiceDomainList>
              <cdnPlusServiceDomain>
                <domainId>CD000000000000016522</domainId>
                <serviceDomainTypeCode>DEFAULT</serviceDomainTypeCode>
                <protocolTypeCode>HTTPS</protocolTypeCode>
                <defaultDomainName>gpxwapfigdom2391364.cdn.beta.ntruss.com</defaultDomainName>
                <userDomainName>
                </userDomainName>
              </cdnPlusServiceDomain>
            </cdnPlusServiceDomainList>
            <cdnPlusRule>
              <protocolTypeCode>HTTPS</protocolTypeCode>
              <serviceDomainTypeCode>DEFAULT</serviceDomainTypeCode>
              <originUrl>fin-test01.kr.beta-object.fin-ncloudstorage.com</originUrl>
              <originPath>
              </originPath>
              <originHttpPort>80</originHttpPort>
              <originHttpsPort>0</originHttpsPort>
              <forwardHostHeaderTypeCode>ORIGIN_HOSTNAME</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>
          </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.