@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/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -438,6 +438,13 @@ export class CreateApplicationRequest extends $tea.Model {
|
|
|
438
438
|
* The configurations of application alerts.
|
|
439
439
|
*/
|
|
440
440
|
alarmConfig?: CreateApplicationRequestAlarmConfig;
|
|
441
|
+
/**
|
|
442
|
+
* @remarks
|
|
443
|
+
* The source of application.
|
|
444
|
+
*
|
|
445
|
+
* @example
|
|
446
|
+
* {"Platform":"github","Owner":"githubUser","RepoName":"githubUser/repoName"}
|
|
447
|
+
*/
|
|
441
448
|
applicationSource?: string;
|
|
442
449
|
/**
|
|
443
450
|
* @remarks
|
|
@@ -483,7 +490,7 @@ export class CreateApplicationRequest extends $tea.Model {
|
|
|
483
490
|
resourceGroupId?: string;
|
|
484
491
|
/**
|
|
485
492
|
* @remarks
|
|
486
|
-
* The ID of the service.
|
|
493
|
+
* The ID of the Compute Nest service that corresponds to the application template.
|
|
487
494
|
*
|
|
488
495
|
* @example
|
|
489
496
|
* service-79538e30e44541b699d8
|
|
@@ -536,6 +543,13 @@ export class CreateApplicationShrinkRequest extends $tea.Model {
|
|
|
536
543
|
* The configurations of application alerts.
|
|
537
544
|
*/
|
|
538
545
|
alarmConfigShrink?: string;
|
|
546
|
+
/**
|
|
547
|
+
* @remarks
|
|
548
|
+
* The source of application.
|
|
549
|
+
*
|
|
550
|
+
* @example
|
|
551
|
+
* {"Platform":"github","Owner":"githubUser","RepoName":"githubUser/repoName"}
|
|
552
|
+
*/
|
|
539
553
|
applicationSource?: string;
|
|
540
554
|
/**
|
|
541
555
|
* @remarks
|
|
@@ -581,7 +595,7 @@ export class CreateApplicationShrinkRequest extends $tea.Model {
|
|
|
581
595
|
resourceGroupId?: string;
|
|
582
596
|
/**
|
|
583
597
|
* @remarks
|
|
584
|
-
* The ID of the service.
|
|
598
|
+
* The ID of the Compute Nest service that corresponds to the application template.
|
|
585
599
|
*
|
|
586
600
|
* @example
|
|
587
601
|
* service-79538e30e44541b699d8
|
|
@@ -5997,16 +6011,25 @@ export class GetTemplateResponse extends $tea.Model {
|
|
|
5997
6011
|
|
|
5998
6012
|
export class GetTemplateParameterConstraintsRequest extends $tea.Model {
|
|
5999
6013
|
/**
|
|
6014
|
+
* @remarks
|
|
6015
|
+
* The information about the parameters.
|
|
6016
|
+
*
|
|
6000
6017
|
* @example
|
|
6001
6018
|
* {\\"endDate\\": \\"2022-04-13T03:31:20Z\\", \\"Status\\": \\"Stopped\\"}
|
|
6002
6019
|
*/
|
|
6003
6020
|
parameters?: string;
|
|
6004
6021
|
/**
|
|
6022
|
+
* @remarks
|
|
6023
|
+
* The region ID.
|
|
6024
|
+
*
|
|
6005
6025
|
* @example
|
|
6006
6026
|
* cn-hangzhou
|
|
6007
6027
|
*/
|
|
6008
6028
|
regionId?: string;
|
|
6009
6029
|
/**
|
|
6030
|
+
* @remarks
|
|
6031
|
+
* 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.
|
|
6032
|
+
*
|
|
6010
6033
|
* @example
|
|
6011
6034
|
* {
|
|
6012
6035
|
* "Description": "Example template, describe instances in some status",
|
|
@@ -6028,16 +6051,25 @@ export class GetTemplateParameterConstraintsRequest extends $tea.Model {
|
|
|
6028
6051
|
*/
|
|
6029
6052
|
templateContent?: string;
|
|
6030
6053
|
/**
|
|
6054
|
+
* @remarks
|
|
6055
|
+
* The name of the template.
|
|
6056
|
+
*
|
|
6031
6057
|
* @example
|
|
6032
6058
|
* MyTemplate
|
|
6033
6059
|
*/
|
|
6034
6060
|
templateName?: string;
|
|
6035
6061
|
/**
|
|
6062
|
+
* @remarks
|
|
6063
|
+
* 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.
|
|
6064
|
+
*
|
|
6036
6065
|
* @example
|
|
6037
6066
|
* http://oos-template.cn-hangzhou.oss.aliyun-inc.com/oos-test-template.json
|
|
6038
6067
|
*/
|
|
6039
6068
|
templateURL?: string;
|
|
6040
6069
|
/**
|
|
6070
|
+
* @remarks
|
|
6071
|
+
* The version of the template. The default value is the latest version of the template.
|
|
6072
|
+
*
|
|
6041
6073
|
* @example
|
|
6042
6074
|
* v1
|
|
6043
6075
|
*/
|
|
@@ -6071,6 +6103,9 @@ export class GetTemplateParameterConstraintsRequest extends $tea.Model {
|
|
|
6071
6103
|
|
|
6072
6104
|
export class GetTemplateParameterConstraintsResponseBody extends $tea.Model {
|
|
6073
6105
|
/**
|
|
6106
|
+
* @remarks
|
|
6107
|
+
* The constraints of the parameters.
|
|
6108
|
+
*
|
|
6074
6109
|
* @example
|
|
6075
6110
|
* [
|
|
6076
6111
|
* {
|
|
@@ -6106,6 +6141,9 @@ export class GetTemplateParameterConstraintsResponseBody extends $tea.Model {
|
|
|
6106
6141
|
*/
|
|
6107
6142
|
parameterConstraints?: { [key: string]: any };
|
|
6108
6143
|
/**
|
|
6144
|
+
* @remarks
|
|
6145
|
+
* The request ID.
|
|
6146
|
+
*
|
|
6109
6147
|
* @example
|
|
6110
6148
|
* CBEC8072-BEC2-478E-8EAE-E723BA79CF19
|
|
6111
6149
|
*/
|
|
@@ -17679,6 +17717,13 @@ export class GetApplicationGroupResponseBodyApplicationGroup extends $tea.Model
|
|
|
17679
17717
|
* MyApplication
|
|
17680
17718
|
*/
|
|
17681
17719
|
applicationName?: string;
|
|
17720
|
+
/**
|
|
17721
|
+
* @remarks
|
|
17722
|
+
* The source of application.
|
|
17723
|
+
*
|
|
17724
|
+
* @example
|
|
17725
|
+
* {"Platform":"github","RepoName":"wenle/springboot-ecs-sourcecode-demo","Owner":"wenle","Branch":"main","CommitHash":"8559ff3ac7568fc7951ff63f841883ee3f06c6fe","CommitMessage":"Init computenest project"}
|
|
17726
|
+
*/
|
|
17682
17727
|
applicationSource?: string;
|
|
17683
17728
|
/**
|
|
17684
17729
|
* @remarks
|
|
@@ -17754,10 +17799,10 @@ export class GetApplicationGroupResponseBodyApplicationGroup extends $tea.Model
|
|
|
17754
17799
|
name?: string;
|
|
17755
17800
|
/**
|
|
17756
17801
|
* @remarks
|
|
17757
|
-
* The
|
|
17802
|
+
* The hosted O\\&M configurations.
|
|
17758
17803
|
*
|
|
17759
17804
|
* @example
|
|
17760
|
-
* {
|
|
17805
|
+
* {\\\\"PrometheusConfigMap\\\\":{\\\\"Template 1\\\\":{\\\\"EnablePrometheus\\\\":false}}}
|
|
17761
17806
|
*/
|
|
17762
17807
|
operationMetadata?: string;
|
|
17763
17808
|
/**
|
|
@@ -26685,11 +26730,7 @@ export default class Client extends OpenApi {
|
|
|
26685
26730
|
*/
|
|
26686
26731
|
async getServiceSettingsWithOptions(request: GetServiceSettingsRequest, runtime: $Util.RuntimeOptions): Promise<GetServiceSettingsResponse> {
|
|
26687
26732
|
Util.validateModel(request);
|
|
26688
|
-
let query =
|
|
26689
|
-
if (!Util.isUnset(request.regionId)) {
|
|
26690
|
-
query["RegionId"] = request.regionId;
|
|
26691
|
-
}
|
|
26692
|
-
|
|
26733
|
+
let query = OpenApiUtil.query(Util.toMap(request));
|
|
26693
26734
|
let req = new $OpenApi.OpenApiRequest({
|
|
26694
26735
|
query: OpenApiUtil.query(query),
|
|
26695
26736
|
});
|
|
@@ -26698,7 +26739,7 @@ export default class Client extends OpenApi {
|
|
|
26698
26739
|
version: "2019-06-01",
|
|
26699
26740
|
protocol: "HTTPS",
|
|
26700
26741
|
pathname: "/",
|
|
26701
|
-
method: "
|
|
26742
|
+
method: "GET",
|
|
26702
26743
|
authType: "AK",
|
|
26703
26744
|
style: "RPC",
|
|
26704
26745
|
reqBodyType: "formData",
|