@alicloud/apig20240327 3.1.0 → 3.2.0
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 +1068 -100
- package/dist/client.js +212 -44
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1181 -96
package/src/client.ts
CHANGED
|
@@ -2117,7 +2117,7 @@ export class CreateHttpApiOperationResponseBodyData extends $dara.Model {
|
|
|
2117
2117
|
export class CreateHttpApiRouteRequestBackendConfigServices extends $dara.Model {
|
|
2118
2118
|
/**
|
|
2119
2119
|
* @remarks
|
|
2120
|
-
*
|
|
2120
|
+
* The service port. If you want to use a dynamic port, do not pass this parameter.
|
|
2121
2121
|
*
|
|
2122
2122
|
* @example
|
|
2123
2123
|
* 8080
|
|
@@ -2125,9 +2125,10 @@ export class CreateHttpApiRouteRequestBackendConfigServices extends $dara.Model
|
|
|
2125
2125
|
port?: number;
|
|
2126
2126
|
/**
|
|
2127
2127
|
* @remarks
|
|
2128
|
-
*
|
|
2129
|
-
*
|
|
2130
|
-
*
|
|
2128
|
+
* The protocol. Valid values:
|
|
2129
|
+
*
|
|
2130
|
+
* * HTTP
|
|
2131
|
+
* * HTTPS
|
|
2131
2132
|
*
|
|
2132
2133
|
* @example
|
|
2133
2134
|
* HTTP
|
|
@@ -2135,7 +2136,7 @@ export class CreateHttpApiRouteRequestBackendConfigServices extends $dara.Model
|
|
|
2135
2136
|
protocol?: string;
|
|
2136
2137
|
/**
|
|
2137
2138
|
* @remarks
|
|
2138
|
-
*
|
|
2139
|
+
* The service ID.
|
|
2139
2140
|
*
|
|
2140
2141
|
* @example
|
|
2141
2142
|
* svc-crbgq0dlhtgr***
|
|
@@ -2143,7 +2144,7 @@ export class CreateHttpApiRouteRequestBackendConfigServices extends $dara.Model
|
|
|
2143
2144
|
serviceId?: string;
|
|
2144
2145
|
/**
|
|
2145
2146
|
* @remarks
|
|
2146
|
-
*
|
|
2147
|
+
* The service version. Pass this parameter for tag-based routing.
|
|
2147
2148
|
*
|
|
2148
2149
|
* @example
|
|
2149
2150
|
* v1
|
|
@@ -2151,7 +2152,7 @@ export class CreateHttpApiRouteRequestBackendConfigServices extends $dara.Model
|
|
|
2151
2152
|
version?: string;
|
|
2152
2153
|
/**
|
|
2153
2154
|
* @remarks
|
|
2154
|
-
*
|
|
2155
|
+
* The percentage value of traffic.
|
|
2155
2156
|
*
|
|
2156
2157
|
* @example
|
|
2157
2158
|
* 49
|
|
@@ -2189,11 +2190,12 @@ export class CreateHttpApiRouteRequestBackendConfigServices extends $dara.Model
|
|
|
2189
2190
|
export class CreateHttpApiRouteRequestBackendConfig extends $dara.Model {
|
|
2190
2191
|
/**
|
|
2191
2192
|
* @remarks
|
|
2192
|
-
*
|
|
2193
|
-
*
|
|
2194
|
-
*
|
|
2195
|
-
*
|
|
2196
|
-
*
|
|
2193
|
+
* The scenario of the backend service.
|
|
2194
|
+
*
|
|
2195
|
+
* * SingleService
|
|
2196
|
+
* * MultiServiceByRatio
|
|
2197
|
+
* * Mock
|
|
2198
|
+
* * Redirect
|
|
2197
2199
|
*
|
|
2198
2200
|
* @example
|
|
2199
2201
|
* SingleService
|
|
@@ -2201,7 +2203,7 @@ export class CreateHttpApiRouteRequestBackendConfig extends $dara.Model {
|
|
|
2201
2203
|
scene?: string;
|
|
2202
2204
|
/**
|
|
2203
2205
|
* @remarks
|
|
2204
|
-
*
|
|
2206
|
+
* The backend services.
|
|
2205
2207
|
*/
|
|
2206
2208
|
services?: CreateHttpApiRouteRequestBackendConfigServices[];
|
|
2207
2209
|
static names(): { [key: string]: string } {
|
|
@@ -2233,7 +2235,7 @@ export class CreateHttpApiRouteRequestBackendConfig extends $dara.Model {
|
|
|
2233
2235
|
export class CreateHttpApiRouteResponseBodyData extends $dara.Model {
|
|
2234
2236
|
/**
|
|
2235
2237
|
* @remarks
|
|
2236
|
-
*
|
|
2238
|
+
* The route ID.
|
|
2237
2239
|
*
|
|
2238
2240
|
* @example
|
|
2239
2241
|
* hr-cr82undlhtgrlej***
|
|
@@ -2262,6 +2264,9 @@ export class CreateHttpApiRouteResponseBodyData extends $dara.Model {
|
|
|
2262
2264
|
|
|
2263
2265
|
export class CreatePolicyResponseBodyData extends $dara.Model {
|
|
2264
2266
|
/**
|
|
2267
|
+
* @remarks
|
|
2268
|
+
* Policy ID
|
|
2269
|
+
*
|
|
2265
2270
|
* @example
|
|
2266
2271
|
* p-cq7l5s5lhtgi6qasr***
|
|
2267
2272
|
*/
|
|
@@ -2289,6 +2294,9 @@ export class CreatePolicyResponseBodyData extends $dara.Model {
|
|
|
2289
2294
|
|
|
2290
2295
|
export class CreatePolicyAttachmentResponseBodyData extends $dara.Model {
|
|
2291
2296
|
/**
|
|
2297
|
+
* @remarks
|
|
2298
|
+
* Policy Mount ID
|
|
2299
|
+
*
|
|
2292
2300
|
* @example
|
|
2293
2301
|
* pr-cqooju5lhtgquuj6***
|
|
2294
2302
|
*/
|
|
@@ -2315,24 +2323,55 @@ export class CreatePolicyAttachmentResponseBodyData extends $dara.Model {
|
|
|
2315
2323
|
}
|
|
2316
2324
|
|
|
2317
2325
|
export class CreateServiceRequestServiceConfigs extends $dara.Model {
|
|
2326
|
+
/**
|
|
2327
|
+
* @remarks
|
|
2328
|
+
* List of domain names or fixed addresses.
|
|
2329
|
+
*/
|
|
2318
2330
|
addresses?: string[];
|
|
2331
|
+
/**
|
|
2332
|
+
* @remarks
|
|
2333
|
+
* AI service configuration.
|
|
2334
|
+
*/
|
|
2319
2335
|
aiServiceConfig?: AiServiceConfig;
|
|
2320
2336
|
/**
|
|
2337
|
+
* @remarks
|
|
2338
|
+
* List of DNS server addresses.
|
|
2339
|
+
*/
|
|
2340
|
+
dnsServers?: string[];
|
|
2341
|
+
/**
|
|
2342
|
+
* @remarks
|
|
2343
|
+
* Service group name.
|
|
2344
|
+
* Needs to be specified when `sourceType` is MSE_NACOS.
|
|
2345
|
+
*
|
|
2321
2346
|
* @example
|
|
2322
2347
|
* DEFAULT_GROUP
|
|
2323
2348
|
*/
|
|
2324
2349
|
groupName?: string;
|
|
2325
2350
|
/**
|
|
2351
|
+
* @remarks
|
|
2352
|
+
* Service name.
|
|
2353
|
+
*
|
|
2326
2354
|
* @example
|
|
2327
2355
|
* user-service
|
|
2328
2356
|
*/
|
|
2329
2357
|
name?: string;
|
|
2330
2358
|
/**
|
|
2359
|
+
* @remarks
|
|
2360
|
+
* Namespace of the service:
|
|
2361
|
+
*
|
|
2362
|
+
* - When `sourceType` is K8S, it represents the namespace where the K8S service is located.
|
|
2363
|
+
* - When `sourceType` is MSE_NACOS, it represents the namespace in Nacos.
|
|
2364
|
+
*
|
|
2365
|
+
* It needs to be specified when `sourceType` is K8S or MSE_NACOS.
|
|
2366
|
+
*
|
|
2331
2367
|
* @example
|
|
2332
2368
|
* PUBLIC
|
|
2333
2369
|
*/
|
|
2334
2370
|
namespace?: string;
|
|
2335
2371
|
/**
|
|
2372
|
+
* @remarks
|
|
2373
|
+
* Function version or alias.
|
|
2374
|
+
*
|
|
2336
2375
|
* @example
|
|
2337
2376
|
* LATEST
|
|
2338
2377
|
*/
|
|
@@ -2341,6 +2380,7 @@ export class CreateServiceRequestServiceConfigs extends $dara.Model {
|
|
|
2341
2380
|
return {
|
|
2342
2381
|
addresses: 'addresses',
|
|
2343
2382
|
aiServiceConfig: 'aiServiceConfig',
|
|
2383
|
+
dnsServers: 'dnsServers',
|
|
2344
2384
|
groupName: 'groupName',
|
|
2345
2385
|
name: 'name',
|
|
2346
2386
|
namespace: 'namespace',
|
|
@@ -2352,6 +2392,7 @@ export class CreateServiceRequestServiceConfigs extends $dara.Model {
|
|
|
2352
2392
|
return {
|
|
2353
2393
|
addresses: { 'type': 'array', 'itemType': 'string' },
|
|
2354
2394
|
aiServiceConfig: AiServiceConfig,
|
|
2395
|
+
dnsServers: { 'type': 'array', 'itemType': 'string' },
|
|
2355
2396
|
groupName: 'string',
|
|
2356
2397
|
name: 'string',
|
|
2357
2398
|
namespace: 'string',
|
|
@@ -2366,6 +2407,9 @@ export class CreateServiceRequestServiceConfigs extends $dara.Model {
|
|
|
2366
2407
|
if(this.aiServiceConfig && typeof (this.aiServiceConfig as any).validate === 'function') {
|
|
2367
2408
|
(this.aiServiceConfig as any).validate();
|
|
2368
2409
|
}
|
|
2410
|
+
if(Array.isArray(this.dnsServers)) {
|
|
2411
|
+
$dara.Model.validateArray(this.dnsServers);
|
|
2412
|
+
}
|
|
2369
2413
|
super.validate();
|
|
2370
2414
|
}
|
|
2371
2415
|
|
|
@@ -2375,6 +2419,10 @@ export class CreateServiceRequestServiceConfigs extends $dara.Model {
|
|
|
2375
2419
|
}
|
|
2376
2420
|
|
|
2377
2421
|
export class CreateServiceResponseBodyData extends $dara.Model {
|
|
2422
|
+
/**
|
|
2423
|
+
* @remarks
|
|
2424
|
+
* List of service IDs.
|
|
2425
|
+
*/
|
|
2378
2426
|
serviceIds?: string[];
|
|
2379
2427
|
static names(): { [key: string]: string } {
|
|
2380
2428
|
return {
|
|
@@ -2401,28 +2449,49 @@ export class CreateServiceResponseBodyData extends $dara.Model {
|
|
|
2401
2449
|
}
|
|
2402
2450
|
|
|
2403
2451
|
export class DeployHttpApiRequestRestApiConfigEnvironmentServiceConfigs extends $dara.Model {
|
|
2452
|
+
/**
|
|
2453
|
+
* @remarks
|
|
2454
|
+
* Configuration of matching conditions related to API deployment.
|
|
2455
|
+
*/
|
|
2404
2456
|
match?: HttpApiBackendMatchConditions;
|
|
2405
2457
|
/**
|
|
2458
|
+
* @remarks
|
|
2459
|
+
* Service port, do not provide for dynamic ports.
|
|
2460
|
+
*
|
|
2406
2461
|
* @example
|
|
2407
2462
|
* 8080
|
|
2408
2463
|
*/
|
|
2409
2464
|
port?: number;
|
|
2410
2465
|
/**
|
|
2466
|
+
* @remarks
|
|
2467
|
+
* Service protocol:
|
|
2468
|
+
* - HTTP.
|
|
2469
|
+
* - HTTPS.
|
|
2470
|
+
*
|
|
2411
2471
|
* @example
|
|
2412
2472
|
* HTTP
|
|
2413
2473
|
*/
|
|
2414
2474
|
protocol?: string;
|
|
2415
2475
|
/**
|
|
2476
|
+
* @remarks
|
|
2477
|
+
* Service ID.
|
|
2478
|
+
*
|
|
2416
2479
|
* @example
|
|
2417
2480
|
* svc-cr6pk4tlhtgm58e***
|
|
2418
2481
|
*/
|
|
2419
2482
|
serviceId?: string;
|
|
2420
2483
|
/**
|
|
2484
|
+
* @remarks
|
|
2485
|
+
* Service version.
|
|
2486
|
+
*
|
|
2421
2487
|
* @example
|
|
2422
2488
|
* v1
|
|
2423
2489
|
*/
|
|
2424
2490
|
version?: string;
|
|
2425
2491
|
/**
|
|
2492
|
+
* @remarks
|
|
2493
|
+
* Weight, range [1,100], valid only in the by-ratio scenario.
|
|
2494
|
+
*
|
|
2426
2495
|
* @example
|
|
2427
2496
|
* 49
|
|
2428
2497
|
*/
|
|
@@ -2463,16 +2532,30 @@ export class DeployHttpApiRequestRestApiConfigEnvironmentServiceConfigs extends
|
|
|
2463
2532
|
|
|
2464
2533
|
export class DeployHttpApiRequestRestApiConfigEnvironment extends $dara.Model {
|
|
2465
2534
|
/**
|
|
2535
|
+
* @remarks
|
|
2536
|
+
* API publication scenario.
|
|
2537
|
+
*
|
|
2466
2538
|
* @example
|
|
2467
2539
|
* SingleService
|
|
2468
2540
|
*/
|
|
2469
2541
|
backendScene?: string;
|
|
2542
|
+
/**
|
|
2543
|
+
* @remarks
|
|
2544
|
+
* List of user domains.
|
|
2545
|
+
*/
|
|
2470
2546
|
customDomainIds?: string[];
|
|
2471
2547
|
/**
|
|
2548
|
+
* @remarks
|
|
2549
|
+
* Environment ID.
|
|
2550
|
+
*
|
|
2472
2551
|
* @example
|
|
2473
2552
|
* env-cpqnr6tlhtgubc***
|
|
2474
2553
|
*/
|
|
2475
2554
|
environmentId?: string;
|
|
2555
|
+
/**
|
|
2556
|
+
* @remarks
|
|
2557
|
+
* Existing service configurations. Only one entry is allowed in a single-service scenario, while multiple entries are allowed in scenarios such as by ratio or by content.
|
|
2558
|
+
*/
|
|
2476
2559
|
serviceConfigs?: DeployHttpApiRequestRestApiConfigEnvironmentServiceConfigs[];
|
|
2477
2560
|
static names(): { [key: string]: string } {
|
|
2478
2561
|
return {
|
|
@@ -2508,9 +2591,23 @@ export class DeployHttpApiRequestRestApiConfigEnvironment extends $dara.Model {
|
|
|
2508
2591
|
}
|
|
2509
2592
|
|
|
2510
2593
|
export class DeployHttpApiRequestRestApiConfig extends $dara.Model {
|
|
2594
|
+
/**
|
|
2595
|
+
* @remarks
|
|
2596
|
+
* Publication description.
|
|
2597
|
+
*
|
|
2598
|
+
* @example
|
|
2599
|
+
* 用户服务API发布。
|
|
2600
|
+
*/
|
|
2511
2601
|
description?: string;
|
|
2602
|
+
/**
|
|
2603
|
+
* @remarks
|
|
2604
|
+
* Publication environment configuration.
|
|
2605
|
+
*/
|
|
2512
2606
|
environment?: DeployHttpApiRequestRestApiConfigEnvironment;
|
|
2513
2607
|
/**
|
|
2608
|
+
* @remarks
|
|
2609
|
+
* Historical version number. If this field is specified, the publication information will be based on the historical version information.
|
|
2610
|
+
*
|
|
2514
2611
|
* @example
|
|
2515
2612
|
* apr-xxx
|
|
2516
2613
|
*/
|
|
@@ -2575,6 +2672,9 @@ export class ExportHttpApiResponseBodyData extends $dara.Model {
|
|
|
2575
2672
|
|
|
2576
2673
|
export class GetDashboardRequestFilter extends $dara.Model {
|
|
2577
2674
|
/**
|
|
2675
|
+
* @remarks
|
|
2676
|
+
* Route name
|
|
2677
|
+
*
|
|
2578
2678
|
* @example
|
|
2579
2679
|
* test-route
|
|
2580
2680
|
*/
|
|
@@ -2602,21 +2702,33 @@ export class GetDashboardRequestFilter extends $dara.Model {
|
|
|
2602
2702
|
|
|
2603
2703
|
export class GetDashboardResponseBodyData extends $dara.Model {
|
|
2604
2704
|
/**
|
|
2705
|
+
* @remarks
|
|
2706
|
+
* Gateway unique identifier
|
|
2707
|
+
*
|
|
2605
2708
|
* @example
|
|
2606
2709
|
* gw-co370icmjeu****
|
|
2607
2710
|
*/
|
|
2608
2711
|
gatewayId?: string;
|
|
2609
2712
|
/**
|
|
2713
|
+
* @remarks
|
|
2714
|
+
* Dashboard name
|
|
2715
|
+
*
|
|
2610
2716
|
* @example
|
|
2611
2717
|
* PLUGIN
|
|
2612
2718
|
*/
|
|
2613
2719
|
name?: string;
|
|
2614
2720
|
/**
|
|
2721
|
+
* @remarks
|
|
2722
|
+
* Dashboard title
|
|
2723
|
+
*
|
|
2615
2724
|
* @example
|
|
2616
2725
|
* APIG Plugin
|
|
2617
2726
|
*/
|
|
2618
2727
|
title?: string;
|
|
2619
2728
|
/**
|
|
2729
|
+
* @remarks
|
|
2730
|
+
* Dashboard URL link
|
|
2731
|
+
*
|
|
2620
2732
|
* @example
|
|
2621
2733
|
* https://sls.console.aliyun.com/lognext/project/xxxxx
|
|
2622
2734
|
*/
|
|
@@ -2649,7 +2761,18 @@ export class GetDashboardResponseBodyData extends $dara.Model {
|
|
|
2649
2761
|
}
|
|
2650
2762
|
|
|
2651
2763
|
export class GetDomainResponseBodyDataStatisticsInfo extends $dara.Model {
|
|
2764
|
+
/**
|
|
2765
|
+
* @remarks
|
|
2766
|
+
* The array of related resource infomations.
|
|
2767
|
+
*/
|
|
2652
2768
|
resourceStatistics?: ResourceStatistic[];
|
|
2769
|
+
/**
|
|
2770
|
+
* @remarks
|
|
2771
|
+
* The total number of entries returned.
|
|
2772
|
+
*
|
|
2773
|
+
* @example
|
|
2774
|
+
* 1
|
|
2775
|
+
*/
|
|
2653
2776
|
totalCount?: string;
|
|
2654
2777
|
static names(): { [key: string]: string } {
|
|
2655
2778
|
return {
|
|
@@ -2686,7 +2809,21 @@ export class GetDomainResponseBodyData extends $dara.Model {
|
|
|
2686
2809
|
* RSA
|
|
2687
2810
|
*/
|
|
2688
2811
|
algorithm?: string;
|
|
2812
|
+
/**
|
|
2813
|
+
* @remarks
|
|
2814
|
+
* CA certificate identifier
|
|
2815
|
+
*
|
|
2816
|
+
* @example
|
|
2817
|
+
* 876****-cn-hangzhou
|
|
2818
|
+
*/
|
|
2689
2819
|
caCertIdentifier?: string;
|
|
2820
|
+
/**
|
|
2821
|
+
* @remarks
|
|
2822
|
+
* Certificate Identifier
|
|
2823
|
+
*
|
|
2824
|
+
* @example
|
|
2825
|
+
* 645****-cn-hangzhou
|
|
2826
|
+
*/
|
|
2690
2827
|
certIdentifier?: string;
|
|
2691
2828
|
/**
|
|
2692
2829
|
* @remarks
|
|
@@ -2696,6 +2833,21 @@ export class GetDomainResponseBodyData extends $dara.Model {
|
|
|
2696
2833
|
* test-cert
|
|
2697
2834
|
*/
|
|
2698
2835
|
certName?: string;
|
|
2836
|
+
/**
|
|
2837
|
+
* @remarks
|
|
2838
|
+
* Client CA Cert
|
|
2839
|
+
*
|
|
2840
|
+
* @example
|
|
2841
|
+
* -----BEGIN CERTIFICATE-----
|
|
2842
|
+
* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/mpTQwDQYJKoZIhvcNAQEL
|
|
2843
|
+
* BxSbrGeJ8i0576Gn7Qezyho9abZOUhGaPeoB
|
|
2844
|
+
* AIHWWl428uUSG/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
2845
|
+
* yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy+ZMJ8r4swA4swHwYDVR0jBBgwFoAU
|
|
2846
|
+
* qroVyYKk7ylhcSn+ZMJ8r4swA4swDwYDVR0TAQH/BAUwAwEB/zANBgkqhkiG9w0B
|
|
2847
|
+
* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
|
|
2848
|
+
* -----END CERTIFICATE-----
|
|
2849
|
+
*/
|
|
2850
|
+
clientCACert?: string;
|
|
2699
2851
|
/**
|
|
2700
2852
|
* @remarks
|
|
2701
2853
|
* Where it was created from.
|
|
@@ -2752,6 +2904,14 @@ export class GetDomainResponseBodyData extends $dara.Model {
|
|
|
2752
2904
|
* Alibaba
|
|
2753
2905
|
*/
|
|
2754
2906
|
issuer?: string;
|
|
2907
|
+
/**
|
|
2908
|
+
* @remarks
|
|
2909
|
+
* true
|
|
2910
|
+
*
|
|
2911
|
+
* @example
|
|
2912
|
+
* false
|
|
2913
|
+
*/
|
|
2914
|
+
mTLSEnabled?: boolean;
|
|
2755
2915
|
/**
|
|
2756
2916
|
* @remarks
|
|
2757
2917
|
* Domain name.
|
|
@@ -2787,6 +2947,13 @@ export class GetDomainResponseBodyData extends $dara.Model {
|
|
|
2787
2947
|
* HTTP
|
|
2788
2948
|
*/
|
|
2789
2949
|
protocol?: string;
|
|
2950
|
+
/**
|
|
2951
|
+
* @remarks
|
|
2952
|
+
* The ID of the resource group.
|
|
2953
|
+
*
|
|
2954
|
+
* @example
|
|
2955
|
+
* rg-aekzvlxzgo5b4si
|
|
2956
|
+
*/
|
|
2790
2957
|
resourceGroupId?: string;
|
|
2791
2958
|
/**
|
|
2792
2959
|
* @remarks
|
|
@@ -2796,7 +2963,15 @@ export class GetDomainResponseBodyData extends $dara.Model {
|
|
|
2796
2963
|
* aliyun.com
|
|
2797
2964
|
*/
|
|
2798
2965
|
sans?: string;
|
|
2966
|
+
/**
|
|
2967
|
+
* @remarks
|
|
2968
|
+
* The array of domain related resource information
|
|
2969
|
+
*/
|
|
2799
2970
|
statisticsInfo?: GetDomainResponseBodyDataStatisticsInfo;
|
|
2971
|
+
/**
|
|
2972
|
+
* @remarks
|
|
2973
|
+
* The TLS cipher suites config.
|
|
2974
|
+
*/
|
|
2800
2975
|
tlsCipherSuitesConfig?: TlsCipherSuitesConfig;
|
|
2801
2976
|
/**
|
|
2802
2977
|
* @remarks
|
|
@@ -2828,6 +3003,7 @@ export class GetDomainResponseBodyData extends $dara.Model {
|
|
|
2828
3003
|
caCertIdentifier: 'caCertIdentifier',
|
|
2829
3004
|
certIdentifier: 'certIdentifier',
|
|
2830
3005
|
certName: 'certName',
|
|
3006
|
+
clientCACert: 'clientCACert',
|
|
2831
3007
|
createFrom: 'createFrom',
|
|
2832
3008
|
createTimestamp: 'createTimestamp',
|
|
2833
3009
|
default: 'default',
|
|
@@ -2835,6 +3011,7 @@ export class GetDomainResponseBodyData extends $dara.Model {
|
|
|
2835
3011
|
forceHttps: 'forceHttps',
|
|
2836
3012
|
http2Option: 'http2Option',
|
|
2837
3013
|
issuer: 'issuer',
|
|
3014
|
+
mTLSEnabled: 'mTLSEnabled',
|
|
2838
3015
|
name: 'name',
|
|
2839
3016
|
notAfterTimstamp: 'notAfterTimstamp',
|
|
2840
3017
|
notBeforeTimestamp: 'notBeforeTimestamp',
|
|
@@ -2855,6 +3032,7 @@ export class GetDomainResponseBodyData extends $dara.Model {
|
|
|
2855
3032
|
caCertIdentifier: 'string',
|
|
2856
3033
|
certIdentifier: 'string',
|
|
2857
3034
|
certName: 'string',
|
|
3035
|
+
clientCACert: 'string',
|
|
2858
3036
|
createFrom: 'string',
|
|
2859
3037
|
createTimestamp: 'number',
|
|
2860
3038
|
default: 'boolean',
|
|
@@ -2862,6 +3040,7 @@ export class GetDomainResponseBodyData extends $dara.Model {
|
|
|
2862
3040
|
forceHttps: 'boolean',
|
|
2863
3041
|
http2Option: 'string',
|
|
2864
3042
|
issuer: 'string',
|
|
3043
|
+
mTLSEnabled: 'boolean',
|
|
2865
3044
|
name: 'string',
|
|
2866
3045
|
notAfterTimstamp: 'number',
|
|
2867
3046
|
notBeforeTimestamp: 'number',
|
|
@@ -3757,36 +3936,57 @@ export class GetGatewayResponseBodyData extends $dara.Model {
|
|
|
3757
3936
|
|
|
3758
3937
|
export class GetPolicyAttachmentResponseBodyData extends $dara.Model {
|
|
3759
3938
|
/**
|
|
3939
|
+
* @remarks
|
|
3940
|
+
* Attached Resource ID
|
|
3941
|
+
*
|
|
3760
3942
|
* @example
|
|
3761
3943
|
* op-csbkd9llhtgqhqua***
|
|
3762
3944
|
*/
|
|
3763
3945
|
attachResourceId?: string;
|
|
3764
3946
|
/**
|
|
3947
|
+
* @remarks
|
|
3948
|
+
* Attached resource type, HttpApi, GatewayRoute, Operation, GatewayService, GatewayServicePort, Gateway, Domain
|
|
3949
|
+
*
|
|
3765
3950
|
* @example
|
|
3766
3951
|
* Operation
|
|
3767
3952
|
*/
|
|
3768
3953
|
attachResourceType?: string;
|
|
3769
3954
|
/**
|
|
3955
|
+
* @remarks
|
|
3956
|
+
* Policy attachment configuration
|
|
3957
|
+
*
|
|
3770
3958
|
* @example
|
|
3771
3959
|
* {"unitNum":1,"timeUnit":"s","enable":true}
|
|
3772
3960
|
*/
|
|
3773
3961
|
config?: string;
|
|
3774
3962
|
/**
|
|
3963
|
+
* @remarks
|
|
3964
|
+
* Environment ID
|
|
3965
|
+
*
|
|
3775
3966
|
* @example
|
|
3776
3967
|
* env-cq7l5s5lhtgi6qa***
|
|
3777
3968
|
*/
|
|
3778
3969
|
environmentId?: string;
|
|
3779
3970
|
/**
|
|
3971
|
+
* @remarks
|
|
3972
|
+
* Gateway Instance ID
|
|
3973
|
+
*
|
|
3780
3974
|
* @example
|
|
3781
3975
|
* gw-cq2vundlhtg***
|
|
3782
3976
|
*/
|
|
3783
3977
|
gatewayId?: string;
|
|
3784
3978
|
/**
|
|
3979
|
+
* @remarks
|
|
3980
|
+
* Policy Attachment ID
|
|
3981
|
+
*
|
|
3785
3982
|
* @example
|
|
3786
3983
|
* pr-cqoojualhtgquuj***
|
|
3787
3984
|
*/
|
|
3788
3985
|
policyAttachmentId?: string;
|
|
3789
3986
|
/**
|
|
3987
|
+
* @remarks
|
|
3988
|
+
* Policy ID
|
|
3989
|
+
*
|
|
3790
3990
|
* @example
|
|
3791
3991
|
* p-cq7l5s5bblhtgi6qas***
|
|
3792
3992
|
*/
|
|
@@ -3826,11 +4026,17 @@ export class GetPolicyAttachmentResponseBodyData extends $dara.Model {
|
|
|
3826
4026
|
|
|
3827
4027
|
export class GetResourceOverviewResponseBodyDataApi extends $dara.Model {
|
|
3828
4028
|
/**
|
|
4029
|
+
* @remarks
|
|
4030
|
+
* Number of published APIs.
|
|
4031
|
+
*
|
|
3829
4032
|
* @example
|
|
3830
4033
|
* 1
|
|
3831
4034
|
*/
|
|
3832
4035
|
publishedCount?: number;
|
|
3833
4036
|
/**
|
|
4037
|
+
* @remarks
|
|
4038
|
+
* Number of APIs.
|
|
4039
|
+
*
|
|
3834
4040
|
* @example
|
|
3835
4041
|
* 1
|
|
3836
4042
|
*/
|
|
@@ -3860,11 +4066,17 @@ export class GetResourceOverviewResponseBodyDataApi extends $dara.Model {
|
|
|
3860
4066
|
|
|
3861
4067
|
export class GetResourceOverviewResponseBodyDataGateway extends $dara.Model {
|
|
3862
4068
|
/**
|
|
4069
|
+
* @remarks
|
|
4070
|
+
* Number of running gateways.
|
|
4071
|
+
*
|
|
3863
4072
|
* @example
|
|
3864
4073
|
* 1
|
|
3865
4074
|
*/
|
|
3866
4075
|
runningCount?: number;
|
|
3867
4076
|
/**
|
|
4077
|
+
* @remarks
|
|
4078
|
+
* Number of gateway instances.
|
|
4079
|
+
*
|
|
3868
4080
|
* @example
|
|
3869
4081
|
* 1
|
|
3870
4082
|
*/
|
|
@@ -3893,7 +4105,15 @@ export class GetResourceOverviewResponseBodyDataGateway extends $dara.Model {
|
|
|
3893
4105
|
}
|
|
3894
4106
|
|
|
3895
4107
|
export class GetResourceOverviewResponseBodyData extends $dara.Model {
|
|
4108
|
+
/**
|
|
4109
|
+
* @remarks
|
|
4110
|
+
* API information.
|
|
4111
|
+
*/
|
|
3896
4112
|
api?: GetResourceOverviewResponseBodyDataApi;
|
|
4113
|
+
/**
|
|
4114
|
+
* @remarks
|
|
4115
|
+
* Gateway information.
|
|
4116
|
+
*/
|
|
3897
4117
|
gateway?: GetResourceOverviewResponseBodyDataGateway;
|
|
3898
4118
|
static names(): { [key: string]: string } {
|
|
3899
4119
|
return {
|
|
@@ -3926,26 +4146,47 @@ export class GetResourceOverviewResponseBodyData extends $dara.Model {
|
|
|
3926
4146
|
|
|
3927
4147
|
export class GetTraceConfigResponseBodyData extends $dara.Model {
|
|
3928
4148
|
/**
|
|
4149
|
+
* @remarks
|
|
4150
|
+
* Whether to Enable Tracing:
|
|
4151
|
+
* true: Enabled
|
|
4152
|
+
* false: Disabled
|
|
4153
|
+
*
|
|
3929
4154
|
* @example
|
|
3930
4155
|
* true
|
|
3931
4156
|
*/
|
|
3932
4157
|
enable?: boolean;
|
|
3933
4158
|
/**
|
|
4159
|
+
* @remarks
|
|
4160
|
+
* Sampling Rate
|
|
4161
|
+
*
|
|
3934
4162
|
* @example
|
|
3935
4163
|
* 50
|
|
3936
4164
|
*/
|
|
3937
4165
|
sampleRatio?: number;
|
|
3938
4166
|
/**
|
|
4167
|
+
* @remarks
|
|
4168
|
+
* Service ID, present when the tracing type is SKYWALKING
|
|
4169
|
+
*
|
|
3939
4170
|
* @example
|
|
3940
4171
|
* ss-co370icmjeu****
|
|
3941
4172
|
*/
|
|
3942
4173
|
serviceId?: string;
|
|
3943
4174
|
/**
|
|
4175
|
+
* @remarks
|
|
4176
|
+
* 服务端口,链路追踪类型为SKYWALKING时存在该参数
|
|
4177
|
+
*
|
|
3944
4178
|
* @example
|
|
3945
4179
|
* 8090
|
|
3946
4180
|
*/
|
|
3947
4181
|
servicePort?: string;
|
|
3948
4182
|
/**
|
|
4183
|
+
* @remarks
|
|
4184
|
+
* Tracing Type:
|
|
4185
|
+
* - XTRACE
|
|
4186
|
+
* - SKYWALKING
|
|
4187
|
+
* - OPENTELEMETRY
|
|
4188
|
+
* - OTSKYWALKING
|
|
4189
|
+
*
|
|
3949
4190
|
* @example
|
|
3950
4191
|
* SKYWALKING
|
|
3951
4192
|
*/
|
|
@@ -4989,6 +5230,10 @@ export class ListGatewaysResponseBodyDataItems extends $dara.Model {
|
|
|
4989
5230
|
* Running
|
|
4990
5231
|
*/
|
|
4991
5232
|
status?: string;
|
|
5233
|
+
/**
|
|
5234
|
+
* @remarks
|
|
5235
|
+
* List of sub domain information
|
|
5236
|
+
*/
|
|
4992
5237
|
subDomainInfos?: SubDomainInfo[];
|
|
4993
5238
|
/**
|
|
4994
5239
|
* @remarks
|
|
@@ -5235,18 +5480,31 @@ export class ListHttpApiOperationsResponseBodyData extends $dara.Model {
|
|
|
5235
5480
|
}
|
|
5236
5481
|
|
|
5237
5482
|
export class ListHttpApiRoutesResponseBodyData extends $dara.Model {
|
|
5483
|
+
/**
|
|
5484
|
+
* @remarks
|
|
5485
|
+
* List of routes.
|
|
5486
|
+
*/
|
|
5238
5487
|
items?: HttpRoute[];
|
|
5239
5488
|
/**
|
|
5489
|
+
* @remarks
|
|
5490
|
+
* Page number.
|
|
5491
|
+
*
|
|
5240
5492
|
* @example
|
|
5241
5493
|
* 1
|
|
5242
5494
|
*/
|
|
5243
5495
|
pageNumber?: number;
|
|
5244
5496
|
/**
|
|
5497
|
+
* @remarks
|
|
5498
|
+
* Page size.
|
|
5499
|
+
*
|
|
5245
5500
|
* @example
|
|
5246
5501
|
* 20
|
|
5247
5502
|
*/
|
|
5248
5503
|
pageSize?: number;
|
|
5249
5504
|
/**
|
|
5505
|
+
* @remarks
|
|
5506
|
+
* Total number of items.
|
|
5507
|
+
*
|
|
5250
5508
|
* @example
|
|
5251
5509
|
* 9
|
|
5252
5510
|
*/
|
|
@@ -5342,18 +5600,31 @@ export class ListHttpApisResponseBodyData extends $dara.Model {
|
|
|
5342
5600
|
}
|
|
5343
5601
|
|
|
5344
5602
|
export class ListPolicyClassesResponseBodyData extends $dara.Model {
|
|
5603
|
+
/**
|
|
5604
|
+
* @remarks
|
|
5605
|
+
* List of policy templates
|
|
5606
|
+
*/
|
|
5345
5607
|
items?: PolicyClassInfo[];
|
|
5346
5608
|
/**
|
|
5609
|
+
* @remarks
|
|
5610
|
+
* Page number.
|
|
5611
|
+
*
|
|
5347
5612
|
* @example
|
|
5348
5613
|
* 1
|
|
5349
5614
|
*/
|
|
5350
5615
|
pageNumber?: number;
|
|
5351
5616
|
/**
|
|
5617
|
+
* @remarks
|
|
5618
|
+
* Page size
|
|
5619
|
+
*
|
|
5352
5620
|
* @example
|
|
5353
5621
|
* 10
|
|
5354
5622
|
*/
|
|
5355
5623
|
pageSize?: number;
|
|
5356
5624
|
/**
|
|
5625
|
+
* @remarks
|
|
5626
|
+
* Total number of items.
|
|
5627
|
+
*
|
|
5357
5628
|
* @example
|
|
5358
5629
|
* 10
|
|
5359
5630
|
*/
|
|
@@ -5389,18 +5660,31 @@ export class ListPolicyClassesResponseBodyData extends $dara.Model {
|
|
|
5389
5660
|
}
|
|
5390
5661
|
|
|
5391
5662
|
export class ListServicesResponseBodyData extends $dara.Model {
|
|
5663
|
+
/**
|
|
5664
|
+
* @remarks
|
|
5665
|
+
* Service list.
|
|
5666
|
+
*/
|
|
5392
5667
|
items?: Service[];
|
|
5393
5668
|
/**
|
|
5669
|
+
* @remarks
|
|
5670
|
+
* Page number.
|
|
5671
|
+
*
|
|
5394
5672
|
* @example
|
|
5395
5673
|
* 1
|
|
5396
5674
|
*/
|
|
5397
5675
|
pageNumber?: number;
|
|
5398
5676
|
/**
|
|
5677
|
+
* @remarks
|
|
5678
|
+
* Page size.
|
|
5679
|
+
*
|
|
5399
5680
|
* @example
|
|
5400
5681
|
* 10
|
|
5401
5682
|
*/
|
|
5402
5683
|
pageSize?: number;
|
|
5403
5684
|
/**
|
|
5685
|
+
* @remarks
|
|
5686
|
+
* Total count.
|
|
5687
|
+
*
|
|
5404
5688
|
* @example
|
|
5405
5689
|
* 18
|
|
5406
5690
|
*/
|
|
@@ -5436,18 +5720,31 @@ export class ListServicesResponseBodyData extends $dara.Model {
|
|
|
5436
5720
|
}
|
|
5437
5721
|
|
|
5438
5722
|
export class ListSslCertsResponseBodyData extends $dara.Model {
|
|
5723
|
+
/**
|
|
5724
|
+
* @remarks
|
|
5725
|
+
* List of certificate information.
|
|
5726
|
+
*/
|
|
5439
5727
|
items?: SslCertMetaInfo[];
|
|
5440
5728
|
/**
|
|
5729
|
+
* @remarks
|
|
5730
|
+
* Page number.
|
|
5731
|
+
*
|
|
5441
5732
|
* @example
|
|
5442
5733
|
* 1
|
|
5443
5734
|
*/
|
|
5444
5735
|
pageNumber?: number;
|
|
5445
5736
|
/**
|
|
5737
|
+
* @remarks
|
|
5738
|
+
* Page size.
|
|
5739
|
+
*
|
|
5446
5740
|
* @example
|
|
5447
5741
|
* 10
|
|
5448
5742
|
*/
|
|
5449
5743
|
pageSize?: number;
|
|
5450
5744
|
/**
|
|
5745
|
+
* @remarks
|
|
5746
|
+
* Total count.
|
|
5747
|
+
*
|
|
5451
5748
|
* @example
|
|
5452
5749
|
* 2
|
|
5453
5750
|
*/
|
|
@@ -5484,6 +5781,9 @@ export class ListSslCertsResponseBodyData extends $dara.Model {
|
|
|
5484
5781
|
|
|
5485
5782
|
export class ListZonesResponseBodyDataItems extends $dara.Model {
|
|
5486
5783
|
/**
|
|
5784
|
+
* @remarks
|
|
5785
|
+
* 可用区ID。
|
|
5786
|
+
*
|
|
5487
5787
|
* @example
|
|
5488
5788
|
* cn-shenzhen-c
|
|
5489
5789
|
*/
|
|
@@ -5510,6 +5810,10 @@ export class ListZonesResponseBodyDataItems extends $dara.Model {
|
|
|
5510
5810
|
}
|
|
5511
5811
|
|
|
5512
5812
|
export class ListZonesResponseBodyData extends $dara.Model {
|
|
5813
|
+
/**
|
|
5814
|
+
* @remarks
|
|
5815
|
+
* List of availability zones.
|
|
5816
|
+
*/
|
|
5513
5817
|
items?: ListZonesResponseBodyDataItems[];
|
|
5514
5818
|
static names(): { [key: string]: string } {
|
|
5515
5819
|
return {
|
|
@@ -5568,7 +5872,7 @@ export class UpdateDomainResponseBodyData extends $dara.Model {
|
|
|
5568
5872
|
export class UpdateHttpApiRequestIngressConfig extends $dara.Model {
|
|
5569
5873
|
/**
|
|
5570
5874
|
* @remarks
|
|
5571
|
-
*
|
|
5875
|
+
* The environment ID.
|
|
5572
5876
|
*
|
|
5573
5877
|
* @example
|
|
5574
5878
|
* env-cr6ql0tlhtgmc****
|
|
@@ -5576,7 +5880,7 @@ export class UpdateHttpApiRequestIngressConfig extends $dara.Model {
|
|
|
5576
5880
|
environmentId?: string;
|
|
5577
5881
|
/**
|
|
5578
5882
|
* @remarks
|
|
5579
|
-
* Ingress
|
|
5883
|
+
* The Ingress class for listening.
|
|
5580
5884
|
*
|
|
5581
5885
|
* @example
|
|
5582
5886
|
* mse
|
|
@@ -5584,7 +5888,7 @@ export class UpdateHttpApiRequestIngressConfig extends $dara.Model {
|
|
|
5584
5888
|
ingressClass?: string;
|
|
5585
5889
|
/**
|
|
5586
5890
|
* @remarks
|
|
5587
|
-
*
|
|
5891
|
+
* Specifies whether to update the address in Ingress Status.
|
|
5588
5892
|
*
|
|
5589
5893
|
* @example
|
|
5590
5894
|
* false
|
|
@@ -5592,7 +5896,7 @@ export class UpdateHttpApiRequestIngressConfig extends $dara.Model {
|
|
|
5592
5896
|
overrideIngressIp?: boolean;
|
|
5593
5897
|
/**
|
|
5594
5898
|
* @remarks
|
|
5595
|
-
*
|
|
5899
|
+
* The source ID.
|
|
5596
5900
|
*
|
|
5597
5901
|
* @example
|
|
5598
5902
|
* src-crdddallhtgtr****
|
|
@@ -5600,7 +5904,7 @@ export class UpdateHttpApiRequestIngressConfig extends $dara.Model {
|
|
|
5600
5904
|
sourceId?: string;
|
|
5601
5905
|
/**
|
|
5602
5906
|
* @remarks
|
|
5603
|
-
*
|
|
5907
|
+
* The namespace for listening.
|
|
5604
5908
|
*
|
|
5605
5909
|
* @example
|
|
5606
5910
|
* default
|
|
@@ -6102,10 +6406,12 @@ export class DashboardFilter extends $dara.Model {
|
|
|
6102
6406
|
|
|
6103
6407
|
export class DomainInfo extends $dara.Model {
|
|
6104
6408
|
certIdentifier?: string;
|
|
6409
|
+
clientCACert?: string;
|
|
6105
6410
|
createFrom?: string;
|
|
6106
6411
|
createTimestamp?: number;
|
|
6107
6412
|
domainId?: string;
|
|
6108
6413
|
forceHttps?: boolean;
|
|
6414
|
+
mTLSEnabled?: boolean;
|
|
6109
6415
|
name?: string;
|
|
6110
6416
|
protocol?: string;
|
|
6111
6417
|
/**
|
|
@@ -6118,10 +6424,12 @@ export class DomainInfo extends $dara.Model {
|
|
|
6118
6424
|
static names(): { [key: string]: string } {
|
|
6119
6425
|
return {
|
|
6120
6426
|
certIdentifier: 'certIdentifier',
|
|
6427
|
+
clientCACert: 'clientCACert',
|
|
6121
6428
|
createFrom: 'createFrom',
|
|
6122
6429
|
createTimestamp: 'createTimestamp',
|
|
6123
6430
|
domainId: 'domainId',
|
|
6124
6431
|
forceHttps: 'forceHttps',
|
|
6432
|
+
mTLSEnabled: 'mTLSEnabled',
|
|
6125
6433
|
name: 'name',
|
|
6126
6434
|
protocol: 'protocol',
|
|
6127
6435
|
resourceGroupId: 'resourceGroupId',
|
|
@@ -6133,10 +6441,12 @@ export class DomainInfo extends $dara.Model {
|
|
|
6133
6441
|
static types(): { [key: string]: any } {
|
|
6134
6442
|
return {
|
|
6135
6443
|
certIdentifier: 'string',
|
|
6444
|
+
clientCACert: 'string',
|
|
6136
6445
|
createFrom: 'string',
|
|
6137
6446
|
createTimestamp: 'number',
|
|
6138
6447
|
domainId: 'string',
|
|
6139
6448
|
forceHttps: 'boolean',
|
|
6449
|
+
mTLSEnabled: 'boolean',
|
|
6140
6450
|
name: 'string',
|
|
6141
6451
|
protocol: 'string',
|
|
6142
6452
|
resourceGroupId: 'string',
|
|
@@ -8147,21 +8457,33 @@ export class AddGatewaySecurityGroupRuleResponse extends $dara.Model {
|
|
|
8147
8457
|
|
|
8148
8458
|
export class ChangeResourceGroupRequest extends $dara.Model {
|
|
8149
8459
|
/**
|
|
8460
|
+
* @remarks
|
|
8461
|
+
* Target resource group ID.
|
|
8462
|
+
*
|
|
8150
8463
|
* @example
|
|
8151
8464
|
* rg-aekzdrfx2xdnaja
|
|
8152
8465
|
*/
|
|
8153
8466
|
resourceGroupId?: string;
|
|
8154
8467
|
/**
|
|
8468
|
+
* @remarks
|
|
8469
|
+
* Resource ID
|
|
8470
|
+
*
|
|
8155
8471
|
* @example
|
|
8156
8472
|
* gw-ct4i14um1hkn0tpqfae0
|
|
8157
8473
|
*/
|
|
8158
8474
|
resourceId?: string;
|
|
8159
8475
|
/**
|
|
8476
|
+
* @remarks
|
|
8477
|
+
* Resource type
|
|
8478
|
+
*
|
|
8160
8479
|
* @example
|
|
8161
8480
|
* gateway
|
|
8162
8481
|
*/
|
|
8163
8482
|
resourceType?: string;
|
|
8164
8483
|
/**
|
|
8484
|
+
* @remarks
|
|
8485
|
+
* Service name, fixed value apig
|
|
8486
|
+
*
|
|
8165
8487
|
* @example
|
|
8166
8488
|
* apig
|
|
8167
8489
|
*/
|
|
@@ -8195,6 +8517,9 @@ export class ChangeResourceGroupRequest extends $dara.Model {
|
|
|
8195
8517
|
|
|
8196
8518
|
export class ChangeResourceGroupResponseBody extends $dara.Model {
|
|
8197
8519
|
/**
|
|
8520
|
+
* @remarks
|
|
8521
|
+
* Request ID.
|
|
8522
|
+
*
|
|
8198
8523
|
* @example
|
|
8199
8524
|
* 59F86F37-787A-52DB-9475-DB5A255517F0
|
|
8200
8525
|
*/
|
|
@@ -8272,6 +8597,18 @@ export class CreateDomainRequest extends $dara.Model {
|
|
|
8272
8597
|
* 1ef1da5f-38ed-69b3-****-037781890265
|
|
8273
8598
|
*/
|
|
8274
8599
|
certIdentifier?: string;
|
|
8600
|
+
/**
|
|
8601
|
+
* @remarks
|
|
8602
|
+
* Client CA Certificate
|
|
8603
|
+
*
|
|
8604
|
+
* @example
|
|
8605
|
+
* -----BEGIN CERTIFICATE-----
|
|
8606
|
+
* MIIFBTCCAu2gAwIBAgIUORLpYPGSFD1YOP6PMbE7Wd/mpTQwDQYJKoZIhvcNAQEL
|
|
8607
|
+
* BQAwE************************************************2VwVOJ2gqX3
|
|
8608
|
+
* YuGaxvIbDy0iQJ1GMerPRyzJTeVEtdIKT29u0PdFRr4KZWom35qX7G4=
|
|
8609
|
+
* -----END CERTIFICATE-----
|
|
8610
|
+
*/
|
|
8611
|
+
clientCACert?: string;
|
|
8275
8612
|
/**
|
|
8276
8613
|
* @remarks
|
|
8277
8614
|
* Set the HTTPS protocol type, whether to enable forced HTTPS redirection.
|
|
@@ -8288,6 +8625,11 @@ export class CreateDomainRequest extends $dara.Model {
|
|
|
8288
8625
|
* Open
|
|
8289
8626
|
*/
|
|
8290
8627
|
http2Option?: string;
|
|
8628
|
+
/**
|
|
8629
|
+
* @remarks
|
|
8630
|
+
* Whether to enable mTLS mutual authentication
|
|
8631
|
+
*/
|
|
8632
|
+
mTLSEnabled?: boolean;
|
|
8291
8633
|
/**
|
|
8292
8634
|
* @remarks
|
|
8293
8635
|
* Domain name.
|
|
@@ -8344,8 +8686,10 @@ export class CreateDomainRequest extends $dara.Model {
|
|
|
8344
8686
|
return {
|
|
8345
8687
|
caCertIdentifier: 'caCertIdentifier',
|
|
8346
8688
|
certIdentifier: 'certIdentifier',
|
|
8689
|
+
clientCACert: 'clientCACert',
|
|
8347
8690
|
forceHttps: 'forceHttps',
|
|
8348
8691
|
http2Option: 'http2Option',
|
|
8692
|
+
mTLSEnabled: 'mTLSEnabled',
|
|
8349
8693
|
name: 'name',
|
|
8350
8694
|
protocol: 'protocol',
|
|
8351
8695
|
resourceGroupId: 'resourceGroupId',
|
|
@@ -8359,8 +8703,10 @@ export class CreateDomainRequest extends $dara.Model {
|
|
|
8359
8703
|
return {
|
|
8360
8704
|
caCertIdentifier: 'string',
|
|
8361
8705
|
certIdentifier: 'string',
|
|
8706
|
+
clientCACert: 'string',
|
|
8362
8707
|
forceHttps: 'boolean',
|
|
8363
8708
|
http2Option: 'string',
|
|
8709
|
+
mTLSEnabled: 'boolean',
|
|
8364
8710
|
name: 'string',
|
|
8365
8711
|
protocol: 'string',
|
|
8366
8712
|
resourceGroupId: 'string',
|
|
@@ -9006,25 +9352,25 @@ export class CreateHttpApiOperationResponse extends $dara.Model {
|
|
|
9006
9352
|
export class CreateHttpApiRouteRequest extends $dara.Model {
|
|
9007
9353
|
/**
|
|
9008
9354
|
* @remarks
|
|
9009
|
-
*
|
|
9355
|
+
* The backend service configurations of the route.
|
|
9010
9356
|
*/
|
|
9011
9357
|
backendConfig?: CreateHttpApiRouteRequestBackendConfig;
|
|
9012
9358
|
/**
|
|
9013
9359
|
* @remarks
|
|
9014
|
-
*
|
|
9360
|
+
* The route description.
|
|
9015
9361
|
*
|
|
9016
9362
|
* @example
|
|
9017
|
-
*
|
|
9363
|
+
* User logon route
|
|
9018
9364
|
*/
|
|
9019
9365
|
description?: string;
|
|
9020
9366
|
/**
|
|
9021
9367
|
* @remarks
|
|
9022
|
-
*
|
|
9368
|
+
* The domain name IDs.
|
|
9023
9369
|
*/
|
|
9024
9370
|
domainIds?: string[];
|
|
9025
9371
|
/**
|
|
9026
9372
|
* @remarks
|
|
9027
|
-
*
|
|
9373
|
+
* The environment ID.
|
|
9028
9374
|
*
|
|
9029
9375
|
* @example
|
|
9030
9376
|
* env-cpqnr6tlhtgubcv***
|
|
@@ -9032,12 +9378,12 @@ export class CreateHttpApiRouteRequest extends $dara.Model {
|
|
|
9032
9378
|
environmentId?: string;
|
|
9033
9379
|
/**
|
|
9034
9380
|
* @remarks
|
|
9035
|
-
*
|
|
9381
|
+
* The rule for matching the route.
|
|
9036
9382
|
*/
|
|
9037
9383
|
match?: HttpRouteMatch;
|
|
9038
9384
|
/**
|
|
9039
9385
|
* @remarks
|
|
9040
|
-
*
|
|
9386
|
+
* The route name.
|
|
9041
9387
|
*
|
|
9042
9388
|
* @example
|
|
9043
9389
|
* login
|
|
@@ -9086,7 +9432,7 @@ export class CreateHttpApiRouteRequest extends $dara.Model {
|
|
|
9086
9432
|
export class CreateHttpApiRouteResponseBody extends $dara.Model {
|
|
9087
9433
|
/**
|
|
9088
9434
|
* @remarks
|
|
9089
|
-
*
|
|
9435
|
+
* The status code.
|
|
9090
9436
|
*
|
|
9091
9437
|
* @example
|
|
9092
9438
|
* Ok
|
|
@@ -9094,12 +9440,12 @@ export class CreateHttpApiRouteResponseBody extends $dara.Model {
|
|
|
9094
9440
|
code?: string;
|
|
9095
9441
|
/**
|
|
9096
9442
|
* @remarks
|
|
9097
|
-
*
|
|
9443
|
+
* The response data.
|
|
9098
9444
|
*/
|
|
9099
9445
|
data?: CreateHttpApiRouteResponseBodyData;
|
|
9100
9446
|
/**
|
|
9101
9447
|
* @remarks
|
|
9102
|
-
*
|
|
9448
|
+
* The returned message.
|
|
9103
9449
|
*
|
|
9104
9450
|
* @example
|
|
9105
9451
|
* success
|
|
@@ -9107,7 +9453,7 @@ export class CreateHttpApiRouteResponseBody extends $dara.Model {
|
|
|
9107
9453
|
message?: string;
|
|
9108
9454
|
/**
|
|
9109
9455
|
* @remarks
|
|
9110
|
-
*
|
|
9456
|
+
* The request ID.
|
|
9111
9457
|
*
|
|
9112
9458
|
* @example
|
|
9113
9459
|
* 3ACFC7A7-45A9-58CF-B2D5-765B60254695
|
|
@@ -9181,6 +9527,8 @@ export class CreateHttpApiRouteResponse extends $dara.Model {
|
|
|
9181
9527
|
export class CreatePolicyRequest extends $dara.Model {
|
|
9182
9528
|
/**
|
|
9183
9529
|
* @remarks
|
|
9530
|
+
* Policy type, including RateLimit, ConcurrencyLimit, CircuitBreaker, HttpRewrite, HeaderModify, Cors, Authentication, FlowCopy, Timeout, Retry, IpAccessControl, DirectResponse, Redirect, Fallback, ServiceTls, ServiceLb, ServicePortTls, Waf, JWTAuth, OIDCAuth, ExternalZAuth, AiProxy, ModelRouter, AiStatistics, AiSecurityGuard, AiFallback, ModelMapper, AiTokenRateLimit, AiCache, DynamicRoute
|
|
9531
|
+
*
|
|
9184
9532
|
* This parameter is required.
|
|
9185
9533
|
*
|
|
9186
9534
|
* @example
|
|
@@ -9189,15 +9537,26 @@ export class CreatePolicyRequest extends $dara.Model {
|
|
|
9189
9537
|
className?: string;
|
|
9190
9538
|
/**
|
|
9191
9539
|
* @remarks
|
|
9540
|
+
* Policy configuration
|
|
9541
|
+
*
|
|
9192
9542
|
* This parameter is required.
|
|
9193
9543
|
*
|
|
9194
9544
|
* @example
|
|
9195
9545
|
* {"unitNum":1,"timeUnit":"s","enable":true}
|
|
9196
9546
|
*/
|
|
9197
9547
|
config?: string;
|
|
9548
|
+
/**
|
|
9549
|
+
* @remarks
|
|
9550
|
+
* Policy description
|
|
9551
|
+
*
|
|
9552
|
+
* @example
|
|
9553
|
+
* timeout policy
|
|
9554
|
+
*/
|
|
9198
9555
|
description?: string;
|
|
9199
9556
|
/**
|
|
9200
9557
|
* @remarks
|
|
9558
|
+
* Policy name
|
|
9559
|
+
*
|
|
9201
9560
|
* This parameter is required.
|
|
9202
9561
|
*
|
|
9203
9562
|
* @example
|
|
@@ -9233,19 +9592,29 @@ export class CreatePolicyRequest extends $dara.Model {
|
|
|
9233
9592
|
|
|
9234
9593
|
export class CreatePolicyResponseBody extends $dara.Model {
|
|
9235
9594
|
/**
|
|
9595
|
+
* @remarks
|
|
9596
|
+
* Response status code.
|
|
9597
|
+
*
|
|
9236
9598
|
* @example
|
|
9237
9599
|
* Ok
|
|
9238
9600
|
*/
|
|
9239
9601
|
code?: string;
|
|
9602
|
+
/**
|
|
9603
|
+
* @remarks
|
|
9604
|
+
* Response data.
|
|
9605
|
+
*/
|
|
9240
9606
|
data?: CreatePolicyResponseBodyData;
|
|
9241
9607
|
/**
|
|
9608
|
+
* @remarks
|
|
9609
|
+
* Response message.
|
|
9610
|
+
*
|
|
9242
9611
|
* @example
|
|
9243
9612
|
* success
|
|
9244
9613
|
*/
|
|
9245
9614
|
message?: string;
|
|
9246
9615
|
/**
|
|
9247
9616
|
* @remarks
|
|
9248
|
-
*
|
|
9617
|
+
* ID of the request
|
|
9249
9618
|
*
|
|
9250
9619
|
* @example
|
|
9251
9620
|
* 393E2630-DBE7-5221-AB35-9E7406754***
|
|
@@ -9319,6 +9688,8 @@ export class CreatePolicyResponse extends $dara.Model {
|
|
|
9319
9688
|
export class CreatePolicyAttachmentRequest extends $dara.Model {
|
|
9320
9689
|
/**
|
|
9321
9690
|
* @remarks
|
|
9691
|
+
* Attached resource ID
|
|
9692
|
+
*
|
|
9322
9693
|
* This parameter is required.
|
|
9323
9694
|
*
|
|
9324
9695
|
* @example
|
|
@@ -9327,6 +9698,8 @@ export class CreatePolicyAttachmentRequest extends $dara.Model {
|
|
|
9327
9698
|
attachResourceId?: string;
|
|
9328
9699
|
/**
|
|
9329
9700
|
* @remarks
|
|
9701
|
+
* Attached resource type, such as HttpApi, GatewayRoute, Operation, GatewayService, GatewayServicePort, Gateway, Domain
|
|
9702
|
+
*
|
|
9330
9703
|
* This parameter is required.
|
|
9331
9704
|
*
|
|
9332
9705
|
* @example
|
|
@@ -9335,6 +9708,8 @@ export class CreatePolicyAttachmentRequest extends $dara.Model {
|
|
|
9335
9708
|
attachResourceType?: string;
|
|
9336
9709
|
/**
|
|
9337
9710
|
* @remarks
|
|
9711
|
+
* Environment ID
|
|
9712
|
+
*
|
|
9338
9713
|
* This parameter is required.
|
|
9339
9714
|
*
|
|
9340
9715
|
* @example
|
|
@@ -9343,6 +9718,8 @@ export class CreatePolicyAttachmentRequest extends $dara.Model {
|
|
|
9343
9718
|
environmentId?: string;
|
|
9344
9719
|
/**
|
|
9345
9720
|
* @remarks
|
|
9721
|
+
* Gateway instance ID
|
|
9722
|
+
*
|
|
9346
9723
|
* This parameter is required.
|
|
9347
9724
|
*
|
|
9348
9725
|
* @example
|
|
@@ -9351,6 +9728,8 @@ export class CreatePolicyAttachmentRequest extends $dara.Model {
|
|
|
9351
9728
|
gatewayId?: string;
|
|
9352
9729
|
/**
|
|
9353
9730
|
* @remarks
|
|
9731
|
+
* Policy ID
|
|
9732
|
+
*
|
|
9354
9733
|
* This parameter is required.
|
|
9355
9734
|
*
|
|
9356
9735
|
* @example
|
|
@@ -9388,19 +9767,29 @@ export class CreatePolicyAttachmentRequest extends $dara.Model {
|
|
|
9388
9767
|
|
|
9389
9768
|
export class CreatePolicyAttachmentResponseBody extends $dara.Model {
|
|
9390
9769
|
/**
|
|
9770
|
+
* @remarks
|
|
9771
|
+
* Response code.
|
|
9772
|
+
*
|
|
9391
9773
|
* @example
|
|
9392
9774
|
* Ok
|
|
9393
9775
|
*/
|
|
9394
9776
|
code?: string;
|
|
9777
|
+
/**
|
|
9778
|
+
* @remarks
|
|
9779
|
+
* Response data.
|
|
9780
|
+
*/
|
|
9395
9781
|
data?: CreatePolicyAttachmentResponseBodyData;
|
|
9396
9782
|
/**
|
|
9783
|
+
* @remarks
|
|
9784
|
+
* Response message.
|
|
9785
|
+
*
|
|
9397
9786
|
* @example
|
|
9398
9787
|
* success
|
|
9399
9788
|
*/
|
|
9400
9789
|
message?: string;
|
|
9401
9790
|
/**
|
|
9402
9791
|
* @remarks
|
|
9403
|
-
*
|
|
9792
|
+
* ID of the request
|
|
9404
9793
|
*
|
|
9405
9794
|
* @example
|
|
9406
9795
|
* 585657D2-1C20-5B8A-AF17-D727C64***
|
|
@@ -9473,13 +9862,36 @@ export class CreatePolicyAttachmentResponse extends $dara.Model {
|
|
|
9473
9862
|
|
|
9474
9863
|
export class CreateServiceRequest extends $dara.Model {
|
|
9475
9864
|
/**
|
|
9865
|
+
* @remarks
|
|
9866
|
+
* Gateway ID.
|
|
9867
|
+
*
|
|
9476
9868
|
* @example
|
|
9477
9869
|
* gw-cq7l5s5lhtg***
|
|
9478
9870
|
*/
|
|
9479
9871
|
gatewayId?: string;
|
|
9872
|
+
/**
|
|
9873
|
+
* @remarks
|
|
9874
|
+
* Resource group ID.
|
|
9875
|
+
*
|
|
9876
|
+
* @example
|
|
9877
|
+
* rg-xxx
|
|
9878
|
+
*/
|
|
9480
9879
|
resourceGroupId?: string;
|
|
9880
|
+
/**
|
|
9881
|
+
* @remarks
|
|
9882
|
+
* List of service configuration information.
|
|
9883
|
+
*/
|
|
9481
9884
|
serviceConfigs?: CreateServiceRequestServiceConfigs[];
|
|
9482
9885
|
/**
|
|
9886
|
+
* @remarks
|
|
9887
|
+
* Service source:
|
|
9888
|
+
* - MSE_NACOS: Services in MSE Nacos.
|
|
9889
|
+
* - K8S: Services in the K8S cluster of container service.
|
|
9890
|
+
* - VIP: Fixed address service.
|
|
9891
|
+
* - DNS: DNS domain name service.
|
|
9892
|
+
* - FC3: Function Compute service.
|
|
9893
|
+
* - SAE_K8S_SERVICE: SAE K8S service.
|
|
9894
|
+
*
|
|
9483
9895
|
* @example
|
|
9484
9896
|
* MSE_NACOS
|
|
9485
9897
|
*/
|
|
@@ -9516,17 +9928,30 @@ export class CreateServiceRequest extends $dara.Model {
|
|
|
9516
9928
|
|
|
9517
9929
|
export class CreateServiceResponseBody extends $dara.Model {
|
|
9518
9930
|
/**
|
|
9931
|
+
* @remarks
|
|
9932
|
+
* Response status code.
|
|
9933
|
+
*
|
|
9519
9934
|
* @example
|
|
9520
9935
|
* Ok
|
|
9521
9936
|
*/
|
|
9522
9937
|
code?: string;
|
|
9938
|
+
/**
|
|
9939
|
+
* @remarks
|
|
9940
|
+
* Response data.
|
|
9941
|
+
*/
|
|
9523
9942
|
data?: CreateServiceResponseBodyData;
|
|
9524
9943
|
/**
|
|
9944
|
+
* @remarks
|
|
9945
|
+
* Response message.
|
|
9946
|
+
*
|
|
9525
9947
|
* @example
|
|
9526
9948
|
* success
|
|
9527
9949
|
*/
|
|
9528
9950
|
message?: string;
|
|
9529
9951
|
/**
|
|
9952
|
+
* @remarks
|
|
9953
|
+
* Request ID.
|
|
9954
|
+
*
|
|
9530
9955
|
* @example
|
|
9531
9956
|
* C67DED2B-F19B-5BEC-88C1-D6EB854CD0D4
|
|
9532
9957
|
*/
|
|
@@ -9969,7 +10394,7 @@ export class DeleteGatewaySecurityGroupRuleResponse extends $dara.Model {
|
|
|
9969
10394
|
export class DeleteHttpApiResponseBody extends $dara.Model {
|
|
9970
10395
|
/**
|
|
9971
10396
|
* @remarks
|
|
9972
|
-
*
|
|
10397
|
+
* The status code.
|
|
9973
10398
|
*
|
|
9974
10399
|
* @example
|
|
9975
10400
|
* Ok
|
|
@@ -9977,7 +10402,7 @@ export class DeleteHttpApiResponseBody extends $dara.Model {
|
|
|
9977
10402
|
code?: string;
|
|
9978
10403
|
/**
|
|
9979
10404
|
* @remarks
|
|
9980
|
-
*
|
|
10405
|
+
* The returned message.
|
|
9981
10406
|
*
|
|
9982
10407
|
* @example
|
|
9983
10408
|
* success
|
|
@@ -9985,7 +10410,7 @@ export class DeleteHttpApiResponseBody extends $dara.Model {
|
|
|
9985
10410
|
message?: string;
|
|
9986
10411
|
/**
|
|
9987
10412
|
* @remarks
|
|
9988
|
-
*
|
|
10413
|
+
* The request ID.
|
|
9989
10414
|
*
|
|
9990
10415
|
* @example
|
|
9991
10416
|
* 5B626361-070A-56A7-B127-ADAC8F3655DB
|
|
@@ -10223,18 +10648,24 @@ export class DeleteHttpApiRouteResponse extends $dara.Model {
|
|
|
10223
10648
|
|
|
10224
10649
|
export class DeletePolicyResponseBody extends $dara.Model {
|
|
10225
10650
|
/**
|
|
10651
|
+
* @remarks
|
|
10652
|
+
* Response status code.
|
|
10653
|
+
*
|
|
10226
10654
|
* @example
|
|
10227
10655
|
* Ok
|
|
10228
10656
|
*/
|
|
10229
10657
|
code?: string;
|
|
10230
10658
|
/**
|
|
10659
|
+
* @remarks
|
|
10660
|
+
* Response message.
|
|
10661
|
+
*
|
|
10231
10662
|
* @example
|
|
10232
10663
|
* success
|
|
10233
10664
|
*/
|
|
10234
10665
|
message?: string;
|
|
10235
10666
|
/**
|
|
10236
10667
|
* @remarks
|
|
10237
|
-
*
|
|
10668
|
+
* ID of the request
|
|
10238
10669
|
*
|
|
10239
10670
|
* @example
|
|
10240
10671
|
* 393E2630-DBE7-5221-AB35-9E7406754***
|
|
@@ -10302,18 +10733,24 @@ export class DeletePolicyResponse extends $dara.Model {
|
|
|
10302
10733
|
|
|
10303
10734
|
export class DeletePolicyAttachmentResponseBody extends $dara.Model {
|
|
10304
10735
|
/**
|
|
10736
|
+
* @remarks
|
|
10737
|
+
* Response status code.
|
|
10738
|
+
*
|
|
10305
10739
|
* @example
|
|
10306
10740
|
* 200
|
|
10307
10741
|
*/
|
|
10308
10742
|
code?: string;
|
|
10309
10743
|
/**
|
|
10744
|
+
* @remarks
|
|
10745
|
+
* Response message.
|
|
10746
|
+
*
|
|
10310
10747
|
* @example
|
|
10311
10748
|
* success
|
|
10312
10749
|
*/
|
|
10313
10750
|
message?: string;
|
|
10314
10751
|
/**
|
|
10315
10752
|
* @remarks
|
|
10316
|
-
*
|
|
10753
|
+
* ID of the request
|
|
10317
10754
|
*
|
|
10318
10755
|
* @example
|
|
10319
10756
|
* CE857A85-251D-5018-8103-A38957D71***
|
|
@@ -10380,8 +10817,15 @@ export class DeletePolicyAttachmentResponse extends $dara.Model {
|
|
|
10380
10817
|
}
|
|
10381
10818
|
|
|
10382
10819
|
export class DeployHttpApiRequest extends $dara.Model {
|
|
10820
|
+
/**
|
|
10821
|
+
* @remarks
|
|
10822
|
+
* Rest API deployment configuration. Required when deploying an HTTP API as a Rest API.
|
|
10823
|
+
*/
|
|
10383
10824
|
restApiConfig?: DeployHttpApiRequestRestApiConfig;
|
|
10384
10825
|
/**
|
|
10826
|
+
* @remarks
|
|
10827
|
+
* Route ID. This must be provided when publishing the route of an HTTP API.
|
|
10828
|
+
*
|
|
10385
10829
|
* @example
|
|
10386
10830
|
* hr-cr82undlhtgrl***
|
|
10387
10831
|
*/
|
|
@@ -10414,16 +10858,25 @@ export class DeployHttpApiRequest extends $dara.Model {
|
|
|
10414
10858
|
|
|
10415
10859
|
export class DeployHttpApiResponseBody extends $dara.Model {
|
|
10416
10860
|
/**
|
|
10861
|
+
* @remarks
|
|
10862
|
+
* Response status code.
|
|
10863
|
+
*
|
|
10417
10864
|
* @example
|
|
10418
10865
|
* Ok
|
|
10419
10866
|
*/
|
|
10420
10867
|
code?: string;
|
|
10421
10868
|
/**
|
|
10869
|
+
* @remarks
|
|
10870
|
+
* 响应消息。
|
|
10871
|
+
*
|
|
10422
10872
|
* @example
|
|
10423
10873
|
* success
|
|
10424
10874
|
*/
|
|
10425
10875
|
message?: string;
|
|
10426
10876
|
/**
|
|
10877
|
+
* @remarks
|
|
10878
|
+
* Request ID.
|
|
10879
|
+
*
|
|
10427
10880
|
* @example
|
|
10428
10881
|
* 0C2D1C68-0D93-5561-8EE6-FDB7BF067A30
|
|
10429
10882
|
*/
|
|
@@ -10585,23 +11038,50 @@ export class ExportHttpApiResponse extends $dara.Model {
|
|
|
10585
11038
|
|
|
10586
11039
|
export class GetDashboardRequest extends $dara.Model {
|
|
10587
11040
|
/**
|
|
11041
|
+
* @remarks
|
|
11042
|
+
* zh: Chinese
|
|
11043
|
+
* en: English
|
|
11044
|
+
*
|
|
10588
11045
|
* @example
|
|
10589
11046
|
* zh
|
|
10590
11047
|
*/
|
|
10591
11048
|
acceptLanguage?: string;
|
|
11049
|
+
/**
|
|
11050
|
+
* @remarks
|
|
11051
|
+
* API ID
|
|
11052
|
+
*
|
|
11053
|
+
* @example
|
|
11054
|
+
* api-c9uuekzmia8q2****
|
|
11055
|
+
*/
|
|
10592
11056
|
apiId?: string;
|
|
11057
|
+
/**
|
|
11058
|
+
* @remarks
|
|
11059
|
+
* Filter configuration
|
|
11060
|
+
*/
|
|
10593
11061
|
filter?: GetDashboardRequestFilter;
|
|
10594
11062
|
/**
|
|
11063
|
+
* @remarks
|
|
11064
|
+
* Dashboard name:
|
|
11065
|
+
* - LOG: Access log
|
|
11066
|
+
* - PLUGIN: Plugin log
|
|
11067
|
+
*
|
|
10595
11068
|
* @example
|
|
10596
11069
|
* PLUGIN
|
|
10597
11070
|
*/
|
|
10598
11071
|
name?: string;
|
|
10599
11072
|
/**
|
|
11073
|
+
* @remarks
|
|
11074
|
+
* Plugin ID.
|
|
11075
|
+
*
|
|
10600
11076
|
* @example
|
|
10601
11077
|
* pls-dn82a9djd8z****
|
|
10602
11078
|
*/
|
|
10603
11079
|
pluginClassId?: string;
|
|
10604
11080
|
/**
|
|
11081
|
+
* @remarks
|
|
11082
|
+
* Dashboard source:
|
|
11083
|
+
* - SLS: Log dashboard
|
|
11084
|
+
*
|
|
10605
11085
|
* @example
|
|
10606
11086
|
* SLS
|
|
10607
11087
|
*/
|
|
@@ -10642,23 +11122,50 @@ export class GetDashboardRequest extends $dara.Model {
|
|
|
10642
11122
|
|
|
10643
11123
|
export class GetDashboardShrinkRequest extends $dara.Model {
|
|
10644
11124
|
/**
|
|
11125
|
+
* @remarks
|
|
11126
|
+
* zh: Chinese
|
|
11127
|
+
* en: English
|
|
11128
|
+
*
|
|
10645
11129
|
* @example
|
|
10646
11130
|
* zh
|
|
10647
11131
|
*/
|
|
10648
11132
|
acceptLanguage?: string;
|
|
11133
|
+
/**
|
|
11134
|
+
* @remarks
|
|
11135
|
+
* API ID
|
|
11136
|
+
*
|
|
11137
|
+
* @example
|
|
11138
|
+
* api-c9uuekzmia8q2****
|
|
11139
|
+
*/
|
|
10649
11140
|
apiId?: string;
|
|
11141
|
+
/**
|
|
11142
|
+
* @remarks
|
|
11143
|
+
* Filter configuration
|
|
11144
|
+
*/
|
|
10650
11145
|
filterShrink?: string;
|
|
10651
11146
|
/**
|
|
11147
|
+
* @remarks
|
|
11148
|
+
* Dashboard name:
|
|
11149
|
+
* - LOG: Access log
|
|
11150
|
+
* - PLUGIN: Plugin log
|
|
11151
|
+
*
|
|
10652
11152
|
* @example
|
|
10653
11153
|
* PLUGIN
|
|
10654
11154
|
*/
|
|
10655
11155
|
name?: string;
|
|
10656
11156
|
/**
|
|
11157
|
+
* @remarks
|
|
11158
|
+
* Plugin ID.
|
|
11159
|
+
*
|
|
10657
11160
|
* @example
|
|
10658
11161
|
* pls-dn82a9djd8z****
|
|
10659
11162
|
*/
|
|
10660
11163
|
pluginClassId?: string;
|
|
10661
11164
|
/**
|
|
11165
|
+
* @remarks
|
|
11166
|
+
* Dashboard source:
|
|
11167
|
+
* - SLS: Log dashboard
|
|
11168
|
+
*
|
|
10662
11169
|
* @example
|
|
10663
11170
|
* SLS
|
|
10664
11171
|
*/
|
|
@@ -10696,30 +11203,46 @@ export class GetDashboardShrinkRequest extends $dara.Model {
|
|
|
10696
11203
|
|
|
10697
11204
|
export class GetDashboardResponseBody extends $dara.Model {
|
|
10698
11205
|
/**
|
|
11206
|
+
* @remarks
|
|
11207
|
+
* Response code
|
|
11208
|
+
*
|
|
10699
11209
|
* @example
|
|
10700
11210
|
* 200
|
|
10701
11211
|
*/
|
|
10702
11212
|
code?: number;
|
|
11213
|
+
/**
|
|
11214
|
+
* @remarks
|
|
11215
|
+
* Response data
|
|
11216
|
+
*/
|
|
10703
11217
|
data?: GetDashboardResponseBodyData;
|
|
10704
11218
|
/**
|
|
11219
|
+
* @remarks
|
|
11220
|
+
* Backend error code
|
|
11221
|
+
*
|
|
10705
11222
|
* @example
|
|
10706
11223
|
* Ok
|
|
10707
11224
|
*/
|
|
10708
11225
|
errorCode?: string;
|
|
10709
11226
|
/**
|
|
11227
|
+
* @remarks
|
|
11228
|
+
* Error message
|
|
11229
|
+
*
|
|
10710
11230
|
* @example
|
|
10711
11231
|
* success
|
|
10712
11232
|
*/
|
|
10713
11233
|
message?: string;
|
|
10714
11234
|
/**
|
|
10715
11235
|
* @remarks
|
|
10716
|
-
*
|
|
11236
|
+
* Request ID
|
|
10717
11237
|
*
|
|
10718
11238
|
* @example
|
|
10719
11239
|
* 2F46B9E7-67EF-5C8A-BA52-D38D5B32AF2C
|
|
10720
11240
|
*/
|
|
10721
11241
|
requestId?: string;
|
|
10722
11242
|
/**
|
|
11243
|
+
* @remarks
|
|
11244
|
+
* Whether the request was successful
|
|
11245
|
+
*
|
|
10723
11246
|
* @example
|
|
10724
11247
|
* true
|
|
10725
11248
|
*/
|
|
@@ -10794,6 +11317,13 @@ export class GetDashboardResponse extends $dara.Model {
|
|
|
10794
11317
|
}
|
|
10795
11318
|
|
|
10796
11319
|
export class GetDomainRequest extends $dara.Model {
|
|
11320
|
+
/**
|
|
11321
|
+
* @remarks
|
|
11322
|
+
* Indicates whether include domain related resource information.
|
|
11323
|
+
*
|
|
11324
|
+
* @example
|
|
11325
|
+
* true
|
|
11326
|
+
*/
|
|
10797
11327
|
withStatistics?: boolean;
|
|
10798
11328
|
static names(): { [key: string]: string } {
|
|
10799
11329
|
return {
|
|
@@ -11428,12 +11958,22 @@ export class GetHttpApiRouteResponse extends $dara.Model {
|
|
|
11428
11958
|
|
|
11429
11959
|
export class GetPolicyResponseBody extends $dara.Model {
|
|
11430
11960
|
/**
|
|
11961
|
+
* @remarks
|
|
11962
|
+
* Response code.
|
|
11963
|
+
*
|
|
11431
11964
|
* @example
|
|
11432
11965
|
* Ok
|
|
11433
11966
|
*/
|
|
11434
11967
|
code?: string;
|
|
11968
|
+
/**
|
|
11969
|
+
* @remarks
|
|
11970
|
+
* Response data.
|
|
11971
|
+
*/
|
|
11435
11972
|
data?: PolicyDetailInfo;
|
|
11436
11973
|
/**
|
|
11974
|
+
* @remarks
|
|
11975
|
+
* Response message.
|
|
11976
|
+
*
|
|
11437
11977
|
* @example
|
|
11438
11978
|
* success
|
|
11439
11979
|
*/
|
|
@@ -11513,19 +12053,29 @@ export class GetPolicyResponse extends $dara.Model {
|
|
|
11513
12053
|
|
|
11514
12054
|
export class GetPolicyAttachmentResponseBody extends $dara.Model {
|
|
11515
12055
|
/**
|
|
12056
|
+
* @remarks
|
|
12057
|
+
* Response code.
|
|
12058
|
+
*
|
|
11516
12059
|
* @example
|
|
11517
12060
|
* 200
|
|
11518
12061
|
*/
|
|
11519
12062
|
code?: string;
|
|
12063
|
+
/**
|
|
12064
|
+
* @remarks
|
|
12065
|
+
* Response data.
|
|
12066
|
+
*/
|
|
11520
12067
|
data?: GetPolicyAttachmentResponseBodyData;
|
|
11521
12068
|
/**
|
|
12069
|
+
* @remarks
|
|
12070
|
+
* Response message.
|
|
12071
|
+
*
|
|
11522
12072
|
* @example
|
|
11523
12073
|
* success
|
|
11524
12074
|
*/
|
|
11525
12075
|
message?: string;
|
|
11526
12076
|
/**
|
|
11527
12077
|
* @remarks
|
|
11528
|
-
*
|
|
12078
|
+
* ID of the request
|
|
11529
12079
|
*
|
|
11530
12080
|
* @example
|
|
11531
12081
|
* 2C3B9A12-3868-5EB9-fBEA-F99E03DD1***
|
|
@@ -11598,17 +12148,30 @@ export class GetPolicyAttachmentResponse extends $dara.Model {
|
|
|
11598
12148
|
|
|
11599
12149
|
export class GetResourceOverviewResponseBody extends $dara.Model {
|
|
11600
12150
|
/**
|
|
12151
|
+
* @remarks
|
|
12152
|
+
* Response status code.
|
|
12153
|
+
*
|
|
11601
12154
|
* @example
|
|
11602
12155
|
* Ok
|
|
11603
12156
|
*/
|
|
11604
12157
|
code?: string;
|
|
12158
|
+
/**
|
|
12159
|
+
* @remarks
|
|
12160
|
+
* Resource information.
|
|
12161
|
+
*/
|
|
11605
12162
|
data?: GetResourceOverviewResponseBodyData;
|
|
11606
12163
|
/**
|
|
12164
|
+
* @remarks
|
|
12165
|
+
* Response message.
|
|
12166
|
+
*
|
|
11607
12167
|
* @example
|
|
11608
12168
|
* success
|
|
11609
12169
|
*/
|
|
11610
12170
|
message?: string;
|
|
11611
12171
|
/**
|
|
12172
|
+
* @remarks
|
|
12173
|
+
* Request ID.
|
|
12174
|
+
*
|
|
11612
12175
|
* @example
|
|
11613
12176
|
* DD19A442-93C5-5C97-AFA0-B9C57EBD781B
|
|
11614
12177
|
*/
|
|
@@ -11680,17 +12243,30 @@ export class GetResourceOverviewResponse extends $dara.Model {
|
|
|
11680
12243
|
|
|
11681
12244
|
export class GetServiceResponseBody extends $dara.Model {
|
|
11682
12245
|
/**
|
|
12246
|
+
* @remarks
|
|
12247
|
+
* Response status code.
|
|
12248
|
+
*
|
|
11683
12249
|
* @example
|
|
11684
12250
|
* Ok
|
|
11685
12251
|
*/
|
|
11686
12252
|
code?: string;
|
|
12253
|
+
/**
|
|
12254
|
+
* @remarks
|
|
12255
|
+
* Service details data.
|
|
12256
|
+
*/
|
|
11687
12257
|
data?: Service;
|
|
11688
12258
|
/**
|
|
12259
|
+
* @remarks
|
|
12260
|
+
* Response message.
|
|
12261
|
+
*
|
|
11689
12262
|
* @example
|
|
11690
12263
|
* success
|
|
11691
12264
|
*/
|
|
11692
12265
|
message?: string;
|
|
11693
12266
|
/**
|
|
12267
|
+
* @remarks
|
|
12268
|
+
* Request ID.
|
|
12269
|
+
*
|
|
11694
12270
|
* @example
|
|
11695
12271
|
* 8FA9BB94-915B-5299-A694-49FCC7F5DD00
|
|
11696
12272
|
*/
|
|
@@ -11762,6 +12338,11 @@ export class GetServiceResponse extends $dara.Model {
|
|
|
11762
12338
|
|
|
11763
12339
|
export class GetTraceConfigRequest extends $dara.Model {
|
|
11764
12340
|
/**
|
|
12341
|
+
* @remarks
|
|
12342
|
+
* Language Type:
|
|
12343
|
+
* zh: Chinese
|
|
12344
|
+
* en: English
|
|
12345
|
+
*
|
|
11765
12346
|
* @example
|
|
11766
12347
|
* zh
|
|
11767
12348
|
*/
|
|
@@ -11789,22 +12370,40 @@ export class GetTraceConfigRequest extends $dara.Model {
|
|
|
11789
12370
|
|
|
11790
12371
|
export class GetTraceConfigResponseBody extends $dara.Model {
|
|
11791
12372
|
/**
|
|
12373
|
+
* @remarks
|
|
12374
|
+
* Response Code
|
|
12375
|
+
*
|
|
11792
12376
|
* @example
|
|
11793
12377
|
* 200
|
|
11794
12378
|
*/
|
|
11795
12379
|
code?: number;
|
|
12380
|
+
/**
|
|
12381
|
+
* @remarks
|
|
12382
|
+
* Response Data
|
|
12383
|
+
*/
|
|
11796
12384
|
data?: GetTraceConfigResponseBodyData;
|
|
11797
12385
|
/**
|
|
12386
|
+
* @remarks
|
|
12387
|
+
* Error Message
|
|
12388
|
+
*
|
|
11798
12389
|
* @example
|
|
11799
12390
|
* success
|
|
11800
12391
|
*/
|
|
11801
12392
|
message?: string;
|
|
11802
12393
|
/**
|
|
12394
|
+
* @remarks
|
|
12395
|
+
* Request ID
|
|
12396
|
+
*
|
|
11803
12397
|
* @example
|
|
11804
12398
|
* 2F46B9E7-67EF-5C8A-BA52-D38D5B32AF2C
|
|
11805
12399
|
*/
|
|
11806
12400
|
requestId?: string;
|
|
11807
12401
|
/**
|
|
12402
|
+
* @remarks
|
|
12403
|
+
* Boolean Request Result, with the following values:
|
|
12404
|
+
* true: Request succeeded.
|
|
12405
|
+
* false: Request failed.
|
|
12406
|
+
*
|
|
11808
12407
|
* @example
|
|
11809
12408
|
* true
|
|
11810
12409
|
*/
|
|
@@ -12933,50 +13532,109 @@ export class ListHttpApiOperationsResponse extends $dara.Model {
|
|
|
12933
13532
|
}
|
|
12934
13533
|
|
|
12935
13534
|
export class ListHttpApiRoutesRequest extends $dara.Model {
|
|
13535
|
+
/**
|
|
13536
|
+
* @remarks
|
|
13537
|
+
* Filter the interface list based on a specific consumer authorization rule ID. The interface list in the response will only include authorized interfaces.
|
|
13538
|
+
*
|
|
13539
|
+
* @example
|
|
13540
|
+
* cas-xxx
|
|
13541
|
+
*/
|
|
12936
13542
|
consumerAuthorizationRuleId?: string;
|
|
12937
13543
|
/**
|
|
13544
|
+
* @remarks
|
|
13545
|
+
* Deployment status of the route.
|
|
13546
|
+
*
|
|
12938
13547
|
* @example
|
|
12939
13548
|
* NotDeployed
|
|
12940
13549
|
*/
|
|
12941
13550
|
deployStatuses?: string;
|
|
13551
|
+
/**
|
|
13552
|
+
* @remarks
|
|
13553
|
+
* Filter route information by domain ID.
|
|
13554
|
+
*
|
|
13555
|
+
* @example
|
|
13556
|
+
* d-xxx
|
|
13557
|
+
*/
|
|
12942
13558
|
domainId?: string;
|
|
12943
13559
|
/**
|
|
13560
|
+
* @remarks
|
|
13561
|
+
* Environment ID.
|
|
13562
|
+
*
|
|
12944
13563
|
* @example
|
|
12945
13564
|
* env-cpqnr6tlhtgubc***
|
|
12946
13565
|
*/
|
|
12947
13566
|
environmentId?: string;
|
|
12948
13567
|
/**
|
|
13568
|
+
* @remarks
|
|
13569
|
+
* Cloud-native API Gateway ID.
|
|
13570
|
+
*
|
|
12949
13571
|
* @example
|
|
12950
13572
|
* gw-cpv4sqdl****
|
|
12951
13573
|
*/
|
|
12952
13574
|
gatewayId?: string;
|
|
12953
13575
|
/**
|
|
13576
|
+
* @remarks
|
|
13577
|
+
* Route name.
|
|
13578
|
+
*
|
|
12954
13579
|
* @example
|
|
12955
13580
|
* itemcenter-gateway
|
|
12956
13581
|
*/
|
|
12957
13582
|
name?: string;
|
|
12958
13583
|
/**
|
|
13584
|
+
* @remarks
|
|
13585
|
+
* Fuzzy search by route name.
|
|
13586
|
+
*
|
|
12959
13587
|
* @example
|
|
12960
13588
|
* item
|
|
12961
13589
|
*/
|
|
12962
13590
|
nameLike?: string;
|
|
12963
13591
|
/**
|
|
13592
|
+
* @remarks
|
|
13593
|
+
* Page number, starting from 1. Default is 1 if not specified.
|
|
13594
|
+
*
|
|
12964
13595
|
* @example
|
|
12965
13596
|
* 1
|
|
12966
13597
|
*/
|
|
12967
13598
|
pageNumber?: number;
|
|
12968
13599
|
/**
|
|
13600
|
+
* @remarks
|
|
13601
|
+
* Page size, valid range [1, 100]. Default is 10 if not specified.
|
|
13602
|
+
*
|
|
12969
13603
|
* @example
|
|
12970
13604
|
* 10
|
|
12971
13605
|
*/
|
|
12972
13606
|
pageSize?: number;
|
|
12973
13607
|
/**
|
|
13608
|
+
* @remarks
|
|
13609
|
+
* Fuzzy search by route path.
|
|
13610
|
+
*
|
|
12974
13611
|
* @example
|
|
12975
13612
|
* /v1
|
|
12976
13613
|
*/
|
|
12977
13614
|
pathLike?: string;
|
|
13615
|
+
/**
|
|
13616
|
+
* @remarks
|
|
13617
|
+
* The response includes consumer authorization information.
|
|
13618
|
+
*
|
|
13619
|
+
* @example
|
|
13620
|
+
* true
|
|
13621
|
+
*/
|
|
12978
13622
|
withAuthPolicyInfo?: boolean;
|
|
13623
|
+
/**
|
|
13624
|
+
* @remarks
|
|
13625
|
+
* Each route information in the response carries the list of authorization rules for the specified consumer ID.
|
|
13626
|
+
*
|
|
13627
|
+
* @example
|
|
13628
|
+
* cs-xxx
|
|
13629
|
+
*/
|
|
12979
13630
|
withConsumerInfoById?: string;
|
|
13631
|
+
/**
|
|
13632
|
+
* @remarks
|
|
13633
|
+
* Each route information in the response carries the attachment information for the specified plugin ID.
|
|
13634
|
+
*
|
|
13635
|
+
* @example
|
|
13636
|
+
* pl-xxx
|
|
13637
|
+
*/
|
|
12980
13638
|
withPluginAttachmentByPluginId?: string;
|
|
12981
13639
|
static names(): { [key: string]: string } {
|
|
12982
13640
|
return {
|
|
@@ -13025,17 +13683,30 @@ export class ListHttpApiRoutesRequest extends $dara.Model {
|
|
|
13025
13683
|
|
|
13026
13684
|
export class ListHttpApiRoutesResponseBody extends $dara.Model {
|
|
13027
13685
|
/**
|
|
13686
|
+
* @remarks
|
|
13687
|
+
* Response status code.
|
|
13688
|
+
*
|
|
13028
13689
|
* @example
|
|
13029
13690
|
* Ok
|
|
13030
13691
|
*/
|
|
13031
13692
|
code?: string;
|
|
13693
|
+
/**
|
|
13694
|
+
* @remarks
|
|
13695
|
+
* Response data.
|
|
13696
|
+
*/
|
|
13032
13697
|
data?: ListHttpApiRoutesResponseBodyData;
|
|
13033
13698
|
/**
|
|
13699
|
+
* @remarks
|
|
13700
|
+
* Response message.
|
|
13701
|
+
*
|
|
13034
13702
|
* @example
|
|
13035
13703
|
* success
|
|
13036
13704
|
*/
|
|
13037
13705
|
message?: string;
|
|
13038
13706
|
/**
|
|
13707
|
+
* @remarks
|
|
13708
|
+
* Request ID.
|
|
13709
|
+
*
|
|
13039
13710
|
* @example
|
|
13040
13711
|
* CBEEB8C1-108E-50F0-9BEA-DED79553C309
|
|
13041
13712
|
*/
|
|
@@ -13132,7 +13803,7 @@ export class ListHttpApisRequest extends $dara.Model {
|
|
|
13132
13803
|
name?: string;
|
|
13133
13804
|
/**
|
|
13134
13805
|
* @remarks
|
|
13135
|
-
* Page number, starting from 1, default is 1 if not
|
|
13806
|
+
* Page number, starting from 1, default is 1 if not specified.
|
|
13136
13807
|
*
|
|
13137
13808
|
* @example
|
|
13138
13809
|
* 1
|
|
@@ -13140,16 +13811,23 @@ export class ListHttpApisRequest extends $dara.Model {
|
|
|
13140
13811
|
pageNumber?: number;
|
|
13141
13812
|
/**
|
|
13142
13813
|
* @remarks
|
|
13143
|
-
* Page size, valid range [1, 100], default is 10 if not
|
|
13814
|
+
* Page size, valid range [1, 100], default is 10 if not specified.
|
|
13144
13815
|
*
|
|
13145
13816
|
* @example
|
|
13146
13817
|
* 10
|
|
13147
13818
|
*/
|
|
13148
13819
|
pageSize?: number;
|
|
13820
|
+
/**
|
|
13821
|
+
* @remarks
|
|
13822
|
+
* Resource group ID.
|
|
13823
|
+
*
|
|
13824
|
+
* @example
|
|
13825
|
+
* rg-ahr5uil8raz0rq3b
|
|
13826
|
+
*/
|
|
13149
13827
|
resourceGroupId?: string;
|
|
13150
13828
|
/**
|
|
13151
13829
|
* @remarks
|
|
13152
|
-
* Type of HTTP API.
|
|
13830
|
+
* Type of HTTP API. Multiple types can be passed, separated by ",".
|
|
13153
13831
|
* - Http
|
|
13154
13832
|
* - Rest
|
|
13155
13833
|
* - WebSocket
|
|
@@ -13161,12 +13839,19 @@ export class ListHttpApisRequest extends $dara.Model {
|
|
|
13161
13839
|
types?: string;
|
|
13162
13840
|
/**
|
|
13163
13841
|
* @remarks
|
|
13164
|
-
* Each API information in the response carries consumer authentication policy information
|
|
13842
|
+
* Each API information in the response carries consumer authentication policy information for the specified environment ID.
|
|
13165
13843
|
*
|
|
13166
13844
|
* @example
|
|
13167
13845
|
* env-xxx
|
|
13168
13846
|
*/
|
|
13169
13847
|
withAuthPolicyInEnvironmentId?: string;
|
|
13848
|
+
/**
|
|
13849
|
+
* @remarks
|
|
13850
|
+
* Whether the authentication policy is enabled.
|
|
13851
|
+
*
|
|
13852
|
+
* @example
|
|
13853
|
+
* true
|
|
13854
|
+
*/
|
|
13170
13855
|
withAuthPolicyList?: boolean;
|
|
13171
13856
|
/**
|
|
13172
13857
|
* @remarks
|
|
@@ -13176,9 +13861,37 @@ export class ListHttpApisRequest extends $dara.Model {
|
|
|
13176
13861
|
* cs-xxx
|
|
13177
13862
|
*/
|
|
13178
13863
|
withConsumerInfoById?: string;
|
|
13864
|
+
/**
|
|
13865
|
+
* @remarks
|
|
13866
|
+
* Environment information
|
|
13867
|
+
*
|
|
13868
|
+
* @example
|
|
13869
|
+
* true
|
|
13870
|
+
*/
|
|
13179
13871
|
withEnvironmentInfo?: boolean;
|
|
13872
|
+
/**
|
|
13873
|
+
* @remarks
|
|
13874
|
+
* Environment ID
|
|
13875
|
+
*
|
|
13876
|
+
* @example
|
|
13877
|
+
* env-ctovu5mm1hksb4q8ln40
|
|
13878
|
+
*/
|
|
13180
13879
|
withEnvironmentInfoById?: string;
|
|
13880
|
+
/**
|
|
13881
|
+
* @remarks
|
|
13882
|
+
* Ingress information
|
|
13883
|
+
*
|
|
13884
|
+
* @example
|
|
13885
|
+
* false
|
|
13886
|
+
*/
|
|
13181
13887
|
withIngressInfo?: boolean;
|
|
13888
|
+
/**
|
|
13889
|
+
* @remarks
|
|
13890
|
+
* Plugin ID, used to get plugin release information based on this ID.
|
|
13891
|
+
*
|
|
13892
|
+
* @example
|
|
13893
|
+
* pl-ct9qn3um1hktue8dqol0
|
|
13894
|
+
*/
|
|
13182
13895
|
withPluginAttachmentByPluginId?: string;
|
|
13183
13896
|
static names(): { [key: string]: string } {
|
|
13184
13897
|
return {
|
|
@@ -13324,26 +14037,52 @@ export class ListHttpApisResponse extends $dara.Model {
|
|
|
13324
14037
|
|
|
13325
14038
|
export class ListPolicyClassesRequest extends $dara.Model {
|
|
13326
14039
|
/**
|
|
14040
|
+
* @remarks
|
|
14041
|
+
* Types of attachment points supported by the policy.
|
|
14042
|
+
*
|
|
14043
|
+
* - HttpApi: HttpApi.
|
|
14044
|
+
* - Operation: Operation of HttpApi.
|
|
14045
|
+
* - GatewayRoute: Gateway route.
|
|
14046
|
+
* - GatewayService: Gateway service.
|
|
14047
|
+
* - GatewayServicePort: Gateway service port.
|
|
14048
|
+
* - Domain: Gateway domain.
|
|
14049
|
+
* - Gateway: Gateway.
|
|
14050
|
+
*
|
|
13327
14051
|
* @example
|
|
13328
14052
|
* Operation
|
|
13329
14053
|
*/
|
|
13330
14054
|
attachResourceType?: string;
|
|
13331
14055
|
/**
|
|
14056
|
+
* @remarks
|
|
14057
|
+
* Direction of the policy.
|
|
14058
|
+
* - Outbound: OutBound.
|
|
14059
|
+
* - Inbound: InBound.
|
|
14060
|
+
* - Both directions: Both.
|
|
14061
|
+
*
|
|
13332
14062
|
* @example
|
|
13333
14063
|
* InBound
|
|
13334
14064
|
*/
|
|
13335
14065
|
direction?: string;
|
|
13336
14066
|
/**
|
|
14067
|
+
* @remarks
|
|
14068
|
+
* Page number, default is 1.
|
|
14069
|
+
*
|
|
13337
14070
|
* @example
|
|
13338
14071
|
* 1
|
|
13339
14072
|
*/
|
|
13340
14073
|
pageNumber?: number;
|
|
13341
14074
|
/**
|
|
14075
|
+
* @remarks
|
|
14076
|
+
* Page size
|
|
14077
|
+
*
|
|
13342
14078
|
* @example
|
|
13343
14079
|
* 10
|
|
13344
14080
|
*/
|
|
13345
14081
|
pageSize?: number;
|
|
13346
14082
|
/**
|
|
14083
|
+
* @remarks
|
|
14084
|
+
* Type of the policy template.
|
|
14085
|
+
*
|
|
13347
14086
|
* @example
|
|
13348
14087
|
* FlowControl
|
|
13349
14088
|
*/
|
|
@@ -13379,17 +14118,30 @@ export class ListPolicyClassesRequest extends $dara.Model {
|
|
|
13379
14118
|
|
|
13380
14119
|
export class ListPolicyClassesResponseBody extends $dara.Model {
|
|
13381
14120
|
/**
|
|
14121
|
+
* @remarks
|
|
14122
|
+
* Response code.
|
|
14123
|
+
*
|
|
13382
14124
|
* @example
|
|
13383
14125
|
* Ok
|
|
13384
14126
|
*/
|
|
13385
14127
|
code?: string;
|
|
14128
|
+
/**
|
|
14129
|
+
* @remarks
|
|
14130
|
+
* Policy template information.
|
|
14131
|
+
*/
|
|
13386
14132
|
data?: ListPolicyClassesResponseBodyData;
|
|
13387
14133
|
/**
|
|
14134
|
+
* @remarks
|
|
14135
|
+
* ResponseMessage
|
|
14136
|
+
*
|
|
13388
14137
|
* @example
|
|
13389
14138
|
* success
|
|
13390
14139
|
*/
|
|
13391
14140
|
message?: string;
|
|
13392
14141
|
/**
|
|
14142
|
+
* @remarks
|
|
14143
|
+
* Request ID.
|
|
14144
|
+
*
|
|
13393
14145
|
* @example
|
|
13394
14146
|
* 23B45FA9-7208-5E55-B5CE-B6B2567DD822
|
|
13395
14147
|
*/
|
|
@@ -13461,27 +14213,54 @@ export class ListPolicyClassesResponse extends $dara.Model {
|
|
|
13461
14213
|
|
|
13462
14214
|
export class ListServicesRequest extends $dara.Model {
|
|
13463
14215
|
/**
|
|
14216
|
+
* @remarks
|
|
14217
|
+
* Cloud-native API Gateway ID.
|
|
14218
|
+
*
|
|
13464
14219
|
* @example
|
|
13465
14220
|
* gw-cpv4sqdl*****
|
|
13466
14221
|
*/
|
|
13467
14222
|
gatewayId?: string;
|
|
13468
14223
|
/**
|
|
14224
|
+
* @remarks
|
|
14225
|
+
* Exact query by service name.
|
|
14226
|
+
*
|
|
13469
14227
|
* @example
|
|
13470
14228
|
* user-service
|
|
13471
14229
|
*/
|
|
13472
14230
|
name?: string;
|
|
13473
14231
|
/**
|
|
14232
|
+
* @remarks
|
|
14233
|
+
* Page number, starting from 1. Default is 1 if not specified.
|
|
14234
|
+
*
|
|
13474
14235
|
* @example
|
|
13475
14236
|
* 1
|
|
13476
14237
|
*/
|
|
13477
14238
|
pageNumber?: number;
|
|
13478
14239
|
/**
|
|
14240
|
+
* @remarks
|
|
14241
|
+
* Page size, valid range [1, 100]. Default is 10 if not specified.
|
|
14242
|
+
*
|
|
13479
14243
|
* @example
|
|
13480
14244
|
* 10
|
|
13481
14245
|
*/
|
|
13482
14246
|
pageSize?: number;
|
|
14247
|
+
/**
|
|
14248
|
+
* @remarks
|
|
14249
|
+
* Resource group ID.
|
|
14250
|
+
*
|
|
14251
|
+
* @example
|
|
14252
|
+
* rg-acfmxxe5rc6cvla
|
|
14253
|
+
*/
|
|
13483
14254
|
resourceGroupId?: string;
|
|
13484
14255
|
/**
|
|
14256
|
+
* @remarks
|
|
14257
|
+
* Query by service source type. Service sources:
|
|
14258
|
+
* - MSE_NACOS: Services from MSE Nacos.
|
|
14259
|
+
* - K8S: Services from K8S clusters in container services.
|
|
14260
|
+
* - FC3: Services from function computing.
|
|
14261
|
+
* - VIP: Services from a fixed address.
|
|
14262
|
+
* - DNS: Services from a domain name.
|
|
14263
|
+
*
|
|
13485
14264
|
* @example
|
|
13486
14265
|
* MSE_NACOS
|
|
13487
14266
|
*/
|
|
@@ -13519,17 +14298,30 @@ export class ListServicesRequest extends $dara.Model {
|
|
|
13519
14298
|
|
|
13520
14299
|
export class ListServicesResponseBody extends $dara.Model {
|
|
13521
14300
|
/**
|
|
14301
|
+
* @remarks
|
|
14302
|
+
* Response status code.
|
|
14303
|
+
*
|
|
13522
14304
|
* @example
|
|
13523
14305
|
* Ok
|
|
13524
14306
|
*/
|
|
13525
14307
|
code?: string;
|
|
14308
|
+
/**
|
|
14309
|
+
* @remarks
|
|
14310
|
+
* Response data.
|
|
14311
|
+
*/
|
|
13526
14312
|
data?: ListServicesResponseBodyData;
|
|
13527
14313
|
/**
|
|
14314
|
+
* @remarks
|
|
14315
|
+
* Response message.
|
|
14316
|
+
*
|
|
13528
14317
|
* @example
|
|
13529
14318
|
* success
|
|
13530
14319
|
*/
|
|
13531
14320
|
message?: string;
|
|
13532
14321
|
/**
|
|
14322
|
+
* @remarks
|
|
14323
|
+
* Request ID.
|
|
14324
|
+
*
|
|
13533
14325
|
* @example
|
|
13534
14326
|
* 585657D2-1C20-5B8A-AF17-D727C6490BE4
|
|
13535
14327
|
*/
|
|
@@ -13601,21 +14393,33 @@ export class ListServicesResponse extends $dara.Model {
|
|
|
13601
14393
|
|
|
13602
14394
|
export class ListSslCertsRequest extends $dara.Model {
|
|
13603
14395
|
/**
|
|
14396
|
+
* @remarks
|
|
14397
|
+
* Name matching keyword.
|
|
14398
|
+
*
|
|
13604
14399
|
* @example
|
|
13605
14400
|
* ali
|
|
13606
14401
|
*/
|
|
13607
14402
|
certNameLike?: string;
|
|
13608
14403
|
/**
|
|
14404
|
+
* @remarks
|
|
14405
|
+
* Domain name.
|
|
14406
|
+
*
|
|
13609
14407
|
* @example
|
|
13610
14408
|
* fun.iot.evideocloud.com.cn
|
|
13611
14409
|
*/
|
|
13612
14410
|
domainName?: string;
|
|
13613
14411
|
/**
|
|
14412
|
+
* @remarks
|
|
14413
|
+
* Page number, default is 1
|
|
14414
|
+
*
|
|
13614
14415
|
* @example
|
|
13615
14416
|
* 1
|
|
13616
14417
|
*/
|
|
13617
14418
|
pageNumber?: number;
|
|
13618
14419
|
/**
|
|
14420
|
+
* @remarks
|
|
14421
|
+
* Page size, default is 10
|
|
14422
|
+
*
|
|
13619
14423
|
* @example
|
|
13620
14424
|
* 10
|
|
13621
14425
|
*/
|
|
@@ -13649,17 +14453,30 @@ export class ListSslCertsRequest extends $dara.Model {
|
|
|
13649
14453
|
|
|
13650
14454
|
export class ListSslCertsResponseBody extends $dara.Model {
|
|
13651
14455
|
/**
|
|
14456
|
+
* @remarks
|
|
14457
|
+
* Response status code.
|
|
14458
|
+
*
|
|
13652
14459
|
* @example
|
|
13653
14460
|
* Ok
|
|
13654
14461
|
*/
|
|
13655
14462
|
code?: string;
|
|
14463
|
+
/**
|
|
14464
|
+
* @remarks
|
|
14465
|
+
* Returned data
|
|
14466
|
+
*/
|
|
13656
14467
|
data?: ListSslCertsResponseBodyData;
|
|
13657
14468
|
/**
|
|
14469
|
+
* @remarks
|
|
14470
|
+
* Response message.
|
|
14471
|
+
*
|
|
13658
14472
|
* @example
|
|
13659
14473
|
* success
|
|
13660
14474
|
*/
|
|
13661
14475
|
message?: string;
|
|
13662
14476
|
/**
|
|
14477
|
+
* @remarks
|
|
14478
|
+
* Request ID.
|
|
14479
|
+
*
|
|
13663
14480
|
* @example
|
|
13664
14481
|
* AADF7197-3384-52AF-A2DE-A66696734129
|
|
13665
14482
|
*/
|
|
@@ -13731,17 +14548,30 @@ export class ListSslCertsResponse extends $dara.Model {
|
|
|
13731
14548
|
|
|
13732
14549
|
export class ListZonesResponseBody extends $dara.Model {
|
|
13733
14550
|
/**
|
|
14551
|
+
* @remarks
|
|
14552
|
+
* Response status code.
|
|
14553
|
+
*
|
|
13734
14554
|
* @example
|
|
13735
14555
|
* Ok
|
|
13736
14556
|
*/
|
|
13737
14557
|
code?: string;
|
|
14558
|
+
/**
|
|
14559
|
+
* @remarks
|
|
14560
|
+
* Returned data.
|
|
14561
|
+
*/
|
|
13738
14562
|
data?: ListZonesResponseBodyData;
|
|
13739
14563
|
/**
|
|
14564
|
+
* @remarks
|
|
14565
|
+
* Response message.
|
|
14566
|
+
*
|
|
13740
14567
|
* @example
|
|
13741
14568
|
* success
|
|
13742
14569
|
*/
|
|
13743
14570
|
message?: string;
|
|
13744
14571
|
/**
|
|
14572
|
+
* @remarks
|
|
14573
|
+
* Request ID.
|
|
14574
|
+
*
|
|
13745
14575
|
* @example
|
|
13746
14576
|
* E8079207-B651-592A-A565-23E9EE5673B0
|
|
13747
14577
|
*/
|
|
@@ -13896,9 +14726,145 @@ export class RestartGatewayResponse extends $dara.Model {
|
|
|
13896
14726
|
}
|
|
13897
14727
|
}
|
|
13898
14728
|
|
|
14729
|
+
export class UndeployHttpApiRequest extends $dara.Model {
|
|
14730
|
+
/**
|
|
14731
|
+
* @example
|
|
14732
|
+
* env-cqsmtellhtgvo***
|
|
14733
|
+
*/
|
|
14734
|
+
environmentId?: string;
|
|
14735
|
+
/**
|
|
14736
|
+
* @example
|
|
14737
|
+
* hr-cr82undlhtgrle***
|
|
14738
|
+
*/
|
|
14739
|
+
routeId?: string;
|
|
14740
|
+
static names(): { [key: string]: string } {
|
|
14741
|
+
return {
|
|
14742
|
+
environmentId: 'environmentId',
|
|
14743
|
+
routeId: 'routeId',
|
|
14744
|
+
};
|
|
14745
|
+
}
|
|
14746
|
+
|
|
14747
|
+
static types(): { [key: string]: any } {
|
|
14748
|
+
return {
|
|
14749
|
+
environmentId: 'string',
|
|
14750
|
+
routeId: 'string',
|
|
14751
|
+
};
|
|
14752
|
+
}
|
|
14753
|
+
|
|
14754
|
+
validate() {
|
|
14755
|
+
super.validate();
|
|
14756
|
+
}
|
|
14757
|
+
|
|
14758
|
+
constructor(map?: { [key: string]: any }) {
|
|
14759
|
+
super(map);
|
|
14760
|
+
}
|
|
14761
|
+
}
|
|
14762
|
+
|
|
14763
|
+
export class UndeployHttpApiResponseBody extends $dara.Model {
|
|
14764
|
+
/**
|
|
14765
|
+
* @example
|
|
14766
|
+
* Ok
|
|
14767
|
+
*/
|
|
14768
|
+
code?: string;
|
|
14769
|
+
/**
|
|
14770
|
+
* @example
|
|
14771
|
+
* success
|
|
14772
|
+
*/
|
|
14773
|
+
message?: string;
|
|
14774
|
+
/**
|
|
14775
|
+
* @example
|
|
14776
|
+
* 3ACFC7A7-45A9-58CF-B2D5-765B60254695
|
|
14777
|
+
*/
|
|
14778
|
+
requestId?: string;
|
|
14779
|
+
static names(): { [key: string]: string } {
|
|
14780
|
+
return {
|
|
14781
|
+
code: 'code',
|
|
14782
|
+
message: 'message',
|
|
14783
|
+
requestId: 'requestId',
|
|
14784
|
+
};
|
|
14785
|
+
}
|
|
14786
|
+
|
|
14787
|
+
static types(): { [key: string]: any } {
|
|
14788
|
+
return {
|
|
14789
|
+
code: 'string',
|
|
14790
|
+
message: 'string',
|
|
14791
|
+
requestId: 'string',
|
|
14792
|
+
};
|
|
14793
|
+
}
|
|
14794
|
+
|
|
14795
|
+
validate() {
|
|
14796
|
+
super.validate();
|
|
14797
|
+
}
|
|
14798
|
+
|
|
14799
|
+
constructor(map?: { [key: string]: any }) {
|
|
14800
|
+
super(map);
|
|
14801
|
+
}
|
|
14802
|
+
}
|
|
14803
|
+
|
|
14804
|
+
export class UndeployHttpApiResponse extends $dara.Model {
|
|
14805
|
+
headers?: { [key: string]: string };
|
|
14806
|
+
statusCode?: number;
|
|
14807
|
+
body?: UndeployHttpApiResponseBody;
|
|
14808
|
+
static names(): { [key: string]: string } {
|
|
14809
|
+
return {
|
|
14810
|
+
headers: 'headers',
|
|
14811
|
+
statusCode: 'statusCode',
|
|
14812
|
+
body: 'body',
|
|
14813
|
+
};
|
|
14814
|
+
}
|
|
14815
|
+
|
|
14816
|
+
static types(): { [key: string]: any } {
|
|
14817
|
+
return {
|
|
14818
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
14819
|
+
statusCode: 'number',
|
|
14820
|
+
body: UndeployHttpApiResponseBody,
|
|
14821
|
+
};
|
|
14822
|
+
}
|
|
14823
|
+
|
|
14824
|
+
validate() {
|
|
14825
|
+
if(this.headers) {
|
|
14826
|
+
$dara.Model.validateMap(this.headers);
|
|
14827
|
+
}
|
|
14828
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
14829
|
+
(this.body as any).validate();
|
|
14830
|
+
}
|
|
14831
|
+
super.validate();
|
|
14832
|
+
}
|
|
14833
|
+
|
|
14834
|
+
constructor(map?: { [key: string]: any }) {
|
|
14835
|
+
super(map);
|
|
14836
|
+
}
|
|
14837
|
+
}
|
|
14838
|
+
|
|
13899
14839
|
export class UpdateDomainRequest extends $dara.Model {
|
|
14840
|
+
/**
|
|
14841
|
+
* @remarks
|
|
14842
|
+
* CA certificate identifier
|
|
14843
|
+
*
|
|
14844
|
+
* @example
|
|
14845
|
+
* 1ef1da5f-38ed-69b3-****-037781890265
|
|
14846
|
+
*/
|
|
13900
14847
|
caCertIdentifier?: string;
|
|
14848
|
+
/**
|
|
14849
|
+
* @remarks
|
|
14850
|
+
* Certificate identifier
|
|
14851
|
+
*
|
|
14852
|
+
* @example
|
|
14853
|
+
* 1ef1da5f-38ed-69b3-****-037781890265
|
|
14854
|
+
*/
|
|
13901
14855
|
certIdentifier?: string;
|
|
14856
|
+
/**
|
|
14857
|
+
* @remarks
|
|
14858
|
+
* Client CA Certificate
|
|
14859
|
+
*
|
|
14860
|
+
* @example
|
|
14861
|
+
* -----BEGIN CERTIFICATE-----
|
|
14862
|
+
* MIIFBTCCAu2gAwIBAgIUORLpYPGSFD1YOP6PMbE7Wd/mpTQwDQYJKoZIhvcNAQEL
|
|
14863
|
+
* BQAwE************************************************2VwVOJ2gqX3
|
|
14864
|
+
* YuGaxvIbDy0iQJ1GMerPRyzJTeVEtdIKT29u0PdFRr4KZWom35qX7G4=
|
|
14865
|
+
* -----END CERTIFICATE-----
|
|
14866
|
+
*/
|
|
14867
|
+
clientCACert?: string;
|
|
13902
14868
|
/**
|
|
13903
14869
|
* @remarks
|
|
13904
14870
|
* Set the HTTPS protocol type, whether to enable forced HTTPS redirection.
|
|
@@ -13915,6 +14881,11 @@ export class UpdateDomainRequest extends $dara.Model {
|
|
|
13915
14881
|
* Open
|
|
13916
14882
|
*/
|
|
13917
14883
|
http2Option?: string;
|
|
14884
|
+
/**
|
|
14885
|
+
* @remarks
|
|
14886
|
+
* Whether to enable mTLS mutual authentication
|
|
14887
|
+
*/
|
|
14888
|
+
mTLSEnabled?: boolean;
|
|
13918
14889
|
/**
|
|
13919
14890
|
* @remarks
|
|
13920
14891
|
* The protocol type supported by the domain.
|
|
@@ -13953,8 +14924,10 @@ export class UpdateDomainRequest extends $dara.Model {
|
|
|
13953
14924
|
return {
|
|
13954
14925
|
caCertIdentifier: 'caCertIdentifier',
|
|
13955
14926
|
certIdentifier: 'certIdentifier',
|
|
14927
|
+
clientCACert: 'clientCACert',
|
|
13956
14928
|
forceHttps: 'forceHttps',
|
|
13957
14929
|
http2Option: 'http2Option',
|
|
14930
|
+
mTLSEnabled: 'mTLSEnabled',
|
|
13958
14931
|
protocol: 'protocol',
|
|
13959
14932
|
tlsCipherSuitesConfig: 'tlsCipherSuitesConfig',
|
|
13960
14933
|
tlsMax: 'tlsMax',
|
|
@@ -13966,8 +14939,10 @@ export class UpdateDomainRequest extends $dara.Model {
|
|
|
13966
14939
|
return {
|
|
13967
14940
|
caCertIdentifier: 'string',
|
|
13968
14941
|
certIdentifier: 'string',
|
|
14942
|
+
clientCACert: 'string',
|
|
13969
14943
|
forceHttps: 'boolean',
|
|
13970
14944
|
http2Option: 'string',
|
|
14945
|
+
mTLSEnabled: 'boolean',
|
|
13971
14946
|
protocol: 'string',
|
|
13972
14947
|
tlsCipherSuitesConfig: TlsCipherSuitesConfig,
|
|
13973
14948
|
tlsMax: 'string',
|
|
@@ -14442,13 +15417,17 @@ export class UpdateGatewayNameResponse extends $dara.Model {
|
|
|
14442
15417
|
export class UpdateHttpApiRequest extends $dara.Model {
|
|
14443
15418
|
/**
|
|
14444
15419
|
* @remarks
|
|
14445
|
-
*
|
|
15420
|
+
* The AI protocols.
|
|
14446
15421
|
*/
|
|
14447
15422
|
aiProtocols?: string[];
|
|
15423
|
+
/**
|
|
15424
|
+
* @remarks
|
|
15425
|
+
* The authentication configuration.
|
|
15426
|
+
*/
|
|
14448
15427
|
authConfig?: AuthConfig;
|
|
14449
15428
|
/**
|
|
14450
15429
|
* @remarks
|
|
14451
|
-
*
|
|
15430
|
+
* The API base path, which must start with a forward slash (/).
|
|
14452
15431
|
*
|
|
14453
15432
|
* This parameter is required.
|
|
14454
15433
|
*
|
|
@@ -14458,31 +15437,35 @@ export class UpdateHttpApiRequest extends $dara.Model {
|
|
|
14458
15437
|
basePath?: string;
|
|
14459
15438
|
/**
|
|
14460
15439
|
* @remarks
|
|
14461
|
-
*
|
|
15440
|
+
* The deployment configurations.
|
|
14462
15441
|
*/
|
|
14463
15442
|
deployConfigs?: HttpApiDeployConfig[];
|
|
14464
15443
|
/**
|
|
14465
15444
|
* @remarks
|
|
14466
|
-
* API description.
|
|
15445
|
+
* The API description.
|
|
14467
15446
|
*
|
|
14468
15447
|
* @example
|
|
14469
|
-
*
|
|
15448
|
+
* API for testing
|
|
14470
15449
|
*/
|
|
14471
15450
|
description?: string;
|
|
15451
|
+
/**
|
|
15452
|
+
* @remarks
|
|
15453
|
+
* Specifies whether to enable authentication.
|
|
15454
|
+
*/
|
|
14472
15455
|
enableAuth?: boolean;
|
|
14473
15456
|
/**
|
|
14474
15457
|
* @remarks
|
|
14475
|
-
*
|
|
15458
|
+
* The HTTP Ingress API configurations.
|
|
14476
15459
|
*/
|
|
14477
15460
|
ingressConfig?: UpdateHttpApiRequestIngressConfig;
|
|
14478
15461
|
/**
|
|
14479
15462
|
* @remarks
|
|
14480
|
-
*
|
|
15463
|
+
* The protocols that are used to access the API.
|
|
14481
15464
|
*/
|
|
14482
15465
|
protocols?: string[];
|
|
14483
15466
|
/**
|
|
14484
15467
|
* @remarks
|
|
14485
|
-
*
|
|
15468
|
+
* The versioning configurations.
|
|
14486
15469
|
*/
|
|
14487
15470
|
versionConfig?: HttpApiVersionConfig;
|
|
14488
15471
|
static names(): { [key: string]: string } {
|
|
@@ -14543,7 +15526,7 @@ export class UpdateHttpApiRequest extends $dara.Model {
|
|
|
14543
15526
|
export class UpdateHttpApiResponseBody extends $dara.Model {
|
|
14544
15527
|
/**
|
|
14545
15528
|
* @remarks
|
|
14546
|
-
*
|
|
15529
|
+
* The status code.
|
|
14547
15530
|
*
|
|
14548
15531
|
* @example
|
|
14549
15532
|
* Ok
|
|
@@ -14551,7 +15534,7 @@ export class UpdateHttpApiResponseBody extends $dara.Model {
|
|
|
14551
15534
|
code?: string;
|
|
14552
15535
|
/**
|
|
14553
15536
|
* @remarks
|
|
14554
|
-
*
|
|
15537
|
+
* The returned message.
|
|
14555
15538
|
*
|
|
14556
15539
|
* @example
|
|
14557
15540
|
* success
|
|
@@ -14559,7 +15542,7 @@ export class UpdateHttpApiResponseBody extends $dara.Model {
|
|
|
14559
15542
|
message?: string;
|
|
14560
15543
|
/**
|
|
14561
15544
|
* @remarks
|
|
14562
|
-
*
|
|
15545
|
+
* The request ID.
|
|
14563
15546
|
*
|
|
14564
15547
|
* @example
|
|
14565
15548
|
* 393E2630-DBE7-5221-AB35-9E740675491A
|
|
@@ -14898,15 +15881,26 @@ export class UpdateHttpApiRouteResponse extends $dara.Model {
|
|
|
14898
15881
|
export class UpdatePolicyRequest extends $dara.Model {
|
|
14899
15882
|
/**
|
|
14900
15883
|
* @remarks
|
|
15884
|
+
* Policy configuration
|
|
15885
|
+
*
|
|
14901
15886
|
* This parameter is required.
|
|
14902
15887
|
*
|
|
14903
15888
|
* @example
|
|
14904
15889
|
* {"unitNum":1,"timeUnit":"s","enable":true}
|
|
14905
15890
|
*/
|
|
14906
15891
|
config?: string;
|
|
15892
|
+
/**
|
|
15893
|
+
* @remarks
|
|
15894
|
+
* Description
|
|
15895
|
+
*
|
|
15896
|
+
* @example
|
|
15897
|
+
* this is a timeout policy description
|
|
15898
|
+
*/
|
|
14907
15899
|
description?: string;
|
|
14908
15900
|
/**
|
|
14909
15901
|
* @remarks
|
|
15902
|
+
* Policy name
|
|
15903
|
+
*
|
|
14910
15904
|
* This parameter is required.
|
|
14911
15905
|
*
|
|
14912
15906
|
* @example
|
|
@@ -14940,16 +15934,25 @@ export class UpdatePolicyRequest extends $dara.Model {
|
|
|
14940
15934
|
|
|
14941
15935
|
export class UpdatePolicyResponseBody extends $dara.Model {
|
|
14942
15936
|
/**
|
|
15937
|
+
* @remarks
|
|
15938
|
+
* Response status code.
|
|
15939
|
+
*
|
|
14943
15940
|
* @example
|
|
14944
15941
|
* Ok
|
|
14945
15942
|
*/
|
|
14946
15943
|
code?: string;
|
|
14947
15944
|
/**
|
|
15945
|
+
* @remarks
|
|
15946
|
+
* Response message.
|
|
15947
|
+
*
|
|
14948
15948
|
* @example
|
|
14949
15949
|
* success
|
|
14950
15950
|
*/
|
|
14951
15951
|
message?: string;
|
|
14952
15952
|
/**
|
|
15953
|
+
* @remarks
|
|
15954
|
+
* Request ID.
|
|
15955
|
+
*
|
|
14953
15956
|
* @example
|
|
14954
15957
|
* C67DED2B-F19B-5BEC-88C1-D6EB854C***
|
|
14955
15958
|
*/
|
|
@@ -15211,7 +16214,7 @@ export default class Client extends OpenApi {
|
|
|
15211
16214
|
}
|
|
15212
16215
|
|
|
15213
16216
|
/**
|
|
15214
|
-
*
|
|
16217
|
+
* Resource Group Transfer
|
|
15215
16218
|
*
|
|
15216
16219
|
* @param request - ChangeResourceGroupRequest
|
|
15217
16220
|
* @param headers - map
|
|
@@ -15261,7 +16264,7 @@ export default class Client extends OpenApi {
|
|
|
15261
16264
|
}
|
|
15262
16265
|
|
|
15263
16266
|
/**
|
|
15264
|
-
*
|
|
16267
|
+
* Resource Group Transfer
|
|
15265
16268
|
*
|
|
15266
16269
|
* @param request - ChangeResourceGroupRequest
|
|
15267
16270
|
* @returns ChangeResourceGroupResponse
|
|
@@ -15294,6 +16297,10 @@ export default class Client extends OpenApi {
|
|
|
15294
16297
|
body["certIdentifier"] = request.certIdentifier;
|
|
15295
16298
|
}
|
|
15296
16299
|
|
|
16300
|
+
if (!$dara.isNull(request.clientCACert)) {
|
|
16301
|
+
body["clientCACert"] = request.clientCACert;
|
|
16302
|
+
}
|
|
16303
|
+
|
|
15297
16304
|
if (!$dara.isNull(request.forceHttps)) {
|
|
15298
16305
|
body["forceHttps"] = request.forceHttps;
|
|
15299
16306
|
}
|
|
@@ -15302,6 +16309,10 @@ export default class Client extends OpenApi {
|
|
|
15302
16309
|
body["http2Option"] = request.http2Option;
|
|
15303
16310
|
}
|
|
15304
16311
|
|
|
16312
|
+
if (!$dara.isNull(request.mTLSEnabled)) {
|
|
16313
|
+
body["mTLSEnabled"] = request.mTLSEnabled;
|
|
16314
|
+
}
|
|
16315
|
+
|
|
15305
16316
|
if (!$dara.isNull(request.name)) {
|
|
15306
16317
|
body["name"] = request.name;
|
|
15307
16318
|
}
|
|
@@ -15587,7 +16598,7 @@ export default class Client extends OpenApi {
|
|
|
15587
16598
|
}
|
|
15588
16599
|
|
|
15589
16600
|
/**
|
|
15590
|
-
*
|
|
16601
|
+
* Creates a route for an HTTP API.
|
|
15591
16602
|
*
|
|
15592
16603
|
* @param request - CreateHttpApiRouteRequest
|
|
15593
16604
|
* @param headers - map
|
|
@@ -15645,7 +16656,7 @@ export default class Client extends OpenApi {
|
|
|
15645
16656
|
}
|
|
15646
16657
|
|
|
15647
16658
|
/**
|
|
15648
|
-
*
|
|
16659
|
+
* Creates a route for an HTTP API.
|
|
15649
16660
|
*
|
|
15650
16661
|
* @param request - CreateHttpApiRouteRequest
|
|
15651
16662
|
* @returns CreateHttpApiRouteResponse
|
|
@@ -15657,7 +16668,7 @@ export default class Client extends OpenApi {
|
|
|
15657
16668
|
}
|
|
15658
16669
|
|
|
15659
16670
|
/**
|
|
15660
|
-
*
|
|
16671
|
+
* Create Policy
|
|
15661
16672
|
*
|
|
15662
16673
|
* @param request - CreatePolicyRequest
|
|
15663
16674
|
* @param headers - map
|
|
@@ -15707,7 +16718,7 @@ export default class Client extends OpenApi {
|
|
|
15707
16718
|
}
|
|
15708
16719
|
|
|
15709
16720
|
/**
|
|
15710
|
-
*
|
|
16721
|
+
* Create Policy
|
|
15711
16722
|
*
|
|
15712
16723
|
* @param request - CreatePolicyRequest
|
|
15713
16724
|
* @returns CreatePolicyResponse
|
|
@@ -15719,7 +16730,7 @@ export default class Client extends OpenApi {
|
|
|
15719
16730
|
}
|
|
15720
16731
|
|
|
15721
16732
|
/**
|
|
15722
|
-
*
|
|
16733
|
+
* Create policy resource mount
|
|
15723
16734
|
*
|
|
15724
16735
|
* @param request - CreatePolicyAttachmentRequest
|
|
15725
16736
|
* @param headers - map
|
|
@@ -15773,7 +16784,7 @@ export default class Client extends OpenApi {
|
|
|
15773
16784
|
}
|
|
15774
16785
|
|
|
15775
16786
|
/**
|
|
15776
|
-
*
|
|
16787
|
+
* Create policy resource mount
|
|
15777
16788
|
*
|
|
15778
16789
|
* @param request - CreatePolicyAttachmentRequest
|
|
15779
16790
|
* @returns CreatePolicyAttachmentResponse
|
|
@@ -15785,7 +16796,10 @@ export default class Client extends OpenApi {
|
|
|
15785
16796
|
}
|
|
15786
16797
|
|
|
15787
16798
|
/**
|
|
15788
|
-
*
|
|
16799
|
+
* Create Service
|
|
16800
|
+
*
|
|
16801
|
+
* @remarks
|
|
16802
|
+
* The interface supports creating multiple services.
|
|
15789
16803
|
*
|
|
15790
16804
|
* @param request - CreateServiceRequest
|
|
15791
16805
|
* @param headers - map
|
|
@@ -15835,7 +16849,10 @@ export default class Client extends OpenApi {
|
|
|
15835
16849
|
}
|
|
15836
16850
|
|
|
15837
16851
|
/**
|
|
15838
|
-
*
|
|
16852
|
+
* Create Service
|
|
16853
|
+
*
|
|
16854
|
+
* @remarks
|
|
16855
|
+
* The interface supports creating multiple services.
|
|
15839
16856
|
*
|
|
15840
16857
|
* @param request - CreateServiceRequest
|
|
15841
16858
|
* @returns CreateServiceResponse
|
|
@@ -16023,7 +17040,7 @@ export default class Client extends OpenApi {
|
|
|
16023
17040
|
}
|
|
16024
17041
|
|
|
16025
17042
|
/**
|
|
16026
|
-
*
|
|
17043
|
+
* Deletes an HTTP API.
|
|
16027
17044
|
*
|
|
16028
17045
|
* @param headers - map
|
|
16029
17046
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -16053,7 +17070,7 @@ export default class Client extends OpenApi {
|
|
|
16053
17070
|
}
|
|
16054
17071
|
|
|
16055
17072
|
/**
|
|
16056
|
-
*
|
|
17073
|
+
* Deletes an HTTP API.
|
|
16057
17074
|
* @returns DeleteHttpApiResponse
|
|
16058
17075
|
*/
|
|
16059
17076
|
async deleteHttpApi(httpApiId: string): Promise<DeleteHttpApiResponse> {
|
|
@@ -16143,7 +17160,7 @@ export default class Client extends OpenApi {
|
|
|
16143
17160
|
}
|
|
16144
17161
|
|
|
16145
17162
|
/**
|
|
16146
|
-
*
|
|
17163
|
+
* Delete Policy
|
|
16147
17164
|
*
|
|
16148
17165
|
* @param headers - map
|
|
16149
17166
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -16173,7 +17190,7 @@ export default class Client extends OpenApi {
|
|
|
16173
17190
|
}
|
|
16174
17191
|
|
|
16175
17192
|
/**
|
|
16176
|
-
*
|
|
17193
|
+
* Delete Policy
|
|
16177
17194
|
* @returns DeletePolicyResponse
|
|
16178
17195
|
*/
|
|
16179
17196
|
async deletePolicy(policyId: string): Promise<DeletePolicyResponse> {
|
|
@@ -16183,7 +17200,7 @@ export default class Client extends OpenApi {
|
|
|
16183
17200
|
}
|
|
16184
17201
|
|
|
16185
17202
|
/**
|
|
16186
|
-
*
|
|
17203
|
+
* Delete policy resource attachment
|
|
16187
17204
|
*
|
|
16188
17205
|
* @param headers - map
|
|
16189
17206
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -16213,7 +17230,7 @@ export default class Client extends OpenApi {
|
|
|
16213
17230
|
}
|
|
16214
17231
|
|
|
16215
17232
|
/**
|
|
16216
|
-
*
|
|
17233
|
+
* Delete policy resource attachment
|
|
16217
17234
|
* @returns DeletePolicyAttachmentResponse
|
|
16218
17235
|
*/
|
|
16219
17236
|
async deletePolicyAttachment(policyAttachmentId: string): Promise<DeletePolicyAttachmentResponse> {
|
|
@@ -16223,7 +17240,7 @@ export default class Client extends OpenApi {
|
|
|
16223
17240
|
}
|
|
16224
17241
|
|
|
16225
17242
|
/**
|
|
16226
|
-
*
|
|
17243
|
+
* Deploy HttpApi
|
|
16227
17244
|
*
|
|
16228
17245
|
* @param request - DeployHttpApiRequest
|
|
16229
17246
|
* @param headers - map
|
|
@@ -16265,7 +17282,7 @@ export default class Client extends OpenApi {
|
|
|
16265
17282
|
}
|
|
16266
17283
|
|
|
16267
17284
|
/**
|
|
16268
|
-
*
|
|
17285
|
+
* Deploy HttpApi
|
|
16269
17286
|
*
|
|
16270
17287
|
* @param request - DeployHttpApiRequest
|
|
16271
17288
|
* @returns DeployHttpApiResponse
|
|
@@ -16317,7 +17334,7 @@ export default class Client extends OpenApi {
|
|
|
16317
17334
|
}
|
|
16318
17335
|
|
|
16319
17336
|
/**
|
|
16320
|
-
*
|
|
17337
|
+
* Get Monitoring/Logging Dashboard Interface
|
|
16321
17338
|
*
|
|
16322
17339
|
* @param tmpReq - GetDashboardRequest
|
|
16323
17340
|
* @param headers - map
|
|
@@ -16381,7 +17398,7 @@ export default class Client extends OpenApi {
|
|
|
16381
17398
|
}
|
|
16382
17399
|
|
|
16383
17400
|
/**
|
|
16384
|
-
*
|
|
17401
|
+
* Get Monitoring/Logging Dashboard Interface
|
|
16385
17402
|
*
|
|
16386
17403
|
* @param request - GetDashboardRequest
|
|
16387
17404
|
* @returns GetDashboardResponse
|
|
@@ -16703,7 +17720,7 @@ export default class Client extends OpenApi {
|
|
|
16703
17720
|
}
|
|
16704
17721
|
|
|
16705
17722
|
/**
|
|
16706
|
-
*
|
|
17723
|
+
* Query Policy Resource Attachment
|
|
16707
17724
|
*
|
|
16708
17725
|
* @param headers - map
|
|
16709
17726
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -16733,7 +17750,7 @@ export default class Client extends OpenApi {
|
|
|
16733
17750
|
}
|
|
16734
17751
|
|
|
16735
17752
|
/**
|
|
16736
|
-
*
|
|
17753
|
+
* Query Policy Resource Attachment
|
|
16737
17754
|
* @returns GetPolicyAttachmentResponse
|
|
16738
17755
|
*/
|
|
16739
17756
|
async getPolicyAttachment(policyAttachmentId: string): Promise<GetPolicyAttachmentResponse> {
|
|
@@ -16743,7 +17760,7 @@ export default class Client extends OpenApi {
|
|
|
16743
17760
|
}
|
|
16744
17761
|
|
|
16745
17762
|
/**
|
|
16746
|
-
*
|
|
17763
|
+
* Get resource overview information
|
|
16747
17764
|
*
|
|
16748
17765
|
* @param headers - map
|
|
16749
17766
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -16773,7 +17790,7 @@ export default class Client extends OpenApi {
|
|
|
16773
17790
|
}
|
|
16774
17791
|
|
|
16775
17792
|
/**
|
|
16776
|
-
*
|
|
17793
|
+
* Get resource overview information
|
|
16777
17794
|
* @returns GetResourceOverviewResponse
|
|
16778
17795
|
*/
|
|
16779
17796
|
async getResourceOverview(): Promise<GetResourceOverviewResponse> {
|
|
@@ -16783,7 +17800,7 @@ export default class Client extends OpenApi {
|
|
|
16783
17800
|
}
|
|
16784
17801
|
|
|
16785
17802
|
/**
|
|
16786
|
-
*
|
|
17803
|
+
* Get Service Details
|
|
16787
17804
|
*
|
|
16788
17805
|
* @param headers - map
|
|
16789
17806
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -16813,7 +17830,7 @@ export default class Client extends OpenApi {
|
|
|
16813
17830
|
}
|
|
16814
17831
|
|
|
16815
17832
|
/**
|
|
16816
|
-
*
|
|
17833
|
+
* Get Service Details
|
|
16817
17834
|
* @returns GetServiceResponse
|
|
16818
17835
|
*/
|
|
16819
17836
|
async getService(serviceId: string): Promise<GetServiceResponse> {
|
|
@@ -16823,7 +17840,7 @@ export default class Client extends OpenApi {
|
|
|
16823
17840
|
}
|
|
16824
17841
|
|
|
16825
17842
|
/**
|
|
16826
|
-
*
|
|
17843
|
+
* Retrieve Tracing Configuration
|
|
16827
17844
|
*
|
|
16828
17845
|
* @param request - GetTraceConfigRequest
|
|
16829
17846
|
* @param headers - map
|
|
@@ -16861,7 +17878,7 @@ export default class Client extends OpenApi {
|
|
|
16861
17878
|
}
|
|
16862
17879
|
|
|
16863
17880
|
/**
|
|
16864
|
-
*
|
|
17881
|
+
* Retrieve Tracing Configuration
|
|
16865
17882
|
*
|
|
16866
17883
|
* @param request - GetTraceConfigRequest
|
|
16867
17884
|
* @returns GetTraceConfigResponse
|
|
@@ -17271,7 +18288,7 @@ export default class Client extends OpenApi {
|
|
|
17271
18288
|
}
|
|
17272
18289
|
|
|
17273
18290
|
/**
|
|
17274
|
-
*
|
|
18291
|
+
* Create a route for HttpApi
|
|
17275
18292
|
*
|
|
17276
18293
|
* @param request - ListHttpApiRoutesRequest
|
|
17277
18294
|
* @param headers - map
|
|
@@ -17357,7 +18374,7 @@ export default class Client extends OpenApi {
|
|
|
17357
18374
|
}
|
|
17358
18375
|
|
|
17359
18376
|
/**
|
|
17360
|
-
*
|
|
18377
|
+
* Create a route for HttpApi
|
|
17361
18378
|
*
|
|
17362
18379
|
* @param request - ListHttpApiRoutesRequest
|
|
17363
18380
|
* @returns ListHttpApiRoutesResponse
|
|
@@ -17471,7 +18488,7 @@ export default class Client extends OpenApi {
|
|
|
17471
18488
|
}
|
|
17472
18489
|
|
|
17473
18490
|
/**
|
|
17474
|
-
* ListPolicyClasses
|
|
18491
|
+
* ListPolicyClasses
|
|
17475
18492
|
*
|
|
17476
18493
|
* @param request - ListPolicyClassesRequest
|
|
17477
18494
|
* @param headers - map
|
|
@@ -17525,7 +18542,7 @@ export default class Client extends OpenApi {
|
|
|
17525
18542
|
}
|
|
17526
18543
|
|
|
17527
18544
|
/**
|
|
17528
|
-
* ListPolicyClasses
|
|
18545
|
+
* ListPolicyClasses
|
|
17529
18546
|
*
|
|
17530
18547
|
* @param request - ListPolicyClassesRequest
|
|
17531
18548
|
* @returns ListPolicyClassesResponse
|
|
@@ -17537,7 +18554,7 @@ export default class Client extends OpenApi {
|
|
|
17537
18554
|
}
|
|
17538
18555
|
|
|
17539
18556
|
/**
|
|
17540
|
-
*
|
|
18557
|
+
* Get Service List
|
|
17541
18558
|
*
|
|
17542
18559
|
* @param request - ListServicesRequest
|
|
17543
18560
|
* @param headers - map
|
|
@@ -17595,7 +18612,7 @@ export default class Client extends OpenApi {
|
|
|
17595
18612
|
}
|
|
17596
18613
|
|
|
17597
18614
|
/**
|
|
17598
|
-
*
|
|
18615
|
+
* Get Service List
|
|
17599
18616
|
*
|
|
17600
18617
|
* @param request - ListServicesRequest
|
|
17601
18618
|
* @returns ListServicesResponse
|
|
@@ -17607,7 +18624,7 @@ export default class Client extends OpenApi {
|
|
|
17607
18624
|
}
|
|
17608
18625
|
|
|
17609
18626
|
/**
|
|
17610
|
-
* ListSslCerts
|
|
18627
|
+
* ListSslCerts
|
|
17611
18628
|
*
|
|
17612
18629
|
* @param request - ListSslCertsRequest
|
|
17613
18630
|
* @param headers - map
|
|
@@ -17657,7 +18674,7 @@ export default class Client extends OpenApi {
|
|
|
17657
18674
|
}
|
|
17658
18675
|
|
|
17659
18676
|
/**
|
|
17660
|
-
* ListSslCerts
|
|
18677
|
+
* ListSslCerts
|
|
17661
18678
|
*
|
|
17662
18679
|
* @param request - ListSslCertsRequest
|
|
17663
18680
|
* @returns ListSslCertsResponse
|
|
@@ -17669,7 +18686,7 @@ export default class Client extends OpenApi {
|
|
|
17669
18686
|
}
|
|
17670
18687
|
|
|
17671
18688
|
/**
|
|
17672
|
-
*
|
|
18689
|
+
* Retrieve the availability zones under a cloud-native API gateway region
|
|
17673
18690
|
*
|
|
17674
18691
|
* @param headers - map
|
|
17675
18692
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -17699,7 +18716,7 @@ export default class Client extends OpenApi {
|
|
|
17699
18716
|
}
|
|
17700
18717
|
|
|
17701
18718
|
/**
|
|
17702
|
-
*
|
|
18719
|
+
* Retrieve the availability zones under a cloud-native API gateway region
|
|
17703
18720
|
* @returns ListZonesResponse
|
|
17704
18721
|
*/
|
|
17705
18722
|
async listZones(): Promise<ListZonesResponse> {
|
|
@@ -17748,9 +18765,66 @@ export default class Client extends OpenApi {
|
|
|
17748
18765
|
return await this.restartGatewayWithOptions(gatewayId, headers, runtime);
|
|
17749
18766
|
}
|
|
17750
18767
|
|
|
18768
|
+
/**
|
|
18769
|
+
* 取消部署HttpApi
|
|
18770
|
+
*
|
|
18771
|
+
* @param request - UndeployHttpApiRequest
|
|
18772
|
+
* @param headers - map
|
|
18773
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
18774
|
+
* @returns UndeployHttpApiResponse
|
|
18775
|
+
*/
|
|
18776
|
+
async undeployHttpApiWithOptions(httpApiId: string, request: UndeployHttpApiRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<UndeployHttpApiResponse> {
|
|
18777
|
+
request.validate();
|
|
18778
|
+
let body : {[key: string ]: any} = { };
|
|
18779
|
+
if (!$dara.isNull(request.environmentId)) {
|
|
18780
|
+
body["environmentId"] = request.environmentId;
|
|
18781
|
+
}
|
|
18782
|
+
|
|
18783
|
+
if (!$dara.isNull(request.routeId)) {
|
|
18784
|
+
body["routeId"] = request.routeId;
|
|
18785
|
+
}
|
|
18786
|
+
|
|
18787
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
18788
|
+
headers: headers,
|
|
18789
|
+
body: OpenApiUtil.parseToMap(body),
|
|
18790
|
+
});
|
|
18791
|
+
let params = new $OpenApiUtil.Params({
|
|
18792
|
+
action: "UndeployHttpApi",
|
|
18793
|
+
version: "2024-03-27",
|
|
18794
|
+
protocol: "HTTPS",
|
|
18795
|
+
pathname: `/v1/http-apis/${$dara.URL.percentEncode(httpApiId)}/undeploy`,
|
|
18796
|
+
method: "POST",
|
|
18797
|
+
authType: "AK",
|
|
18798
|
+
style: "ROA",
|
|
18799
|
+
reqBodyType: "json",
|
|
18800
|
+
bodyType: "json",
|
|
18801
|
+
});
|
|
18802
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
18803
|
+
return $dara.cast<UndeployHttpApiResponse>(await this.callApi(params, req, runtime), new UndeployHttpApiResponse({}));
|
|
18804
|
+
} else {
|
|
18805
|
+
return $dara.cast<UndeployHttpApiResponse>(await this.execute(params, req, runtime), new UndeployHttpApiResponse({}));
|
|
18806
|
+
}
|
|
18807
|
+
|
|
18808
|
+
}
|
|
18809
|
+
|
|
18810
|
+
/**
|
|
18811
|
+
* 取消部署HttpApi
|
|
18812
|
+
*
|
|
18813
|
+
* @param request - UndeployHttpApiRequest
|
|
18814
|
+
* @returns UndeployHttpApiResponse
|
|
18815
|
+
*/
|
|
18816
|
+
async undeployHttpApi(httpApiId: string, request: UndeployHttpApiRequest): Promise<UndeployHttpApiResponse> {
|
|
18817
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
18818
|
+
let headers : {[key: string ]: string} = { };
|
|
18819
|
+
return await this.undeployHttpApiWithOptions(httpApiId, request, headers, runtime);
|
|
18820
|
+
}
|
|
18821
|
+
|
|
17751
18822
|
/**
|
|
17752
18823
|
* UpdateDomain
|
|
17753
18824
|
*
|
|
18825
|
+
* @remarks
|
|
18826
|
+
* 只有类型为**容器服务**的来源允许更新监听Ingress的配置。
|
|
18827
|
+
*
|
|
17754
18828
|
* @param request - UpdateDomainRequest
|
|
17755
18829
|
* @param headers - map
|
|
17756
18830
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -17767,6 +18841,10 @@ export default class Client extends OpenApi {
|
|
|
17767
18841
|
body["certIdentifier"] = request.certIdentifier;
|
|
17768
18842
|
}
|
|
17769
18843
|
|
|
18844
|
+
if (!$dara.isNull(request.clientCACert)) {
|
|
18845
|
+
body["clientCACert"] = request.clientCACert;
|
|
18846
|
+
}
|
|
18847
|
+
|
|
17770
18848
|
if (!$dara.isNull(request.forceHttps)) {
|
|
17771
18849
|
body["forceHttps"] = request.forceHttps;
|
|
17772
18850
|
}
|
|
@@ -17775,6 +18853,10 @@ export default class Client extends OpenApi {
|
|
|
17775
18853
|
body["http2Option"] = request.http2Option;
|
|
17776
18854
|
}
|
|
17777
18855
|
|
|
18856
|
+
if (!$dara.isNull(request.mTLSEnabled)) {
|
|
18857
|
+
body["mTLSEnabled"] = request.mTLSEnabled;
|
|
18858
|
+
}
|
|
18859
|
+
|
|
17778
18860
|
if (!$dara.isNull(request.protocol)) {
|
|
17779
18861
|
body["protocol"] = request.protocol;
|
|
17780
18862
|
}
|
|
@@ -17817,6 +18899,9 @@ export default class Client extends OpenApi {
|
|
|
17817
18899
|
/**
|
|
17818
18900
|
* UpdateDomain
|
|
17819
18901
|
*
|
|
18902
|
+
* @remarks
|
|
18903
|
+
* 只有类型为**容器服务**的来源允许更新监听Ingress的配置。
|
|
18904
|
+
*
|
|
17820
18905
|
* @param request - UpdateDomainRequest
|
|
17821
18906
|
* @returns UpdateDomainResponse
|
|
17822
18907
|
*/
|
|
@@ -17987,7 +19072,7 @@ export default class Client extends OpenApi {
|
|
|
17987
19072
|
}
|
|
17988
19073
|
|
|
17989
19074
|
/**
|
|
17990
|
-
*
|
|
19075
|
+
* Updates an HTTP API.
|
|
17991
19076
|
*
|
|
17992
19077
|
* @param request - UpdateHttpApiRequest
|
|
17993
19078
|
* @param headers - map
|
|
@@ -18057,7 +19142,7 @@ export default class Client extends OpenApi {
|
|
|
18057
19142
|
}
|
|
18058
19143
|
|
|
18059
19144
|
/**
|
|
18060
|
-
*
|
|
19145
|
+
* Updates an HTTP API.
|
|
18061
19146
|
*
|
|
18062
19147
|
* @param request - UpdateHttpApiRequest
|
|
18063
19148
|
* @returns UpdateHttpApiResponse
|
|
@@ -18185,7 +19270,7 @@ export default class Client extends OpenApi {
|
|
|
18185
19270
|
}
|
|
18186
19271
|
|
|
18187
19272
|
/**
|
|
18188
|
-
*
|
|
19273
|
+
* Update Policy
|
|
18189
19274
|
*
|
|
18190
19275
|
* @param request - UpdatePolicyRequest
|
|
18191
19276
|
* @param headers - map
|
|
@@ -18231,7 +19316,7 @@ export default class Client extends OpenApi {
|
|
|
18231
19316
|
}
|
|
18232
19317
|
|
|
18233
19318
|
/**
|
|
18234
|
-
*
|
|
19319
|
+
* Update Policy
|
|
18235
19320
|
*
|
|
18236
19321
|
* @param request - UpdatePolicyRequest
|
|
18237
19322
|
* @returns UpdatePolicyResponse
|