@alicloud/ddoscoo20200101 2.2.0 → 2.3.1
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/dist/client.d.ts +189 -2
- package/dist/client.js +334 -15
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +380 -4
package/dist/client.d.ts
CHANGED
|
@@ -178,6 +178,48 @@ export declare class AttachSceneDefenseObjectResponse extends $tea.Model {
|
|
|
178
178
|
[key: string]: any;
|
|
179
179
|
});
|
|
180
180
|
}
|
|
181
|
+
export declare class ConfigDomainSecurityProfileRequest extends $tea.Model {
|
|
182
|
+
cluster?: string;
|
|
183
|
+
config?: string;
|
|
184
|
+
domain?: string;
|
|
185
|
+
static names(): {
|
|
186
|
+
[key: string]: string;
|
|
187
|
+
};
|
|
188
|
+
static types(): {
|
|
189
|
+
[key: string]: any;
|
|
190
|
+
};
|
|
191
|
+
constructor(map?: {
|
|
192
|
+
[key: string]: any;
|
|
193
|
+
});
|
|
194
|
+
}
|
|
195
|
+
export declare class ConfigDomainSecurityProfileResponseBody extends $tea.Model {
|
|
196
|
+
requestId?: string;
|
|
197
|
+
static names(): {
|
|
198
|
+
[key: string]: string;
|
|
199
|
+
};
|
|
200
|
+
static types(): {
|
|
201
|
+
[key: string]: any;
|
|
202
|
+
};
|
|
203
|
+
constructor(map?: {
|
|
204
|
+
[key: string]: any;
|
|
205
|
+
});
|
|
206
|
+
}
|
|
207
|
+
export declare class ConfigDomainSecurityProfileResponse extends $tea.Model {
|
|
208
|
+
headers?: {
|
|
209
|
+
[key: string]: string;
|
|
210
|
+
};
|
|
211
|
+
statusCode?: number;
|
|
212
|
+
body?: ConfigDomainSecurityProfileResponseBody;
|
|
213
|
+
static names(): {
|
|
214
|
+
[key: string]: string;
|
|
215
|
+
};
|
|
216
|
+
static types(): {
|
|
217
|
+
[key: string]: any;
|
|
218
|
+
};
|
|
219
|
+
constructor(map?: {
|
|
220
|
+
[key: string]: any;
|
|
221
|
+
});
|
|
222
|
+
}
|
|
181
223
|
export declare class ConfigL7RsPolicyRequest extends $tea.Model {
|
|
182
224
|
domain?: string;
|
|
183
225
|
policy?: string;
|
|
@@ -221,6 +263,47 @@ export declare class ConfigL7RsPolicyResponse extends $tea.Model {
|
|
|
221
263
|
[key: string]: any;
|
|
222
264
|
});
|
|
223
265
|
}
|
|
266
|
+
export declare class ConfigL7UsKeepaliveRequest extends $tea.Model {
|
|
267
|
+
domain?: string;
|
|
268
|
+
upstreamKeepalive?: string;
|
|
269
|
+
static names(): {
|
|
270
|
+
[key: string]: string;
|
|
271
|
+
};
|
|
272
|
+
static types(): {
|
|
273
|
+
[key: string]: any;
|
|
274
|
+
};
|
|
275
|
+
constructor(map?: {
|
|
276
|
+
[key: string]: any;
|
|
277
|
+
});
|
|
278
|
+
}
|
|
279
|
+
export declare class ConfigL7UsKeepaliveResponseBody extends $tea.Model {
|
|
280
|
+
requestId?: string;
|
|
281
|
+
static names(): {
|
|
282
|
+
[key: string]: string;
|
|
283
|
+
};
|
|
284
|
+
static types(): {
|
|
285
|
+
[key: string]: any;
|
|
286
|
+
};
|
|
287
|
+
constructor(map?: {
|
|
288
|
+
[key: string]: any;
|
|
289
|
+
});
|
|
290
|
+
}
|
|
291
|
+
export declare class ConfigL7UsKeepaliveResponse extends $tea.Model {
|
|
292
|
+
headers?: {
|
|
293
|
+
[key: string]: string;
|
|
294
|
+
};
|
|
295
|
+
statusCode?: number;
|
|
296
|
+
body?: ConfigL7UsKeepaliveResponseBody;
|
|
297
|
+
static names(): {
|
|
298
|
+
[key: string]: string;
|
|
299
|
+
};
|
|
300
|
+
static types(): {
|
|
301
|
+
[key: string]: any;
|
|
302
|
+
};
|
|
303
|
+
constructor(map?: {
|
|
304
|
+
[key: string]: any;
|
|
305
|
+
});
|
|
306
|
+
}
|
|
224
307
|
export declare class ConfigLayer4RealLimitRequest extends $tea.Model {
|
|
225
308
|
instanceId?: string;
|
|
226
309
|
limitValue?: number;
|
|
@@ -3634,6 +3717,47 @@ export declare class DescribeL7RsPolicyResponse extends $tea.Model {
|
|
|
3634
3717
|
[key: string]: any;
|
|
3635
3718
|
});
|
|
3636
3719
|
}
|
|
3720
|
+
export declare class DescribeL7UsKeepaliveRequest extends $tea.Model {
|
|
3721
|
+
domain?: string;
|
|
3722
|
+
static names(): {
|
|
3723
|
+
[key: string]: string;
|
|
3724
|
+
};
|
|
3725
|
+
static types(): {
|
|
3726
|
+
[key: string]: any;
|
|
3727
|
+
};
|
|
3728
|
+
constructor(map?: {
|
|
3729
|
+
[key: string]: any;
|
|
3730
|
+
});
|
|
3731
|
+
}
|
|
3732
|
+
export declare class DescribeL7UsKeepaliveResponseBody extends $tea.Model {
|
|
3733
|
+
requestId?: string;
|
|
3734
|
+
rsKeepalive?: DescribeL7UsKeepaliveResponseBodyRsKeepalive;
|
|
3735
|
+
static names(): {
|
|
3736
|
+
[key: string]: string;
|
|
3737
|
+
};
|
|
3738
|
+
static types(): {
|
|
3739
|
+
[key: string]: any;
|
|
3740
|
+
};
|
|
3741
|
+
constructor(map?: {
|
|
3742
|
+
[key: string]: any;
|
|
3743
|
+
});
|
|
3744
|
+
}
|
|
3745
|
+
export declare class DescribeL7UsKeepaliveResponse extends $tea.Model {
|
|
3746
|
+
headers?: {
|
|
3747
|
+
[key: string]: string;
|
|
3748
|
+
};
|
|
3749
|
+
statusCode?: number;
|
|
3750
|
+
body?: DescribeL7UsKeepaliveResponseBody;
|
|
3751
|
+
static names(): {
|
|
3752
|
+
[key: string]: string;
|
|
3753
|
+
};
|
|
3754
|
+
static types(): {
|
|
3755
|
+
[key: string]: any;
|
|
3756
|
+
};
|
|
3757
|
+
constructor(map?: {
|
|
3758
|
+
[key: string]: any;
|
|
3759
|
+
});
|
|
3760
|
+
}
|
|
3637
3761
|
export declare class DescribeLayer4RulePolicyRequest extends $tea.Model {
|
|
3638
3762
|
listeners?: string;
|
|
3639
3763
|
static names(): {
|
|
@@ -8298,10 +8422,14 @@ export declare class DescribeHealthCheckStatusResponseBodyHealthCheckStatus exte
|
|
|
8298
8422
|
});
|
|
8299
8423
|
}
|
|
8300
8424
|
export declare class DescribeInstanceDetailsResponseBodyInstanceDetailsEipInfos extends $tea.Model {
|
|
8425
|
+
certConfigured?: boolean;
|
|
8301
8426
|
eip?: string;
|
|
8427
|
+
functionVersion?: string;
|
|
8302
8428
|
ipMode?: string;
|
|
8303
8429
|
ipVersion?: string;
|
|
8430
|
+
ssl13Enabled?: boolean;
|
|
8304
8431
|
status?: string;
|
|
8432
|
+
tlsVersion?: string;
|
|
8305
8433
|
static names(): {
|
|
8306
8434
|
[key: string]: string;
|
|
8307
8435
|
};
|
|
@@ -8471,6 +8599,20 @@ export declare class DescribeL7RsPolicyResponseBodyAttributes extends $tea.Model
|
|
|
8471
8599
|
[key: string]: any;
|
|
8472
8600
|
});
|
|
8473
8601
|
}
|
|
8602
|
+
export declare class DescribeL7UsKeepaliveResponseBodyRsKeepalive extends $tea.Model {
|
|
8603
|
+
enabled?: boolean;
|
|
8604
|
+
keepaliveRequests?: number;
|
|
8605
|
+
keepaliveTimeout?: number;
|
|
8606
|
+
static names(): {
|
|
8607
|
+
[key: string]: string;
|
|
8608
|
+
};
|
|
8609
|
+
static types(): {
|
|
8610
|
+
[key: string]: any;
|
|
8611
|
+
};
|
|
8612
|
+
constructor(map?: {
|
|
8613
|
+
[key: string]: any;
|
|
8614
|
+
});
|
|
8615
|
+
}
|
|
8474
8616
|
export declare class DescribeLayer4RulePolicyResponseBodyPriRealServers extends $tea.Model {
|
|
8475
8617
|
currentIndex?: number;
|
|
8476
8618
|
eip?: string;
|
|
@@ -8506,8 +8648,8 @@ export declare class DescribeLayer4RulePolicyResponseBodySecRealServers extends
|
|
|
8506
8648
|
});
|
|
8507
8649
|
}
|
|
8508
8650
|
export declare class DescribeNetworkRegionBlockResponseBodyConfig extends $tea.Model {
|
|
8509
|
-
countries?:
|
|
8510
|
-
provinces?:
|
|
8651
|
+
countries?: number[];
|
|
8652
|
+
provinces?: number[];
|
|
8511
8653
|
regionBlockSwitch?: string;
|
|
8512
8654
|
static names(): {
|
|
8513
8655
|
[key: string]: string;
|
|
@@ -9490,6 +9632,21 @@ export default class Client extends OpenApi {
|
|
|
9490
9632
|
* @return AttachSceneDefenseObjectResponse
|
|
9491
9633
|
*/
|
|
9492
9634
|
attachSceneDefenseObject(request: AttachSceneDefenseObjectRequest): Promise<AttachSceneDefenseObjectResponse>;
|
|
9635
|
+
/**
|
|
9636
|
+
* @summary 配置安全概要属性
|
|
9637
|
+
*
|
|
9638
|
+
* @param request ConfigDomainSecurityProfileRequest
|
|
9639
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9640
|
+
* @return ConfigDomainSecurityProfileResponse
|
|
9641
|
+
*/
|
|
9642
|
+
configDomainSecurityProfileWithOptions(request: ConfigDomainSecurityProfileRequest, runtime: $Util.RuntimeOptions): Promise<ConfigDomainSecurityProfileResponse>;
|
|
9643
|
+
/**
|
|
9644
|
+
* @summary 配置安全概要属性
|
|
9645
|
+
*
|
|
9646
|
+
* @param request ConfigDomainSecurityProfileRequest
|
|
9647
|
+
* @return ConfigDomainSecurityProfileResponse
|
|
9648
|
+
*/
|
|
9649
|
+
configDomainSecurityProfile(request: ConfigDomainSecurityProfileRequest): Promise<ConfigDomainSecurityProfileResponse>;
|
|
9493
9650
|
/**
|
|
9494
9651
|
* @summary Configures a back-to-origin policy for the forwarding rule of a website.
|
|
9495
9652
|
*
|
|
@@ -9509,6 +9666,21 @@ export default class Client extends OpenApi {
|
|
|
9509
9666
|
* @return ConfigL7RsPolicyResponse
|
|
9510
9667
|
*/
|
|
9511
9668
|
configL7RsPolicy(request: ConfigL7RsPolicyRequest): Promise<ConfigL7RsPolicyResponse>;
|
|
9669
|
+
/**
|
|
9670
|
+
* @summary 配置长连接
|
|
9671
|
+
*
|
|
9672
|
+
* @param request ConfigL7UsKeepaliveRequest
|
|
9673
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9674
|
+
* @return ConfigL7UsKeepaliveResponse
|
|
9675
|
+
*/
|
|
9676
|
+
configL7UsKeepaliveWithOptions(request: ConfigL7UsKeepaliveRequest, runtime: $Util.RuntimeOptions): Promise<ConfigL7UsKeepaliveResponse>;
|
|
9677
|
+
/**
|
|
9678
|
+
* @summary 配置长连接
|
|
9679
|
+
*
|
|
9680
|
+
* @param request ConfigL7UsKeepaliveRequest
|
|
9681
|
+
* @return ConfigL7UsKeepaliveResponse
|
|
9682
|
+
*/
|
|
9683
|
+
configL7UsKeepalive(request: ConfigL7UsKeepaliveRequest): Promise<ConfigL7UsKeepaliveResponse>;
|
|
9512
9684
|
/**
|
|
9513
9685
|
* @summary Specifies a threshold for the clean bandwidth of an Anti-DDoS Pro or Anti-DDoS premium instance. If the threshold is reached, rate limiting is triggered.
|
|
9514
9686
|
*
|
|
@@ -10818,6 +10990,21 @@ export default class Client extends OpenApi {
|
|
|
10818
10990
|
* @return DescribeL7RsPolicyResponse
|
|
10819
10991
|
*/
|
|
10820
10992
|
describeL7RsPolicy(request: DescribeL7RsPolicyRequest): Promise<DescribeL7RsPolicyResponse>;
|
|
10993
|
+
/**
|
|
10994
|
+
* @summary 查询长连接
|
|
10995
|
+
*
|
|
10996
|
+
* @param request DescribeL7UsKeepaliveRequest
|
|
10997
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
10998
|
+
* @return DescribeL7UsKeepaliveResponse
|
|
10999
|
+
*/
|
|
11000
|
+
describeL7UsKeepaliveWithOptions(request: DescribeL7UsKeepaliveRequest, runtime: $Util.RuntimeOptions): Promise<DescribeL7UsKeepaliveResponse>;
|
|
11001
|
+
/**
|
|
11002
|
+
* @summary 查询长连接
|
|
11003
|
+
*
|
|
11004
|
+
* @param request DescribeL7UsKeepaliveRequest
|
|
11005
|
+
* @return DescribeL7UsKeepaliveResponse
|
|
11006
|
+
*/
|
|
11007
|
+
describeL7UsKeepalive(request: DescribeL7UsKeepaliveRequest): Promise<DescribeL7UsKeepaliveResponse>;
|
|
10821
11008
|
/**
|
|
10822
11009
|
* @summary Queries the back-to-origin settings of a port forwarding rule.
|
|
10823
11010
|
*
|