@alicloud/oos20190601 3.4.0 → 3.4.2
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 +49 -4
- package/dist/client.js +2 -5
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +51 -10
package/dist/client.d.ts
CHANGED
|
@@ -310,6 +310,13 @@ export declare class CreateApplicationRequest extends $tea.Model {
|
|
|
310
310
|
* The configurations of application alerts.
|
|
311
311
|
*/
|
|
312
312
|
alarmConfig?: CreateApplicationRequestAlarmConfig;
|
|
313
|
+
/**
|
|
314
|
+
* @remarks
|
|
315
|
+
* The source of application.
|
|
316
|
+
*
|
|
317
|
+
* @example
|
|
318
|
+
* {"Platform":"github","Owner":"githubUser","RepoName":"githubUser/repoName"}
|
|
319
|
+
*/
|
|
313
320
|
applicationSource?: string;
|
|
314
321
|
/**
|
|
315
322
|
* @remarks
|
|
@@ -355,7 +362,7 @@ export declare class CreateApplicationRequest extends $tea.Model {
|
|
|
355
362
|
resourceGroupId?: string;
|
|
356
363
|
/**
|
|
357
364
|
* @remarks
|
|
358
|
-
* The ID of the service.
|
|
365
|
+
* The ID of the Compute Nest service that corresponds to the application template.
|
|
359
366
|
*
|
|
360
367
|
* @example
|
|
361
368
|
* service-79538e30e44541b699d8
|
|
@@ -387,6 +394,13 @@ export declare class CreateApplicationShrinkRequest extends $tea.Model {
|
|
|
387
394
|
* The configurations of application alerts.
|
|
388
395
|
*/
|
|
389
396
|
alarmConfigShrink?: string;
|
|
397
|
+
/**
|
|
398
|
+
* @remarks
|
|
399
|
+
* The source of application.
|
|
400
|
+
*
|
|
401
|
+
* @example
|
|
402
|
+
* {"Platform":"github","Owner":"githubUser","RepoName":"githubUser/repoName"}
|
|
403
|
+
*/
|
|
390
404
|
applicationSource?: string;
|
|
391
405
|
/**
|
|
392
406
|
* @remarks
|
|
@@ -432,7 +446,7 @@ export declare class CreateApplicationShrinkRequest extends $tea.Model {
|
|
|
432
446
|
resourceGroupId?: string;
|
|
433
447
|
/**
|
|
434
448
|
* @remarks
|
|
435
|
-
* The ID of the service.
|
|
449
|
+
* The ID of the Compute Nest service that corresponds to the application template.
|
|
436
450
|
*
|
|
437
451
|
* @example
|
|
438
452
|
* service-79538e30e44541b699d8
|
|
@@ -4543,16 +4557,25 @@ export declare class GetTemplateResponse extends $tea.Model {
|
|
|
4543
4557
|
}
|
|
4544
4558
|
export declare class GetTemplateParameterConstraintsRequest extends $tea.Model {
|
|
4545
4559
|
/**
|
|
4560
|
+
* @remarks
|
|
4561
|
+
* The information about the parameters.
|
|
4562
|
+
*
|
|
4546
4563
|
* @example
|
|
4547
4564
|
* {\\"endDate\\": \\"2022-04-13T03:31:20Z\\", \\"Status\\": \\"Stopped\\"}
|
|
4548
4565
|
*/
|
|
4549
4566
|
parameters?: string;
|
|
4550
4567
|
/**
|
|
4568
|
+
* @remarks
|
|
4569
|
+
* The region ID.
|
|
4570
|
+
*
|
|
4551
4571
|
* @example
|
|
4552
4572
|
* cn-hangzhou
|
|
4553
4573
|
*/
|
|
4554
4574
|
regionId?: string;
|
|
4555
4575
|
/**
|
|
4576
|
+
* @remarks
|
|
4577
|
+
* The content of the template in the JSON or YAML format. This parameter is the same as the Content parameter that you can specify when you call the CreateTemplate operation. You can use this parameter to specify the tasks that you want to run. This way, you do not need to create a template before you start an execution. If you select an existing template, you do not need to specify this parameter.
|
|
4578
|
+
*
|
|
4556
4579
|
* @example
|
|
4557
4580
|
* {
|
|
4558
4581
|
* "Description": "Example template, describe instances in some status",
|
|
@@ -4574,16 +4597,25 @@ export declare class GetTemplateParameterConstraintsRequest extends $tea.Model {
|
|
|
4574
4597
|
*/
|
|
4575
4598
|
templateContent?: string;
|
|
4576
4599
|
/**
|
|
4600
|
+
* @remarks
|
|
4601
|
+
* The name of the template.
|
|
4602
|
+
*
|
|
4577
4603
|
* @example
|
|
4578
4604
|
* MyTemplate
|
|
4579
4605
|
*/
|
|
4580
4606
|
templateName?: string;
|
|
4581
4607
|
/**
|
|
4608
|
+
* @remarks
|
|
4609
|
+
* The URL that is used to store the content of the Operation Orchestration Service (OOS) template in the Alibaba Cloud Object Storage Service (OSS). Only the public-read URL is supported. You can use this parameter to specify the tasks that you want to run. This way, you do not need to create a template before you start an execution. If you select an existing template, you do not need to specify this parameter.
|
|
4610
|
+
*
|
|
4582
4611
|
* @example
|
|
4583
4612
|
* http://oos-template.cn-hangzhou.oss.aliyun-inc.com/oos-test-template.json
|
|
4584
4613
|
*/
|
|
4585
4614
|
templateURL?: string;
|
|
4586
4615
|
/**
|
|
4616
|
+
* @remarks
|
|
4617
|
+
* The version of the template. The default value is the latest version of the template.
|
|
4618
|
+
*
|
|
4587
4619
|
* @example
|
|
4588
4620
|
* v1
|
|
4589
4621
|
*/
|
|
@@ -4600,6 +4632,9 @@ export declare class GetTemplateParameterConstraintsRequest extends $tea.Model {
|
|
|
4600
4632
|
}
|
|
4601
4633
|
export declare class GetTemplateParameterConstraintsResponseBody extends $tea.Model {
|
|
4602
4634
|
/**
|
|
4635
|
+
* @remarks
|
|
4636
|
+
* The constraints of the parameters.
|
|
4637
|
+
*
|
|
4603
4638
|
* @example
|
|
4604
4639
|
* [
|
|
4605
4640
|
* {
|
|
@@ -4637,6 +4672,9 @@ export declare class GetTemplateParameterConstraintsResponseBody extends $tea.Mo
|
|
|
4637
4672
|
[key: string]: any;
|
|
4638
4673
|
};
|
|
4639
4674
|
/**
|
|
4675
|
+
* @remarks
|
|
4676
|
+
* The request ID.
|
|
4677
|
+
*
|
|
4640
4678
|
* @example
|
|
4641
4679
|
* CBEC8072-BEC2-478E-8EAE-E723BA79CF19
|
|
4642
4680
|
*/
|
|
@@ -13560,6 +13598,13 @@ export declare class GetApplicationGroupResponseBodyApplicationGroup extends $te
|
|
|
13560
13598
|
* MyApplication
|
|
13561
13599
|
*/
|
|
13562
13600
|
applicationName?: string;
|
|
13601
|
+
/**
|
|
13602
|
+
* @remarks
|
|
13603
|
+
* The source of application.
|
|
13604
|
+
*
|
|
13605
|
+
* @example
|
|
13606
|
+
* {"Platform":"github","RepoName":"wenle/springboot-ecs-sourcecode-demo","Owner":"wenle","Branch":"main","CommitHash":"8559ff3ac7568fc7951ff63f841883ee3f06c6fe","CommitMessage":"Init computenest project"}
|
|
13607
|
+
*/
|
|
13563
13608
|
applicationSource?: string;
|
|
13564
13609
|
/**
|
|
13565
13610
|
* @remarks
|
|
@@ -13635,10 +13680,10 @@ export declare class GetApplicationGroupResponseBodyApplicationGroup extends $te
|
|
|
13635
13680
|
name?: string;
|
|
13636
13681
|
/**
|
|
13637
13682
|
* @remarks
|
|
13638
|
-
* The
|
|
13683
|
+
* The hosted O\\&M configurations.
|
|
13639
13684
|
*
|
|
13640
13685
|
* @example
|
|
13641
|
-
* {
|
|
13686
|
+
* {\\\\"PrometheusConfigMap\\\\":{\\\\"Template 1\\\\":{\\\\"EnablePrometheus\\\\":false}}}
|
|
13642
13687
|
*/
|
|
13643
13688
|
operationMetadata?: string;
|
|
13644
13689
|
/**
|
package/dist/client.js
CHANGED
|
@@ -11112,10 +11112,7 @@ class Client extends openapi_client_1.default {
|
|
|
11112
11112
|
*/
|
|
11113
11113
|
async getServiceSettingsWithOptions(request, runtime) {
|
|
11114
11114
|
tea_util_1.default.validateModel(request);
|
|
11115
|
-
let query =
|
|
11116
|
-
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
11117
|
-
query["RegionId"] = request.regionId;
|
|
11118
|
-
}
|
|
11115
|
+
let query = openapi_util_1.default.query(tea_util_1.default.toMap(request));
|
|
11119
11116
|
let req = new $OpenApi.OpenApiRequest({
|
|
11120
11117
|
query: openapi_util_1.default.query(query),
|
|
11121
11118
|
});
|
|
@@ -11124,7 +11121,7 @@ class Client extends openapi_client_1.default {
|
|
|
11124
11121
|
version: "2019-06-01",
|
|
11125
11122
|
protocol: "HTTPS",
|
|
11126
11123
|
pathname: "/",
|
|
11127
|
-
method: "
|
|
11124
|
+
method: "GET",
|
|
11128
11125
|
authType: "AK",
|
|
11129
11126
|
style: "RPC",
|
|
11130
11127
|
reqBodyType: "formData",
|