Skip to content

Commit 99ee47e

Browse files
add updates
1 parent 2ea5541 commit 99ee47e

3 files changed

Lines changed: 249 additions & 1 deletion

File tree

src/Starshield/ChangeLog.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# 更新历史 #
2-
API版本:0.0.13
2+
API版本:0.0.14
33

44
| 发布时间 | 版本号 | 更新 | 说明 |
55
| ---------- | ------ | ------------- | -------------- |
6+
| 2024-09-10 | 0.0.14 | 防火墙引擎升级,提供新版防火墙管理接口 ||
67
| 2024-04-03 | 0.0.13 | 提供botDateHistogram接口 ||
78
| 2023-08-07 | 0.0.12 | 套餐包详情增加相关参数 ||
89
| 2023-07-03 | 0.0.11 | 调整证书删除、域名删除、域配置编辑接口的入参,调整证书包列表接口返参 ||

src/Starshield/StarshieldClient.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,16 @@
188188
* @method \GuzzleHttp\Promise\Promise updatePageRuleAsync(array $args = [])
189189
* @method \Jdcloud\Result deletePageRule(array $args = [])
190190
* @method \GuzzleHttp\Promise\Promise deletePageRuleAsync(array $args = [])
191+
* @method \Jdcloud\Result getRuleSet(array $args = [])
192+
* @method \GuzzleHttp\Promise\Promise getRuleSetAsync(array $args = [])
193+
* @method \Jdcloud\Result createRuleSet(array $args = [])
194+
* @method \GuzzleHttp\Promise\Promise createRuleSetAsync(array $args = [])
195+
* @method \Jdcloud\Result createRule(array $args = [])
196+
* @method \GuzzleHttp\Promise\Promise createRuleAsync(array $args = [])
197+
* @method \Jdcloud\Result updateRule(array $args = [])
198+
* @method \GuzzleHttp\Promise\Promise updateRuleAsync(array $args = [])
199+
* @method \Jdcloud\Result deleteRule(array $args = [])
200+
* @method \GuzzleHttp\Promise\Promise deleteRuleAsync(array $args = [])
191201
* @method \Jdcloud\Result instanceTrafficDateHistogram4Pa(array $args = [])
192202
* @method \GuzzleHttp\Promise\Promise instanceTrafficDateHistogram4PaAsync(array $args = [])
193203
* @method \Jdcloud\Result zoneTrafficDateHistogram4Pa(array $args = [])

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

Lines changed: 237 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -767,6 +767,51 @@
767767
'input' => [ 'shape' => 'DeletePageRuleRequestShape', ],
768768
'output' => [ 'shape' => 'DeletePageRuleResponseShape', ],
769769
],
770+
'GetRuleSet' => [
771+
'name' => 'GetRuleSet',
772+
'http' => [
773+
'method' => 'GET',
774+
'requestUri' => '/v1/zones/{zone_id}/rulesets$$phases/{phase}/entrypoint',
775+
],
776+
'input' => [ 'shape' => 'GetRuleSetRequestShape', ],
777+
'output' => [ 'shape' => 'GetRuleSetResponseShape', ],
778+
],
779+
'CreateRuleSet' => [
780+
'name' => 'CreateRuleSet',
781+
'http' => [
782+
'method' => 'PUT',
783+
'requestUri' => '/v1/zones/{zone_id}/rulesets$$phases/{phase}/entrypoint',
784+
],
785+
'input' => [ 'shape' => 'CreateRuleSetRequestShape', ],
786+
'output' => [ 'shape' => 'CreateRuleSetResponseShape', ],
787+
],
788+
'CreateRule' => [
789+
'name' => 'CreateRule',
790+
'http' => [
791+
'method' => 'POST',
792+
'requestUri' => '/v1/zones/{zone_id}/rulesets/{ruleset_id}/rules',
793+
],
794+
'input' => [ 'shape' => 'CreateRuleRequestShape', ],
795+
'output' => [ 'shape' => 'CreateRuleResponseShape', ],
796+
],
797+
'UpdateRule' => [
798+
'name' => 'UpdateRule',
799+
'http' => [
800+
'method' => 'PATCH',
801+
'requestUri' => '/v1/zones/{zone_id}/rulesets/{ruleset_id}/rules/{rule_id}',
802+
],
803+
'input' => [ 'shape' => 'UpdateRuleRequestShape', ],
804+
'output' => [ 'shape' => 'UpdateRuleResponseShape', ],
805+
],
806+
'DeleteRule' => [
807+
'name' => 'DeleteRule',
808+
'http' => [
809+
'method' => 'DELETE',
810+
'requestUri' => '/v1/zones/{zone_id}/rulesets/{ruleset_id}/rules/{rule_id}',
811+
],
812+
'input' => [ 'shape' => 'DeleteRuleRequestShape', ],
813+
'output' => [ 'shape' => 'DeleteRuleResponseShape', ],
814+
],
770815
'InstanceTrafficDateHistogram4Pa' => [
771816
'name' => 'InstanceTrafficDateHistogram4Pa',
772817
'http' => [
@@ -3038,6 +3083,43 @@
30383083
'newValue' => [ 'type' => 'string', 'locationName' => 'newValue', ],
30393084
],
30403085
],
3086+
'OpListIncomeSummaryResp' => [
3087+
'type' => 'structure',
3088+
'members' => [
3089+
'id' => [ 'type' => 'long', 'locationName' => 'id', ],
3090+
'dataSourceId' => [ 'type' => 'string', 'locationName' => 'dataSourceId', ],
3091+
'opType' => [ 'type' => 'integer', 'locationName' => 'opType', ],
3092+
'pin' => [ 'type' => 'string', 'locationName' => 'pin', ],
3093+
'serviceCode' => [ 'type' => 'string', 'locationName' => 'serviceCode', ],
3094+
'billingType' => [ 'type' => 'integer', 'locationName' => 'billingType', ],
3095+
'startTime' => [ 'type' => 'string', 'locationName' => 'startTime', ],
3096+
'endTime' => [ 'type' => 'string', 'locationName' => 'endTime', ],
3097+
'billTime' => [ 'type' => 'string', 'locationName' => 'billTime', ],
3098+
'billFee' => [ 'type' => 'string', 'locationName' => 'billFee', ],
3099+
'actualFee' => [ 'type' => 'string', 'locationName' => 'actualFee', ],
3100+
'discountFee' => [ 'type' => 'string', 'locationName' => 'discountFee', ],
3101+
'amountType' => [ 'type' => 'integer', 'locationName' => 'amountType', ],
3102+
'payCurrency' => [ 'type' => 'string', 'locationName' => 'payCurrency', ],
3103+
'taxRate' => [ 'type' => 'string', 'locationName' => 'taxRate', ],
3104+
'payState' => [ 'type' => 'integer', 'locationName' => 'payState', ],
3105+
'payTime' => [ 'type' => 'string', 'locationName' => 'payTime', ],
3106+
'orgId' => [ 'type' => 'string', 'locationName' => 'orgId', ],
3107+
'orgName' => [ 'type' => 'string', 'locationName' => 'orgName', ],
3108+
'orderType' => [ 'type' => 'integer', 'locationName' => 'orderType', ],
3109+
'billType' => [ 'type' => 'integer', 'locationName' => 'billType', ],
3110+
'origDataSourceId' => [ 'type' => 'string', 'locationName' => 'origDataSourceId', ],
3111+
'salesContractNumber' => [ 'type' => 'string', 'locationName' => 'salesContractNumber', ],
3112+
'salesContractStatus' => [ 'type' => 'integer', 'locationName' => 'salesContractStatus', ],
3113+
'region' => [ 'type' => 'string', 'locationName' => 'region', ],
3114+
'formulaDesc' => [ 'type' => 'string', 'locationName' => 'formulaDesc', ],
3115+
'ebsResultCode' => [ 'type' => 'string', 'locationName' => 'ebsResultCode', ],
3116+
'ebsResultMessage' => [ 'type' => 'string', 'locationName' => 'ebsResultMessage', ],
3117+
'billResultCode' => [ 'type' => 'string', 'locationName' => 'billResultCode', ],
3118+
'billResultMessage' => [ 'type' => 'string', 'locationName' => 'billResultMessage', ],
3119+
'ebsPush' => [ 'type' => 'boolean', 'locationName' => 'ebsPush', ],
3120+
'billPush' => [ 'type' => 'boolean', 'locationName' => 'billPush', ],
3121+
],
3122+
],
30413123
'DescribeZonesRes' => [
30423124
'type' => 'structure',
30433125
'members' => [
@@ -3070,6 +3152,40 @@
30703152
'jdc_flagship' => [ 'type' => 'string', 'locationName' => 'jdc_flagship', ],
30713153
],
30723154
],
3155+
'OpIncomeSummaryRes' => [
3156+
'type' => 'structure',
3157+
'members' => [
3158+
'batchPushIds' => [ 'type' => 'list', 'member' => [ 'type' => 'long', ], ],
3159+
'id' => [ 'type' => 'long', 'locationName' => 'id', ],
3160+
'ebsPush' => [ 'type' => 'boolean', 'locationName' => 'ebsPush', ],
3161+
'billPush' => [ 'type' => 'boolean', 'locationName' => 'billPush', ],
3162+
'dataSourceId' => [ 'type' => 'string', 'locationName' => 'dataSourceId', ],
3163+
'opType' => [ 'type' => 'integer', 'locationName' => 'opType', ],
3164+
'pin' => [ 'type' => 'string', 'locationName' => 'pin', ],
3165+
'serviceCode' => [ 'type' => 'string', 'locationName' => 'serviceCode', ],
3166+
'billingType' => [ 'type' => 'integer', 'locationName' => 'billingType', ],
3167+
'startTime' => [ 'type' => 'string', 'locationName' => 'startTime', ],
3168+
'endTime' => [ 'type' => 'string', 'locationName' => 'endTime', ],
3169+
'billTime' => [ 'type' => 'string', 'locationName' => 'billTime', ],
3170+
'billFee' => [ 'type' => 'string', 'locationName' => 'billFee', ],
3171+
'actualFee' => [ 'type' => 'string', 'locationName' => 'actualFee', ],
3172+
'discountFee' => [ 'type' => 'string', 'locationName' => 'discountFee', ],
3173+
'amountType' => [ 'type' => 'integer', 'locationName' => 'amountType', ],
3174+
'payCurrency' => [ 'type' => 'string', 'locationName' => 'payCurrency', ],
3175+
'taxRate' => [ 'type' => 'string', 'locationName' => 'taxRate', ],
3176+
'payState' => [ 'type' => 'integer', 'locationName' => 'payState', ],
3177+
'payTime' => [ 'type' => 'string', 'locationName' => 'payTime', ],
3178+
'orgId' => [ 'type' => 'string', 'locationName' => 'orgId', ],
3179+
'orgName' => [ 'type' => 'string', 'locationName' => 'orgName', ],
3180+
'orderType' => [ 'type' => 'integer', 'locationName' => 'orderType', ],
3181+
'billType' => [ 'type' => 'integer', 'locationName' => 'billType', ],
3182+
'origDataSourceId' => [ 'type' => 'string', 'locationName' => 'origDataSourceId', ],
3183+
'salesContractNumber' => [ 'type' => 'string', 'locationName' => 'salesContractNumber', ],
3184+
'salesContractStatus' => [ 'type' => 'integer', 'locationName' => 'salesContractStatus', ],
3185+
'region' => [ 'type' => 'string', 'locationName' => 'region', ],
3186+
'formulaDesc' => [ 'type' => 'string', 'locationName' => 'formulaDesc', ],
3187+
],
3188+
],
30733189
'RoutingModes' => [
30743190
'type' => 'structure',
30753191
'members' => [
@@ -6026,6 +6142,127 @@
60266142
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
60276143
],
60286144
],
6145+
'GetRuleSetRequestShape' => [
6146+
'type' => 'structure',
6147+
'members' => [
6148+
'zone_id' => [ 'type' => 'string', 'locationName' => 'zone_id', ],
6149+
'phase' => [ 'type' => 'string', 'locationName' => 'phase', ],
6150+
],
6151+
],
6152+
'CreateRuleResponseShape' => [
6153+
'type' => 'structure',
6154+
'members' => [
6155+
'result' => [ 'shape' => 'CreateRuleResultShape', ],
6156+
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
6157+
],
6158+
],
6159+
'DeleteRuleResultShape' => [
6160+
'type' => 'structure',
6161+
'members' => [
6162+
'data' => [ 'shape' => 'RuleSet', ],
6163+
],
6164+
],
6165+
'CreateRuleSetRequestShape' => [
6166+
'type' => 'structure',
6167+
'members' => [
6168+
'rules' => [ 'type' => 'list', 'member' => [ 'shape' => 'Rule', ], ],
6169+
'zone_id' => [ 'type' => 'string', 'locationName' => 'zone_id', ],
6170+
'phase' => [ 'type' => 'string', 'locationName' => 'phase', ],
6171+
],
6172+
],
6173+
'UpdateRuleResponseShape' => [
6174+
'type' => 'structure',
6175+
'members' => [
6176+
'result' => [ 'shape' => 'UpdateRuleResultShape', ],
6177+
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
6178+
],
6179+
],
6180+
'DeleteRuleRequestShape' => [
6181+
'type' => 'structure',
6182+
'members' => [
6183+
'zone_id' => [ 'type' => 'string', 'locationName' => 'zone_id', ],
6184+
'ruleset_id' => [ 'type' => 'string', 'locationName' => 'ruleset_id', ],
6185+
'rule_id' => [ 'type' => 'string', 'locationName' => 'rule_id', ],
6186+
],
6187+
],
6188+
'UpdateRuleRequestShape' => [
6189+
'type' => 'structure',
6190+
'members' => [
6191+
'enabled' => [ 'type' => 'boolean', 'locationName' => 'enabled', ],
6192+
'description' => [ 'type' => 'string', 'locationName' => 'description', ],
6193+
'expression' => [ 'type' => 'string', 'locationName' => 'expression', ],
6194+
'action' => [ 'type' => 'string', 'locationName' => 'action', ],
6195+
'action_parameters' => [ 'shape' => 'Action_parameters', ],
6196+
'ratelimit' => [ 'shape' => 'Ratelimit', ],
6197+
'logging' => [ 'shape' => 'Logging', ],
6198+
'position' => [ 'shape' => 'Position', ],
6199+
'id' => [ 'type' => 'string', 'locationName' => 'id', ],
6200+
'version' => [ 'type' => 'string', 'locationName' => 'version', ],
6201+
'last_updated' => [ 'type' => 'string', 'locationName' => 'last_updated', ],
6202+
'ref' => [ 'type' => 'string', 'locationName' => 'ref', ],
6203+
'zone_id' => [ 'type' => 'string', 'locationName' => 'zone_id', ],
6204+
'ruleset_id' => [ 'type' => 'string', 'locationName' => 'ruleset_id', ],
6205+
'rule_id' => [ 'type' => 'string', 'locationName' => 'rule_id', ],
6206+
],
6207+
],
6208+
'UpdateRuleResultShape' => [
6209+
'type' => 'structure',
6210+
'members' => [
6211+
'data' => [ 'shape' => 'RuleSet', ],
6212+
],
6213+
],
6214+
'CreateRuleRequestShape' => [
6215+
'type' => 'structure',
6216+
'members' => [
6217+
'enabled' => [ 'type' => 'boolean', 'locationName' => 'enabled', ],
6218+
'description' => [ 'type' => 'string', 'locationName' => 'description', ],
6219+
'expression' => [ 'type' => 'string', 'locationName' => 'expression', ],
6220+
'action' => [ 'type' => 'string', 'locationName' => 'action', ],
6221+
'action_parameters' => [ 'shape' => 'Action_parameters', ],
6222+
'ratelimit' => [ 'shape' => 'Ratelimit', ],
6223+
'zone_id' => [ 'type' => 'string', 'locationName' => 'zone_id', ],
6224+
'ruleset_id' => [ 'type' => 'string', 'locationName' => 'ruleset_id', ],
6225+
],
6226+
],
6227+
'CreateRuleSetResponseShape' => [
6228+
'type' => 'structure',
6229+
'members' => [
6230+
'result' => [ 'shape' => 'CreateRuleSetResultShape', ],
6231+
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
6232+
],
6233+
],
6234+
'CreateRuleResultShape' => [
6235+
'type' => 'structure',
6236+
'members' => [
6237+
'data' => [ 'shape' => 'RuleSet', ],
6238+
],
6239+
],
6240+
'GetRuleSetResponseShape' => [
6241+
'type' => 'structure',
6242+
'members' => [
6243+
'result' => [ 'shape' => 'GetRuleSetResultShape', ],
6244+
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
6245+
],
6246+
],
6247+
'DeleteRuleResponseShape' => [
6248+
'type' => 'structure',
6249+
'members' => [
6250+
'result' => [ 'shape' => 'DeleteRuleResultShape', ],
6251+
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
6252+
],
6253+
],
6254+
'CreateRuleSetResultShape' => [
6255+
'type' => 'structure',
6256+
'members' => [
6257+
'data' => [ 'shape' => 'RuleSet', ],
6258+
],
6259+
],
6260+
'GetRuleSetResultShape' => [
6261+
'type' => 'structure',
6262+
'members' => [
6263+
'data' => [ 'shape' => 'RuleSet', ],
6264+
],
6265+
],
60296266
'ZoneBandwidthDateHistogram4PaResponseShape' => [
60306267
'type' => 'structure',
60316268
'members' => [

0 commit comments

Comments
 (0)