@alicloud/sae20190506 2.8.4 → 2.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +60 -40
- package/dist/client.js +108 -40
- package/dist/client.js.map +1 -1
- package/dist/models/CreateApplicationRequest.d.ts +3 -0
- package/dist/models/CreateApplicationRequest.js +6 -0
- package/dist/models/CreateApplicationRequest.js.map +1 -1
- package/dist/models/CreateApplicationScalingRuleRequest.d.ts +134 -0
- package/dist/models/CreateApplicationScalingRuleRequest.js.map +1 -1
- package/dist/models/CreateApplicationScalingRuleResponseBody.d.ts +166 -0
- package/dist/models/CreateApplicationScalingRuleResponseBody.js.map +1 -1
- package/dist/models/CreateApplicationShrinkRequest.d.ts +3 -0
- package/dist/models/CreateApplicationShrinkRequest.js +6 -0
- package/dist/models/CreateApplicationShrinkRequest.js.map +1 -1
- package/dist/models/CreateIngressRequest.d.ts +30 -26
- package/dist/models/CreateIngressRequest.js.map +1 -1
- package/dist/models/CreateIngressResponseBody.d.ts +15 -15
- package/dist/models/CreateOrUpdateSwimmingLaneGroupRequest.d.ts +26 -0
- package/dist/models/CreateOrUpdateSwimmingLaneGroupRequest.js.map +1 -1
- package/dist/models/CreateOrUpdateSwimmingLaneGroupResponseBody.d.ts +40 -0
- package/dist/models/CreateOrUpdateSwimmingLaneGroupResponseBody.js.map +1 -1
- package/dist/models/CreateOrUpdateSwimmingLaneGroupShrinkRequest.d.ts +26 -0
- package/dist/models/CreateOrUpdateSwimmingLaneGroupShrinkRequest.js.map +1 -1
- package/dist/models/CreateOrUpdateSwimmingLaneRequest.d.ts +137 -0
- package/dist/models/CreateOrUpdateSwimmingLaneRequest.js.map +1 -1
- package/dist/models/CreateOrUpdateSwimmingLaneResponseBody.d.ts +40 -0
- package/dist/models/CreateOrUpdateSwimmingLaneResponseBody.js.map +1 -1
- package/dist/models/CreateOrUpdateSwimmingLaneShrinkRequest.d.ts +39 -0
- package/dist/models/CreateOrUpdateSwimmingLaneShrinkRequest.js.map +1 -1
- package/dist/models/CreateSecretRequest.d.ts +12 -0
- package/dist/models/CreateSecretRequest.js.map +1 -1
- package/dist/models/CreateSecretResponseBody.d.ts +40 -0
- package/dist/models/CreateSecretResponseBody.js.map +1 -1
- package/dist/models/CreateSecretShrinkRequest.d.ts +12 -0
- package/dist/models/CreateSecretShrinkRequest.js.map +1 -1
- package/dist/models/DeleteInstancesRequest.d.ts +4 -0
- package/dist/models/DeleteInstancesRequest.js.map +1 -1
- package/dist/models/DeleteInstancesResponseBody.d.ts +40 -0
- package/dist/models/DeleteInstancesResponseBody.js.map +1 -1
- package/dist/models/DeleteSwimmingLaneGroupRequest.d.ts +6 -0
- package/dist/models/DeleteSwimmingLaneGroupRequest.js.map +1 -1
- package/dist/models/DeleteSwimmingLaneGroupResponseBody.d.ts +33 -0
- package/dist/models/DeleteSwimmingLaneGroupResponseBody.js.map +1 -1
- package/dist/models/DeployApplicationRequest.d.ts +2 -0
- package/dist/models/DeployApplicationRequest.js +4 -0
- package/dist/models/DeployApplicationRequest.js.map +1 -1
- package/dist/models/DeployApplicationShrinkRequest.d.ts +2 -0
- package/dist/models/DeployApplicationShrinkRequest.js +4 -0
- package/dist/models/DeployApplicationShrinkRequest.js.map +1 -1
- package/dist/models/DescribeApplicationConfigResponseBody.d.ts +2 -0
- package/dist/models/DescribeApplicationConfigResponseBody.js +4 -0
- package/dist/models/DescribeApplicationConfigResponseBody.js.map +1 -1
- package/dist/models/DescribeInstanceLogRequest.d.ts +1 -0
- package/dist/models/DescribeInstanceLogRequest.js +2 -0
- package/dist/models/DescribeInstanceLogRequest.js.map +1 -1
- package/dist/models/DescribeNamespaceResourcesResponseBody.d.ts +1 -0
- package/dist/models/DescribeNamespaceResourcesResponseBody.js +2 -0
- package/dist/models/DescribeNamespaceResourcesResponseBody.js.map +1 -1
- package/dist/models/DescribeSwimmingLaneRequest.d.ts +9 -0
- package/dist/models/DescribeSwimmingLaneRequest.js.map +1 -1
- package/dist/models/DescribeSwimmingLaneResponseBody.d.ts +185 -0
- package/dist/models/DescribeSwimmingLaneResponseBody.js.map +1 -1
- package/dist/models/DowngradeApplicationApmServiceRequest.d.ts +2 -0
- package/dist/models/DowngradeApplicationApmServiceRequest.js.map +1 -1
- package/dist/models/DowngradeApplicationApmServiceResponseBody.d.ts +41 -0
- package/dist/models/DowngradeApplicationApmServiceResponseBody.js.map +1 -1
- package/dist/models/GetWebshellTokenRequest.d.ts +6 -2
- package/dist/models/GetWebshellTokenRequest.js.map +1 -1
- package/dist/models/GetWebshellTokenResponseBody.d.ts +46 -0
- package/dist/models/GetWebshellTokenResponseBody.js.map +1 -1
- package/dist/models/ListAllSwimmingLaneGroupsRequest.d.ts +3 -0
- package/dist/models/ListAllSwimmingLaneGroupsRequest.js.map +1 -1
- package/dist/models/ListAllSwimmingLaneGroupsResponseBody.d.ts +113 -0
- package/dist/models/ListAllSwimmingLaneGroupsResponseBody.js.map +1 -1
- package/dist/models/ListAllSwimmingLanesRequest.d.ts +6 -0
- package/dist/models/ListAllSwimmingLanesRequest.js.map +1 -1
- package/dist/models/ListAllSwimmingLanesResponseBody.d.ts +185 -0
- package/dist/models/ListAllSwimmingLanesResponseBody.js.map +1 -1
- package/dist/models/ListApplicationsForSwimmingLaneRequest.d.ts +8 -0
- package/dist/models/ListApplicationsForSwimmingLaneRequest.js.map +1 -1
- package/dist/models/ListApplicationsForSwimmingLaneResponseBody.d.ts +59 -0
- package/dist/models/ListApplicationsForSwimmingLaneResponseBody.js.map +1 -1
- package/dist/models/ListSwimmingLaneGatewayRoutesRequest.d.ts +6 -0
- package/dist/models/ListSwimmingLaneGatewayRoutesRequest.js.map +1 -1
- package/dist/models/ListSwimmingLaneGatewayRoutesResponseBody.d.ts +57 -0
- package/dist/models/ListSwimmingLaneGatewayRoutesResponseBody.js.map +1 -1
- package/dist/models/ListSwimmingLaneGroupTagsRequest.d.ts +6 -0
- package/dist/models/ListSwimmingLaneGroupTagsRequest.js.map +1 -1
- package/dist/models/ListSwimmingLaneGroupTagsResponseBody.d.ts +43 -0
- package/dist/models/ListSwimmingLaneGroupTagsResponseBody.js.map +1 -1
- package/dist/models/UpdateAppModeRequest.d.ts +11 -0
- package/dist/models/UpdateAppModeRequest.js.map +1 -1
- package/dist/models/UpdateAppModeResponseBody.d.ts +27 -0
- package/dist/models/UpdateAppModeResponseBody.js.map +1 -1
- package/dist/models/UpdateApplicationDescriptionRequest.d.ts +4 -0
- package/dist/models/UpdateApplicationDescriptionRequest.js.map +1 -1
- package/dist/models/UpdateApplicationDescriptionResponseBody.d.ts +36 -0
- package/dist/models/UpdateApplicationDescriptionResponseBody.js.map +1 -1
- package/dist/models/UpdateIngressRequest.d.ts +12 -12
- package/dist/models/UpdateIngressResponseBody.d.ts +11 -11
- package/dist/models/UpdateNamespaceSlsConfigsRequest.d.ts +28 -0
- package/dist/models/UpdateNamespaceSlsConfigsRequest.js +62 -0
- package/dist/models/UpdateNamespaceSlsConfigsRequest.js.map +1 -0
- package/dist/models/UpdateNamespaceSlsConfigsResponse.d.ts +19 -0
- package/dist/models/UpdateNamespaceSlsConfigsResponse.js +69 -0
- package/dist/models/UpdateNamespaceSlsConfigsResponse.js.map +1 -0
- package/dist/models/UpdateNamespaceSlsConfigsResponseBody.d.ts +42 -0
- package/dist/models/UpdateNamespaceSlsConfigsResponseBody.js +68 -0
- package/dist/models/UpdateNamespaceSlsConfigsResponseBody.js.map +1 -0
- package/dist/models/UpdateSwimmingLaneEnableAttributeRequest.d.ts +15 -0
- package/dist/models/UpdateSwimmingLaneEnableAttributeRequest.js.map +1 -1
- package/dist/models/UpdateSwimmingLaneEnableAttributeResponseBody.d.ts +33 -0
- package/dist/models/UpdateSwimmingLaneEnableAttributeResponseBody.js.map +1 -1
- package/dist/models/UpgradeApplicationApmServiceRequest.d.ts +2 -0
- package/dist/models/UpgradeApplicationApmServiceRequest.js.map +1 -1
- package/dist/models/UpgradeApplicationApmServiceResponseBody.d.ts +43 -0
- package/dist/models/UpgradeApplicationApmServiceResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +3 -0
- package/dist/models/model.js +8 -2
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +119 -40
- package/src/models/CreateApplicationRequest.ts +9 -0
- package/src/models/CreateApplicationScalingRuleRequest.ts +134 -0
- package/src/models/CreateApplicationScalingRuleResponseBody.ts +166 -0
- package/src/models/CreateApplicationShrinkRequest.ts +9 -0
- package/src/models/CreateIngressRequest.ts +30 -26
- package/src/models/CreateIngressResponseBody.ts +15 -15
- package/src/models/CreateOrUpdateSwimmingLaneGroupRequest.ts +26 -0
- package/src/models/CreateOrUpdateSwimmingLaneGroupResponseBody.ts +40 -0
- package/src/models/CreateOrUpdateSwimmingLaneGroupShrinkRequest.ts +26 -0
- package/src/models/CreateOrUpdateSwimmingLaneRequest.ts +137 -0
- package/src/models/CreateOrUpdateSwimmingLaneResponseBody.ts +40 -0
- package/src/models/CreateOrUpdateSwimmingLaneShrinkRequest.ts +39 -0
- package/src/models/CreateSecretRequest.ts +12 -0
- package/src/models/CreateSecretResponseBody.ts +40 -0
- package/src/models/CreateSecretShrinkRequest.ts +12 -0
- package/src/models/DeleteInstancesRequest.ts +4 -0
- package/src/models/DeleteInstancesResponseBody.ts +40 -0
- package/src/models/DeleteSwimmingLaneGroupRequest.ts +6 -0
- package/src/models/DeleteSwimmingLaneGroupResponseBody.ts +33 -0
- package/src/models/DeployApplicationRequest.ts +6 -0
- package/src/models/DeployApplicationShrinkRequest.ts +6 -0
- package/src/models/DescribeApplicationConfigResponseBody.ts +6 -0
- package/src/models/DescribeInstanceLogRequest.ts +3 -0
- package/src/models/DescribeNamespaceResourcesResponseBody.ts +3 -0
- package/src/models/DescribeSwimmingLaneRequest.ts +9 -0
- package/src/models/DescribeSwimmingLaneResponseBody.ts +185 -0
- package/src/models/DowngradeApplicationApmServiceRequest.ts +2 -0
- package/src/models/DowngradeApplicationApmServiceResponseBody.ts +41 -0
- package/src/models/GetWebshellTokenRequest.ts +6 -2
- package/src/models/GetWebshellTokenResponseBody.ts +46 -0
- package/src/models/ListAllSwimmingLaneGroupsRequest.ts +3 -0
- package/src/models/ListAllSwimmingLaneGroupsResponseBody.ts +113 -0
- package/src/models/ListAllSwimmingLanesRequest.ts +6 -0
- package/src/models/ListAllSwimmingLanesResponseBody.ts +185 -0
- package/src/models/ListApplicationsForSwimmingLaneRequest.ts +8 -0
- package/src/models/ListApplicationsForSwimmingLaneResponseBody.ts +59 -0
- package/src/models/ListSwimmingLaneGatewayRoutesRequest.ts +6 -0
- package/src/models/ListSwimmingLaneGatewayRoutesResponseBody.ts +57 -0
- package/src/models/ListSwimmingLaneGroupTagsRequest.ts +6 -0
- package/src/models/ListSwimmingLaneGroupTagsResponseBody.ts +43 -0
- package/src/models/UpdateAppModeRequest.ts +11 -0
- package/src/models/UpdateAppModeResponseBody.ts +27 -0
- package/src/models/UpdateApplicationDescriptionRequest.ts +4 -0
- package/src/models/UpdateApplicationDescriptionResponseBody.ts +36 -0
- package/src/models/UpdateIngressRequest.ts +12 -12
- package/src/models/UpdateIngressResponseBody.ts +11 -11
- package/src/models/UpdateNamespaceSlsConfigsRequest.ts +45 -0
- package/src/models/UpdateNamespaceSlsConfigsResponse.ts +40 -0
- package/src/models/UpdateNamespaceSlsConfigsResponseBody.ts +65 -0
- package/src/models/UpdateSwimmingLaneEnableAttributeRequest.ts +15 -0
- package/src/models/UpdateSwimmingLaneEnableAttributeResponseBody.ts +33 -0
- package/src/models/UpgradeApplicationApmServiceRequest.ts +2 -0
- package/src/models/UpgradeApplicationApmServiceResponseBody.ts +43 -0
- package/src/models/model.ts +3 -0
package/dist/client.js
CHANGED
|
@@ -466,6 +466,9 @@ class Client extends openapi_core_1.default {
|
|
|
466
466
|
if (!$dara.isNull(request.acrAssumeRoleArn)) {
|
|
467
467
|
query["AcrAssumeRoleArn"] = request.acrAssumeRoleArn;
|
|
468
468
|
}
|
|
469
|
+
if (!$dara.isNull(request.agentVersion)) {
|
|
470
|
+
query["AgentVersion"] = request.agentVersion;
|
|
471
|
+
}
|
|
469
472
|
if (!$dara.isNull(request.appDescription)) {
|
|
470
473
|
query["AppDescription"] = request.appDescription;
|
|
471
474
|
}
|
|
@@ -511,6 +514,12 @@ class Client extends openapi_core_1.default {
|
|
|
511
514
|
if (!$dara.isNull(request.enableEbpf)) {
|
|
512
515
|
query["EnableEbpf"] = request.enableEbpf;
|
|
513
516
|
}
|
|
517
|
+
if (!$dara.isNull(request.enableNamespaceAgentVersion)) {
|
|
518
|
+
query["EnableNamespaceAgentVersion"] = request.enableNamespaceAgentVersion;
|
|
519
|
+
}
|
|
520
|
+
if (!$dara.isNull(request.enableNamespaceSlsConfig)) {
|
|
521
|
+
query["EnableNamespaceSlsConfig"] = request.enableNamespaceSlsConfig;
|
|
522
|
+
}
|
|
514
523
|
if (!$dara.isNull(request.enableNewArms)) {
|
|
515
524
|
query["EnableNewArms"] = request.enableNewArms;
|
|
516
525
|
}
|
|
@@ -737,14 +746,15 @@ class Client extends openapi_core_1.default {
|
|
|
737
746
|
return await this.createApplicationWithOptions(request, headers, runtime);
|
|
738
747
|
}
|
|
739
748
|
/**
|
|
740
|
-
*
|
|
749
|
+
* Creates an auto scaling policy for an application.
|
|
741
750
|
*
|
|
742
751
|
* @remarks
|
|
743
|
-
*
|
|
744
|
-
* *
|
|
745
|
-
* *
|
|
746
|
-
* *
|
|
747
|
-
* *
|
|
752
|
+
* ## [](#)Precautions
|
|
753
|
+
* * You can create up to five auto scaling policies for one application.
|
|
754
|
+
* * You can create up to 20 trigger points within one day in a scheduled auto scaling policy.
|
|
755
|
+
* * If an auto scaling policy is enabled for an application, you cannot manually manage the lifecycle of the application. For example, you cannot scale, deploy (including single-batch release, phased release, and canary release), stop, or restart the application, or change the instance type. If you want to perform the preceding operations on the application, disable the auto scaling policy and then manually perform the operations.
|
|
756
|
+
* * If an application is in the process of scale-out, scale-in, deployment (including single-batch release, phased release, and canary release), instance type change, restart, or stop, you cannot add or enable an auto scaling policy for the application.
|
|
757
|
+
* * If you want to configure more than 50 instances for an application, you must contact SAE technical support to add your account to the whitelist. For more information, see [Contact us](https://help.aliyun.com/document_detail/146530.html).
|
|
748
758
|
*
|
|
749
759
|
* @param request - CreateApplicationScalingRuleRequest
|
|
750
760
|
* @param headers - map
|
|
@@ -799,14 +809,15 @@ class Client extends openapi_core_1.default {
|
|
|
799
809
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateApplicationScalingRuleResponse({}));
|
|
800
810
|
}
|
|
801
811
|
/**
|
|
802
|
-
*
|
|
812
|
+
* Creates an auto scaling policy for an application.
|
|
803
813
|
*
|
|
804
814
|
* @remarks
|
|
805
|
-
*
|
|
806
|
-
* *
|
|
807
|
-
* *
|
|
808
|
-
* *
|
|
809
|
-
* *
|
|
815
|
+
* ## [](#)Precautions
|
|
816
|
+
* * You can create up to five auto scaling policies for one application.
|
|
817
|
+
* * You can create up to 20 trigger points within one day in a scheduled auto scaling policy.
|
|
818
|
+
* * If an auto scaling policy is enabled for an application, you cannot manually manage the lifecycle of the application. For example, you cannot scale, deploy (including single-batch release, phased release, and canary release), stop, or restart the application, or change the instance type. If you want to perform the preceding operations on the application, disable the auto scaling policy and then manually perform the operations.
|
|
819
|
+
* * If an application is in the process of scale-out, scale-in, deployment (including single-batch release, phased release, and canary release), instance type change, restart, or stop, you cannot add or enable an auto scaling policy for the application.
|
|
820
|
+
* * If you want to configure more than 50 instances for an application, you must contact SAE technical support to add your account to the whitelist. For more information, see [Contact us](https://help.aliyun.com/document_detail/146530.html).
|
|
810
821
|
*
|
|
811
822
|
* @param request - CreateApplicationScalingRuleRequest
|
|
812
823
|
* @returns CreateApplicationScalingRuleResponse
|
|
@@ -1306,7 +1317,7 @@ class Client extends openapi_core_1.default {
|
|
|
1306
1317
|
return await this.createNamespaceWithOptions(request, headers, runtime);
|
|
1307
1318
|
}
|
|
1308
1319
|
/**
|
|
1309
|
-
*
|
|
1320
|
+
* Creates or updates a lane.
|
|
1310
1321
|
*
|
|
1311
1322
|
* @param tmpReq - CreateOrUpdateSwimmingLaneRequest
|
|
1312
1323
|
* @param headers - map
|
|
@@ -1369,7 +1380,7 @@ class Client extends openapi_core_1.default {
|
|
|
1369
1380
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateOrUpdateSwimmingLaneResponse({}));
|
|
1370
1381
|
}
|
|
1371
1382
|
/**
|
|
1372
|
-
*
|
|
1383
|
+
* Creates or updates a lane.
|
|
1373
1384
|
*
|
|
1374
1385
|
* @param request - CreateOrUpdateSwimmingLaneRequest
|
|
1375
1386
|
* @returns CreateOrUpdateSwimmingLaneResponse
|
|
@@ -1380,7 +1391,7 @@ class Client extends openapi_core_1.default {
|
|
|
1380
1391
|
return await this.createOrUpdateSwimmingLaneWithOptions(request, headers, runtime);
|
|
1381
1392
|
}
|
|
1382
1393
|
/**
|
|
1383
|
-
*
|
|
1394
|
+
* Creates or updates a lane group.
|
|
1384
1395
|
*
|
|
1385
1396
|
* @param tmpReq - CreateOrUpdateSwimmingLaneGroupRequest
|
|
1386
1397
|
* @param headers - map
|
|
@@ -1434,7 +1445,7 @@ class Client extends openapi_core_1.default {
|
|
|
1434
1445
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateOrUpdateSwimmingLaneGroupResponse({}));
|
|
1435
1446
|
}
|
|
1436
1447
|
/**
|
|
1437
|
-
*
|
|
1448
|
+
* Creates or updates a lane group.
|
|
1438
1449
|
*
|
|
1439
1450
|
* @param request - CreateOrUpdateSwimmingLaneGroupRequest
|
|
1440
1451
|
* @returns CreateOrUpdateSwimmingLaneGroupResponse
|
|
@@ -1857,7 +1868,7 @@ class Client extends openapi_core_1.default {
|
|
|
1857
1868
|
return await this.deleteIngressWithOptions(request, headers, runtime);
|
|
1858
1869
|
}
|
|
1859
1870
|
/**
|
|
1860
|
-
*
|
|
1871
|
+
* Deletes an application instance.
|
|
1861
1872
|
*
|
|
1862
1873
|
* @param request - DeleteInstancesRequest
|
|
1863
1874
|
* @param headers - map
|
|
@@ -1891,7 +1902,7 @@ class Client extends openapi_core_1.default {
|
|
|
1891
1902
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteInstancesResponse({}));
|
|
1892
1903
|
}
|
|
1893
1904
|
/**
|
|
1894
|
-
*
|
|
1905
|
+
* Deletes an application instance.
|
|
1895
1906
|
*
|
|
1896
1907
|
* @param request - DeleteInstancesRequest
|
|
1897
1908
|
* @returns DeleteInstancesResponse
|
|
@@ -2034,7 +2045,7 @@ class Client extends openapi_core_1.default {
|
|
|
2034
2045
|
return await this.deleteSecretWithOptions(request, headers, runtime);
|
|
2035
2046
|
}
|
|
2036
2047
|
/**
|
|
2037
|
-
*
|
|
2048
|
+
* Deletes a lane group.
|
|
2038
2049
|
*
|
|
2039
2050
|
* @param request - DeleteSwimmingLaneGroupRequest
|
|
2040
2051
|
* @param headers - map
|
|
@@ -2068,7 +2079,7 @@ class Client extends openapi_core_1.default {
|
|
|
2068
2079
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteSwimmingLaneGroupResponse({}));
|
|
2069
2080
|
}
|
|
2070
2081
|
/**
|
|
2071
|
-
*
|
|
2082
|
+
* Deletes a lane group.
|
|
2072
2083
|
*
|
|
2073
2084
|
* @param request - DeleteSwimmingLaneGroupRequest
|
|
2074
2085
|
* @returns DeleteSwimmingLaneGroupResponse
|
|
@@ -2244,6 +2255,9 @@ class Client extends openapi_core_1.default {
|
|
|
2244
2255
|
if (!$dara.isNull(request.acrAssumeRoleArn)) {
|
|
2245
2256
|
query["AcrAssumeRoleArn"] = request.acrAssumeRoleArn;
|
|
2246
2257
|
}
|
|
2258
|
+
if (!$dara.isNull(request.agentVersion)) {
|
|
2259
|
+
query["AgentVersion"] = request.agentVersion;
|
|
2260
|
+
}
|
|
2247
2261
|
if (!$dara.isNull(request.albIngressReadinessGate)) {
|
|
2248
2262
|
query["AlbIngressReadinessGate"] = request.albIngressReadinessGate;
|
|
2249
2263
|
}
|
|
@@ -2292,6 +2306,9 @@ class Client extends openapi_core_1.default {
|
|
|
2292
2306
|
if (!$dara.isNull(request.enableGreyTagRoute)) {
|
|
2293
2307
|
query["EnableGreyTagRoute"] = request.enableGreyTagRoute;
|
|
2294
2308
|
}
|
|
2309
|
+
if (!$dara.isNull(request.enableNamespaceAgentVersion)) {
|
|
2310
|
+
query["EnableNamespaceAgentVersion"] = request.enableNamespaceAgentVersion;
|
|
2311
|
+
}
|
|
2295
2312
|
if (!$dara.isNull(request.enableNewArms)) {
|
|
2296
2313
|
query["EnableNewArms"] = request.enableNewArms;
|
|
2297
2314
|
}
|
|
@@ -3343,6 +3360,9 @@ class Client extends openapi_core_1.default {
|
|
|
3343
3360
|
if (!$dara.isNull(request.instanceId)) {
|
|
3344
3361
|
query["InstanceId"] = request.instanceId;
|
|
3345
3362
|
}
|
|
3363
|
+
if (!$dara.isNull(request.previous)) {
|
|
3364
|
+
query["Previous"] = request.previous;
|
|
3365
|
+
}
|
|
3346
3366
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3347
3367
|
headers: headers,
|
|
3348
3368
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
@@ -3846,7 +3866,7 @@ class Client extends openapi_core_1.default {
|
|
|
3846
3866
|
return await this.describeSecretWithOptions(request, headers, runtime);
|
|
3847
3867
|
}
|
|
3848
3868
|
/**
|
|
3849
|
-
*
|
|
3869
|
+
* Queries details about swimlanes.
|
|
3850
3870
|
*
|
|
3851
3871
|
* @param request - DescribeSwimmingLaneRequest
|
|
3852
3872
|
* @param headers - map
|
|
@@ -3883,7 +3903,7 @@ class Client extends openapi_core_1.default {
|
|
|
3883
3903
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeSwimmingLaneResponse({}));
|
|
3884
3904
|
}
|
|
3885
3905
|
/**
|
|
3886
|
-
*
|
|
3906
|
+
* Queries details about swimlanes.
|
|
3887
3907
|
*
|
|
3888
3908
|
* @param request - DescribeSwimmingLaneRequest
|
|
3889
3909
|
* @returns DescribeSwimmingLaneResponse
|
|
@@ -4280,7 +4300,7 @@ class Client extends openapi_core_1.default {
|
|
|
4280
4300
|
return await this.disableApplicationScalingRuleWithOptions(request, headers, runtime);
|
|
4281
4301
|
}
|
|
4282
4302
|
/**
|
|
4283
|
-
*
|
|
4303
|
+
* Disable ARMS Advanced Edition monitoring.
|
|
4284
4304
|
*
|
|
4285
4305
|
* @param request - DowngradeApplicationApmServiceRequest
|
|
4286
4306
|
* @param headers - map
|
|
@@ -4311,7 +4331,7 @@ class Client extends openapi_core_1.default {
|
|
|
4311
4331
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DowngradeApplicationApmServiceResponse({}));
|
|
4312
4332
|
}
|
|
4313
4333
|
/**
|
|
4314
|
-
*
|
|
4334
|
+
* Disable ARMS Advanced Edition monitoring.
|
|
4315
4335
|
*
|
|
4316
4336
|
* @param request - DowngradeApplicationApmServiceRequest
|
|
4317
4337
|
* @returns DowngradeApplicationApmServiceResponse
|
|
@@ -4810,7 +4830,7 @@ class Client extends openapi_core_1.default {
|
|
|
4810
4830
|
return await this.getWebshellTokenWithOptions(request, headers, runtime);
|
|
4811
4831
|
}
|
|
4812
4832
|
/**
|
|
4813
|
-
*
|
|
4833
|
+
* Queries all lane groups.
|
|
4814
4834
|
*
|
|
4815
4835
|
* @param request - ListAllSwimmingLaneGroupsRequest
|
|
4816
4836
|
* @param headers - map
|
|
@@ -4841,7 +4861,7 @@ class Client extends openapi_core_1.default {
|
|
|
4841
4861
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAllSwimmingLaneGroupsResponse({}));
|
|
4842
4862
|
}
|
|
4843
4863
|
/**
|
|
4844
|
-
*
|
|
4864
|
+
* Queries all lane groups.
|
|
4845
4865
|
*
|
|
4846
4866
|
* @param request - ListAllSwimmingLaneGroupsRequest
|
|
4847
4867
|
* @returns ListAllSwimmingLaneGroupsResponse
|
|
@@ -4852,7 +4872,7 @@ class Client extends openapi_core_1.default {
|
|
|
4852
4872
|
return await this.listAllSwimmingLaneGroupsWithOptions(request, headers, runtime);
|
|
4853
4873
|
}
|
|
4854
4874
|
/**
|
|
4855
|
-
*
|
|
4875
|
+
* Queries all swimlanes.
|
|
4856
4876
|
*
|
|
4857
4877
|
* @param request - ListAllSwimmingLanesRequest
|
|
4858
4878
|
* @param headers - map
|
|
@@ -4886,7 +4906,7 @@ class Client extends openapi_core_1.default {
|
|
|
4886
4906
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAllSwimmingLanesResponse({}));
|
|
4887
4907
|
}
|
|
4888
4908
|
/**
|
|
4889
|
-
*
|
|
4909
|
+
* Queries all swimlanes.
|
|
4890
4910
|
*
|
|
4891
4911
|
* @param request - ListAllSwimmingLanesRequest
|
|
4892
4912
|
* @returns ListAllSwimmingLanesResponse
|
|
@@ -5191,7 +5211,7 @@ class Client extends openapi_core_1.default {
|
|
|
5191
5211
|
return await this.listApplicationsWithOptions(request, headers, runtime);
|
|
5192
5212
|
}
|
|
5193
5213
|
/**
|
|
5194
|
-
*
|
|
5214
|
+
* Obtains the application list for the end-to-end grayscale pull application list.
|
|
5195
5215
|
*
|
|
5196
5216
|
* @param request - ListApplicationsForSwimmingLaneRequest
|
|
5197
5217
|
* @param headers - map
|
|
@@ -5228,7 +5248,7 @@ class Client extends openapi_core_1.default {
|
|
|
5228
5248
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListApplicationsForSwimmingLaneResponse({}));
|
|
5229
5249
|
}
|
|
5230
5250
|
/**
|
|
5231
|
-
*
|
|
5251
|
+
* Obtains the application list for the end-to-end grayscale pull application list.
|
|
5232
5252
|
*
|
|
5233
5253
|
* @param request - ListApplicationsForSwimmingLaneRequest
|
|
5234
5254
|
* @returns ListApplicationsForSwimmingLaneResponse
|
|
@@ -5743,7 +5763,7 @@ class Client extends openapi_core_1.default {
|
|
|
5743
5763
|
return await this.listSecretsWithOptions(request, headers, runtime);
|
|
5744
5764
|
}
|
|
5745
5765
|
/**
|
|
5746
|
-
*
|
|
5766
|
+
* Query the gateway routes that are available for a lane
|
|
5747
5767
|
*
|
|
5748
5768
|
* @param request - ListSwimmingLaneGatewayRoutesRequest
|
|
5749
5769
|
* @param headers - map
|
|
@@ -5777,7 +5797,7 @@ class Client extends openapi_core_1.default {
|
|
|
5777
5797
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListSwimmingLaneGatewayRoutesResponse({}));
|
|
5778
5798
|
}
|
|
5779
5799
|
/**
|
|
5780
|
-
*
|
|
5800
|
+
* Query the gateway routes that are available for a lane
|
|
5781
5801
|
*
|
|
5782
5802
|
* @param request - ListSwimmingLaneGatewayRoutesRequest
|
|
5783
5803
|
* @returns ListSwimmingLaneGatewayRoutesResponse
|
|
@@ -5788,7 +5808,7 @@ class Client extends openapi_core_1.default {
|
|
|
5788
5808
|
return await this.listSwimmingLaneGatewayRoutesWithOptions(request, headers, runtime);
|
|
5789
5809
|
}
|
|
5790
5810
|
/**
|
|
5791
|
-
*
|
|
5811
|
+
* Queries all lane tags.
|
|
5792
5812
|
*
|
|
5793
5813
|
* @param request - ListSwimmingLaneGroupTagsRequest
|
|
5794
5814
|
* @param headers - map
|
|
@@ -5822,7 +5842,7 @@ class Client extends openapi_core_1.default {
|
|
|
5822
5842
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListSwimmingLaneGroupTagsResponse({}));
|
|
5823
5843
|
}
|
|
5824
5844
|
/**
|
|
5825
|
-
*
|
|
5845
|
+
* Queries all lane tags.
|
|
5826
5846
|
*
|
|
5827
5847
|
* @param request - ListSwimmingLaneGroupTagsRequest
|
|
5828
5848
|
* @returns ListSwimmingLaneGroupTagsResponse
|
|
@@ -7053,7 +7073,7 @@ class Client extends openapi_core_1.default {
|
|
|
7053
7073
|
return await this.untagResourcesWithOptions(request, headers, runtime);
|
|
7054
7074
|
}
|
|
7055
7075
|
/**
|
|
7056
|
-
*
|
|
7076
|
+
* Application Idle Mode Update
|
|
7057
7077
|
*
|
|
7058
7078
|
* @param request - UpdateAppModeRequest
|
|
7059
7079
|
* @param headers - map
|
|
@@ -7093,7 +7113,7 @@ class Client extends openapi_core_1.default {
|
|
|
7093
7113
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateAppModeResponse({}));
|
|
7094
7114
|
}
|
|
7095
7115
|
/**
|
|
7096
|
-
*
|
|
7116
|
+
* Application Idle Mode Update
|
|
7097
7117
|
*
|
|
7098
7118
|
* @param request - UpdateAppModeRequest
|
|
7099
7119
|
* @returns UpdateAppModeResponse
|
|
@@ -7744,6 +7764,54 @@ class Client extends openapi_core_1.default {
|
|
|
7744
7764
|
let headers = {};
|
|
7745
7765
|
return await this.updateNamespaceWithOptions(request, headers, runtime);
|
|
7746
7766
|
}
|
|
7767
|
+
/**
|
|
7768
|
+
* 更新命名空间级别sls配置
|
|
7769
|
+
*
|
|
7770
|
+
* @param request - UpdateNamespaceSlsConfigsRequest
|
|
7771
|
+
* @param headers - map
|
|
7772
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7773
|
+
* @returns UpdateNamespaceSlsConfigsResponse
|
|
7774
|
+
*/
|
|
7775
|
+
async updateNamespaceSlsConfigsWithOptions(request, headers, runtime) {
|
|
7776
|
+
request.validate();
|
|
7777
|
+
let query = {};
|
|
7778
|
+
if (!$dara.isNull(request.nameSpaceShortId)) {
|
|
7779
|
+
query["NameSpaceShortId"] = request.nameSpaceShortId;
|
|
7780
|
+
}
|
|
7781
|
+
if (!$dara.isNull(request.namespaceId)) {
|
|
7782
|
+
query["NamespaceId"] = request.namespaceId;
|
|
7783
|
+
}
|
|
7784
|
+
if (!$dara.isNull(request.slsConfigs)) {
|
|
7785
|
+
query["SlsConfigs"] = request.slsConfigs;
|
|
7786
|
+
}
|
|
7787
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
7788
|
+
headers: headers,
|
|
7789
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
7790
|
+
});
|
|
7791
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
7792
|
+
action: "UpdateNamespaceSlsConfigs",
|
|
7793
|
+
version: "2019-05-06",
|
|
7794
|
+
protocol: "HTTPS",
|
|
7795
|
+
pathname: `/pop/cas/namespace/updateNamespaceSlsConfigs`,
|
|
7796
|
+
method: "POST",
|
|
7797
|
+
authType: "AK",
|
|
7798
|
+
style: "ROA",
|
|
7799
|
+
reqBodyType: "json",
|
|
7800
|
+
bodyType: "json",
|
|
7801
|
+
});
|
|
7802
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateNamespaceSlsConfigsResponse({}));
|
|
7803
|
+
}
|
|
7804
|
+
/**
|
|
7805
|
+
* 更新命名空间级别sls配置
|
|
7806
|
+
*
|
|
7807
|
+
* @param request - UpdateNamespaceSlsConfigsRequest
|
|
7808
|
+
* @returns UpdateNamespaceSlsConfigsResponse
|
|
7809
|
+
*/
|
|
7810
|
+
async updateNamespaceSlsConfigs(request) {
|
|
7811
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
7812
|
+
let headers = {};
|
|
7813
|
+
return await this.updateNamespaceSlsConfigsWithOptions(request, headers, runtime);
|
|
7814
|
+
}
|
|
7747
7815
|
/**
|
|
7748
7816
|
* cn-beijing:test
|
|
7749
7817
|
*
|
|
@@ -7854,7 +7922,7 @@ class Client extends openapi_core_1.default {
|
|
|
7854
7922
|
return await this.updateSecretWithOptions(request, headers, runtime);
|
|
7855
7923
|
}
|
|
7856
7924
|
/**
|
|
7857
|
-
*
|
|
7925
|
+
* Update the enabled property of the swimlane.
|
|
7858
7926
|
*
|
|
7859
7927
|
* @param request - UpdateSwimmingLaneEnableAttributeRequest
|
|
7860
7928
|
* @param headers - map
|
|
@@ -7894,7 +7962,7 @@ class Client extends openapi_core_1.default {
|
|
|
7894
7962
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateSwimmingLaneEnableAttributeResponse({}));
|
|
7895
7963
|
}
|
|
7896
7964
|
/**
|
|
7897
|
-
*
|
|
7965
|
+
* Update the enabled property of the swimlane.
|
|
7898
7966
|
*
|
|
7899
7967
|
* @param request - UpdateSwimmingLaneEnableAttributeRequest
|
|
7900
7968
|
* @returns UpdateSwimmingLaneEnableAttributeResponse
|
|
@@ -8104,7 +8172,7 @@ class Client extends openapi_core_1.default {
|
|
|
8104
8172
|
* Enables the advanced monitoring feature of Application Real-Time Monitoring Service (ARMS).
|
|
8105
8173
|
*
|
|
8106
8174
|
* @remarks
|
|
8107
|
-
* You are charged when you use the ARMS advanced monitoring feature. Enable this feature based on your business requirements. For more information, see [Billing overview](https://
|
|
8175
|
+
* You are charged when you use the ARMS advanced monitoring feature. Enable this feature based on your business requirements. For more information, see [Billing overview](https://www.alibabacloud.com/help/zh/arms/application-monitoring/product-overview/billing-overview-1).
|
|
8108
8176
|
*
|
|
8109
8177
|
* @param request - UpgradeApplicationApmServiceRequest
|
|
8110
8178
|
* @param headers - map
|
|
@@ -8138,7 +8206,7 @@ class Client extends openapi_core_1.default {
|
|
|
8138
8206
|
* Enables the advanced monitoring feature of Application Real-Time Monitoring Service (ARMS).
|
|
8139
8207
|
*
|
|
8140
8208
|
* @remarks
|
|
8141
|
-
* You are charged when you use the ARMS advanced monitoring feature. Enable this feature based on your business requirements. For more information, see [Billing overview](https://
|
|
8209
|
+
* You are charged when you use the ARMS advanced monitoring feature. Enable this feature based on your business requirements. For more information, see [Billing overview](https://www.alibabacloud.com/help/zh/arms/application-monitoring/product-overview/billing-overview-1).
|
|
8142
8210
|
*
|
|
8143
8211
|
* @param request - UpgradeApplicationApmServiceRequest
|
|
8144
8212
|
* @returns UpgradeApplicationApmServiceResponse
|