Skip to content

Commit 11df7ef

Browse files
Merge pull request #156 from jdcloud-apigateway/master
add updates
2 parents f80db09 + af67e87 commit 11df7ef

3 files changed

Lines changed: 62 additions & 1 deletion

File tree

src/Cdn/CdnClient.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,10 @@
172172
* @method \GuzzleHttp\Promise\Promise speedLimitAsync(array $args = [])
173173
* @method \Jdcloud\Result batchIpBlackList(array $args = [])
174174
* @method \GuzzleHttp\Promise\Promise batchIpBlackListAsync(array $args = [])
175+
* @method \Jdcloud\Result configBackSourceIpVersion(array $args = [])
176+
* @method \GuzzleHttp\Promise\Promise configBackSourceIpVersionAsync(array $args = [])
177+
* @method \Jdcloud\Result queryBackSourceIpVersion(array $args = [])
178+
* @method \GuzzleHttp\Promise\Promise queryBackSourceIpVersionAsync(array $args = [])
175179
* @method \Jdcloud\Result queryDomainGroupList(array $args = [])
176180
* @method \GuzzleHttp\Promise\Promise queryDomainGroupListAsync(array $args = [])
177181
* @method \Jdcloud\Result queryDomainGroupDetail(array $args = [])

src/Cdn/ChangeLog.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
# 更新历史 #
2-
API版本:0.10.46
2+
API版本:0.10.47
33

44

55

66

77
| 发布时间 | 版本号 | 更新 | 说明 |
88
| ---------- | ------ | ---------------------------------------------------------- | ---- |
9+
| 2024-05-09 | 0.10.47 |新增回源IP类型查询及配置接口|
910
| 2023-05-06 | 0.10.46 |新增generateDomainTxt接口解决原有接口java sdk格式兼容问题,domainTxtGenerate仅对内使用|
1011
| 2023-04-06 | 0.10.45 |domainTxtGenerate、domainTxtValidate txt生成及校验接口对外开放|
1112
| 2023-02-22 | 0.10.44 |增加域名海外CF状态信息|

src/data/cdn/v1/api-2.json.php

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -695,6 +695,24 @@
695695
'input' => [ 'shape' => 'BatchIpBlackListRequestShape', ],
696696
'output' => [ 'shape' => 'BatchIpBlackListResponseShape', ],
697697
],
698+
'ConfigBackSourceIpVersion' => [
699+
'name' => 'ConfigBackSourceIpVersion',
700+
'http' => [
701+
'method' => 'POST',
702+
'requestUri' => '/v1/domain/{domain}/configBackSourceIpVersion',
703+
],
704+
'input' => [ 'shape' => 'ConfigBackSourceIpVersionRequestShape', ],
705+
'output' => [ 'shape' => 'ConfigBackSourceIpVersionResponseShape', ],
706+
],
707+
'QueryBackSourceIpVersion' => [
708+
'name' => 'QueryBackSourceIpVersion',
709+
'http' => [
710+
'method' => 'GET',
711+
'requestUri' => '/v1/domain/{domain}/queryBackSourceIpVersion',
712+
],
713+
'input' => [ 'shape' => 'QueryBackSourceIpVersionRequestShape', ],
714+
'output' => [ 'shape' => 'QueryBackSourceIpVersionResponseShape', ],
715+
],
698716
'QueryDomainGroupList' => [
699717
'name' => 'QueryDomainGroupList',
700718
'http' => [
@@ -3912,6 +3930,13 @@
39123930
'domain' => [ 'type' => 'string', 'locationName' => 'domain', ],
39133931
],
39143932
],
3933+
'ConfigBackSourceIpVersionRequestShape' => [
3934+
'type' => 'structure',
3935+
'members' => [
3936+
'backSourceIpVersion' => [ 'type' => 'string', 'locationName' => 'backSourceIpVersion', ],
3937+
'domain' => [ 'type' => 'string', 'locationName' => 'domain', ],
3938+
],
3939+
],
39153940
'QueryBackSourcePathRequestShape' => [
39163941
'type' => 'structure',
39173942
'members' => [
@@ -3959,6 +3984,13 @@
39593984
'domain' => [ 'type' => 'string', 'locationName' => 'domain', ],
39603985
],
39613986
],
3987+
'QueryBackSourceIpVersionResponseShape' => [
3988+
'type' => 'structure',
3989+
'members' => [
3990+
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
3991+
'result' => [ 'shape' => 'QueryBackSourceIpVersionResultShape', ],
3992+
],
3993+
],
39623994
'PreviewCertificateResultShape' => [
39633995
'type' => 'structure',
39643996
'members' => [
@@ -4178,6 +4210,12 @@
41784210
'members' => [
41794211
],
41804212
],
4213+
'QueryBackSourceIpVersionResultShape' => [
4214+
'type' => 'structure',
4215+
'members' => [
4216+
'backSourceIpVersion' => [ 'type' => 'string', 'locationName' => 'backSourceIpVersion', ],
4217+
],
4218+
],
41814219
'SetAccelerateRegionResultShape' => [
41824220
'type' => 'structure',
41834221
'members' => [
@@ -4238,6 +4276,12 @@
42384276
'result' => [ 'shape' => 'ConfigHttp2ResultShape', ],
42394277
],
42404278
],
4279+
'QueryBackSourceIpVersionRequestShape' => [
4280+
'type' => 'structure',
4281+
'members' => [
4282+
'domain' => [ 'type' => 'string', 'locationName' => 'domain', ],
4283+
],
4284+
],
42414285
'SetGzipResultShape' => [
42424286
'type' => 'structure',
42434287
'members' => [
@@ -4675,6 +4719,13 @@
46754719
'domain' => [ 'type' => 'string', 'locationName' => 'domain', ],
46764720
],
46774721
],
4722+
'ConfigBackSourceIpVersionResponseShape' => [
4723+
'type' => 'structure',
4724+
'members' => [
4725+
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
4726+
'result' => [ 'shape' => 'ConfigBackSourceIpVersionResultShape', ],
4727+
],
4728+
],
46784729
'QueryExtraCacheTimeResultShape' => [
46794730
'type' => 'structure',
46804731
'members' => [
@@ -4696,6 +4747,11 @@
46964747
'result' => [ 'shape' => 'QueryBackSourceRuleResultShape', ],
46974748
],
46984749
],
4750+
'ConfigBackSourceIpVersionResultShape' => [
4751+
'type' => 'structure',
4752+
'members' => [
4753+
],
4754+
],
46994755
'OperateIpBlackListResultShape' => [
47004756
'type' => 'structure',
47014757
'members' => [

0 commit comments

Comments
 (0)