getCdnPlusInstanceList
- 印刷する
- PDF
getCdnPlusInstanceList
- 印刷する
- PDF
記事の要約
この要約は役に立ちましたか?
ご意見ありがとうございます
概要
CDNインスタンスDomainリスト照会
説明
CDNが作成されたインスタンスのDomain IDと情報を照会するAPIを提供します。
リクエストパラメータ
パラメータ名 | 必須 | タイプ | 制約事項 | 説明 |
---|---|---|---|---|
cdnInstanceNo | No | String | - | CDNインスタンス番号を入力しない場合、アカウント内に作成されたすべてのインスタンスとDomainリスト情報が表示されます。 CDNインスタンス番号を入力すると該当インスタンス内のDomainリスト情報のみが表示されます。 |
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>
この記事は役に立ちましたか?