Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion cdn/ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# 更新历史 #
API版本:0.10.23
API版本:0.10.24




| 发布时间 | 版本号 | 更新 | 说明 |
| ---------- | ------ | ---------------------------------------------------------- | ---- |
| 2020-11-05 | 0.10.24 |增加控制台获取地域运行商新接口 |
| 2020-10-14 | 0.10.23 |增加子账号设置与查询刷新预热额度接口 |
| 2020-08-25 | 0.10.22 |点播域名创建支持指定模板 |
| 2020-08-14 | 0.10.21 |增加头条回源鉴权参数配置和dash鉴权参数配置接口|
Expand Down
2 changes: 1 addition & 1 deletion cdn/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.jdcloud.sdk</groupId>
<artifactId>cdn</artifactId>
<version>0.10.23</version>
<version>0.10.24</version>
<packaging>jar</packaging>
<name>cdn</name>
<url>http://www.jdcloud.com</url>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@
import com.jdcloud.sdk.service.cdn.model.SetDomainConfigRequest;
import com.jdcloud.sdk.service.cdn.model.SetDomainConfigResponse;
import com.jdcloud.sdk.service.cdn.client.SetDomainConfigExecutor;
import com.jdcloud.sdk.service.cdn.model.QueryCustomizedDirBandWidthRequest;
import com.jdcloud.sdk.service.cdn.model.QueryCustomizedDirBandWidthResponse;
import com.jdcloud.sdk.service.cdn.client.QueryCustomizedDirBandWidthExecutor;
import com.jdcloud.sdk.service.cdn.model.SetRefreshLimitRequest;
import com.jdcloud.sdk.service.cdn.model.SetRefreshLimitResponse;
import com.jdcloud.sdk.service.cdn.client.SetRefreshLimitExecutor;
Expand Down Expand Up @@ -259,6 +262,9 @@
import com.jdcloud.sdk.service.cdn.model.CreateWafWhiteRuleRequest;
import com.jdcloud.sdk.service.cdn.model.CreateWafWhiteRuleResponse;
import com.jdcloud.sdk.service.cdn.client.CreateWafWhiteRuleExecutor;
import com.jdcloud.sdk.service.cdn.model.QueryAreaIspListV2Request;
import com.jdcloud.sdk.service.cdn.model.QueryAreaIspListV2Response;
import com.jdcloud.sdk.service.cdn.client.QueryAreaIspListV2Executor;
import com.jdcloud.sdk.service.cdn.model.QueryAvgBandwidthForPCdnRequest;
import com.jdcloud.sdk.service.cdn.model.QueryAvgBandwidthForPCdnResponse;
import com.jdcloud.sdk.service.cdn.client.QueryAvgBandwidthForPCdnExecutor;
Expand Down Expand Up @@ -424,6 +430,9 @@
import com.jdcloud.sdk.service.cdn.model.QueryBackSourcePathRequest;
import com.jdcloud.sdk.service.cdn.model.QueryBackSourcePathResponse;
import com.jdcloud.sdk.service.cdn.client.QueryBackSourcePathExecutor;
import com.jdcloud.sdk.service.cdn.model.QueryJBoxAvgBandwidthRequest;
import com.jdcloud.sdk.service.cdn.model.QueryJBoxAvgBandwidthResponse;
import com.jdcloud.sdk.service.cdn.client.QueryJBoxAvgBandwidthExecutor;
import com.jdcloud.sdk.service.cdn.model.SetSourceAuthConfigRequest;
import com.jdcloud.sdk.service.cdn.model.SetSourceAuthConfigResponse;
import com.jdcloud.sdk.service.cdn.client.SetSourceAuthConfigExecutor;
Expand Down Expand Up @@ -836,6 +845,17 @@ public SetDomainConfigResponse setDomainConfig(SetDomainConfigRequest request) t
return new SetDomainConfigExecutor().client(this).execute(request);
}

/**
* 查询定制的目录带宽,仅有部分用户支持该功能
*
* @param request
* @return
* @throws JdcloudSdkException
*/
public QueryCustomizedDirBandWidthResponse queryCustomizedDirBandWidth(QueryCustomizedDirBandWidthRequest request) throws JdcloudSdkException {
return new QueryCustomizedDirBandWidthExecutor().client(this).execute(request);
}

/**
* 设置用户刷新预热限额
*
Expand Down Expand Up @@ -1463,6 +1483,17 @@ public CreateWafWhiteRuleResponse createWafWhiteRule(CreateWafWhiteRuleRequest r
return new CreateWafWhiteRuleExecutor().client(this).execute(request);
}

/**
* 查找地域运营商列表
*
* @param request
* @return
* @throws JdcloudSdkException
*/
public QueryAreaIspListV2Response queryAreaIspListV2(QueryAreaIspListV2Request request) throws JdcloudSdkException {
return new QueryAreaIspListV2Executor().client(this).execute(request);
}

/**
* 查询平均带宽
*
Expand Down Expand Up @@ -2068,6 +2099,17 @@ public QueryBackSourcePathResponse queryBackSourcePath(QueryBackSourcePathReques
return new QueryBackSourcePathExecutor().client(this).execute(request);
}

/**
* 查询平均带宽
*
* @param request
* @return
* @throws JdcloudSdkException
*/
public QueryJBoxAvgBandwidthResponse queryJBoxAvgBandwidth(QueryJBoxAvgBandwidthRequest request) throws JdcloudSdkException {
return new QueryJBoxAvgBandwidthExecutor().client(this).execute(request);
}

/**
* 回源鉴权设置
*
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* 统计查询类接口
* Openapi For JCLOUD cdn
*
* OpenAPI spec version: v1
* Contact: pid-cdn@jd.com
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/

package com.jdcloud.sdk.service.cdn.client;

import com.jdcloud.sdk.client.JdcloudExecutor;
import com.jdcloud.sdk.service.JdcloudResponse;
import com.jdcloud.sdk.service.cdn.model.QueryAreaIspListV2Response;

/**
* 查找地域运营商列表
*/
class QueryAreaIspListV2Executor extends JdcloudExecutor {

@Override
public String method() {
return "GET";
}

@Override
public String url() {
return "/console:areaIspListV2";
}

@Override
public Class<? extends JdcloudResponse> returnType() {
return QueryAreaIspListV2Response.class;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* 统计查询类接口
* Openapi For JCLOUD cdn
*
* OpenAPI spec version: v1
* Contact: pid-cdn@jd.com
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/

package com.jdcloud.sdk.service.cdn.client;

import com.jdcloud.sdk.client.JdcloudExecutor;
import com.jdcloud.sdk.service.JdcloudResponse;
import com.jdcloud.sdk.service.cdn.model.QueryCustomizedDirBandWidthResponse;

/**
* 查询定制的目录带宽,仅有部分用户支持该功能
*/
class QueryCustomizedDirBandWidthExecutor extends JdcloudExecutor {

@Override
public String method() {
return "POST";
}

@Override
public String url() {
return "/statistics:queryCustomizedDirBandWidth";
}

@Override
public Class<? extends JdcloudResponse> returnType() {
return QueryCustomizedDirBandWidthResponse.class;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* PCdn统计查询接口
* Openapi For JCLOUD cdn
*
* OpenAPI spec version: v1
* Contact: pid-cdn@jd.com
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/

package com.jdcloud.sdk.service.cdn.client;

import com.jdcloud.sdk.client.JdcloudExecutor;
import com.jdcloud.sdk.service.JdcloudResponse;
import com.jdcloud.sdk.service.cdn.model.QueryJBoxAvgBandwidthResponse;

/**
* 查询平均带宽
*/
class QueryJBoxAvgBandwidthExecutor extends JdcloudExecutor {

@Override
public String method() {
return "GET";
}

@Override
public String url() {
return "/jdbox:queryAvgBandwidth";
}

@Override
public Class<? extends JdcloudResponse> returnType() {
return QueryJBoxAvgBandwidthResponse.class;
}
}
Loading