@alicloud/apig20240327 3.0.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/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
- * Service port, not provided for dynamic ports.
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
- * Service protocol:
2129
- * - HTTP.
2130
- * - HTTPS.
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
- * Service ID.
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
- * Service version, valid only in label-based scenarios.
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
- * Percentage value of traffic distribution.
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
- * Backend service scenario.
2193
- * - SingleService: Single service.
2194
- * - MultiServiceByRatio: Multiple services with ratio-based canary release.
2195
- * - Mock: Mock service.
2196
- * - Redirect: Redirect service.
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
- * List of backend services.
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
- * Route ID
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
  */
@@ -2314,29 +2322,176 @@ export class CreatePolicyAttachmentResponseBodyData extends $dara.Model {
2314
2322
  }
2315
2323
  }
2316
2324
 
2325
+ export class CreateServiceRequestServiceConfigs extends $dara.Model {
2326
+ /**
2327
+ * @remarks
2328
+ * List of domain names or fixed addresses.
2329
+ */
2330
+ addresses?: string[];
2331
+ /**
2332
+ * @remarks
2333
+ * AI service configuration.
2334
+ */
2335
+ aiServiceConfig?: AiServiceConfig;
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
+ *
2346
+ * @example
2347
+ * DEFAULT_GROUP
2348
+ */
2349
+ groupName?: string;
2350
+ /**
2351
+ * @remarks
2352
+ * Service name.
2353
+ *
2354
+ * @example
2355
+ * user-service
2356
+ */
2357
+ name?: string;
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
+ *
2367
+ * @example
2368
+ * PUBLIC
2369
+ */
2370
+ namespace?: string;
2371
+ /**
2372
+ * @remarks
2373
+ * Function version or alias.
2374
+ *
2375
+ * @example
2376
+ * LATEST
2377
+ */
2378
+ qualifier?: string;
2379
+ static names(): { [key: string]: string } {
2380
+ return {
2381
+ addresses: 'addresses',
2382
+ aiServiceConfig: 'aiServiceConfig',
2383
+ dnsServers: 'dnsServers',
2384
+ groupName: 'groupName',
2385
+ name: 'name',
2386
+ namespace: 'namespace',
2387
+ qualifier: 'qualifier',
2388
+ };
2389
+ }
2390
+
2391
+ static types(): { [key: string]: any } {
2392
+ return {
2393
+ addresses: { 'type': 'array', 'itemType': 'string' },
2394
+ aiServiceConfig: AiServiceConfig,
2395
+ dnsServers: { 'type': 'array', 'itemType': 'string' },
2396
+ groupName: 'string',
2397
+ name: 'string',
2398
+ namespace: 'string',
2399
+ qualifier: 'string',
2400
+ };
2401
+ }
2402
+
2403
+ validate() {
2404
+ if(Array.isArray(this.addresses)) {
2405
+ $dara.Model.validateArray(this.addresses);
2406
+ }
2407
+ if(this.aiServiceConfig && typeof (this.aiServiceConfig as any).validate === 'function') {
2408
+ (this.aiServiceConfig as any).validate();
2409
+ }
2410
+ if(Array.isArray(this.dnsServers)) {
2411
+ $dara.Model.validateArray(this.dnsServers);
2412
+ }
2413
+ super.validate();
2414
+ }
2415
+
2416
+ constructor(map?: { [key: string]: any }) {
2417
+ super(map);
2418
+ }
2419
+ }
2420
+
2421
+ export class CreateServiceResponseBodyData extends $dara.Model {
2422
+ /**
2423
+ * @remarks
2424
+ * List of service IDs.
2425
+ */
2426
+ serviceIds?: string[];
2427
+ static names(): { [key: string]: string } {
2428
+ return {
2429
+ serviceIds: 'serviceIds',
2430
+ };
2431
+ }
2432
+
2433
+ static types(): { [key: string]: any } {
2434
+ return {
2435
+ serviceIds: { 'type': 'array', 'itemType': 'string' },
2436
+ };
2437
+ }
2438
+
2439
+ validate() {
2440
+ if(Array.isArray(this.serviceIds)) {
2441
+ $dara.Model.validateArray(this.serviceIds);
2442
+ }
2443
+ super.validate();
2444
+ }
2445
+
2446
+ constructor(map?: { [key: string]: any }) {
2447
+ super(map);
2448
+ }
2449
+ }
2450
+
2317
2451
  export class DeployHttpApiRequestRestApiConfigEnvironmentServiceConfigs extends $dara.Model {
2452
+ /**
2453
+ * @remarks
2454
+ * Configuration of matching conditions related to API deployment.
2455
+ */
2318
2456
  match?: HttpApiBackendMatchConditions;
2319
2457
  /**
2458
+ * @remarks
2459
+ * Service port, do not provide for dynamic ports.
2460
+ *
2320
2461
  * @example
2321
2462
  * 8080
2322
2463
  */
2323
2464
  port?: number;
2324
2465
  /**
2466
+ * @remarks
2467
+ * Service protocol:
2468
+ * - HTTP.
2469
+ * - HTTPS.
2470
+ *
2325
2471
  * @example
2326
2472
  * HTTP
2327
2473
  */
2328
2474
  protocol?: string;
2329
2475
  /**
2476
+ * @remarks
2477
+ * Service ID.
2478
+ *
2330
2479
  * @example
2331
2480
  * svc-cr6pk4tlhtgm58e***
2332
2481
  */
2333
2482
  serviceId?: string;
2334
2483
  /**
2484
+ * @remarks
2485
+ * Service version.
2486
+ *
2335
2487
  * @example
2336
2488
  * v1
2337
2489
  */
2338
2490
  version?: string;
2339
2491
  /**
2492
+ * @remarks
2493
+ * Weight, range [1,100], valid only in the by-ratio scenario.
2494
+ *
2340
2495
  * @example
2341
2496
  * 49
2342
2497
  */
@@ -2377,16 +2532,30 @@ export class DeployHttpApiRequestRestApiConfigEnvironmentServiceConfigs extends
2377
2532
 
2378
2533
  export class DeployHttpApiRequestRestApiConfigEnvironment extends $dara.Model {
2379
2534
  /**
2535
+ * @remarks
2536
+ * API publication scenario.
2537
+ *
2380
2538
  * @example
2381
2539
  * SingleService
2382
2540
  */
2383
2541
  backendScene?: string;
2542
+ /**
2543
+ * @remarks
2544
+ * List of user domains.
2545
+ */
2384
2546
  customDomainIds?: string[];
2385
2547
  /**
2548
+ * @remarks
2549
+ * Environment ID.
2550
+ *
2386
2551
  * @example
2387
2552
  * env-cpqnr6tlhtgubc***
2388
2553
  */
2389
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
+ */
2390
2559
  serviceConfigs?: DeployHttpApiRequestRestApiConfigEnvironmentServiceConfigs[];
2391
2560
  static names(): { [key: string]: string } {
2392
2561
  return {
@@ -2422,9 +2591,23 @@ export class DeployHttpApiRequestRestApiConfigEnvironment extends $dara.Model {
2422
2591
  }
2423
2592
 
2424
2593
  export class DeployHttpApiRequestRestApiConfig extends $dara.Model {
2594
+ /**
2595
+ * @remarks
2596
+ * Publication description.
2597
+ *
2598
+ * @example
2599
+ * 用户服务API发布。
2600
+ */
2425
2601
  description?: string;
2602
+ /**
2603
+ * @remarks
2604
+ * Publication environment configuration.
2605
+ */
2426
2606
  environment?: DeployHttpApiRequestRestApiConfigEnvironment;
2427
2607
  /**
2608
+ * @remarks
2609
+ * Historical version number. If this field is specified, the publication information will be based on the historical version information.
2610
+ *
2428
2611
  * @example
2429
2612
  * apr-xxx
2430
2613
  */
@@ -2489,6 +2672,9 @@ export class ExportHttpApiResponseBodyData extends $dara.Model {
2489
2672
 
2490
2673
  export class GetDashboardRequestFilter extends $dara.Model {
2491
2674
  /**
2675
+ * @remarks
2676
+ * Route name
2677
+ *
2492
2678
  * @example
2493
2679
  * test-route
2494
2680
  */
@@ -2516,21 +2702,33 @@ export class GetDashboardRequestFilter extends $dara.Model {
2516
2702
 
2517
2703
  export class GetDashboardResponseBodyData extends $dara.Model {
2518
2704
  /**
2705
+ * @remarks
2706
+ * Gateway unique identifier
2707
+ *
2519
2708
  * @example
2520
2709
  * gw-co370icmjeu****
2521
2710
  */
2522
2711
  gatewayId?: string;
2523
2712
  /**
2713
+ * @remarks
2714
+ * Dashboard name
2715
+ *
2524
2716
  * @example
2525
2717
  * PLUGIN
2526
2718
  */
2527
2719
  name?: string;
2528
2720
  /**
2721
+ * @remarks
2722
+ * Dashboard title
2723
+ *
2529
2724
  * @example
2530
2725
  * APIG Plugin
2531
2726
  */
2532
2727
  title?: string;
2533
2728
  /**
2729
+ * @remarks
2730
+ * Dashboard URL link
2731
+ *
2534
2732
  * @example
2535
2733
  * https://sls.console.aliyun.com/lognext/project/xxxxx
2536
2734
  */
@@ -2563,7 +2761,18 @@ export class GetDashboardResponseBodyData extends $dara.Model {
2563
2761
  }
2564
2762
 
2565
2763
  export class GetDomainResponseBodyDataStatisticsInfo extends $dara.Model {
2764
+ /**
2765
+ * @remarks
2766
+ * The array of related resource infomations.
2767
+ */
2566
2768
  resourceStatistics?: ResourceStatistic[];
2769
+ /**
2770
+ * @remarks
2771
+ * The total number of entries returned.
2772
+ *
2773
+ * @example
2774
+ * 1
2775
+ */
2567
2776
  totalCount?: string;
2568
2777
  static names(): { [key: string]: string } {
2569
2778
  return {
@@ -2600,7 +2809,21 @@ export class GetDomainResponseBodyData extends $dara.Model {
2600
2809
  * RSA
2601
2810
  */
2602
2811
  algorithm?: string;
2812
+ /**
2813
+ * @remarks
2814
+ * CA certificate identifier
2815
+ *
2816
+ * @example
2817
+ * 876****-cn-hangzhou
2818
+ */
2603
2819
  caCertIdentifier?: string;
2820
+ /**
2821
+ * @remarks
2822
+ * Certificate Identifier
2823
+ *
2824
+ * @example
2825
+ * 645****-cn-hangzhou
2826
+ */
2604
2827
  certIdentifier?: string;
2605
2828
  /**
2606
2829
  * @remarks
@@ -2610,6 +2833,21 @@ export class GetDomainResponseBodyData extends $dara.Model {
2610
2833
  * test-cert
2611
2834
  */
2612
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;
2613
2851
  /**
2614
2852
  * @remarks
2615
2853
  * Where it was created from.
@@ -2666,6 +2904,14 @@ export class GetDomainResponseBodyData extends $dara.Model {
2666
2904
  * Alibaba
2667
2905
  */
2668
2906
  issuer?: string;
2907
+ /**
2908
+ * @remarks
2909
+ * true
2910
+ *
2911
+ * @example
2912
+ * false
2913
+ */
2914
+ mTLSEnabled?: boolean;
2669
2915
  /**
2670
2916
  * @remarks
2671
2917
  * Domain name.
@@ -2701,6 +2947,13 @@ export class GetDomainResponseBodyData extends $dara.Model {
2701
2947
  * HTTP
2702
2948
  */
2703
2949
  protocol?: string;
2950
+ /**
2951
+ * @remarks
2952
+ * The ID of the resource group.
2953
+ *
2954
+ * @example
2955
+ * rg-aekzvlxzgo5b4si
2956
+ */
2704
2957
  resourceGroupId?: string;
2705
2958
  /**
2706
2959
  * @remarks
@@ -2710,7 +2963,15 @@ export class GetDomainResponseBodyData extends $dara.Model {
2710
2963
  * aliyun.com
2711
2964
  */
2712
2965
  sans?: string;
2966
+ /**
2967
+ * @remarks
2968
+ * The array of domain related resource information
2969
+ */
2713
2970
  statisticsInfo?: GetDomainResponseBodyDataStatisticsInfo;
2971
+ /**
2972
+ * @remarks
2973
+ * The TLS cipher suites config.
2974
+ */
2714
2975
  tlsCipherSuitesConfig?: TlsCipherSuitesConfig;
2715
2976
  /**
2716
2977
  * @remarks
@@ -2742,6 +3003,7 @@ export class GetDomainResponseBodyData extends $dara.Model {
2742
3003
  caCertIdentifier: 'caCertIdentifier',
2743
3004
  certIdentifier: 'certIdentifier',
2744
3005
  certName: 'certName',
3006
+ clientCACert: 'clientCACert',
2745
3007
  createFrom: 'createFrom',
2746
3008
  createTimestamp: 'createTimestamp',
2747
3009
  default: 'default',
@@ -2749,6 +3011,7 @@ export class GetDomainResponseBodyData extends $dara.Model {
2749
3011
  forceHttps: 'forceHttps',
2750
3012
  http2Option: 'http2Option',
2751
3013
  issuer: 'issuer',
3014
+ mTLSEnabled: 'mTLSEnabled',
2752
3015
  name: 'name',
2753
3016
  notAfterTimstamp: 'notAfterTimstamp',
2754
3017
  notBeforeTimestamp: 'notBeforeTimestamp',
@@ -2769,6 +3032,7 @@ export class GetDomainResponseBodyData extends $dara.Model {
2769
3032
  caCertIdentifier: 'string',
2770
3033
  certIdentifier: 'string',
2771
3034
  certName: 'string',
3035
+ clientCACert: 'string',
2772
3036
  createFrom: 'string',
2773
3037
  createTimestamp: 'number',
2774
3038
  default: 'boolean',
@@ -2776,6 +3040,7 @@ export class GetDomainResponseBodyData extends $dara.Model {
2776
3040
  forceHttps: 'boolean',
2777
3041
  http2Option: 'string',
2778
3042
  issuer: 'string',
3043
+ mTLSEnabled: 'boolean',
2779
3044
  name: 'string',
2780
3045
  notAfterTimstamp: 'number',
2781
3046
  notBeforeTimestamp: 'number',
@@ -3671,36 +3936,57 @@ export class GetGatewayResponseBodyData extends $dara.Model {
3671
3936
 
3672
3937
  export class GetPolicyAttachmentResponseBodyData extends $dara.Model {
3673
3938
  /**
3939
+ * @remarks
3940
+ * Attached Resource ID
3941
+ *
3674
3942
  * @example
3675
3943
  * op-csbkd9llhtgqhqua***
3676
3944
  */
3677
3945
  attachResourceId?: string;
3678
3946
  /**
3947
+ * @remarks
3948
+ * Attached resource type, HttpApi, GatewayRoute, Operation, GatewayService, GatewayServicePort, Gateway, Domain
3949
+ *
3679
3950
  * @example
3680
3951
  * Operation
3681
3952
  */
3682
3953
  attachResourceType?: string;
3683
3954
  /**
3955
+ * @remarks
3956
+ * Policy attachment configuration
3957
+ *
3684
3958
  * @example
3685
3959
  * {"unitNum":1,"timeUnit":"s","enable":true}
3686
3960
  */
3687
3961
  config?: string;
3688
3962
  /**
3963
+ * @remarks
3964
+ * Environment ID
3965
+ *
3689
3966
  * @example
3690
3967
  * env-cq7l5s5lhtgi6qa***
3691
3968
  */
3692
3969
  environmentId?: string;
3693
3970
  /**
3971
+ * @remarks
3972
+ * Gateway Instance ID
3973
+ *
3694
3974
  * @example
3695
3975
  * gw-cq2vundlhtg***
3696
3976
  */
3697
3977
  gatewayId?: string;
3698
3978
  /**
3979
+ * @remarks
3980
+ * Policy Attachment ID
3981
+ *
3699
3982
  * @example
3700
3983
  * pr-cqoojualhtgquuj***
3701
3984
  */
3702
3985
  policyAttachmentId?: string;
3703
3986
  /**
3987
+ * @remarks
3988
+ * Policy ID
3989
+ *
3704
3990
  * @example
3705
3991
  * p-cq7l5s5bblhtgi6qas***
3706
3992
  */
@@ -3740,11 +4026,17 @@ export class GetPolicyAttachmentResponseBodyData extends $dara.Model {
3740
4026
 
3741
4027
  export class GetResourceOverviewResponseBodyDataApi extends $dara.Model {
3742
4028
  /**
4029
+ * @remarks
4030
+ * Number of published APIs.
4031
+ *
3743
4032
  * @example
3744
4033
  * 1
3745
4034
  */
3746
4035
  publishedCount?: number;
3747
4036
  /**
4037
+ * @remarks
4038
+ * Number of APIs.
4039
+ *
3748
4040
  * @example
3749
4041
  * 1
3750
4042
  */
@@ -3774,11 +4066,17 @@ export class GetResourceOverviewResponseBodyDataApi extends $dara.Model {
3774
4066
 
3775
4067
  export class GetResourceOverviewResponseBodyDataGateway extends $dara.Model {
3776
4068
  /**
4069
+ * @remarks
4070
+ * Number of running gateways.
4071
+ *
3777
4072
  * @example
3778
4073
  * 1
3779
4074
  */
3780
4075
  runningCount?: number;
3781
4076
  /**
4077
+ * @remarks
4078
+ * Number of gateway instances.
4079
+ *
3782
4080
  * @example
3783
4081
  * 1
3784
4082
  */
@@ -3807,7 +4105,15 @@ export class GetResourceOverviewResponseBodyDataGateway extends $dara.Model {
3807
4105
  }
3808
4106
 
3809
4107
  export class GetResourceOverviewResponseBodyData extends $dara.Model {
4108
+ /**
4109
+ * @remarks
4110
+ * API information.
4111
+ */
3810
4112
  api?: GetResourceOverviewResponseBodyDataApi;
4113
+ /**
4114
+ * @remarks
4115
+ * Gateway information.
4116
+ */
3811
4117
  gateway?: GetResourceOverviewResponseBodyDataGateway;
3812
4118
  static names(): { [key: string]: string } {
3813
4119
  return {
@@ -3840,26 +4146,47 @@ export class GetResourceOverviewResponseBodyData extends $dara.Model {
3840
4146
 
3841
4147
  export class GetTraceConfigResponseBodyData extends $dara.Model {
3842
4148
  /**
4149
+ * @remarks
4150
+ * Whether to Enable Tracing:
4151
+ * true: Enabled
4152
+ * false: Disabled
4153
+ *
3843
4154
  * @example
3844
4155
  * true
3845
4156
  */
3846
4157
  enable?: boolean;
3847
4158
  /**
4159
+ * @remarks
4160
+ * Sampling Rate
4161
+ *
3848
4162
  * @example
3849
4163
  * 50
3850
4164
  */
3851
4165
  sampleRatio?: number;
3852
4166
  /**
4167
+ * @remarks
4168
+ * Service ID, present when the tracing type is SKYWALKING
4169
+ *
3853
4170
  * @example
3854
4171
  * ss-co370icmjeu****
3855
4172
  */
3856
4173
  serviceId?: string;
3857
4174
  /**
4175
+ * @remarks
4176
+ * 服务端口,链路追踪类型为SKYWALKING时存在该参数
4177
+ *
3858
4178
  * @example
3859
4179
  * 8090
3860
4180
  */
3861
4181
  servicePort?: string;
3862
4182
  /**
4183
+ * @remarks
4184
+ * Tracing Type:
4185
+ * - XTRACE
4186
+ * - SKYWALKING
4187
+ * - OPENTELEMETRY
4188
+ * - OTSKYWALKING
4189
+ *
3863
4190
  * @example
3864
4191
  * SKYWALKING
3865
4192
  */
@@ -4903,6 +5230,10 @@ export class ListGatewaysResponseBodyDataItems extends $dara.Model {
4903
5230
  * Running
4904
5231
  */
4905
5232
  status?: string;
5233
+ /**
5234
+ * @remarks
5235
+ * List of sub domain information
5236
+ */
4906
5237
  subDomainInfos?: SubDomainInfo[];
4907
5238
  /**
4908
5239
  * @remarks
@@ -5148,12 +5479,72 @@ export class ListHttpApiOperationsResponseBodyData extends $dara.Model {
5148
5479
  }
5149
5480
  }
5150
5481
 
5151
- export class ListHttpApisResponseBodyData extends $dara.Model {
5482
+ export class ListHttpApiRoutesResponseBodyData extends $dara.Model {
5152
5483
  /**
5153
5484
  * @remarks
5154
- * API information.
5485
+ * List of routes.
5155
5486
  */
5156
- items?: HttpApiInfoByName[];
5487
+ items?: HttpRoute[];
5488
+ /**
5489
+ * @remarks
5490
+ * Page number.
5491
+ *
5492
+ * @example
5493
+ * 1
5494
+ */
5495
+ pageNumber?: number;
5496
+ /**
5497
+ * @remarks
5498
+ * Page size.
5499
+ *
5500
+ * @example
5501
+ * 20
5502
+ */
5503
+ pageSize?: number;
5504
+ /**
5505
+ * @remarks
5506
+ * Total number of items.
5507
+ *
5508
+ * @example
5509
+ * 9
5510
+ */
5511
+ totalSize?: number;
5512
+ static names(): { [key: string]: string } {
5513
+ return {
5514
+ items: 'items',
5515
+ pageNumber: 'pageNumber',
5516
+ pageSize: 'pageSize',
5517
+ totalSize: 'totalSize',
5518
+ };
5519
+ }
5520
+
5521
+ static types(): { [key: string]: any } {
5522
+ return {
5523
+ items: { 'type': 'array', 'itemType': HttpRoute },
5524
+ pageNumber: 'number',
5525
+ pageSize: 'number',
5526
+ totalSize: 'number',
5527
+ };
5528
+ }
5529
+
5530
+ validate() {
5531
+ if(Array.isArray(this.items)) {
5532
+ $dara.Model.validateArray(this.items);
5533
+ }
5534
+ super.validate();
5535
+ }
5536
+
5537
+ constructor(map?: { [key: string]: any }) {
5538
+ super(map);
5539
+ }
5540
+ }
5541
+
5542
+ export class ListHttpApisResponseBodyData extends $dara.Model {
5543
+ /**
5544
+ * @remarks
5545
+ * API information.
5546
+ */
5547
+ items?: HttpApiInfoByName[];
5157
5548
  /**
5158
5549
  * @remarks
5159
5550
  * Page number.
@@ -5209,18 +5600,31 @@ export class ListHttpApisResponseBodyData extends $dara.Model {
5209
5600
  }
5210
5601
 
5211
5602
  export class ListPolicyClassesResponseBodyData extends $dara.Model {
5603
+ /**
5604
+ * @remarks
5605
+ * List of policy templates
5606
+ */
5212
5607
  items?: PolicyClassInfo[];
5213
5608
  /**
5609
+ * @remarks
5610
+ * Page number.
5611
+ *
5214
5612
  * @example
5215
5613
  * 1
5216
5614
  */
5217
5615
  pageNumber?: number;
5218
5616
  /**
5617
+ * @remarks
5618
+ * Page size
5619
+ *
5219
5620
  * @example
5220
5621
  * 10
5221
5622
  */
5222
5623
  pageSize?: number;
5223
5624
  /**
5625
+ * @remarks
5626
+ * Total number of items.
5627
+ *
5224
5628
  * @example
5225
5629
  * 10
5226
5630
  */
@@ -5255,19 +5659,92 @@ export class ListPolicyClassesResponseBodyData extends $dara.Model {
5255
5659
  }
5256
5660
  }
5257
5661
 
5662
+ export class ListServicesResponseBodyData extends $dara.Model {
5663
+ /**
5664
+ * @remarks
5665
+ * Service list.
5666
+ */
5667
+ items?: Service[];
5668
+ /**
5669
+ * @remarks
5670
+ * Page number.
5671
+ *
5672
+ * @example
5673
+ * 1
5674
+ */
5675
+ pageNumber?: number;
5676
+ /**
5677
+ * @remarks
5678
+ * Page size.
5679
+ *
5680
+ * @example
5681
+ * 10
5682
+ */
5683
+ pageSize?: number;
5684
+ /**
5685
+ * @remarks
5686
+ * Total count.
5687
+ *
5688
+ * @example
5689
+ * 18
5690
+ */
5691
+ totalSize?: number;
5692
+ static names(): { [key: string]: string } {
5693
+ return {
5694
+ items: 'items',
5695
+ pageNumber: 'pageNumber',
5696
+ pageSize: 'pageSize',
5697
+ totalSize: 'totalSize',
5698
+ };
5699
+ }
5700
+
5701
+ static types(): { [key: string]: any } {
5702
+ return {
5703
+ items: { 'type': 'array', 'itemType': Service },
5704
+ pageNumber: 'number',
5705
+ pageSize: 'number',
5706
+ totalSize: 'number',
5707
+ };
5708
+ }
5709
+
5710
+ validate() {
5711
+ if(Array.isArray(this.items)) {
5712
+ $dara.Model.validateArray(this.items);
5713
+ }
5714
+ super.validate();
5715
+ }
5716
+
5717
+ constructor(map?: { [key: string]: any }) {
5718
+ super(map);
5719
+ }
5720
+ }
5721
+
5258
5722
  export class ListSslCertsResponseBodyData extends $dara.Model {
5723
+ /**
5724
+ * @remarks
5725
+ * List of certificate information.
5726
+ */
5259
5727
  items?: SslCertMetaInfo[];
5260
5728
  /**
5729
+ * @remarks
5730
+ * Page number.
5731
+ *
5261
5732
  * @example
5262
5733
  * 1
5263
5734
  */
5264
5735
  pageNumber?: number;
5265
5736
  /**
5737
+ * @remarks
5738
+ * Page size.
5739
+ *
5266
5740
  * @example
5267
5741
  * 10
5268
5742
  */
5269
5743
  pageSize?: number;
5270
5744
  /**
5745
+ * @remarks
5746
+ * Total count.
5747
+ *
5271
5748
  * @example
5272
5749
  * 2
5273
5750
  */
@@ -5304,6 +5781,9 @@ export class ListSslCertsResponseBodyData extends $dara.Model {
5304
5781
 
5305
5782
  export class ListZonesResponseBodyDataItems extends $dara.Model {
5306
5783
  /**
5784
+ * @remarks
5785
+ * 可用区ID。
5786
+ *
5307
5787
  * @example
5308
5788
  * cn-shenzhen-c
5309
5789
  */
@@ -5330,6 +5810,10 @@ export class ListZonesResponseBodyDataItems extends $dara.Model {
5330
5810
  }
5331
5811
 
5332
5812
  export class ListZonesResponseBodyData extends $dara.Model {
5813
+ /**
5814
+ * @remarks
5815
+ * List of availability zones.
5816
+ */
5333
5817
  items?: ListZonesResponseBodyDataItems[];
5334
5818
  static names(): { [key: string]: string } {
5335
5819
  return {
@@ -5388,7 +5872,7 @@ export class UpdateDomainResponseBodyData extends $dara.Model {
5388
5872
  export class UpdateHttpApiRequestIngressConfig extends $dara.Model {
5389
5873
  /**
5390
5874
  * @remarks
5391
- * Environment ID.
5875
+ * The environment ID.
5392
5876
  *
5393
5877
  * @example
5394
5878
  * env-cr6ql0tlhtgmc****
@@ -5396,7 +5880,7 @@ export class UpdateHttpApiRequestIngressConfig extends $dara.Model {
5396
5880
  environmentId?: string;
5397
5881
  /**
5398
5882
  * @remarks
5399
- * Ingress Class being listened to.
5883
+ * The Ingress class for listening.
5400
5884
  *
5401
5885
  * @example
5402
5886
  * mse
@@ -5404,7 +5888,7 @@ export class UpdateHttpApiRequestIngressConfig extends $dara.Model {
5404
5888
  ingressClass?: string;
5405
5889
  /**
5406
5890
  * @remarks
5407
- * Whether to update the address in the Ingress Status.
5891
+ * Specifies whether to update the address in Ingress Status.
5408
5892
  *
5409
5893
  * @example
5410
5894
  * false
@@ -5412,7 +5896,7 @@ export class UpdateHttpApiRequestIngressConfig extends $dara.Model {
5412
5896
  overrideIngressIp?: boolean;
5413
5897
  /**
5414
5898
  * @remarks
5415
- * Source ID.
5899
+ * The source ID.
5416
5900
  *
5417
5901
  * @example
5418
5902
  * src-crdddallhtgtr****
@@ -5420,7 +5904,7 @@ export class UpdateHttpApiRequestIngressConfig extends $dara.Model {
5420
5904
  sourceId?: string;
5421
5905
  /**
5422
5906
  * @remarks
5423
- * Watched namespace.
5907
+ * The namespace for listening.
5424
5908
  *
5425
5909
  * @example
5426
5910
  * default
@@ -5922,10 +6406,12 @@ export class DashboardFilter extends $dara.Model {
5922
6406
 
5923
6407
  export class DomainInfo extends $dara.Model {
5924
6408
  certIdentifier?: string;
6409
+ clientCACert?: string;
5925
6410
  createFrom?: string;
5926
6411
  createTimestamp?: number;
5927
6412
  domainId?: string;
5928
6413
  forceHttps?: boolean;
6414
+ mTLSEnabled?: boolean;
5929
6415
  name?: string;
5930
6416
  protocol?: string;
5931
6417
  /**
@@ -5938,10 +6424,12 @@ export class DomainInfo extends $dara.Model {
5938
6424
  static names(): { [key: string]: string } {
5939
6425
  return {
5940
6426
  certIdentifier: 'certIdentifier',
6427
+ clientCACert: 'clientCACert',
5941
6428
  createFrom: 'createFrom',
5942
6429
  createTimestamp: 'createTimestamp',
5943
6430
  domainId: 'domainId',
5944
6431
  forceHttps: 'forceHttps',
6432
+ mTLSEnabled: 'mTLSEnabled',
5945
6433
  name: 'name',
5946
6434
  protocol: 'protocol',
5947
6435
  resourceGroupId: 'resourceGroupId',
@@ -5953,10 +6441,12 @@ export class DomainInfo extends $dara.Model {
5953
6441
  static types(): { [key: string]: any } {
5954
6442
  return {
5955
6443
  certIdentifier: 'string',
6444
+ clientCACert: 'string',
5956
6445
  createFrom: 'string',
5957
6446
  createTimestamp: 'number',
5958
6447
  domainId: 'string',
5959
6448
  forceHttps: 'boolean',
6449
+ mTLSEnabled: 'boolean',
5960
6450
  name: 'string',
5961
6451
  protocol: 'string',
5962
6452
  resourceGroupId: 'string',
@@ -7967,21 +8457,33 @@ export class AddGatewaySecurityGroupRuleResponse extends $dara.Model {
7967
8457
 
7968
8458
  export class ChangeResourceGroupRequest extends $dara.Model {
7969
8459
  /**
8460
+ * @remarks
8461
+ * Target resource group ID.
8462
+ *
7970
8463
  * @example
7971
8464
  * rg-aekzdrfx2xdnaja
7972
8465
  */
7973
8466
  resourceGroupId?: string;
7974
8467
  /**
8468
+ * @remarks
8469
+ * Resource ID
8470
+ *
7975
8471
  * @example
7976
8472
  * gw-ct4i14um1hkn0tpqfae0
7977
8473
  */
7978
8474
  resourceId?: string;
7979
8475
  /**
8476
+ * @remarks
8477
+ * Resource type
8478
+ *
7980
8479
  * @example
7981
8480
  * gateway
7982
8481
  */
7983
8482
  resourceType?: string;
7984
8483
  /**
8484
+ * @remarks
8485
+ * Service name, fixed value apig
8486
+ *
7985
8487
  * @example
7986
8488
  * apig
7987
8489
  */
@@ -8015,6 +8517,9 @@ export class ChangeResourceGroupRequest extends $dara.Model {
8015
8517
 
8016
8518
  export class ChangeResourceGroupResponseBody extends $dara.Model {
8017
8519
  /**
8520
+ * @remarks
8521
+ * Request ID.
8522
+ *
8018
8523
  * @example
8019
8524
  * 59F86F37-787A-52DB-9475-DB5A255517F0
8020
8525
  */
@@ -8092,6 +8597,18 @@ export class CreateDomainRequest extends $dara.Model {
8092
8597
  * 1ef1da5f-38ed-69b3-****-037781890265
8093
8598
  */
8094
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;
8095
8612
  /**
8096
8613
  * @remarks
8097
8614
  * Set the HTTPS protocol type, whether to enable forced HTTPS redirection.
@@ -8108,6 +8625,11 @@ export class CreateDomainRequest extends $dara.Model {
8108
8625
  * Open
8109
8626
  */
8110
8627
  http2Option?: string;
8628
+ /**
8629
+ * @remarks
8630
+ * Whether to enable mTLS mutual authentication
8631
+ */
8632
+ mTLSEnabled?: boolean;
8111
8633
  /**
8112
8634
  * @remarks
8113
8635
  * Domain name.
@@ -8164,8 +8686,10 @@ export class CreateDomainRequest extends $dara.Model {
8164
8686
  return {
8165
8687
  caCertIdentifier: 'caCertIdentifier',
8166
8688
  certIdentifier: 'certIdentifier',
8689
+ clientCACert: 'clientCACert',
8167
8690
  forceHttps: 'forceHttps',
8168
8691
  http2Option: 'http2Option',
8692
+ mTLSEnabled: 'mTLSEnabled',
8169
8693
  name: 'name',
8170
8694
  protocol: 'protocol',
8171
8695
  resourceGroupId: 'resourceGroupId',
@@ -8179,8 +8703,10 @@ export class CreateDomainRequest extends $dara.Model {
8179
8703
  return {
8180
8704
  caCertIdentifier: 'string',
8181
8705
  certIdentifier: 'string',
8706
+ clientCACert: 'string',
8182
8707
  forceHttps: 'boolean',
8183
8708
  http2Option: 'string',
8709
+ mTLSEnabled: 'boolean',
8184
8710
  name: 'string',
8185
8711
  protocol: 'string',
8186
8712
  resourceGroupId: 'string',
@@ -8826,25 +9352,25 @@ export class CreateHttpApiOperationResponse extends $dara.Model {
8826
9352
  export class CreateHttpApiRouteRequest extends $dara.Model {
8827
9353
  /**
8828
9354
  * @remarks
8829
- * Backend service configuration for the route.
9355
+ * The backend service configurations of the route.
8830
9356
  */
8831
9357
  backendConfig?: CreateHttpApiRouteRequestBackendConfig;
8832
9358
  /**
8833
9359
  * @remarks
8834
- * Route description.
9360
+ * The route description.
8835
9361
  *
8836
9362
  * @example
8837
- * 用户登陆路由。
9363
+ * User logon route
8838
9364
  */
8839
9365
  description?: string;
8840
9366
  /**
8841
9367
  * @remarks
8842
- * Domain IDs.
9368
+ * The domain name IDs.
8843
9369
  */
8844
9370
  domainIds?: string[];
8845
9371
  /**
8846
9372
  * @remarks
8847
- * Environment ID.
9373
+ * The environment ID.
8848
9374
  *
8849
9375
  * @example
8850
9376
  * env-cpqnr6tlhtgubcv***
@@ -8852,12 +9378,12 @@ export class CreateHttpApiRouteRequest extends $dara.Model {
8852
9378
  environmentId?: string;
8853
9379
  /**
8854
9380
  * @remarks
8855
- * Route match rules.
9381
+ * The rule for matching the route.
8856
9382
  */
8857
9383
  match?: HttpRouteMatch;
8858
9384
  /**
8859
9385
  * @remarks
8860
- * Route name.
9386
+ * The route name.
8861
9387
  *
8862
9388
  * @example
8863
9389
  * login
@@ -8906,7 +9432,7 @@ export class CreateHttpApiRouteRequest extends $dara.Model {
8906
9432
  export class CreateHttpApiRouteResponseBody extends $dara.Model {
8907
9433
  /**
8908
9434
  * @remarks
8909
- * Response status code.
9435
+ * The status code.
8910
9436
  *
8911
9437
  * @example
8912
9438
  * Ok
@@ -8914,12 +9440,12 @@ export class CreateHttpApiRouteResponseBody extends $dara.Model {
8914
9440
  code?: string;
8915
9441
  /**
8916
9442
  * @remarks
8917
- * Response data.
9443
+ * The response data.
8918
9444
  */
8919
9445
  data?: CreateHttpApiRouteResponseBodyData;
8920
9446
  /**
8921
9447
  * @remarks
8922
- * Response message.
9448
+ * The returned message.
8923
9449
  *
8924
9450
  * @example
8925
9451
  * success
@@ -8927,7 +9453,7 @@ export class CreateHttpApiRouteResponseBody extends $dara.Model {
8927
9453
  message?: string;
8928
9454
  /**
8929
9455
  * @remarks
8930
- * Request ID.
9456
+ * The request ID.
8931
9457
  *
8932
9458
  * @example
8933
9459
  * 3ACFC7A7-45A9-58CF-B2D5-765B60254695
@@ -9001,6 +9527,8 @@ export class CreateHttpApiRouteResponse extends $dara.Model {
9001
9527
  export class CreatePolicyRequest extends $dara.Model {
9002
9528
  /**
9003
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
+ *
9004
9532
  * This parameter is required.
9005
9533
  *
9006
9534
  * @example
@@ -9009,15 +9537,26 @@ export class CreatePolicyRequest extends $dara.Model {
9009
9537
  className?: string;
9010
9538
  /**
9011
9539
  * @remarks
9540
+ * Policy configuration
9541
+ *
9012
9542
  * This parameter is required.
9013
9543
  *
9014
9544
  * @example
9015
9545
  * {"unitNum":1,"timeUnit":"s","enable":true}
9016
9546
  */
9017
9547
  config?: string;
9548
+ /**
9549
+ * @remarks
9550
+ * Policy description
9551
+ *
9552
+ * @example
9553
+ * timeout policy
9554
+ */
9018
9555
  description?: string;
9019
9556
  /**
9020
9557
  * @remarks
9558
+ * Policy name
9559
+ *
9021
9560
  * This parameter is required.
9022
9561
  *
9023
9562
  * @example
@@ -9053,19 +9592,29 @@ export class CreatePolicyRequest extends $dara.Model {
9053
9592
 
9054
9593
  export class CreatePolicyResponseBody extends $dara.Model {
9055
9594
  /**
9595
+ * @remarks
9596
+ * Response status code.
9597
+ *
9056
9598
  * @example
9057
9599
  * Ok
9058
9600
  */
9059
9601
  code?: string;
9602
+ /**
9603
+ * @remarks
9604
+ * Response data.
9605
+ */
9060
9606
  data?: CreatePolicyResponseBodyData;
9061
9607
  /**
9608
+ * @remarks
9609
+ * Response message.
9610
+ *
9062
9611
  * @example
9063
9612
  * success
9064
9613
  */
9065
9614
  message?: string;
9066
9615
  /**
9067
9616
  * @remarks
9068
- * Id of the request
9617
+ * ID of the request
9069
9618
  *
9070
9619
  * @example
9071
9620
  * 393E2630-DBE7-5221-AB35-9E7406754***
@@ -9139,6 +9688,8 @@ export class CreatePolicyResponse extends $dara.Model {
9139
9688
  export class CreatePolicyAttachmentRequest extends $dara.Model {
9140
9689
  /**
9141
9690
  * @remarks
9691
+ * Attached resource ID
9692
+ *
9142
9693
  * This parameter is required.
9143
9694
  *
9144
9695
  * @example
@@ -9147,6 +9698,8 @@ export class CreatePolicyAttachmentRequest extends $dara.Model {
9147
9698
  attachResourceId?: string;
9148
9699
  /**
9149
9700
  * @remarks
9701
+ * Attached resource type, such as HttpApi, GatewayRoute, Operation, GatewayService, GatewayServicePort, Gateway, Domain
9702
+ *
9150
9703
  * This parameter is required.
9151
9704
  *
9152
9705
  * @example
@@ -9155,6 +9708,8 @@ export class CreatePolicyAttachmentRequest extends $dara.Model {
9155
9708
  attachResourceType?: string;
9156
9709
  /**
9157
9710
  * @remarks
9711
+ * Environment ID
9712
+ *
9158
9713
  * This parameter is required.
9159
9714
  *
9160
9715
  * @example
@@ -9163,6 +9718,8 @@ export class CreatePolicyAttachmentRequest extends $dara.Model {
9163
9718
  environmentId?: string;
9164
9719
  /**
9165
9720
  * @remarks
9721
+ * Gateway instance ID
9722
+ *
9166
9723
  * This parameter is required.
9167
9724
  *
9168
9725
  * @example
@@ -9171,6 +9728,8 @@ export class CreatePolicyAttachmentRequest extends $dara.Model {
9171
9728
  gatewayId?: string;
9172
9729
  /**
9173
9730
  * @remarks
9731
+ * Policy ID
9732
+ *
9174
9733
  * This parameter is required.
9175
9734
  *
9176
9735
  * @example
@@ -9208,19 +9767,29 @@ export class CreatePolicyAttachmentRequest extends $dara.Model {
9208
9767
 
9209
9768
  export class CreatePolicyAttachmentResponseBody extends $dara.Model {
9210
9769
  /**
9770
+ * @remarks
9771
+ * Response code.
9772
+ *
9211
9773
  * @example
9212
9774
  * Ok
9213
9775
  */
9214
9776
  code?: string;
9777
+ /**
9778
+ * @remarks
9779
+ * Response data.
9780
+ */
9215
9781
  data?: CreatePolicyAttachmentResponseBodyData;
9216
9782
  /**
9783
+ * @remarks
9784
+ * Response message.
9785
+ *
9217
9786
  * @example
9218
9787
  * success
9219
9788
  */
9220
9789
  message?: string;
9221
9790
  /**
9222
9791
  * @remarks
9223
- * Id of the request
9792
+ * ID of the request
9224
9793
  *
9225
9794
  * @example
9226
9795
  * 585657D2-1C20-5B8A-AF17-D727C64***
@@ -9291,48 +9860,64 @@ export class CreatePolicyAttachmentResponse extends $dara.Model {
9291
9860
  }
9292
9861
  }
9293
9862
 
9294
- export class DeleteDomainResponseBody extends $dara.Model {
9863
+ export class CreateServiceRequest extends $dara.Model {
9295
9864
  /**
9296
9865
  * @remarks
9297
- * Response code.
9866
+ * Gateway ID.
9298
9867
  *
9299
9868
  * @example
9300
- * Ok
9869
+ * gw-cq7l5s5lhtg***
9301
9870
  */
9302
- code?: string;
9871
+ gatewayId?: string;
9303
9872
  /**
9304
9873
  * @remarks
9305
- * Response message.
9874
+ * Resource group ID.
9306
9875
  *
9307
9876
  * @example
9308
- * success
9877
+ * rg-xxx
9309
9878
  */
9310
- message?: string;
9879
+ resourceGroupId?: string;
9311
9880
  /**
9312
9881
  * @remarks
9313
- * Request ID, used for tracing the API call chain.
9882
+ * List of service configuration information.
9883
+ */
9884
+ serviceConfigs?: CreateServiceRequestServiceConfigs[];
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.
9314
9894
  *
9315
9895
  * @example
9316
- * A60EE5CA-1294-532A-9775-8D2FD1C6EFBF
9896
+ * MSE_NACOS
9317
9897
  */
9318
- requestId?: string;
9898
+ sourceType?: string;
9319
9899
  static names(): { [key: string]: string } {
9320
9900
  return {
9321
- code: 'code',
9322
- message: 'message',
9323
- requestId: 'requestId',
9901
+ gatewayId: 'gatewayId',
9902
+ resourceGroupId: 'resourceGroupId',
9903
+ serviceConfigs: 'serviceConfigs',
9904
+ sourceType: 'sourceType',
9324
9905
  };
9325
9906
  }
9326
9907
 
9327
9908
  static types(): { [key: string]: any } {
9328
9909
  return {
9329
- code: 'string',
9330
- message: 'string',
9331
- requestId: 'string',
9910
+ gatewayId: 'string',
9911
+ resourceGroupId: 'string',
9912
+ serviceConfigs: { 'type': 'array', 'itemType': CreateServiceRequestServiceConfigs },
9913
+ sourceType: 'string',
9332
9914
  };
9333
9915
  }
9334
9916
 
9335
9917
  validate() {
9918
+ if(Array.isArray(this.serviceConfigs)) {
9919
+ $dara.Model.validateArray(this.serviceConfigs);
9920
+ }
9336
9921
  super.validate();
9337
9922
  }
9338
9923
 
@@ -9341,20 +9926,165 @@ export class DeleteDomainResponseBody extends $dara.Model {
9341
9926
  }
9342
9927
  }
9343
9928
 
9344
- export class DeleteDomainResponse extends $dara.Model {
9345
- headers?: { [key: string]: string };
9346
- statusCode?: number;
9347
- body?: DeleteDomainResponseBody;
9348
- static names(): { [key: string]: string } {
9349
- return {
9350
- headers: 'headers',
9351
- statusCode: 'statusCode',
9352
- body: 'body',
9353
- };
9354
- }
9355
-
9356
- static types(): { [key: string]: any } {
9357
- return {
9929
+ export class CreateServiceResponseBody extends $dara.Model {
9930
+ /**
9931
+ * @remarks
9932
+ * Response status code.
9933
+ *
9934
+ * @example
9935
+ * Ok
9936
+ */
9937
+ code?: string;
9938
+ /**
9939
+ * @remarks
9940
+ * Response data.
9941
+ */
9942
+ data?: CreateServiceResponseBodyData;
9943
+ /**
9944
+ * @remarks
9945
+ * Response message.
9946
+ *
9947
+ * @example
9948
+ * success
9949
+ */
9950
+ message?: string;
9951
+ /**
9952
+ * @remarks
9953
+ * Request ID.
9954
+ *
9955
+ * @example
9956
+ * C67DED2B-F19B-5BEC-88C1-D6EB854CD0D4
9957
+ */
9958
+ requestId?: string;
9959
+ static names(): { [key: string]: string } {
9960
+ return {
9961
+ code: 'code',
9962
+ data: 'data',
9963
+ message: 'message',
9964
+ requestId: 'requestId',
9965
+ };
9966
+ }
9967
+
9968
+ static types(): { [key: string]: any } {
9969
+ return {
9970
+ code: 'string',
9971
+ data: CreateServiceResponseBodyData,
9972
+ message: 'string',
9973
+ requestId: 'string',
9974
+ };
9975
+ }
9976
+
9977
+ validate() {
9978
+ if(this.data && typeof (this.data as any).validate === 'function') {
9979
+ (this.data as any).validate();
9980
+ }
9981
+ super.validate();
9982
+ }
9983
+
9984
+ constructor(map?: { [key: string]: any }) {
9985
+ super(map);
9986
+ }
9987
+ }
9988
+
9989
+ export class CreateServiceResponse extends $dara.Model {
9990
+ headers?: { [key: string]: string };
9991
+ statusCode?: number;
9992
+ body?: CreateServiceResponseBody;
9993
+ static names(): { [key: string]: string } {
9994
+ return {
9995
+ headers: 'headers',
9996
+ statusCode: 'statusCode',
9997
+ body: 'body',
9998
+ };
9999
+ }
10000
+
10001
+ static types(): { [key: string]: any } {
10002
+ return {
10003
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
10004
+ statusCode: 'number',
10005
+ body: CreateServiceResponseBody,
10006
+ };
10007
+ }
10008
+
10009
+ validate() {
10010
+ if(this.headers) {
10011
+ $dara.Model.validateMap(this.headers);
10012
+ }
10013
+ if(this.body && typeof (this.body as any).validate === 'function') {
10014
+ (this.body as any).validate();
10015
+ }
10016
+ super.validate();
10017
+ }
10018
+
10019
+ constructor(map?: { [key: string]: any }) {
10020
+ super(map);
10021
+ }
10022
+ }
10023
+
10024
+ export class DeleteDomainResponseBody extends $dara.Model {
10025
+ /**
10026
+ * @remarks
10027
+ * Response code.
10028
+ *
10029
+ * @example
10030
+ * Ok
10031
+ */
10032
+ code?: string;
10033
+ /**
10034
+ * @remarks
10035
+ * Response message.
10036
+ *
10037
+ * @example
10038
+ * success
10039
+ */
10040
+ message?: string;
10041
+ /**
10042
+ * @remarks
10043
+ * Request ID, used for tracing the API call chain.
10044
+ *
10045
+ * @example
10046
+ * A60EE5CA-1294-532A-9775-8D2FD1C6EFBF
10047
+ */
10048
+ requestId?: string;
10049
+ static names(): { [key: string]: string } {
10050
+ return {
10051
+ code: 'code',
10052
+ message: 'message',
10053
+ requestId: 'requestId',
10054
+ };
10055
+ }
10056
+
10057
+ static types(): { [key: string]: any } {
10058
+ return {
10059
+ code: 'string',
10060
+ message: 'string',
10061
+ requestId: 'string',
10062
+ };
10063
+ }
10064
+
10065
+ validate() {
10066
+ super.validate();
10067
+ }
10068
+
10069
+ constructor(map?: { [key: string]: any }) {
10070
+ super(map);
10071
+ }
10072
+ }
10073
+
10074
+ export class DeleteDomainResponse extends $dara.Model {
10075
+ headers?: { [key: string]: string };
10076
+ statusCode?: number;
10077
+ body?: DeleteDomainResponseBody;
10078
+ static names(): { [key: string]: string } {
10079
+ return {
10080
+ headers: 'headers',
10081
+ statusCode: 'statusCode',
10082
+ body: 'body',
10083
+ };
10084
+ }
10085
+
10086
+ static types(): { [key: string]: any } {
10087
+ return {
9358
10088
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
9359
10089
  statusCode: 'number',
9360
10090
  body: DeleteDomainResponseBody,
@@ -9664,7 +10394,7 @@ export class DeleteGatewaySecurityGroupRuleResponse extends $dara.Model {
9664
10394
  export class DeleteHttpApiResponseBody extends $dara.Model {
9665
10395
  /**
9666
10396
  * @remarks
9667
- * Response status code.
10397
+ * The status code.
9668
10398
  *
9669
10399
  * @example
9670
10400
  * Ok
@@ -9672,7 +10402,7 @@ export class DeleteHttpApiResponseBody extends $dara.Model {
9672
10402
  code?: string;
9673
10403
  /**
9674
10404
  * @remarks
9675
- * Response message.
10405
+ * The returned message.
9676
10406
  *
9677
10407
  * @example
9678
10408
  * success
@@ -9680,7 +10410,7 @@ export class DeleteHttpApiResponseBody extends $dara.Model {
9680
10410
  message?: string;
9681
10411
  /**
9682
10412
  * @remarks
9683
- * Request ID.
10413
+ * The request ID.
9684
10414
  *
9685
10415
  * @example
9686
10416
  * 5B626361-070A-56A7-B127-ADAC8F3655DB
@@ -9918,18 +10648,24 @@ export class DeleteHttpApiRouteResponse extends $dara.Model {
9918
10648
 
9919
10649
  export class DeletePolicyResponseBody extends $dara.Model {
9920
10650
  /**
10651
+ * @remarks
10652
+ * Response status code.
10653
+ *
9921
10654
  * @example
9922
10655
  * Ok
9923
10656
  */
9924
10657
  code?: string;
9925
10658
  /**
10659
+ * @remarks
10660
+ * Response message.
10661
+ *
9926
10662
  * @example
9927
10663
  * success
9928
10664
  */
9929
10665
  message?: string;
9930
10666
  /**
9931
10667
  * @remarks
9932
- * Id of the request
10668
+ * ID of the request
9933
10669
  *
9934
10670
  * @example
9935
10671
  * 393E2630-DBE7-5221-AB35-9E7406754***
@@ -9997,18 +10733,24 @@ export class DeletePolicyResponse extends $dara.Model {
9997
10733
 
9998
10734
  export class DeletePolicyAttachmentResponseBody extends $dara.Model {
9999
10735
  /**
10736
+ * @remarks
10737
+ * Response status code.
10738
+ *
10000
10739
  * @example
10001
10740
  * 200
10002
10741
  */
10003
10742
  code?: string;
10004
10743
  /**
10744
+ * @remarks
10745
+ * Response message.
10746
+ *
10005
10747
  * @example
10006
10748
  * success
10007
10749
  */
10008
10750
  message?: string;
10009
10751
  /**
10010
10752
  * @remarks
10011
- * Id of the request
10753
+ * ID of the request
10012
10754
  *
10013
10755
  * @example
10014
10756
  * CE857A85-251D-5018-8103-A38957D71***
@@ -10075,8 +10817,15 @@ export class DeletePolicyAttachmentResponse extends $dara.Model {
10075
10817
  }
10076
10818
 
10077
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
+ */
10078
10824
  restApiConfig?: DeployHttpApiRequestRestApiConfig;
10079
10825
  /**
10826
+ * @remarks
10827
+ * Route ID. This must be provided when publishing the route of an HTTP API.
10828
+ *
10080
10829
  * @example
10081
10830
  * hr-cr82undlhtgrl***
10082
10831
  */
@@ -10109,16 +10858,25 @@ export class DeployHttpApiRequest extends $dara.Model {
10109
10858
 
10110
10859
  export class DeployHttpApiResponseBody extends $dara.Model {
10111
10860
  /**
10861
+ * @remarks
10862
+ * Response status code.
10863
+ *
10112
10864
  * @example
10113
10865
  * Ok
10114
10866
  */
10115
10867
  code?: string;
10116
10868
  /**
10869
+ * @remarks
10870
+ * 响应消息。
10871
+ *
10117
10872
  * @example
10118
10873
  * success
10119
10874
  */
10120
10875
  message?: string;
10121
10876
  /**
10877
+ * @remarks
10878
+ * Request ID.
10879
+ *
10122
10880
  * @example
10123
10881
  * 0C2D1C68-0D93-5561-8EE6-FDB7BF067A30
10124
10882
  */
@@ -10280,23 +11038,50 @@ export class ExportHttpApiResponse extends $dara.Model {
10280
11038
 
10281
11039
  export class GetDashboardRequest extends $dara.Model {
10282
11040
  /**
11041
+ * @remarks
11042
+ * zh: Chinese
11043
+ * en: English
11044
+ *
10283
11045
  * @example
10284
11046
  * zh
10285
11047
  */
10286
11048
  acceptLanguage?: string;
11049
+ /**
11050
+ * @remarks
11051
+ * API ID
11052
+ *
11053
+ * @example
11054
+ * api-c9uuekzmia8q2****
11055
+ */
10287
11056
  apiId?: string;
11057
+ /**
11058
+ * @remarks
11059
+ * Filter configuration
11060
+ */
10288
11061
  filter?: GetDashboardRequestFilter;
10289
11062
  /**
11063
+ * @remarks
11064
+ * Dashboard name:
11065
+ * - LOG: Access log
11066
+ * - PLUGIN: Plugin log
11067
+ *
10290
11068
  * @example
10291
11069
  * PLUGIN
10292
11070
  */
10293
11071
  name?: string;
10294
11072
  /**
11073
+ * @remarks
11074
+ * Plugin ID.
11075
+ *
10295
11076
  * @example
10296
11077
  * pls-dn82a9djd8z****
10297
11078
  */
10298
11079
  pluginClassId?: string;
10299
11080
  /**
11081
+ * @remarks
11082
+ * Dashboard source:
11083
+ * - SLS: Log dashboard
11084
+ *
10300
11085
  * @example
10301
11086
  * SLS
10302
11087
  */
@@ -10337,23 +11122,50 @@ export class GetDashboardRequest extends $dara.Model {
10337
11122
 
10338
11123
  export class GetDashboardShrinkRequest extends $dara.Model {
10339
11124
  /**
11125
+ * @remarks
11126
+ * zh: Chinese
11127
+ * en: English
11128
+ *
10340
11129
  * @example
10341
11130
  * zh
10342
11131
  */
10343
11132
  acceptLanguage?: string;
11133
+ /**
11134
+ * @remarks
11135
+ * API ID
11136
+ *
11137
+ * @example
11138
+ * api-c9uuekzmia8q2****
11139
+ */
10344
11140
  apiId?: string;
11141
+ /**
11142
+ * @remarks
11143
+ * Filter configuration
11144
+ */
10345
11145
  filterShrink?: string;
10346
11146
  /**
11147
+ * @remarks
11148
+ * Dashboard name:
11149
+ * - LOG: Access log
11150
+ * - PLUGIN: Plugin log
11151
+ *
10347
11152
  * @example
10348
11153
  * PLUGIN
10349
11154
  */
10350
11155
  name?: string;
10351
11156
  /**
11157
+ * @remarks
11158
+ * Plugin ID.
11159
+ *
10352
11160
  * @example
10353
11161
  * pls-dn82a9djd8z****
10354
11162
  */
10355
11163
  pluginClassId?: string;
10356
11164
  /**
11165
+ * @remarks
11166
+ * Dashboard source:
11167
+ * - SLS: Log dashboard
11168
+ *
10357
11169
  * @example
10358
11170
  * SLS
10359
11171
  */
@@ -10391,30 +11203,46 @@ export class GetDashboardShrinkRequest extends $dara.Model {
10391
11203
 
10392
11204
  export class GetDashboardResponseBody extends $dara.Model {
10393
11205
  /**
11206
+ * @remarks
11207
+ * Response code
11208
+ *
10394
11209
  * @example
10395
11210
  * 200
10396
11211
  */
10397
11212
  code?: number;
11213
+ /**
11214
+ * @remarks
11215
+ * Response data
11216
+ */
10398
11217
  data?: GetDashboardResponseBodyData;
10399
11218
  /**
11219
+ * @remarks
11220
+ * Backend error code
11221
+ *
10400
11222
  * @example
10401
11223
  * Ok
10402
11224
  */
10403
11225
  errorCode?: string;
10404
11226
  /**
11227
+ * @remarks
11228
+ * Error message
11229
+ *
10405
11230
  * @example
10406
11231
  * success
10407
11232
  */
10408
11233
  message?: string;
10409
11234
  /**
10410
11235
  * @remarks
10411
- * Id of the request
11236
+ * Request ID
10412
11237
  *
10413
11238
  * @example
10414
11239
  * 2F46B9E7-67EF-5C8A-BA52-D38D5B32AF2C
10415
11240
  */
10416
11241
  requestId?: string;
10417
11242
  /**
11243
+ * @remarks
11244
+ * Whether the request was successful
11245
+ *
10418
11246
  * @example
10419
11247
  * true
10420
11248
  */
@@ -10489,6 +11317,13 @@ export class GetDashboardResponse extends $dara.Model {
10489
11317
  }
10490
11318
 
10491
11319
  export class GetDomainRequest extends $dara.Model {
11320
+ /**
11321
+ * @remarks
11322
+ * Indicates whether include domain related resource information.
11323
+ *
11324
+ * @example
11325
+ * true
11326
+ */
10492
11327
  withStatistics?: boolean;
10493
11328
  static names(): { [key: string]: string } {
10494
11329
  return {
@@ -11123,12 +11958,22 @@ export class GetHttpApiRouteResponse extends $dara.Model {
11123
11958
 
11124
11959
  export class GetPolicyResponseBody extends $dara.Model {
11125
11960
  /**
11961
+ * @remarks
11962
+ * Response code.
11963
+ *
11126
11964
  * @example
11127
11965
  * Ok
11128
11966
  */
11129
11967
  code?: string;
11968
+ /**
11969
+ * @remarks
11970
+ * Response data.
11971
+ */
11130
11972
  data?: PolicyDetailInfo;
11131
11973
  /**
11974
+ * @remarks
11975
+ * Response message.
11976
+ *
11132
11977
  * @example
11133
11978
  * success
11134
11979
  */
@@ -11208,19 +12053,29 @@ export class GetPolicyResponse extends $dara.Model {
11208
12053
 
11209
12054
  export class GetPolicyAttachmentResponseBody extends $dara.Model {
11210
12055
  /**
12056
+ * @remarks
12057
+ * Response code.
12058
+ *
11211
12059
  * @example
11212
12060
  * 200
11213
12061
  */
11214
12062
  code?: string;
12063
+ /**
12064
+ * @remarks
12065
+ * Response data.
12066
+ */
11215
12067
  data?: GetPolicyAttachmentResponseBodyData;
11216
12068
  /**
12069
+ * @remarks
12070
+ * Response message.
12071
+ *
11217
12072
  * @example
11218
12073
  * success
11219
12074
  */
11220
12075
  message?: string;
11221
12076
  /**
11222
12077
  * @remarks
11223
- * Id of the request
12078
+ * ID of the request
11224
12079
  *
11225
12080
  * @example
11226
12081
  * 2C3B9A12-3868-5EB9-fBEA-F99E03DD1***
@@ -11293,17 +12148,30 @@ export class GetPolicyAttachmentResponse extends $dara.Model {
11293
12148
 
11294
12149
  export class GetResourceOverviewResponseBody extends $dara.Model {
11295
12150
  /**
11296
- * @example
11297
- * Ok
12151
+ * @remarks
12152
+ * Response status code.
12153
+ *
12154
+ * @example
12155
+ * Ok
11298
12156
  */
11299
12157
  code?: string;
12158
+ /**
12159
+ * @remarks
12160
+ * Resource information.
12161
+ */
11300
12162
  data?: GetResourceOverviewResponseBodyData;
11301
12163
  /**
12164
+ * @remarks
12165
+ * Response message.
12166
+ *
11302
12167
  * @example
11303
12168
  * success
11304
12169
  */
11305
12170
  message?: string;
11306
12171
  /**
12172
+ * @remarks
12173
+ * Request ID.
12174
+ *
11307
12175
  * @example
11308
12176
  * DD19A442-93C5-5C97-AFA0-B9C57EBD781B
11309
12177
  */
@@ -11373,8 +12241,108 @@ export class GetResourceOverviewResponse extends $dara.Model {
11373
12241
  }
11374
12242
  }
11375
12243
 
12244
+ export class GetServiceResponseBody extends $dara.Model {
12245
+ /**
12246
+ * @remarks
12247
+ * Response status code.
12248
+ *
12249
+ * @example
12250
+ * Ok
12251
+ */
12252
+ code?: string;
12253
+ /**
12254
+ * @remarks
12255
+ * Service details data.
12256
+ */
12257
+ data?: Service;
12258
+ /**
12259
+ * @remarks
12260
+ * Response message.
12261
+ *
12262
+ * @example
12263
+ * success
12264
+ */
12265
+ message?: string;
12266
+ /**
12267
+ * @remarks
12268
+ * Request ID.
12269
+ *
12270
+ * @example
12271
+ * 8FA9BB94-915B-5299-A694-49FCC7F5DD00
12272
+ */
12273
+ requestId?: string;
12274
+ static names(): { [key: string]: string } {
12275
+ return {
12276
+ code: 'code',
12277
+ data: 'data',
12278
+ message: 'message',
12279
+ requestId: 'requestId',
12280
+ };
12281
+ }
12282
+
12283
+ static types(): { [key: string]: any } {
12284
+ return {
12285
+ code: 'string',
12286
+ data: Service,
12287
+ message: 'string',
12288
+ requestId: 'string',
12289
+ };
12290
+ }
12291
+
12292
+ validate() {
12293
+ if(this.data && typeof (this.data as any).validate === 'function') {
12294
+ (this.data as any).validate();
12295
+ }
12296
+ super.validate();
12297
+ }
12298
+
12299
+ constructor(map?: { [key: string]: any }) {
12300
+ super(map);
12301
+ }
12302
+ }
12303
+
12304
+ export class GetServiceResponse extends $dara.Model {
12305
+ headers?: { [key: string]: string };
12306
+ statusCode?: number;
12307
+ body?: GetServiceResponseBody;
12308
+ static names(): { [key: string]: string } {
12309
+ return {
12310
+ headers: 'headers',
12311
+ statusCode: 'statusCode',
12312
+ body: 'body',
12313
+ };
12314
+ }
12315
+
12316
+ static types(): { [key: string]: any } {
12317
+ return {
12318
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
12319
+ statusCode: 'number',
12320
+ body: GetServiceResponseBody,
12321
+ };
12322
+ }
12323
+
12324
+ validate() {
12325
+ if(this.headers) {
12326
+ $dara.Model.validateMap(this.headers);
12327
+ }
12328
+ if(this.body && typeof (this.body as any).validate === 'function') {
12329
+ (this.body as any).validate();
12330
+ }
12331
+ super.validate();
12332
+ }
12333
+
12334
+ constructor(map?: { [key: string]: any }) {
12335
+ super(map);
12336
+ }
12337
+ }
12338
+
11376
12339
  export class GetTraceConfigRequest extends $dara.Model {
11377
12340
  /**
12341
+ * @remarks
12342
+ * Language Type:
12343
+ * zh: Chinese
12344
+ * en: English
12345
+ *
11378
12346
  * @example
11379
12347
  * zh
11380
12348
  */
@@ -11402,22 +12370,40 @@ export class GetTraceConfigRequest extends $dara.Model {
11402
12370
 
11403
12371
  export class GetTraceConfigResponseBody extends $dara.Model {
11404
12372
  /**
12373
+ * @remarks
12374
+ * Response Code
12375
+ *
11405
12376
  * @example
11406
12377
  * 200
11407
12378
  */
11408
12379
  code?: number;
12380
+ /**
12381
+ * @remarks
12382
+ * Response Data
12383
+ */
11409
12384
  data?: GetTraceConfigResponseBodyData;
11410
12385
  /**
12386
+ * @remarks
12387
+ * Error Message
12388
+ *
11411
12389
  * @example
11412
12390
  * success
11413
12391
  */
11414
12392
  message?: string;
11415
12393
  /**
12394
+ * @remarks
12395
+ * Request ID
12396
+ *
11416
12397
  * @example
11417
12398
  * 2F46B9E7-67EF-5C8A-BA52-D38D5B32AF2C
11418
12399
  */
11419
12400
  requestId?: string;
11420
12401
  /**
12402
+ * @remarks
12403
+ * Boolean Request Result, with the following values:
12404
+ * true: Request succeeded.
12405
+ * false: Request failed.
12406
+ *
11421
12407
  * @example
11422
12408
  * true
11423
12409
  */
@@ -12545,34 +13531,66 @@ export class ListHttpApiOperationsResponse extends $dara.Model {
12545
13531
  }
12546
13532
  }
12547
13533
 
12548
- export class ListHttpApisRequest extends $dara.Model {
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
+ */
13542
+ consumerAuthorizationRuleId?: string;
13543
+ /**
13544
+ * @remarks
13545
+ * Deployment status of the route.
13546
+ *
13547
+ * @example
13548
+ * NotDeployed
13549
+ */
13550
+ deployStatuses?: string;
13551
+ /**
13552
+ * @remarks
13553
+ * Filter route information by domain ID.
13554
+ *
13555
+ * @example
13556
+ * d-xxx
13557
+ */
13558
+ domainId?: string;
13559
+ /**
13560
+ * @remarks
13561
+ * Environment ID.
13562
+ *
13563
+ * @example
13564
+ * env-cpqnr6tlhtgubc***
13565
+ */
13566
+ environmentId?: string;
12549
13567
  /**
12550
13568
  * @remarks
12551
13569
  * Cloud-native API Gateway ID.
12552
13570
  *
12553
13571
  * @example
12554
- * gw-cq2avtllh****
13572
+ * gw-cpv4sqdl****
12555
13573
  */
12556
13574
  gatewayId?: string;
12557
13575
  /**
12558
13576
  * @remarks
12559
- * Search keyword, supports fuzzy search by API name or exact search by API ID.
13577
+ * Route name.
12560
13578
  *
12561
13579
  * @example
12562
- * test-
13580
+ * itemcenter-gateway
12563
13581
  */
12564
- keyword?: string;
13582
+ name?: string;
12565
13583
  /**
12566
13584
  * @remarks
12567
- * Exact search by name.
13585
+ * Fuzzy search by route name.
12568
13586
  *
12569
13587
  * @example
12570
- * login
13588
+ * item
12571
13589
  */
12572
- name?: string;
13590
+ nameLike?: string;
12573
13591
  /**
12574
13592
  * @remarks
12575
- * Page number, starting from 1, default is 1 if not provided.
13593
+ * Page number, starting from 1. Default is 1 if not specified.
12576
13594
  *
12577
13595
  * @example
12578
13596
  * 1
@@ -12580,80 +13598,76 @@ export class ListHttpApisRequest extends $dara.Model {
12580
13598
  pageNumber?: number;
12581
13599
  /**
12582
13600
  * @remarks
12583
- * Page size, valid range [1, 100], default is 10 if not provided.
13601
+ * Page size, valid range [1, 100]. Default is 10 if not specified.
12584
13602
  *
12585
13603
  * @example
12586
13604
  * 10
12587
13605
  */
12588
13606
  pageSize?: number;
12589
- resourceGroupId?: string;
12590
13607
  /**
12591
13608
  * @remarks
12592
- * Type of HTTP API. Supports multiple types, separated by ",".
12593
- * - Http
12594
- * - Rest
12595
- * - WebSocket
12596
- * - HttpIngress
13609
+ * Fuzzy search by route path.
12597
13610
  *
12598
13611
  * @example
12599
- * Http,Rest
13612
+ * /v1
12600
13613
  */
12601
- types?: string;
13614
+ pathLike?: string;
12602
13615
  /**
12603
13616
  * @remarks
12604
- * Each API information in the response carries consumer authentication policy information under the specified environment ID.
13617
+ * The response includes consumer authorization information.
12605
13618
  *
12606
13619
  * @example
12607
- * env-xxx
13620
+ * true
12608
13621
  */
12609
- withAuthPolicyInEnvironmentId?: string;
12610
- withAuthPolicyList?: boolean;
13622
+ withAuthPolicyInfo?: boolean;
12611
13623
  /**
12612
13624
  * @remarks
12613
- * Each API information in the response carries a list of authorization rules for the specified consumer ID.
13625
+ * Each route information in the response carries the list of authorization rules for the specified consumer ID.
12614
13626
  *
12615
13627
  * @example
12616
13628
  * cs-xxx
12617
13629
  */
12618
13630
  withConsumerInfoById?: string;
12619
- withEnvironmentInfo?: boolean;
12620
- withEnvironmentInfoById?: string;
12621
- withIngressInfo?: boolean;
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
+ */
12622
13638
  withPluginAttachmentByPluginId?: string;
12623
13639
  static names(): { [key: string]: string } {
12624
13640
  return {
13641
+ consumerAuthorizationRuleId: 'consumerAuthorizationRuleId',
13642
+ deployStatuses: 'deployStatuses',
13643
+ domainId: 'domainId',
13644
+ environmentId: 'environmentId',
12625
13645
  gatewayId: 'gatewayId',
12626
- keyword: 'keyword',
12627
13646
  name: 'name',
13647
+ nameLike: 'nameLike',
12628
13648
  pageNumber: 'pageNumber',
12629
13649
  pageSize: 'pageSize',
12630
- resourceGroupId: 'resourceGroupId',
12631
- types: 'types',
12632
- withAuthPolicyInEnvironmentId: 'withAuthPolicyInEnvironmentId',
12633
- withAuthPolicyList: 'withAuthPolicyList',
13650
+ pathLike: 'pathLike',
13651
+ withAuthPolicyInfo: 'withAuthPolicyInfo',
12634
13652
  withConsumerInfoById: 'withConsumerInfoById',
12635
- withEnvironmentInfo: 'withEnvironmentInfo',
12636
- withEnvironmentInfoById: 'withEnvironmentInfoById',
12637
- withIngressInfo: 'withIngressInfo',
12638
13653
  withPluginAttachmentByPluginId: 'withPluginAttachmentByPluginId',
12639
13654
  };
12640
13655
  }
12641
13656
 
12642
13657
  static types(): { [key: string]: any } {
12643
13658
  return {
13659
+ consumerAuthorizationRuleId: 'string',
13660
+ deployStatuses: 'string',
13661
+ domainId: 'string',
13662
+ environmentId: 'string',
12644
13663
  gatewayId: 'string',
12645
- keyword: 'string',
12646
13664
  name: 'string',
13665
+ nameLike: 'string',
12647
13666
  pageNumber: 'number',
12648
13667
  pageSize: 'number',
12649
- resourceGroupId: 'string',
12650
- types: 'string',
12651
- withAuthPolicyInEnvironmentId: 'string',
12652
- withAuthPolicyList: 'boolean',
13668
+ pathLike: 'string',
13669
+ withAuthPolicyInfo: 'boolean',
12653
13670
  withConsumerInfoById: 'string',
12654
- withEnvironmentInfo: 'boolean',
12655
- withEnvironmentInfoById: 'string',
12656
- withIngressInfo: 'boolean',
12657
13671
  withPluginAttachmentByPluginId: 'string',
12658
13672
  };
12659
13673
  }
@@ -12667,7 +13681,7 @@ export class ListHttpApisRequest extends $dara.Model {
12667
13681
  }
12668
13682
  }
12669
13683
 
12670
- export class ListHttpApisResponseBody extends $dara.Model {
13684
+ export class ListHttpApiRoutesResponseBody extends $dara.Model {
12671
13685
  /**
12672
13686
  * @remarks
12673
13687
  * Response status code.
@@ -12678,9 +13692,9 @@ export class ListHttpApisResponseBody extends $dara.Model {
12678
13692
  code?: string;
12679
13693
  /**
12680
13694
  * @remarks
12681
- * API list.
13695
+ * Response data.
12682
13696
  */
12683
- data?: ListHttpApisResponseBodyData;
13697
+ data?: ListHttpApiRoutesResponseBodyData;
12684
13698
  /**
12685
13699
  * @remarks
12686
13700
  * Response message.
@@ -12694,7 +13708,7 @@ export class ListHttpApisResponseBody extends $dara.Model {
12694
13708
  * Request ID.
12695
13709
  *
12696
13710
  * @example
12697
- * 585657D2-1C20-5B8A-AF17-D727C6490BE4
13711
+ * CBEEB8C1-108E-50F0-9BEA-DED79553C309
12698
13712
  */
12699
13713
  requestId?: string;
12700
13714
  static names(): { [key: string]: string } {
@@ -12709,7 +13723,7 @@ export class ListHttpApisResponseBody extends $dara.Model {
12709
13723
  static types(): { [key: string]: any } {
12710
13724
  return {
12711
13725
  code: 'string',
12712
- data: ListHttpApisResponseBodyData,
13726
+ data: ListHttpApiRoutesResponseBodyData,
12713
13727
  message: 'string',
12714
13728
  requestId: 'string',
12715
13729
  };
@@ -12727,10 +13741,10 @@ export class ListHttpApisResponseBody extends $dara.Model {
12727
13741
  }
12728
13742
  }
12729
13743
 
12730
- export class ListHttpApisResponse extends $dara.Model {
13744
+ export class ListHttpApiRoutesResponse extends $dara.Model {
12731
13745
  headers?: { [key: string]: string };
12732
13746
  statusCode?: number;
12733
- body?: ListHttpApisResponseBody;
13747
+ body?: ListHttpApiRoutesResponseBody;
12734
13748
  static names(): { [key: string]: string } {
12735
13749
  return {
12736
13750
  headers: 'headers',
@@ -12743,7 +13757,7 @@ export class ListHttpApisResponse extends $dara.Model {
12743
13757
  return {
12744
13758
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
12745
13759
  statusCode: 'number',
12746
- body: ListHttpApisResponseBody,
13760
+ body: ListHttpApiRoutesResponseBody,
12747
13761
  };
12748
13762
  }
12749
13763
 
@@ -12762,38 +13776,323 @@ export class ListHttpApisResponse extends $dara.Model {
12762
13776
  }
12763
13777
  }
12764
13778
 
12765
- export class ListPolicyClassesRequest extends $dara.Model {
13779
+ export class ListHttpApisRequest extends $dara.Model {
12766
13780
  /**
13781
+ * @remarks
13782
+ * Cloud-native API Gateway ID.
13783
+ *
12767
13784
  * @example
12768
- * Operation
13785
+ * gw-cq2avtllh****
12769
13786
  */
12770
- attachResourceType?: string;
13787
+ gatewayId?: string;
13788
+ /**
13789
+ * @remarks
13790
+ * Search keyword, supports fuzzy search by API name or exact search by API ID.
13791
+ *
13792
+ * @example
13793
+ * test-
13794
+ */
13795
+ keyword?: string;
12771
13796
  /**
13797
+ * @remarks
13798
+ * Exact search by name.
13799
+ *
12772
13800
  * @example
12773
- * InBound
13801
+ * login
12774
13802
  */
12775
- direction?: string;
13803
+ name?: string;
12776
13804
  /**
13805
+ * @remarks
13806
+ * Page number, starting from 1, default is 1 if not specified.
13807
+ *
12777
13808
  * @example
12778
13809
  * 1
12779
13810
  */
12780
13811
  pageNumber?: number;
12781
13812
  /**
13813
+ * @remarks
13814
+ * Page size, valid range [1, 100], default is 10 if not specified.
13815
+ *
12782
13816
  * @example
12783
13817
  * 10
12784
13818
  */
12785
13819
  pageSize?: number;
12786
13820
  /**
13821
+ * @remarks
13822
+ * Resource group ID.
13823
+ *
12787
13824
  * @example
12788
- * FlowControl
13825
+ * rg-ahr5uil8raz0rq3b
12789
13826
  */
12790
- type?: string;
12791
- static names(): { [key: string]: string } {
12792
- return {
12793
- attachResourceType: 'attachResourceType',
12794
- direction: 'direction',
12795
- pageNumber: 'pageNumber',
12796
- pageSize: 'pageSize',
13827
+ resourceGroupId?: string;
13828
+ /**
13829
+ * @remarks
13830
+ * Type of HTTP API. Multiple types can be passed, separated by ",".
13831
+ * - Http
13832
+ * - Rest
13833
+ * - WebSocket
13834
+ * - HttpIngress
13835
+ *
13836
+ * @example
13837
+ * Http,Rest
13838
+ */
13839
+ types?: string;
13840
+ /**
13841
+ * @remarks
13842
+ * Each API information in the response carries consumer authentication policy information for the specified environment ID.
13843
+ *
13844
+ * @example
13845
+ * env-xxx
13846
+ */
13847
+ withAuthPolicyInEnvironmentId?: string;
13848
+ /**
13849
+ * @remarks
13850
+ * Whether the authentication policy is enabled.
13851
+ *
13852
+ * @example
13853
+ * true
13854
+ */
13855
+ withAuthPolicyList?: boolean;
13856
+ /**
13857
+ * @remarks
13858
+ * Each API information in the response carries a list of authorization rules for the specified consumer ID.
13859
+ *
13860
+ * @example
13861
+ * cs-xxx
13862
+ */
13863
+ withConsumerInfoById?: string;
13864
+ /**
13865
+ * @remarks
13866
+ * Environment information
13867
+ *
13868
+ * @example
13869
+ * true
13870
+ */
13871
+ withEnvironmentInfo?: boolean;
13872
+ /**
13873
+ * @remarks
13874
+ * Environment ID
13875
+ *
13876
+ * @example
13877
+ * env-ctovu5mm1hksb4q8ln40
13878
+ */
13879
+ withEnvironmentInfoById?: string;
13880
+ /**
13881
+ * @remarks
13882
+ * Ingress information
13883
+ *
13884
+ * @example
13885
+ * false
13886
+ */
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
+ */
13895
+ withPluginAttachmentByPluginId?: string;
13896
+ static names(): { [key: string]: string } {
13897
+ return {
13898
+ gatewayId: 'gatewayId',
13899
+ keyword: 'keyword',
13900
+ name: 'name',
13901
+ pageNumber: 'pageNumber',
13902
+ pageSize: 'pageSize',
13903
+ resourceGroupId: 'resourceGroupId',
13904
+ types: 'types',
13905
+ withAuthPolicyInEnvironmentId: 'withAuthPolicyInEnvironmentId',
13906
+ withAuthPolicyList: 'withAuthPolicyList',
13907
+ withConsumerInfoById: 'withConsumerInfoById',
13908
+ withEnvironmentInfo: 'withEnvironmentInfo',
13909
+ withEnvironmentInfoById: 'withEnvironmentInfoById',
13910
+ withIngressInfo: 'withIngressInfo',
13911
+ withPluginAttachmentByPluginId: 'withPluginAttachmentByPluginId',
13912
+ };
13913
+ }
13914
+
13915
+ static types(): { [key: string]: any } {
13916
+ return {
13917
+ gatewayId: 'string',
13918
+ keyword: 'string',
13919
+ name: 'string',
13920
+ pageNumber: 'number',
13921
+ pageSize: 'number',
13922
+ resourceGroupId: 'string',
13923
+ types: 'string',
13924
+ withAuthPolicyInEnvironmentId: 'string',
13925
+ withAuthPolicyList: 'boolean',
13926
+ withConsumerInfoById: 'string',
13927
+ withEnvironmentInfo: 'boolean',
13928
+ withEnvironmentInfoById: 'string',
13929
+ withIngressInfo: 'boolean',
13930
+ withPluginAttachmentByPluginId: 'string',
13931
+ };
13932
+ }
13933
+
13934
+ validate() {
13935
+ super.validate();
13936
+ }
13937
+
13938
+ constructor(map?: { [key: string]: any }) {
13939
+ super(map);
13940
+ }
13941
+ }
13942
+
13943
+ export class ListHttpApisResponseBody extends $dara.Model {
13944
+ /**
13945
+ * @remarks
13946
+ * Response status code.
13947
+ *
13948
+ * @example
13949
+ * Ok
13950
+ */
13951
+ code?: string;
13952
+ /**
13953
+ * @remarks
13954
+ * API list.
13955
+ */
13956
+ data?: ListHttpApisResponseBodyData;
13957
+ /**
13958
+ * @remarks
13959
+ * Response message.
13960
+ *
13961
+ * @example
13962
+ * success
13963
+ */
13964
+ message?: string;
13965
+ /**
13966
+ * @remarks
13967
+ * Request ID.
13968
+ *
13969
+ * @example
13970
+ * 585657D2-1C20-5B8A-AF17-D727C6490BE4
13971
+ */
13972
+ requestId?: string;
13973
+ static names(): { [key: string]: string } {
13974
+ return {
13975
+ code: 'code',
13976
+ data: 'data',
13977
+ message: 'message',
13978
+ requestId: 'requestId',
13979
+ };
13980
+ }
13981
+
13982
+ static types(): { [key: string]: any } {
13983
+ return {
13984
+ code: 'string',
13985
+ data: ListHttpApisResponseBodyData,
13986
+ message: 'string',
13987
+ requestId: 'string',
13988
+ };
13989
+ }
13990
+
13991
+ validate() {
13992
+ if(this.data && typeof (this.data as any).validate === 'function') {
13993
+ (this.data as any).validate();
13994
+ }
13995
+ super.validate();
13996
+ }
13997
+
13998
+ constructor(map?: { [key: string]: any }) {
13999
+ super(map);
14000
+ }
14001
+ }
14002
+
14003
+ export class ListHttpApisResponse extends $dara.Model {
14004
+ headers?: { [key: string]: string };
14005
+ statusCode?: number;
14006
+ body?: ListHttpApisResponseBody;
14007
+ static names(): { [key: string]: string } {
14008
+ return {
14009
+ headers: 'headers',
14010
+ statusCode: 'statusCode',
14011
+ body: 'body',
14012
+ };
14013
+ }
14014
+
14015
+ static types(): { [key: string]: any } {
14016
+ return {
14017
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
14018
+ statusCode: 'number',
14019
+ body: ListHttpApisResponseBody,
14020
+ };
14021
+ }
14022
+
14023
+ validate() {
14024
+ if(this.headers) {
14025
+ $dara.Model.validateMap(this.headers);
14026
+ }
14027
+ if(this.body && typeof (this.body as any).validate === 'function') {
14028
+ (this.body as any).validate();
14029
+ }
14030
+ super.validate();
14031
+ }
14032
+
14033
+ constructor(map?: { [key: string]: any }) {
14034
+ super(map);
14035
+ }
14036
+ }
14037
+
14038
+ export class ListPolicyClassesRequest extends $dara.Model {
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
+ *
14051
+ * @example
14052
+ * Operation
14053
+ */
14054
+ attachResourceType?: string;
14055
+ /**
14056
+ * @remarks
14057
+ * Direction of the policy.
14058
+ * - Outbound: OutBound.
14059
+ * - Inbound: InBound.
14060
+ * - Both directions: Both.
14061
+ *
14062
+ * @example
14063
+ * InBound
14064
+ */
14065
+ direction?: string;
14066
+ /**
14067
+ * @remarks
14068
+ * Page number, default is 1.
14069
+ *
14070
+ * @example
14071
+ * 1
14072
+ */
14073
+ pageNumber?: number;
14074
+ /**
14075
+ * @remarks
14076
+ * Page size
14077
+ *
14078
+ * @example
14079
+ * 10
14080
+ */
14081
+ pageSize?: number;
14082
+ /**
14083
+ * @remarks
14084
+ * Type of the policy template.
14085
+ *
14086
+ * @example
14087
+ * FlowControl
14088
+ */
14089
+ type?: string;
14090
+ static names(): { [key: string]: string } {
14091
+ return {
14092
+ attachResourceType: 'attachResourceType',
14093
+ direction: 'direction',
14094
+ pageNumber: 'pageNumber',
14095
+ pageSize: 'pageSize',
12797
14096
  type: 'type',
12798
14097
  };
12799
14098
  }
@@ -12819,17 +14118,30 @@ export class ListPolicyClassesRequest extends $dara.Model {
12819
14118
 
12820
14119
  export class ListPolicyClassesResponseBody extends $dara.Model {
12821
14120
  /**
14121
+ * @remarks
14122
+ * Response code.
14123
+ *
12822
14124
  * @example
12823
14125
  * Ok
12824
14126
  */
12825
14127
  code?: string;
14128
+ /**
14129
+ * @remarks
14130
+ * Policy template information.
14131
+ */
12826
14132
  data?: ListPolicyClassesResponseBodyData;
12827
14133
  /**
14134
+ * @remarks
14135
+ * ResponseMessage
14136
+ *
12828
14137
  * @example
12829
14138
  * success
12830
14139
  */
12831
14140
  message?: string;
12832
14141
  /**
14142
+ * @remarks
14143
+ * Request ID.
14144
+ *
12833
14145
  * @example
12834
14146
  * 23B45FA9-7208-5E55-B5CE-B6B2567DD822
12835
14147
  */
@@ -12864,10 +14176,190 @@ export class ListPolicyClassesResponseBody extends $dara.Model {
12864
14176
  }
12865
14177
  }
12866
14178
 
12867
- export class ListPolicyClassesResponse extends $dara.Model {
14179
+ export class ListPolicyClassesResponse extends $dara.Model {
14180
+ headers?: { [key: string]: string };
14181
+ statusCode?: number;
14182
+ body?: ListPolicyClassesResponseBody;
14183
+ static names(): { [key: string]: string } {
14184
+ return {
14185
+ headers: 'headers',
14186
+ statusCode: 'statusCode',
14187
+ body: 'body',
14188
+ };
14189
+ }
14190
+
14191
+ static types(): { [key: string]: any } {
14192
+ return {
14193
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
14194
+ statusCode: 'number',
14195
+ body: ListPolicyClassesResponseBody,
14196
+ };
14197
+ }
14198
+
14199
+ validate() {
14200
+ if(this.headers) {
14201
+ $dara.Model.validateMap(this.headers);
14202
+ }
14203
+ if(this.body && typeof (this.body as any).validate === 'function') {
14204
+ (this.body as any).validate();
14205
+ }
14206
+ super.validate();
14207
+ }
14208
+
14209
+ constructor(map?: { [key: string]: any }) {
14210
+ super(map);
14211
+ }
14212
+ }
14213
+
14214
+ export class ListServicesRequest extends $dara.Model {
14215
+ /**
14216
+ * @remarks
14217
+ * Cloud-native API Gateway ID.
14218
+ *
14219
+ * @example
14220
+ * gw-cpv4sqdl*****
14221
+ */
14222
+ gatewayId?: string;
14223
+ /**
14224
+ * @remarks
14225
+ * Exact query by service name.
14226
+ *
14227
+ * @example
14228
+ * user-service
14229
+ */
14230
+ name?: string;
14231
+ /**
14232
+ * @remarks
14233
+ * Page number, starting from 1. Default is 1 if not specified.
14234
+ *
14235
+ * @example
14236
+ * 1
14237
+ */
14238
+ pageNumber?: number;
14239
+ /**
14240
+ * @remarks
14241
+ * Page size, valid range [1, 100]. Default is 10 if not specified.
14242
+ *
14243
+ * @example
14244
+ * 10
14245
+ */
14246
+ pageSize?: number;
14247
+ /**
14248
+ * @remarks
14249
+ * Resource group ID.
14250
+ *
14251
+ * @example
14252
+ * rg-acfmxxe5rc6cvla
14253
+ */
14254
+ resourceGroupId?: string;
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
+ *
14264
+ * @example
14265
+ * MSE_NACOS
14266
+ */
14267
+ sourceType?: string;
14268
+ static names(): { [key: string]: string } {
14269
+ return {
14270
+ gatewayId: 'gatewayId',
14271
+ name: 'name',
14272
+ pageNumber: 'pageNumber',
14273
+ pageSize: 'pageSize',
14274
+ resourceGroupId: 'resourceGroupId',
14275
+ sourceType: 'sourceType',
14276
+ };
14277
+ }
14278
+
14279
+ static types(): { [key: string]: any } {
14280
+ return {
14281
+ gatewayId: 'string',
14282
+ name: 'string',
14283
+ pageNumber: 'number',
14284
+ pageSize: 'number',
14285
+ resourceGroupId: 'string',
14286
+ sourceType: 'string',
14287
+ };
14288
+ }
14289
+
14290
+ validate() {
14291
+ super.validate();
14292
+ }
14293
+
14294
+ constructor(map?: { [key: string]: any }) {
14295
+ super(map);
14296
+ }
14297
+ }
14298
+
14299
+ export class ListServicesResponseBody extends $dara.Model {
14300
+ /**
14301
+ * @remarks
14302
+ * Response status code.
14303
+ *
14304
+ * @example
14305
+ * Ok
14306
+ */
14307
+ code?: string;
14308
+ /**
14309
+ * @remarks
14310
+ * Response data.
14311
+ */
14312
+ data?: ListServicesResponseBodyData;
14313
+ /**
14314
+ * @remarks
14315
+ * Response message.
14316
+ *
14317
+ * @example
14318
+ * success
14319
+ */
14320
+ message?: string;
14321
+ /**
14322
+ * @remarks
14323
+ * Request ID.
14324
+ *
14325
+ * @example
14326
+ * 585657D2-1C20-5B8A-AF17-D727C6490BE4
14327
+ */
14328
+ requestId?: string;
14329
+ static names(): { [key: string]: string } {
14330
+ return {
14331
+ code: 'code',
14332
+ data: 'data',
14333
+ message: 'message',
14334
+ requestId: 'requestId',
14335
+ };
14336
+ }
14337
+
14338
+ static types(): { [key: string]: any } {
14339
+ return {
14340
+ code: 'string',
14341
+ data: ListServicesResponseBodyData,
14342
+ message: 'string',
14343
+ requestId: 'string',
14344
+ };
14345
+ }
14346
+
14347
+ validate() {
14348
+ if(this.data && typeof (this.data as any).validate === 'function') {
14349
+ (this.data as any).validate();
14350
+ }
14351
+ super.validate();
14352
+ }
14353
+
14354
+ constructor(map?: { [key: string]: any }) {
14355
+ super(map);
14356
+ }
14357
+ }
14358
+
14359
+ export class ListServicesResponse extends $dara.Model {
12868
14360
  headers?: { [key: string]: string };
12869
14361
  statusCode?: number;
12870
- body?: ListPolicyClassesResponseBody;
14362
+ body?: ListServicesResponseBody;
12871
14363
  static names(): { [key: string]: string } {
12872
14364
  return {
12873
14365
  headers: 'headers',
@@ -12880,7 +14372,7 @@ export class ListPolicyClassesResponse extends $dara.Model {
12880
14372
  return {
12881
14373
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
12882
14374
  statusCode: 'number',
12883
- body: ListPolicyClassesResponseBody,
14375
+ body: ListServicesResponseBody,
12884
14376
  };
12885
14377
  }
12886
14378
 
@@ -12901,21 +14393,33 @@ export class ListPolicyClassesResponse extends $dara.Model {
12901
14393
 
12902
14394
  export class ListSslCertsRequest extends $dara.Model {
12903
14395
  /**
14396
+ * @remarks
14397
+ * Name matching keyword.
14398
+ *
12904
14399
  * @example
12905
14400
  * ali
12906
14401
  */
12907
14402
  certNameLike?: string;
12908
14403
  /**
14404
+ * @remarks
14405
+ * Domain name.
14406
+ *
12909
14407
  * @example
12910
14408
  * fun.iot.evideocloud.com.cn
12911
14409
  */
12912
14410
  domainName?: string;
12913
14411
  /**
14412
+ * @remarks
14413
+ * Page number, default is 1
14414
+ *
12914
14415
  * @example
12915
14416
  * 1
12916
14417
  */
12917
14418
  pageNumber?: number;
12918
14419
  /**
14420
+ * @remarks
14421
+ * Page size, default is 10
14422
+ *
12919
14423
  * @example
12920
14424
  * 10
12921
14425
  */
@@ -12949,17 +14453,30 @@ export class ListSslCertsRequest extends $dara.Model {
12949
14453
 
12950
14454
  export class ListSslCertsResponseBody extends $dara.Model {
12951
14455
  /**
14456
+ * @remarks
14457
+ * Response status code.
14458
+ *
12952
14459
  * @example
12953
14460
  * Ok
12954
14461
  */
12955
14462
  code?: string;
14463
+ /**
14464
+ * @remarks
14465
+ * Returned data
14466
+ */
12956
14467
  data?: ListSslCertsResponseBodyData;
12957
14468
  /**
14469
+ * @remarks
14470
+ * Response message.
14471
+ *
12958
14472
  * @example
12959
14473
  * success
12960
14474
  */
12961
14475
  message?: string;
12962
14476
  /**
14477
+ * @remarks
14478
+ * Request ID.
14479
+ *
12963
14480
  * @example
12964
14481
  * AADF7197-3384-52AF-A2DE-A66696734129
12965
14482
  */
@@ -13031,17 +14548,30 @@ export class ListSslCertsResponse extends $dara.Model {
13031
14548
 
13032
14549
  export class ListZonesResponseBody extends $dara.Model {
13033
14550
  /**
14551
+ * @remarks
14552
+ * Response status code.
14553
+ *
13034
14554
  * @example
13035
14555
  * Ok
13036
14556
  */
13037
14557
  code?: string;
14558
+ /**
14559
+ * @remarks
14560
+ * Returned data.
14561
+ */
13038
14562
  data?: ListZonesResponseBodyData;
13039
14563
  /**
14564
+ * @remarks
14565
+ * Response message.
14566
+ *
13040
14567
  * @example
13041
14568
  * success
13042
14569
  */
13043
14570
  message?: string;
13044
14571
  /**
14572
+ * @remarks
14573
+ * Request ID.
14574
+ *
13045
14575
  * @example
13046
14576
  * E8079207-B651-592A-A565-23E9EE5673B0
13047
14577
  */
@@ -13196,9 +14726,145 @@ export class RestartGatewayResponse extends $dara.Model {
13196
14726
  }
13197
14727
  }
13198
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
+
13199
14839
  export class UpdateDomainRequest extends $dara.Model {
14840
+ /**
14841
+ * @remarks
14842
+ * CA certificate identifier
14843
+ *
14844
+ * @example
14845
+ * 1ef1da5f-38ed-69b3-****-037781890265
14846
+ */
13200
14847
  caCertIdentifier?: string;
14848
+ /**
14849
+ * @remarks
14850
+ * Certificate identifier
14851
+ *
14852
+ * @example
14853
+ * 1ef1da5f-38ed-69b3-****-037781890265
14854
+ */
13201
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;
13202
14868
  /**
13203
14869
  * @remarks
13204
14870
  * Set the HTTPS protocol type, whether to enable forced HTTPS redirection.
@@ -13215,6 +14881,11 @@ export class UpdateDomainRequest extends $dara.Model {
13215
14881
  * Open
13216
14882
  */
13217
14883
  http2Option?: string;
14884
+ /**
14885
+ * @remarks
14886
+ * Whether to enable mTLS mutual authentication
14887
+ */
14888
+ mTLSEnabled?: boolean;
13218
14889
  /**
13219
14890
  * @remarks
13220
14891
  * The protocol type supported by the domain.
@@ -13253,8 +14924,10 @@ export class UpdateDomainRequest extends $dara.Model {
13253
14924
  return {
13254
14925
  caCertIdentifier: 'caCertIdentifier',
13255
14926
  certIdentifier: 'certIdentifier',
14927
+ clientCACert: 'clientCACert',
13256
14928
  forceHttps: 'forceHttps',
13257
14929
  http2Option: 'http2Option',
14930
+ mTLSEnabled: 'mTLSEnabled',
13258
14931
  protocol: 'protocol',
13259
14932
  tlsCipherSuitesConfig: 'tlsCipherSuitesConfig',
13260
14933
  tlsMax: 'tlsMax',
@@ -13266,8 +14939,10 @@ export class UpdateDomainRequest extends $dara.Model {
13266
14939
  return {
13267
14940
  caCertIdentifier: 'string',
13268
14941
  certIdentifier: 'string',
14942
+ clientCACert: 'string',
13269
14943
  forceHttps: 'boolean',
13270
14944
  http2Option: 'string',
14945
+ mTLSEnabled: 'boolean',
13271
14946
  protocol: 'string',
13272
14947
  tlsCipherSuitesConfig: TlsCipherSuitesConfig,
13273
14948
  tlsMax: 'string',
@@ -13742,13 +15417,17 @@ export class UpdateGatewayNameResponse extends $dara.Model {
13742
15417
  export class UpdateHttpApiRequest extends $dara.Model {
13743
15418
  /**
13744
15419
  * @remarks
13745
- * List of AI protocols.
15420
+ * The AI protocols.
13746
15421
  */
13747
15422
  aiProtocols?: string[];
15423
+ /**
15424
+ * @remarks
15425
+ * The authentication configuration.
15426
+ */
13748
15427
  authConfig?: AuthConfig;
13749
15428
  /**
13750
15429
  * @remarks
13751
- * Base path of the API, which must start with a \\"/\\".
15430
+ * The API base path, which must start with a forward slash (/).
13752
15431
  *
13753
15432
  * This parameter is required.
13754
15433
  *
@@ -13758,31 +15437,35 @@ export class UpdateHttpApiRequest extends $dara.Model {
13758
15437
  basePath?: string;
13759
15438
  /**
13760
15439
  * @remarks
13761
- * List of API deployment configurations.
15440
+ * The deployment configurations.
13762
15441
  */
13763
15442
  deployConfigs?: HttpApiDeployConfig[];
13764
15443
  /**
13765
15444
  * @remarks
13766
- * API description.
15445
+ * The API description.
13767
15446
  *
13768
15447
  * @example
13769
- * 更新API描述
15448
+ * API for testing
13770
15449
  */
13771
15450
  description?: string;
15451
+ /**
15452
+ * @remarks
15453
+ * Specifies whether to enable authentication.
15454
+ */
13772
15455
  enableAuth?: boolean;
13773
15456
  /**
13774
15457
  * @remarks
13775
- * Configuration information for the HTTP Ingress API.
15458
+ * The HTTP Ingress API configurations.
13776
15459
  */
13777
15460
  ingressConfig?: UpdateHttpApiRequestIngressConfig;
13778
15461
  /**
13779
15462
  * @remarks
13780
- * List of API access protocols.
15463
+ * The protocols that are used to access the API.
13781
15464
  */
13782
15465
  protocols?: string[];
13783
15466
  /**
13784
15467
  * @remarks
13785
- * API versioning configuration.
15468
+ * The versioning configurations.
13786
15469
  */
13787
15470
  versionConfig?: HttpApiVersionConfig;
13788
15471
  static names(): { [key: string]: string } {
@@ -13843,7 +15526,7 @@ export class UpdateHttpApiRequest extends $dara.Model {
13843
15526
  export class UpdateHttpApiResponseBody extends $dara.Model {
13844
15527
  /**
13845
15528
  * @remarks
13846
- * Response status code.
15529
+ * The status code.
13847
15530
  *
13848
15531
  * @example
13849
15532
  * Ok
@@ -13851,7 +15534,7 @@ export class UpdateHttpApiResponseBody extends $dara.Model {
13851
15534
  code?: string;
13852
15535
  /**
13853
15536
  * @remarks
13854
- * Response message.
15537
+ * The returned message.
13855
15538
  *
13856
15539
  * @example
13857
15540
  * success
@@ -13859,7 +15542,7 @@ export class UpdateHttpApiResponseBody extends $dara.Model {
13859
15542
  message?: string;
13860
15543
  /**
13861
15544
  * @remarks
13862
- * Request ID.
15545
+ * The request ID.
13863
15546
  *
13864
15547
  * @example
13865
15548
  * 393E2630-DBE7-5221-AB35-9E740675491A
@@ -14198,15 +15881,26 @@ export class UpdateHttpApiRouteResponse extends $dara.Model {
14198
15881
  export class UpdatePolicyRequest extends $dara.Model {
14199
15882
  /**
14200
15883
  * @remarks
15884
+ * Policy configuration
15885
+ *
14201
15886
  * This parameter is required.
14202
15887
  *
14203
15888
  * @example
14204
15889
  * {"unitNum":1,"timeUnit":"s","enable":true}
14205
15890
  */
14206
15891
  config?: string;
15892
+ /**
15893
+ * @remarks
15894
+ * Description
15895
+ *
15896
+ * @example
15897
+ * this is a timeout policy description
15898
+ */
14207
15899
  description?: string;
14208
15900
  /**
14209
15901
  * @remarks
15902
+ * Policy name
15903
+ *
14210
15904
  * This parameter is required.
14211
15905
  *
14212
15906
  * @example
@@ -14240,16 +15934,25 @@ export class UpdatePolicyRequest extends $dara.Model {
14240
15934
 
14241
15935
  export class UpdatePolicyResponseBody extends $dara.Model {
14242
15936
  /**
15937
+ * @remarks
15938
+ * Response status code.
15939
+ *
14243
15940
  * @example
14244
15941
  * Ok
14245
15942
  */
14246
15943
  code?: string;
14247
15944
  /**
15945
+ * @remarks
15946
+ * Response message.
15947
+ *
14248
15948
  * @example
14249
15949
  * success
14250
15950
  */
14251
15951
  message?: string;
14252
15952
  /**
15953
+ * @remarks
15954
+ * Request ID.
15955
+ *
14253
15956
  * @example
14254
15957
  * C67DED2B-F19B-5BEC-88C1-D6EB854C***
14255
15958
  */
@@ -14511,7 +16214,7 @@ export default class Client extends OpenApi {
14511
16214
  }
14512
16215
 
14513
16216
  /**
14514
- * 资源转组
16217
+ * Resource Group Transfer
14515
16218
  *
14516
16219
  * @param request - ChangeResourceGroupRequest
14517
16220
  * @param headers - map
@@ -14561,7 +16264,7 @@ export default class Client extends OpenApi {
14561
16264
  }
14562
16265
 
14563
16266
  /**
14564
- * 资源转组
16267
+ * Resource Group Transfer
14565
16268
  *
14566
16269
  * @param request - ChangeResourceGroupRequest
14567
16270
  * @returns ChangeResourceGroupResponse
@@ -14594,6 +16297,10 @@ export default class Client extends OpenApi {
14594
16297
  body["certIdentifier"] = request.certIdentifier;
14595
16298
  }
14596
16299
 
16300
+ if (!$dara.isNull(request.clientCACert)) {
16301
+ body["clientCACert"] = request.clientCACert;
16302
+ }
16303
+
14597
16304
  if (!$dara.isNull(request.forceHttps)) {
14598
16305
  body["forceHttps"] = request.forceHttps;
14599
16306
  }
@@ -14602,6 +16309,10 @@ export default class Client extends OpenApi {
14602
16309
  body["http2Option"] = request.http2Option;
14603
16310
  }
14604
16311
 
16312
+ if (!$dara.isNull(request.mTLSEnabled)) {
16313
+ body["mTLSEnabled"] = request.mTLSEnabled;
16314
+ }
16315
+
14605
16316
  if (!$dara.isNull(request.name)) {
14606
16317
  body["name"] = request.name;
14607
16318
  }
@@ -14887,7 +16598,7 @@ export default class Client extends OpenApi {
14887
16598
  }
14888
16599
 
14889
16600
  /**
14890
- * Create a route for HttpApi
16601
+ * Creates a route for an HTTP API.
14891
16602
  *
14892
16603
  * @param request - CreateHttpApiRouteRequest
14893
16604
  * @param headers - map
@@ -14945,7 +16656,7 @@ export default class Client extends OpenApi {
14945
16656
  }
14946
16657
 
14947
16658
  /**
14948
- * Create a route for HttpApi
16659
+ * Creates a route for an HTTP API.
14949
16660
  *
14950
16661
  * @param request - CreateHttpApiRouteRequest
14951
16662
  * @returns CreateHttpApiRouteResponse
@@ -14957,7 +16668,7 @@ export default class Client extends OpenApi {
14957
16668
  }
14958
16669
 
14959
16670
  /**
14960
- * 创建策略
16671
+ * Create Policy
14961
16672
  *
14962
16673
  * @param request - CreatePolicyRequest
14963
16674
  * @param headers - map
@@ -15001,52 +16712,117 @@ export default class Client extends OpenApi {
15001
16712
  if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
15002
16713
  return $dara.cast<CreatePolicyResponse>(await this.callApi(params, req, runtime), new CreatePolicyResponse({}));
15003
16714
  } else {
15004
- return $dara.cast<CreatePolicyResponse>(await this.execute(params, req, runtime), new CreatePolicyResponse({}));
16715
+ return $dara.cast<CreatePolicyResponse>(await this.execute(params, req, runtime), new CreatePolicyResponse({}));
16716
+ }
16717
+
16718
+ }
16719
+
16720
+ /**
16721
+ * Create Policy
16722
+ *
16723
+ * @param request - CreatePolicyRequest
16724
+ * @returns CreatePolicyResponse
16725
+ */
16726
+ async createPolicy(request: CreatePolicyRequest): Promise<CreatePolicyResponse> {
16727
+ let runtime = new $dara.RuntimeOptions({ });
16728
+ let headers : {[key: string ]: string} = { };
16729
+ return await this.createPolicyWithOptions(request, headers, runtime);
16730
+ }
16731
+
16732
+ /**
16733
+ * Create policy resource mount
16734
+ *
16735
+ * @param request - CreatePolicyAttachmentRequest
16736
+ * @param headers - map
16737
+ * @param runtime - runtime options for this request RuntimeOptions
16738
+ * @returns CreatePolicyAttachmentResponse
16739
+ */
16740
+ async createPolicyAttachmentWithOptions(request: CreatePolicyAttachmentRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<CreatePolicyAttachmentResponse> {
16741
+ request.validate();
16742
+ let body : {[key: string ]: any} = { };
16743
+ if (!$dara.isNull(request.attachResourceId)) {
16744
+ body["attachResourceId"] = request.attachResourceId;
16745
+ }
16746
+
16747
+ if (!$dara.isNull(request.attachResourceType)) {
16748
+ body["attachResourceType"] = request.attachResourceType;
16749
+ }
16750
+
16751
+ if (!$dara.isNull(request.environmentId)) {
16752
+ body["environmentId"] = request.environmentId;
16753
+ }
16754
+
16755
+ if (!$dara.isNull(request.gatewayId)) {
16756
+ body["gatewayId"] = request.gatewayId;
16757
+ }
16758
+
16759
+ if (!$dara.isNull(request.policyId)) {
16760
+ body["policyId"] = request.policyId;
16761
+ }
16762
+
16763
+ let req = new $OpenApiUtil.OpenApiRequest({
16764
+ headers: headers,
16765
+ body: OpenApiUtil.parseToMap(body),
16766
+ });
16767
+ let params = new $OpenApiUtil.Params({
16768
+ action: "CreatePolicyAttachment",
16769
+ version: "2024-03-27",
16770
+ protocol: "HTTPS",
16771
+ pathname: `/v1/policy-attachments`,
16772
+ method: "POST",
16773
+ authType: "AK",
16774
+ style: "ROA",
16775
+ reqBodyType: "json",
16776
+ bodyType: "json",
16777
+ });
16778
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
16779
+ return $dara.cast<CreatePolicyAttachmentResponse>(await this.callApi(params, req, runtime), new CreatePolicyAttachmentResponse({}));
16780
+ } else {
16781
+ return $dara.cast<CreatePolicyAttachmentResponse>(await this.execute(params, req, runtime), new CreatePolicyAttachmentResponse({}));
15005
16782
  }
15006
16783
 
15007
16784
  }
15008
16785
 
15009
16786
  /**
15010
- * 创建策略
16787
+ * Create policy resource mount
15011
16788
  *
15012
- * @param request - CreatePolicyRequest
15013
- * @returns CreatePolicyResponse
16789
+ * @param request - CreatePolicyAttachmentRequest
16790
+ * @returns CreatePolicyAttachmentResponse
15014
16791
  */
15015
- async createPolicy(request: CreatePolicyRequest): Promise<CreatePolicyResponse> {
16792
+ async createPolicyAttachment(request: CreatePolicyAttachmentRequest): Promise<CreatePolicyAttachmentResponse> {
15016
16793
  let runtime = new $dara.RuntimeOptions({ });
15017
16794
  let headers : {[key: string ]: string} = { };
15018
- return await this.createPolicyWithOptions(request, headers, runtime);
16795
+ return await this.createPolicyAttachmentWithOptions(request, headers, runtime);
15019
16796
  }
15020
16797
 
15021
16798
  /**
15022
- * 创建策略资源挂载
16799
+ * Create Service
15023
16800
  *
15024
- * @param request - CreatePolicyAttachmentRequest
16801
+ * @remarks
16802
+ * The interface supports creating multiple services.
16803
+ *
16804
+ * @param request - CreateServiceRequest
15025
16805
  * @param headers - map
15026
16806
  * @param runtime - runtime options for this request RuntimeOptions
15027
- * @returns CreatePolicyAttachmentResponse
16807
+ * @returns CreateServiceResponse
15028
16808
  */
15029
- async createPolicyAttachmentWithOptions(request: CreatePolicyAttachmentRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<CreatePolicyAttachmentResponse> {
16809
+ async createServiceWithOptions(request: CreateServiceRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<CreateServiceResponse> {
15030
16810
  request.validate();
15031
16811
  let body : {[key: string ]: any} = { };
15032
- if (!$dara.isNull(request.attachResourceId)) {
15033
- body["attachResourceId"] = request.attachResourceId;
15034
- }
15035
-
15036
- if (!$dara.isNull(request.attachResourceType)) {
15037
- body["attachResourceType"] = request.attachResourceType;
16812
+ if (!$dara.isNull(request.gatewayId)) {
16813
+ body["gatewayId"] = request.gatewayId;
15038
16814
  }
15039
16815
 
15040
- if (!$dara.isNull(request.environmentId)) {
15041
- body["environmentId"] = request.environmentId;
16816
+ if (!$dara.isNull(request.resourceGroupId)) {
16817
+ body["resourceGroupId"] = request.resourceGroupId;
15042
16818
  }
15043
16819
 
15044
- if (!$dara.isNull(request.gatewayId)) {
15045
- body["gatewayId"] = request.gatewayId;
16820
+ if (!$dara.isNull(request.serviceConfigs)) {
16821
+ body["serviceConfigs"] = request.serviceConfigs;
15046
16822
  }
15047
16823
 
15048
- if (!$dara.isNull(request.policyId)) {
15049
- body["policyId"] = request.policyId;
16824
+ if (!$dara.isNull(request.sourceType)) {
16825
+ body["sourceType"] = request.sourceType;
15050
16826
  }
15051
16827
 
15052
16828
  let req = new $OpenApiUtil.OpenApiRequest({
@@ -15054,10 +16830,10 @@ export default class Client extends OpenApi {
15054
16830
  body: OpenApiUtil.parseToMap(body),
15055
16831
  });
15056
16832
  let params = new $OpenApiUtil.Params({
15057
- action: "CreatePolicyAttachment",
16833
+ action: "CreateService",
15058
16834
  version: "2024-03-27",
15059
16835
  protocol: "HTTPS",
15060
- pathname: `/v1/policy-attachments`,
16836
+ pathname: `/v1/services`,
15061
16837
  method: "POST",
15062
16838
  authType: "AK",
15063
16839
  style: "ROA",
@@ -15065,23 +16841,26 @@ export default class Client extends OpenApi {
15065
16841
  bodyType: "json",
15066
16842
  });
15067
16843
  if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
15068
- return $dara.cast<CreatePolicyAttachmentResponse>(await this.callApi(params, req, runtime), new CreatePolicyAttachmentResponse({}));
16844
+ return $dara.cast<CreateServiceResponse>(await this.callApi(params, req, runtime), new CreateServiceResponse({}));
15069
16845
  } else {
15070
- return $dara.cast<CreatePolicyAttachmentResponse>(await this.execute(params, req, runtime), new CreatePolicyAttachmentResponse({}));
16846
+ return $dara.cast<CreateServiceResponse>(await this.execute(params, req, runtime), new CreateServiceResponse({}));
15071
16847
  }
15072
16848
 
15073
16849
  }
15074
16850
 
15075
16851
  /**
15076
- * 创建策略资源挂载
16852
+ * Create Service
15077
16853
  *
15078
- * @param request - CreatePolicyAttachmentRequest
15079
- * @returns CreatePolicyAttachmentResponse
16854
+ * @remarks
16855
+ * The interface supports creating multiple services.
16856
+ *
16857
+ * @param request - CreateServiceRequest
16858
+ * @returns CreateServiceResponse
15080
16859
  */
15081
- async createPolicyAttachment(request: CreatePolicyAttachmentRequest): Promise<CreatePolicyAttachmentResponse> {
16860
+ async createService(request: CreateServiceRequest): Promise<CreateServiceResponse> {
15082
16861
  let runtime = new $dara.RuntimeOptions({ });
15083
16862
  let headers : {[key: string ]: string} = { };
15084
- return await this.createPolicyAttachmentWithOptions(request, headers, runtime);
16863
+ return await this.createServiceWithOptions(request, headers, runtime);
15085
16864
  }
15086
16865
 
15087
16866
  /**
@@ -15261,7 +17040,7 @@ export default class Client extends OpenApi {
15261
17040
  }
15262
17041
 
15263
17042
  /**
15264
- * Delete HTTP API
17043
+ * Deletes an HTTP API.
15265
17044
  *
15266
17045
  * @param headers - map
15267
17046
  * @param runtime - runtime options for this request RuntimeOptions
@@ -15291,7 +17070,7 @@ export default class Client extends OpenApi {
15291
17070
  }
15292
17071
 
15293
17072
  /**
15294
- * Delete HTTP API
17073
+ * Deletes an HTTP API.
15295
17074
  * @returns DeleteHttpApiResponse
15296
17075
  */
15297
17076
  async deleteHttpApi(httpApiId: string): Promise<DeleteHttpApiResponse> {
@@ -15381,7 +17160,7 @@ export default class Client extends OpenApi {
15381
17160
  }
15382
17161
 
15383
17162
  /**
15384
- * 删除策略
17163
+ * Delete Policy
15385
17164
  *
15386
17165
  * @param headers - map
15387
17166
  * @param runtime - runtime options for this request RuntimeOptions
@@ -15411,7 +17190,7 @@ export default class Client extends OpenApi {
15411
17190
  }
15412
17191
 
15413
17192
  /**
15414
- * 删除策略
17193
+ * Delete Policy
15415
17194
  * @returns DeletePolicyResponse
15416
17195
  */
15417
17196
  async deletePolicy(policyId: string): Promise<DeletePolicyResponse> {
@@ -15421,7 +17200,7 @@ export default class Client extends OpenApi {
15421
17200
  }
15422
17201
 
15423
17202
  /**
15424
- * 删除策略资源挂载
17203
+ * Delete policy resource attachment
15425
17204
  *
15426
17205
  * @param headers - map
15427
17206
  * @param runtime - runtime options for this request RuntimeOptions
@@ -15451,7 +17230,7 @@ export default class Client extends OpenApi {
15451
17230
  }
15452
17231
 
15453
17232
  /**
15454
- * 删除策略资源挂载
17233
+ * Delete policy resource attachment
15455
17234
  * @returns DeletePolicyAttachmentResponse
15456
17235
  */
15457
17236
  async deletePolicyAttachment(policyAttachmentId: string): Promise<DeletePolicyAttachmentResponse> {
@@ -15461,7 +17240,7 @@ export default class Client extends OpenApi {
15461
17240
  }
15462
17241
 
15463
17242
  /**
15464
- * 部署HttpApi
17243
+ * Deploy HttpApi
15465
17244
  *
15466
17245
  * @param request - DeployHttpApiRequest
15467
17246
  * @param headers - map
@@ -15503,7 +17282,7 @@ export default class Client extends OpenApi {
15503
17282
  }
15504
17283
 
15505
17284
  /**
15506
- * 部署HttpApi
17285
+ * Deploy HttpApi
15507
17286
  *
15508
17287
  * @param request - DeployHttpApiRequest
15509
17288
  * @returns DeployHttpApiResponse
@@ -15555,7 +17334,7 @@ export default class Client extends OpenApi {
15555
17334
  }
15556
17335
 
15557
17336
  /**
15558
- * 获取监控/日志大盘接口
17337
+ * Get Monitoring/Logging Dashboard Interface
15559
17338
  *
15560
17339
  * @param tmpReq - GetDashboardRequest
15561
17340
  * @param headers - map
@@ -15619,7 +17398,7 @@ export default class Client extends OpenApi {
15619
17398
  }
15620
17399
 
15621
17400
  /**
15622
- * 获取监控/日志大盘接口
17401
+ * Get Monitoring/Logging Dashboard Interface
15623
17402
  *
15624
17403
  * @param request - GetDashboardRequest
15625
17404
  * @returns GetDashboardResponse
@@ -15941,7 +17720,7 @@ export default class Client extends OpenApi {
15941
17720
  }
15942
17721
 
15943
17722
  /**
15944
- * 查询策略资源挂载
17723
+ * Query Policy Resource Attachment
15945
17724
  *
15946
17725
  * @param headers - map
15947
17726
  * @param runtime - runtime options for this request RuntimeOptions
@@ -15971,7 +17750,7 @@ export default class Client extends OpenApi {
15971
17750
  }
15972
17751
 
15973
17752
  /**
15974
- * 查询策略资源挂载
17753
+ * Query Policy Resource Attachment
15975
17754
  * @returns GetPolicyAttachmentResponse
15976
17755
  */
15977
17756
  async getPolicyAttachment(policyAttachmentId: string): Promise<GetPolicyAttachmentResponse> {
@@ -15981,7 +17760,7 @@ export default class Client extends OpenApi {
15981
17760
  }
15982
17761
 
15983
17762
  /**
15984
- * 获取资源概览信息
17763
+ * Get resource overview information
15985
17764
  *
15986
17765
  * @param headers - map
15987
17766
  * @param runtime - runtime options for this request RuntimeOptions
@@ -16011,7 +17790,7 @@ export default class Client extends OpenApi {
16011
17790
  }
16012
17791
 
16013
17792
  /**
16014
- * 获取资源概览信息
17793
+ * Get resource overview information
16015
17794
  * @returns GetResourceOverviewResponse
16016
17795
  */
16017
17796
  async getResourceOverview(): Promise<GetResourceOverviewResponse> {
@@ -16021,7 +17800,47 @@ export default class Client extends OpenApi {
16021
17800
  }
16022
17801
 
16023
17802
  /**
16024
- * 获取链路追踪配置
17803
+ * Get Service Details
17804
+ *
17805
+ * @param headers - map
17806
+ * @param runtime - runtime options for this request RuntimeOptions
17807
+ * @returns GetServiceResponse
17808
+ */
17809
+ async getServiceWithOptions(serviceId: string, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<GetServiceResponse> {
17810
+ let req = new $OpenApiUtil.OpenApiRequest({
17811
+ headers: headers,
17812
+ });
17813
+ let params = new $OpenApiUtil.Params({
17814
+ action: "GetService",
17815
+ version: "2024-03-27",
17816
+ protocol: "HTTPS",
17817
+ pathname: `/v1/services/${$dara.URL.percentEncode(serviceId)}`,
17818
+ method: "GET",
17819
+ authType: "AK",
17820
+ style: "ROA",
17821
+ reqBodyType: "json",
17822
+ bodyType: "json",
17823
+ });
17824
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
17825
+ return $dara.cast<GetServiceResponse>(await this.callApi(params, req, runtime), new GetServiceResponse({}));
17826
+ } else {
17827
+ return $dara.cast<GetServiceResponse>(await this.execute(params, req, runtime), new GetServiceResponse({}));
17828
+ }
17829
+
17830
+ }
17831
+
17832
+ /**
17833
+ * Get Service Details
17834
+ * @returns GetServiceResponse
17835
+ */
17836
+ async getService(serviceId: string): Promise<GetServiceResponse> {
17837
+ let runtime = new $dara.RuntimeOptions({ });
17838
+ let headers : {[key: string ]: string} = { };
17839
+ return await this.getServiceWithOptions(serviceId, headers, runtime);
17840
+ }
17841
+
17842
+ /**
17843
+ * Retrieve Tracing Configuration
16025
17844
  *
16026
17845
  * @param request - GetTraceConfigRequest
16027
17846
  * @param headers - map
@@ -16059,7 +17878,7 @@ export default class Client extends OpenApi {
16059
17878
  }
16060
17879
 
16061
17880
  /**
16062
- * 获取链路追踪配置
17881
+ * Retrieve Tracing Configuration
16063
17882
  *
16064
17883
  * @param request - GetTraceConfigRequest
16065
17884
  * @returns GetTraceConfigResponse
@@ -16468,6 +18287,104 @@ export default class Client extends OpenApi {
16468
18287
  return await this.listHttpApiOperationsWithOptions(httpApiId, request, headers, runtime);
16469
18288
  }
16470
18289
 
18290
+ /**
18291
+ * Create a route for HttpApi
18292
+ *
18293
+ * @param request - ListHttpApiRoutesRequest
18294
+ * @param headers - map
18295
+ * @param runtime - runtime options for this request RuntimeOptions
18296
+ * @returns ListHttpApiRoutesResponse
18297
+ */
18298
+ async listHttpApiRoutesWithOptions(httpApiId: string, request: ListHttpApiRoutesRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<ListHttpApiRoutesResponse> {
18299
+ request.validate();
18300
+ let query : {[key: string ]: any} = { };
18301
+ if (!$dara.isNull(request.consumerAuthorizationRuleId)) {
18302
+ query["consumerAuthorizationRuleId"] = request.consumerAuthorizationRuleId;
18303
+ }
18304
+
18305
+ if (!$dara.isNull(request.deployStatuses)) {
18306
+ query["deployStatuses"] = request.deployStatuses;
18307
+ }
18308
+
18309
+ if (!$dara.isNull(request.domainId)) {
18310
+ query["domainId"] = request.domainId;
18311
+ }
18312
+
18313
+ if (!$dara.isNull(request.environmentId)) {
18314
+ query["environmentId"] = request.environmentId;
18315
+ }
18316
+
18317
+ if (!$dara.isNull(request.gatewayId)) {
18318
+ query["gatewayId"] = request.gatewayId;
18319
+ }
18320
+
18321
+ if (!$dara.isNull(request.name)) {
18322
+ query["name"] = request.name;
18323
+ }
18324
+
18325
+ if (!$dara.isNull(request.nameLike)) {
18326
+ query["nameLike"] = request.nameLike;
18327
+ }
18328
+
18329
+ if (!$dara.isNull(request.pageNumber)) {
18330
+ query["pageNumber"] = request.pageNumber;
18331
+ }
18332
+
18333
+ if (!$dara.isNull(request.pageSize)) {
18334
+ query["pageSize"] = request.pageSize;
18335
+ }
18336
+
18337
+ if (!$dara.isNull(request.pathLike)) {
18338
+ query["pathLike"] = request.pathLike;
18339
+ }
18340
+
18341
+ if (!$dara.isNull(request.withAuthPolicyInfo)) {
18342
+ query["withAuthPolicyInfo"] = request.withAuthPolicyInfo;
18343
+ }
18344
+
18345
+ if (!$dara.isNull(request.withConsumerInfoById)) {
18346
+ query["withConsumerInfoById"] = request.withConsumerInfoById;
18347
+ }
18348
+
18349
+ if (!$dara.isNull(request.withPluginAttachmentByPluginId)) {
18350
+ query["withPluginAttachmentByPluginId"] = request.withPluginAttachmentByPluginId;
18351
+ }
18352
+
18353
+ let req = new $OpenApiUtil.OpenApiRequest({
18354
+ headers: headers,
18355
+ query: OpenApiUtil.query(query),
18356
+ });
18357
+ let params = new $OpenApiUtil.Params({
18358
+ action: "ListHttpApiRoutes",
18359
+ version: "2024-03-27",
18360
+ protocol: "HTTPS",
18361
+ pathname: `/v1/http-apis/${$dara.URL.percentEncode(httpApiId)}/routes`,
18362
+ method: "GET",
18363
+ authType: "AK",
18364
+ style: "ROA",
18365
+ reqBodyType: "json",
18366
+ bodyType: "json",
18367
+ });
18368
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
18369
+ return $dara.cast<ListHttpApiRoutesResponse>(await this.callApi(params, req, runtime), new ListHttpApiRoutesResponse({}));
18370
+ } else {
18371
+ return $dara.cast<ListHttpApiRoutesResponse>(await this.execute(params, req, runtime), new ListHttpApiRoutesResponse({}));
18372
+ }
18373
+
18374
+ }
18375
+
18376
+ /**
18377
+ * Create a route for HttpApi
18378
+ *
18379
+ * @param request - ListHttpApiRoutesRequest
18380
+ * @returns ListHttpApiRoutesResponse
18381
+ */
18382
+ async listHttpApiRoutes(httpApiId: string, request: ListHttpApiRoutesRequest): Promise<ListHttpApiRoutesResponse> {
18383
+ let runtime = new $dara.RuntimeOptions({ });
18384
+ let headers : {[key: string ]: string} = { };
18385
+ return await this.listHttpApiRoutesWithOptions(httpApiId, request, headers, runtime);
18386
+ }
18387
+
16471
18388
  /**
16472
18389
  * List HTTP APIs
16473
18390
  *
@@ -16571,7 +18488,7 @@ export default class Client extends OpenApi {
16571
18488
  }
16572
18489
 
16573
18490
  /**
16574
- * ListPolicyClasses
18491
+ * ListPolicyClasses
16575
18492
  *
16576
18493
  * @param request - ListPolicyClassesRequest
16577
18494
  * @param headers - map
@@ -16625,7 +18542,7 @@ export default class Client extends OpenApi {
16625
18542
  }
16626
18543
 
16627
18544
  /**
16628
- * ListPolicyClasses
18545
+ * ListPolicyClasses
16629
18546
  *
16630
18547
  * @param request - ListPolicyClassesRequest
16631
18548
  * @returns ListPolicyClassesResponse
@@ -16637,7 +18554,77 @@ export default class Client extends OpenApi {
16637
18554
  }
16638
18555
 
16639
18556
  /**
16640
- * ListSslCerts。
18557
+ * Get Service List
18558
+ *
18559
+ * @param request - ListServicesRequest
18560
+ * @param headers - map
18561
+ * @param runtime - runtime options for this request RuntimeOptions
18562
+ * @returns ListServicesResponse
18563
+ */
18564
+ async listServicesWithOptions(request: ListServicesRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<ListServicesResponse> {
18565
+ request.validate();
18566
+ let query : {[key: string ]: any} = { };
18567
+ if (!$dara.isNull(request.gatewayId)) {
18568
+ query["gatewayId"] = request.gatewayId;
18569
+ }
18570
+
18571
+ if (!$dara.isNull(request.name)) {
18572
+ query["name"] = request.name;
18573
+ }
18574
+
18575
+ if (!$dara.isNull(request.pageNumber)) {
18576
+ query["pageNumber"] = request.pageNumber;
18577
+ }
18578
+
18579
+ if (!$dara.isNull(request.pageSize)) {
18580
+ query["pageSize"] = request.pageSize;
18581
+ }
18582
+
18583
+ if (!$dara.isNull(request.resourceGroupId)) {
18584
+ query["resourceGroupId"] = request.resourceGroupId;
18585
+ }
18586
+
18587
+ if (!$dara.isNull(request.sourceType)) {
18588
+ query["sourceType"] = request.sourceType;
18589
+ }
18590
+
18591
+ let req = new $OpenApiUtil.OpenApiRequest({
18592
+ headers: headers,
18593
+ query: OpenApiUtil.query(query),
18594
+ });
18595
+ let params = new $OpenApiUtil.Params({
18596
+ action: "ListServices",
18597
+ version: "2024-03-27",
18598
+ protocol: "HTTPS",
18599
+ pathname: `/v1/services`,
18600
+ method: "GET",
18601
+ authType: "AK",
18602
+ style: "ROA",
18603
+ reqBodyType: "json",
18604
+ bodyType: "json",
18605
+ });
18606
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
18607
+ return $dara.cast<ListServicesResponse>(await this.callApi(params, req, runtime), new ListServicesResponse({}));
18608
+ } else {
18609
+ return $dara.cast<ListServicesResponse>(await this.execute(params, req, runtime), new ListServicesResponse({}));
18610
+ }
18611
+
18612
+ }
18613
+
18614
+ /**
18615
+ * Get Service List
18616
+ *
18617
+ * @param request - ListServicesRequest
18618
+ * @returns ListServicesResponse
18619
+ */
18620
+ async listServices(request: ListServicesRequest): Promise<ListServicesResponse> {
18621
+ let runtime = new $dara.RuntimeOptions({ });
18622
+ let headers : {[key: string ]: string} = { };
18623
+ return await this.listServicesWithOptions(request, headers, runtime);
18624
+ }
18625
+
18626
+ /**
18627
+ * ListSslCerts
16641
18628
  *
16642
18629
  * @param request - ListSslCertsRequest
16643
18630
  * @param headers - map
@@ -16687,7 +18674,7 @@ export default class Client extends OpenApi {
16687
18674
  }
16688
18675
 
16689
18676
  /**
16690
- * ListSslCerts
18677
+ * ListSslCerts
16691
18678
  *
16692
18679
  * @param request - ListSslCertsRequest
16693
18680
  * @returns ListSslCertsResponse
@@ -16699,7 +18686,7 @@ export default class Client extends OpenApi {
16699
18686
  }
16700
18687
 
16701
18688
  /**
16702
- * 获取云原生API网关region下的可用区
18689
+ * Retrieve the availability zones under a cloud-native API gateway region
16703
18690
  *
16704
18691
  * @param headers - map
16705
18692
  * @param runtime - runtime options for this request RuntimeOptions
@@ -16729,7 +18716,7 @@ export default class Client extends OpenApi {
16729
18716
  }
16730
18717
 
16731
18718
  /**
16732
- * 获取云原生API网关region下的可用区
18719
+ * Retrieve the availability zones under a cloud-native API gateway region
16733
18720
  * @returns ListZonesResponse
16734
18721
  */
16735
18722
  async listZones(): Promise<ListZonesResponse> {
@@ -16778,9 +18765,66 @@ export default class Client extends OpenApi {
16778
18765
  return await this.restartGatewayWithOptions(gatewayId, headers, runtime);
16779
18766
  }
16780
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
+
16781
18822
  /**
16782
18823
  * UpdateDomain
16783
18824
  *
18825
+ * @remarks
18826
+ * 只有类型为**容器服务**的来源允许更新监听Ingress的配置。
18827
+ *
16784
18828
  * @param request - UpdateDomainRequest
16785
18829
  * @param headers - map
16786
18830
  * @param runtime - runtime options for this request RuntimeOptions
@@ -16797,6 +18841,10 @@ export default class Client extends OpenApi {
16797
18841
  body["certIdentifier"] = request.certIdentifier;
16798
18842
  }
16799
18843
 
18844
+ if (!$dara.isNull(request.clientCACert)) {
18845
+ body["clientCACert"] = request.clientCACert;
18846
+ }
18847
+
16800
18848
  if (!$dara.isNull(request.forceHttps)) {
16801
18849
  body["forceHttps"] = request.forceHttps;
16802
18850
  }
@@ -16805,6 +18853,10 @@ export default class Client extends OpenApi {
16805
18853
  body["http2Option"] = request.http2Option;
16806
18854
  }
16807
18855
 
18856
+ if (!$dara.isNull(request.mTLSEnabled)) {
18857
+ body["mTLSEnabled"] = request.mTLSEnabled;
18858
+ }
18859
+
16808
18860
  if (!$dara.isNull(request.protocol)) {
16809
18861
  body["protocol"] = request.protocol;
16810
18862
  }
@@ -16847,6 +18899,9 @@ export default class Client extends OpenApi {
16847
18899
  /**
16848
18900
  * UpdateDomain
16849
18901
  *
18902
+ * @remarks
18903
+ * 只有类型为**容器服务**的来源允许更新监听Ingress的配置。
18904
+ *
16850
18905
  * @param request - UpdateDomainRequest
16851
18906
  * @returns UpdateDomainResponse
16852
18907
  */
@@ -17017,7 +19072,7 @@ export default class Client extends OpenApi {
17017
19072
  }
17018
19073
 
17019
19074
  /**
17020
- * Update HTTP API
19075
+ * Updates an HTTP API.
17021
19076
  *
17022
19077
  * @param request - UpdateHttpApiRequest
17023
19078
  * @param headers - map
@@ -17087,7 +19142,7 @@ export default class Client extends OpenApi {
17087
19142
  }
17088
19143
 
17089
19144
  /**
17090
- * Update HTTP API
19145
+ * Updates an HTTP API.
17091
19146
  *
17092
19147
  * @param request - UpdateHttpApiRequest
17093
19148
  * @returns UpdateHttpApiResponse
@@ -17215,7 +19270,7 @@ export default class Client extends OpenApi {
17215
19270
  }
17216
19271
 
17217
19272
  /**
17218
- * 更新策略
19273
+ * Update Policy
17219
19274
  *
17220
19275
  * @param request - UpdatePolicyRequest
17221
19276
  * @param headers - map
@@ -17261,7 +19316,7 @@ export default class Client extends OpenApi {
17261
19316
  }
17262
19317
 
17263
19318
  /**
17264
- * 更新策略
19319
+ * Update Policy
17265
19320
  *
17266
19321
  * @param request - UpdatePolicyRequest
17267
19322
  * @returns UpdatePolicyResponse