@alicloud/ga20191120 1.0.8 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +13 -0
- package/README.md +25 -0
- package/dist/client.d.ts +48 -0
- package/dist/client.js +75 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +97 -0
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -627,6 +627,7 @@ export class CreateAcceleratorRequest extends $tea.Model {
|
|
|
627
627
|
autoUseCoupon?: string;
|
|
628
628
|
clientToken?: string;
|
|
629
629
|
duration?: number;
|
|
630
|
+
ipSetConfig?: CreateAcceleratorRequestIpSetConfig;
|
|
630
631
|
name?: string;
|
|
631
632
|
pricingCycle?: string;
|
|
632
633
|
regionId?: string;
|
|
@@ -639,6 +640,7 @@ export class CreateAcceleratorRequest extends $tea.Model {
|
|
|
639
640
|
autoUseCoupon: 'AutoUseCoupon',
|
|
640
641
|
clientToken: 'ClientToken',
|
|
641
642
|
duration: 'Duration',
|
|
643
|
+
ipSetConfig: 'IpSetConfig',
|
|
642
644
|
name: 'Name',
|
|
643
645
|
pricingCycle: 'PricingCycle',
|
|
644
646
|
regionId: 'RegionId',
|
|
@@ -654,6 +656,7 @@ export class CreateAcceleratorRequest extends $tea.Model {
|
|
|
654
656
|
autoUseCoupon: 'string',
|
|
655
657
|
clientToken: 'string',
|
|
656
658
|
duration: 'number',
|
|
659
|
+
ipSetConfig: CreateAcceleratorRequestIpSetConfig,
|
|
657
660
|
name: 'string',
|
|
658
661
|
pricingCycle: 'string',
|
|
659
662
|
regionId: 'string',
|
|
@@ -2714,6 +2717,7 @@ export class DescribeAcceleratorResponseBody extends $tea.Model {
|
|
|
2714
2717
|
dnsName?: string;
|
|
2715
2718
|
expiredTime?: number;
|
|
2716
2719
|
instanceChargeType?: string;
|
|
2720
|
+
ipSetConfig?: DescribeAcceleratorResponseBodyIpSetConfig;
|
|
2717
2721
|
name?: string;
|
|
2718
2722
|
regionId?: string;
|
|
2719
2723
|
requestId?: string;
|
|
@@ -2732,6 +2736,7 @@ export class DescribeAcceleratorResponseBody extends $tea.Model {
|
|
|
2732
2736
|
dnsName: 'DnsName',
|
|
2733
2737
|
expiredTime: 'ExpiredTime',
|
|
2734
2738
|
instanceChargeType: 'InstanceChargeType',
|
|
2739
|
+
ipSetConfig: 'IpSetConfig',
|
|
2735
2740
|
name: 'Name',
|
|
2736
2741
|
regionId: 'RegionId',
|
|
2737
2742
|
requestId: 'RequestId',
|
|
@@ -2753,6 +2758,7 @@ export class DescribeAcceleratorResponseBody extends $tea.Model {
|
|
|
2753
2758
|
dnsName: 'string',
|
|
2754
2759
|
expiredTime: 'number',
|
|
2755
2760
|
instanceChargeType: 'string',
|
|
2761
|
+
ipSetConfig: DescribeAcceleratorResponseBodyIpSetConfig,
|
|
2756
2762
|
name: 'string',
|
|
2757
2763
|
regionId: 'string',
|
|
2758
2764
|
requestId: 'string',
|
|
@@ -7261,6 +7267,25 @@ export class AssociateAdditionalCertificatesWithListenerRequestCertificates exte
|
|
|
7261
7267
|
}
|
|
7262
7268
|
}
|
|
7263
7269
|
|
|
7270
|
+
export class CreateAcceleratorRequestIpSetConfig extends $tea.Model {
|
|
7271
|
+
accessMode?: string;
|
|
7272
|
+
static names(): { [key: string]: string } {
|
|
7273
|
+
return {
|
|
7274
|
+
accessMode: 'AccessMode',
|
|
7275
|
+
};
|
|
7276
|
+
}
|
|
7277
|
+
|
|
7278
|
+
static types(): { [key: string]: any } {
|
|
7279
|
+
return {
|
|
7280
|
+
accessMode: 'string',
|
|
7281
|
+
};
|
|
7282
|
+
}
|
|
7283
|
+
|
|
7284
|
+
constructor(map?: { [key: string]: any }) {
|
|
7285
|
+
super(map);
|
|
7286
|
+
}
|
|
7287
|
+
}
|
|
7288
|
+
|
|
7264
7289
|
export class CreateAclRequestAclEntries extends $tea.Model {
|
|
7265
7290
|
entry?: string;
|
|
7266
7291
|
entryDescription?: string;
|
|
@@ -7486,11 +7511,13 @@ export class CreateForwardingRulesRequestForwardingRulesRuleActions extends $tea
|
|
|
7486
7511
|
forwardGroupConfig?: CreateForwardingRulesRequestForwardingRulesRuleActionsForwardGroupConfig;
|
|
7487
7512
|
order?: number;
|
|
7488
7513
|
ruleActionType?: string;
|
|
7514
|
+
ruleActionValue?: string;
|
|
7489
7515
|
static names(): { [key: string]: string } {
|
|
7490
7516
|
return {
|
|
7491
7517
|
forwardGroupConfig: 'ForwardGroupConfig',
|
|
7492
7518
|
order: 'Order',
|
|
7493
7519
|
ruleActionType: 'RuleActionType',
|
|
7520
|
+
ruleActionValue: 'RuleActionValue',
|
|
7494
7521
|
};
|
|
7495
7522
|
}
|
|
7496
7523
|
|
|
@@ -7499,6 +7526,7 @@ export class CreateForwardingRulesRequestForwardingRulesRuleActions extends $tea
|
|
|
7499
7526
|
forwardGroupConfig: CreateForwardingRulesRequestForwardingRulesRuleActionsForwardGroupConfig,
|
|
7500
7527
|
order: 'number',
|
|
7501
7528
|
ruleActionType: 'string',
|
|
7529
|
+
ruleActionValue: 'string',
|
|
7502
7530
|
};
|
|
7503
7531
|
}
|
|
7504
7532
|
|
|
@@ -7549,11 +7577,13 @@ export class CreateForwardingRulesRequestForwardingRulesRuleConditions extends $
|
|
|
7549
7577
|
hostConfig?: CreateForwardingRulesRequestForwardingRulesRuleConditionsHostConfig;
|
|
7550
7578
|
pathConfig?: CreateForwardingRulesRequestForwardingRulesRuleConditionsPathConfig;
|
|
7551
7579
|
ruleConditionType?: string;
|
|
7580
|
+
ruleConditionValue?: string;
|
|
7552
7581
|
static names(): { [key: string]: string } {
|
|
7553
7582
|
return {
|
|
7554
7583
|
hostConfig: 'HostConfig',
|
|
7555
7584
|
pathConfig: 'PathConfig',
|
|
7556
7585
|
ruleConditionType: 'RuleConditionType',
|
|
7586
|
+
ruleConditionValue: 'RuleConditionValue',
|
|
7557
7587
|
};
|
|
7558
7588
|
}
|
|
7559
7589
|
|
|
@@ -7562,6 +7592,7 @@ export class CreateForwardingRulesRequestForwardingRulesRuleConditions extends $
|
|
|
7562
7592
|
hostConfig: CreateForwardingRulesRequestForwardingRulesRuleConditionsHostConfig,
|
|
7563
7593
|
pathConfig: CreateForwardingRulesRequestForwardingRulesRuleConditionsPathConfig,
|
|
7564
7594
|
ruleConditionType: 'string',
|
|
7595
|
+
ruleConditionValue: 'string',
|
|
7565
7596
|
};
|
|
7566
7597
|
}
|
|
7567
7598
|
|
|
@@ -7575,12 +7606,14 @@ export class CreateForwardingRulesRequestForwardingRules extends $tea.Model {
|
|
|
7575
7606
|
priority?: number;
|
|
7576
7607
|
ruleActions?: CreateForwardingRulesRequestForwardingRulesRuleActions[];
|
|
7577
7608
|
ruleConditions?: CreateForwardingRulesRequestForwardingRulesRuleConditions[];
|
|
7609
|
+
ruleDirection?: string;
|
|
7578
7610
|
static names(): { [key: string]: string } {
|
|
7579
7611
|
return {
|
|
7580
7612
|
forwardingRuleName: 'ForwardingRuleName',
|
|
7581
7613
|
priority: 'Priority',
|
|
7582
7614
|
ruleActions: 'RuleActions',
|
|
7583
7615
|
ruleConditions: 'RuleConditions',
|
|
7616
|
+
ruleDirection: 'RuleDirection',
|
|
7584
7617
|
};
|
|
7585
7618
|
}
|
|
7586
7619
|
|
|
@@ -7590,6 +7623,7 @@ export class CreateForwardingRulesRequestForwardingRules extends $tea.Model {
|
|
|
7590
7623
|
priority: 'number',
|
|
7591
7624
|
ruleActions: { 'type': 'array', 'itemType': CreateForwardingRulesRequestForwardingRulesRuleActions },
|
|
7592
7625
|
ruleConditions: { 'type': 'array', 'itemType': CreateForwardingRulesRequestForwardingRulesRuleConditions },
|
|
7626
|
+
ruleDirection: 'string',
|
|
7593
7627
|
};
|
|
7594
7628
|
}
|
|
7595
7629
|
|
|
@@ -7805,6 +7839,25 @@ export class DescribeAcceleratorResponseBodyCrossDomainBandwidthPackage extends
|
|
|
7805
7839
|
}
|
|
7806
7840
|
}
|
|
7807
7841
|
|
|
7842
|
+
export class DescribeAcceleratorResponseBodyIpSetConfig extends $tea.Model {
|
|
7843
|
+
accessMode?: string;
|
|
7844
|
+
static names(): { [key: string]: string } {
|
|
7845
|
+
return {
|
|
7846
|
+
accessMode: 'AccessMode',
|
|
7847
|
+
};
|
|
7848
|
+
}
|
|
7849
|
+
|
|
7850
|
+
static types(): { [key: string]: any } {
|
|
7851
|
+
return {
|
|
7852
|
+
accessMode: 'string',
|
|
7853
|
+
};
|
|
7854
|
+
}
|
|
7855
|
+
|
|
7856
|
+
constructor(map?: { [key: string]: any }) {
|
|
7857
|
+
super(map);
|
|
7858
|
+
}
|
|
7859
|
+
}
|
|
7860
|
+
|
|
7808
7861
|
export class DescribeApplicationMonitorResponseBodyIspCityList extends $tea.Model {
|
|
7809
7862
|
city?: string;
|
|
7810
7863
|
cityName?: string;
|
|
@@ -8283,6 +8336,25 @@ export class ListAcceleratorsResponseBodyAcceleratorsCrossDomainBandwidthPackage
|
|
|
8283
8336
|
}
|
|
8284
8337
|
}
|
|
8285
8338
|
|
|
8339
|
+
export class ListAcceleratorsResponseBodyAcceleratorsIpSetConfig extends $tea.Model {
|
|
8340
|
+
accessMode?: string;
|
|
8341
|
+
static names(): { [key: string]: string } {
|
|
8342
|
+
return {
|
|
8343
|
+
accessMode: 'AccessMode',
|
|
8344
|
+
};
|
|
8345
|
+
}
|
|
8346
|
+
|
|
8347
|
+
static types(): { [key: string]: any } {
|
|
8348
|
+
return {
|
|
8349
|
+
accessMode: 'string',
|
|
8350
|
+
};
|
|
8351
|
+
}
|
|
8352
|
+
|
|
8353
|
+
constructor(map?: { [key: string]: any }) {
|
|
8354
|
+
super(map);
|
|
8355
|
+
}
|
|
8356
|
+
}
|
|
8357
|
+
|
|
8286
8358
|
export class ListAcceleratorsResponseBodyAccelerators extends $tea.Model {
|
|
8287
8359
|
acceleratorId?: string;
|
|
8288
8360
|
bandwidth?: number;
|
|
@@ -8295,6 +8367,7 @@ export class ListAcceleratorsResponseBodyAccelerators extends $tea.Model {
|
|
|
8295
8367
|
dnsName?: string;
|
|
8296
8368
|
expiredTime?: number;
|
|
8297
8369
|
instanceChargeType?: string;
|
|
8370
|
+
ipSetConfig?: ListAcceleratorsResponseBodyAcceleratorsIpSetConfig;
|
|
8298
8371
|
name?: string;
|
|
8299
8372
|
regionId?: string;
|
|
8300
8373
|
secondDnsName?: string;
|
|
@@ -8314,6 +8387,7 @@ export class ListAcceleratorsResponseBodyAccelerators extends $tea.Model {
|
|
|
8314
8387
|
dnsName: 'DnsName',
|
|
8315
8388
|
expiredTime: 'ExpiredTime',
|
|
8316
8389
|
instanceChargeType: 'InstanceChargeType',
|
|
8390
|
+
ipSetConfig: 'IpSetConfig',
|
|
8317
8391
|
name: 'Name',
|
|
8318
8392
|
regionId: 'RegionId',
|
|
8319
8393
|
secondDnsName: 'SecondDnsName',
|
|
@@ -8336,6 +8410,7 @@ export class ListAcceleratorsResponseBodyAccelerators extends $tea.Model {
|
|
|
8336
8410
|
dnsName: 'string',
|
|
8337
8411
|
expiredTime: 'number',
|
|
8338
8412
|
instanceChargeType: 'string',
|
|
8413
|
+
ipSetConfig: ListAcceleratorsResponseBodyAcceleratorsIpSetConfig,
|
|
8339
8414
|
name: 'string',
|
|
8340
8415
|
regionId: 'string',
|
|
8341
8416
|
secondDnsName: 'string',
|
|
@@ -8941,11 +9016,13 @@ export class ListForwardingRulesResponseBodyForwardingRulesRuleActions extends $
|
|
|
8941
9016
|
forwardGroupConfig?: ListForwardingRulesResponseBodyForwardingRulesRuleActionsForwardGroupConfig;
|
|
8942
9017
|
order?: number;
|
|
8943
9018
|
ruleActionType?: string;
|
|
9019
|
+
ruleActionValue?: string;
|
|
8944
9020
|
static names(): { [key: string]: string } {
|
|
8945
9021
|
return {
|
|
8946
9022
|
forwardGroupConfig: 'ForwardGroupConfig',
|
|
8947
9023
|
order: 'Order',
|
|
8948
9024
|
ruleActionType: 'RuleActionType',
|
|
9025
|
+
ruleActionValue: 'RuleActionValue',
|
|
8949
9026
|
};
|
|
8950
9027
|
}
|
|
8951
9028
|
|
|
@@ -8954,6 +9031,7 @@ export class ListForwardingRulesResponseBodyForwardingRulesRuleActions extends $
|
|
|
8954
9031
|
forwardGroupConfig: ListForwardingRulesResponseBodyForwardingRulesRuleActionsForwardGroupConfig,
|
|
8955
9032
|
order: 'number',
|
|
8956
9033
|
ruleActionType: 'string',
|
|
9034
|
+
ruleActionValue: 'string',
|
|
8957
9035
|
};
|
|
8958
9036
|
}
|
|
8959
9037
|
|
|
@@ -9004,11 +9082,13 @@ export class ListForwardingRulesResponseBodyForwardingRulesRuleConditions extend
|
|
|
9004
9082
|
hostConfig?: ListForwardingRulesResponseBodyForwardingRulesRuleConditionsHostConfig;
|
|
9005
9083
|
pathConfig?: ListForwardingRulesResponseBodyForwardingRulesRuleConditionsPathConfig;
|
|
9006
9084
|
ruleConditionType?: string;
|
|
9085
|
+
ruleConditionValue?: string;
|
|
9007
9086
|
static names(): { [key: string]: string } {
|
|
9008
9087
|
return {
|
|
9009
9088
|
hostConfig: 'HostConfig',
|
|
9010
9089
|
pathConfig: 'PathConfig',
|
|
9011
9090
|
ruleConditionType: 'RuleConditionType',
|
|
9091
|
+
ruleConditionValue: 'RuleConditionValue',
|
|
9012
9092
|
};
|
|
9013
9093
|
}
|
|
9014
9094
|
|
|
@@ -9017,6 +9097,7 @@ export class ListForwardingRulesResponseBodyForwardingRulesRuleConditions extend
|
|
|
9017
9097
|
hostConfig: ListForwardingRulesResponseBodyForwardingRulesRuleConditionsHostConfig,
|
|
9018
9098
|
pathConfig: ListForwardingRulesResponseBodyForwardingRulesRuleConditionsPathConfig,
|
|
9019
9099
|
ruleConditionType: 'string',
|
|
9100
|
+
ruleConditionValue: 'string',
|
|
9020
9101
|
};
|
|
9021
9102
|
}
|
|
9022
9103
|
|
|
@@ -9026,6 +9107,7 @@ export class ListForwardingRulesResponseBodyForwardingRulesRuleConditions extend
|
|
|
9026
9107
|
}
|
|
9027
9108
|
|
|
9028
9109
|
export class ListForwardingRulesResponseBodyForwardingRules extends $tea.Model {
|
|
9110
|
+
forwardingRuleDirection?: string;
|
|
9029
9111
|
forwardingRuleId?: string;
|
|
9030
9112
|
forwardingRuleName?: string;
|
|
9031
9113
|
forwardingRuleStatus?: string;
|
|
@@ -9035,6 +9117,7 @@ export class ListForwardingRulesResponseBodyForwardingRules extends $tea.Model {
|
|
|
9035
9117
|
ruleConditions?: ListForwardingRulesResponseBodyForwardingRulesRuleConditions[];
|
|
9036
9118
|
static names(): { [key: string]: string } {
|
|
9037
9119
|
return {
|
|
9120
|
+
forwardingRuleDirection: 'ForwardingRuleDirection',
|
|
9038
9121
|
forwardingRuleId: 'ForwardingRuleId',
|
|
9039
9122
|
forwardingRuleName: 'ForwardingRuleName',
|
|
9040
9123
|
forwardingRuleStatus: 'ForwardingRuleStatus',
|
|
@@ -9047,6 +9130,7 @@ export class ListForwardingRulesResponseBodyForwardingRules extends $tea.Model {
|
|
|
9047
9130
|
|
|
9048
9131
|
static types(): { [key: string]: any } {
|
|
9049
9132
|
return {
|
|
9133
|
+
forwardingRuleDirection: 'string',
|
|
9050
9134
|
forwardingRuleId: 'string',
|
|
9051
9135
|
forwardingRuleName: 'string',
|
|
9052
9136
|
forwardingRuleStatus: 'string',
|
|
@@ -9542,11 +9626,13 @@ export class UpdateForwardingRulesRequestForwardingRulesRuleActions extends $tea
|
|
|
9542
9626
|
forwardGroupConfig?: UpdateForwardingRulesRequestForwardingRulesRuleActionsForwardGroupConfig;
|
|
9543
9627
|
order?: number;
|
|
9544
9628
|
ruleActionType?: string;
|
|
9629
|
+
ruleActionValue?: string;
|
|
9545
9630
|
static names(): { [key: string]: string } {
|
|
9546
9631
|
return {
|
|
9547
9632
|
forwardGroupConfig: 'ForwardGroupConfig',
|
|
9548
9633
|
order: 'Order',
|
|
9549
9634
|
ruleActionType: 'RuleActionType',
|
|
9635
|
+
ruleActionValue: 'RuleActionValue',
|
|
9550
9636
|
};
|
|
9551
9637
|
}
|
|
9552
9638
|
|
|
@@ -9555,6 +9641,7 @@ export class UpdateForwardingRulesRequestForwardingRulesRuleActions extends $tea
|
|
|
9555
9641
|
forwardGroupConfig: UpdateForwardingRulesRequestForwardingRulesRuleActionsForwardGroupConfig,
|
|
9556
9642
|
order: 'number',
|
|
9557
9643
|
ruleActionType: 'string',
|
|
9644
|
+
ruleActionValue: 'string',
|
|
9558
9645
|
};
|
|
9559
9646
|
}
|
|
9560
9647
|
|
|
@@ -9605,11 +9692,13 @@ export class UpdateForwardingRulesRequestForwardingRulesRuleConditions extends $
|
|
|
9605
9692
|
hostConfig?: UpdateForwardingRulesRequestForwardingRulesRuleConditionsHostConfig;
|
|
9606
9693
|
pathConfig?: UpdateForwardingRulesRequestForwardingRulesRuleConditionsPathConfig;
|
|
9607
9694
|
ruleConditionType?: string;
|
|
9695
|
+
ruleConditionValue?: string;
|
|
9608
9696
|
static names(): { [key: string]: string } {
|
|
9609
9697
|
return {
|
|
9610
9698
|
hostConfig: 'HostConfig',
|
|
9611
9699
|
pathConfig: 'PathConfig',
|
|
9612
9700
|
ruleConditionType: 'RuleConditionType',
|
|
9701
|
+
ruleConditionValue: 'RuleConditionValue',
|
|
9613
9702
|
};
|
|
9614
9703
|
}
|
|
9615
9704
|
|
|
@@ -9618,6 +9707,7 @@ export class UpdateForwardingRulesRequestForwardingRulesRuleConditions extends $
|
|
|
9618
9707
|
hostConfig: UpdateForwardingRulesRequestForwardingRulesRuleConditionsHostConfig,
|
|
9619
9708
|
pathConfig: UpdateForwardingRulesRequestForwardingRulesRuleConditionsPathConfig,
|
|
9620
9709
|
ruleConditionType: 'string',
|
|
9710
|
+
ruleConditionValue: 'string',
|
|
9621
9711
|
};
|
|
9622
9712
|
}
|
|
9623
9713
|
|
|
@@ -9632,6 +9722,7 @@ export class UpdateForwardingRulesRequestForwardingRules extends $tea.Model {
|
|
|
9632
9722
|
priority?: number;
|
|
9633
9723
|
ruleActions?: UpdateForwardingRulesRequestForwardingRulesRuleActions[];
|
|
9634
9724
|
ruleConditions?: UpdateForwardingRulesRequestForwardingRulesRuleConditions[];
|
|
9725
|
+
ruleDirection?: string;
|
|
9635
9726
|
static names(): { [key: string]: string } {
|
|
9636
9727
|
return {
|
|
9637
9728
|
forwardingRuleId: 'ForwardingRuleId',
|
|
@@ -9639,6 +9730,7 @@ export class UpdateForwardingRulesRequestForwardingRules extends $tea.Model {
|
|
|
9639
9730
|
priority: 'Priority',
|
|
9640
9731
|
ruleActions: 'RuleActions',
|
|
9641
9732
|
ruleConditions: 'RuleConditions',
|
|
9733
|
+
ruleDirection: 'RuleDirection',
|
|
9642
9734
|
};
|
|
9643
9735
|
}
|
|
9644
9736
|
|
|
@@ -9649,6 +9741,7 @@ export class UpdateForwardingRulesRequestForwardingRules extends $tea.Model {
|
|
|
9649
9741
|
priority: 'number',
|
|
9650
9742
|
ruleActions: { 'type': 'array', 'itemType': UpdateForwardingRulesRequestForwardingRulesRuleActions },
|
|
9651
9743
|
ruleConditions: { 'type': 'array', 'itemType': UpdateForwardingRulesRequestForwardingRulesRuleConditions },
|
|
9744
|
+
ruleDirection: 'string',
|
|
9652
9745
|
};
|
|
9653
9746
|
}
|
|
9654
9747
|
|
|
@@ -10210,6 +10303,10 @@ export default class Client extends OpenApi {
|
|
|
10210
10303
|
query["Duration"] = request.duration;
|
|
10211
10304
|
}
|
|
10212
10305
|
|
|
10306
|
+
if (!Util.isUnset($tea.toMap(request.ipSetConfig))) {
|
|
10307
|
+
query["IpSetConfig"] = request.ipSetConfig;
|
|
10308
|
+
}
|
|
10309
|
+
|
|
10213
10310
|
if (!Util.isUnset(request.name)) {
|
|
10214
10311
|
query["Name"] = request.name;
|
|
10215
10312
|
}
|