@alicloud/oos20190601 3.3.0 → 3.4.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 CHANGED
@@ -310,6 +310,7 @@ export declare class CreateApplicationRequest extends $tea.Model {
310
310
  * The configurations of application alerts.
311
311
  */
312
312
  alarmConfig?: CreateApplicationRequestAlarmConfig;
313
+ applicationSource?: string;
313
314
  /**
314
315
  * @remarks
315
316
  * The client token that is used to ensure the idempotence of the request.
@@ -386,6 +387,7 @@ export declare class CreateApplicationShrinkRequest extends $tea.Model {
386
387
  * The configurations of application alerts.
387
388
  */
388
389
  alarmConfigShrink?: string;
390
+ applicationSource?: string;
389
391
  /**
390
392
  * @remarks
391
393
  * The client token that is used to ensure the idempotence of the request.
@@ -3444,7 +3446,7 @@ export declare class GetApplicationGroupRequest extends $tea.Model {
3444
3446
  export declare class GetApplicationGroupResponseBody extends $tea.Model {
3445
3447
  /**
3446
3448
  * @remarks
3447
- * The details of the application group.
3449
+ * The information about the application group.
3448
3450
  */
3449
3451
  applicationGroup?: GetApplicationGroupResponseBodyApplicationGroup;
3450
3452
  /**
@@ -4539,6 +4541,132 @@ export declare class GetTemplateResponse extends $tea.Model {
4539
4541
  [key: string]: any;
4540
4542
  });
4541
4543
  }
4544
+ export declare class GetTemplateParameterConstraintsRequest extends $tea.Model {
4545
+ /**
4546
+ * @example
4547
+ * {\\"endDate\\": \\"2022-04-13T03:31:20Z\\", \\"Status\\": \\"Stopped\\"}
4548
+ */
4549
+ parameters?: string;
4550
+ /**
4551
+ * @example
4552
+ * cn-hangzhou
4553
+ */
4554
+ regionId?: string;
4555
+ /**
4556
+ * @example
4557
+ * {
4558
+ * "Description": "Example template, describe instances in some status",
4559
+ * "FormatVersion": "OOS-2019-06-01",
4560
+ * "Parameters": {},
4561
+ * "Tasks": [{
4562
+ * "Name": "describeInstances",
4563
+ * "Action": "ACS::ExecuteAPI",
4564
+ * "Description": "desc-en",
4565
+ * "Properties": {
4566
+ * "Service": "ECS",
4567
+ * "API": "DescribeInstances",
4568
+ * "Parameters": {
4569
+ * "Status": "Running"
4570
+ * }
4571
+ * }
4572
+ * }]
4573
+ * }
4574
+ */
4575
+ templateContent?: string;
4576
+ /**
4577
+ * @example
4578
+ * MyTemplate
4579
+ */
4580
+ templateName?: string;
4581
+ /**
4582
+ * @example
4583
+ * http://oos-template.cn-hangzhou.oss.aliyun-inc.com/oos-test-template.json
4584
+ */
4585
+ templateURL?: string;
4586
+ /**
4587
+ * @example
4588
+ * v1
4589
+ */
4590
+ templateVersion?: string;
4591
+ static names(): {
4592
+ [key: string]: string;
4593
+ };
4594
+ static types(): {
4595
+ [key: string]: any;
4596
+ };
4597
+ constructor(map?: {
4598
+ [key: string]: any;
4599
+ });
4600
+ }
4601
+ export declare class GetTemplateParameterConstraintsResponseBody extends $tea.Model {
4602
+ /**
4603
+ * @example
4604
+ * [
4605
+ * {
4606
+ * "Type": "String",
4607
+ * "AllowedValues": [
4608
+ * "ecs.n1.tiny",
4609
+ * "ecs.r8a.4xlarge",
4610
+ * "ecs.n2.xlarge",
4611
+ * "ecs.c7.2xlarge",
4612
+ * "ecs.c8i.4xlarge",
4613
+ * "ecs.g8i.48xlarge",
4614
+ * "ecs.c8a.4xlarge",
4615
+ * "ecs.i2.4xlarge",
4616
+ * "ecs.r8y.2xlarge"
4617
+ * ],
4618
+ * "AssociationParameterNames": [
4619
+ * "RegionId",
4620
+ * "zoneId"
4621
+ * ],
4622
+ * "ParameterKey": "instanceType"
4623
+ * },
4624
+ * {
4625
+ * "Type": "String",
4626
+ * "AllowedValues": [],
4627
+ * "AssociationParameterNames": [
4628
+ * "RegionId",
4629
+ * "zoneId",
4630
+ * "InstanceType"
4631
+ * ],
4632
+ * "ParameterKey": "systemDiskCategory"
4633
+ * }
4634
+ * ]
4635
+ */
4636
+ parameterConstraints?: {
4637
+ [key: string]: any;
4638
+ };
4639
+ /**
4640
+ * @example
4641
+ * CBEC8072-BEC2-478E-8EAE-E723BA79CF19
4642
+ */
4643
+ requestId?: string;
4644
+ static names(): {
4645
+ [key: string]: string;
4646
+ };
4647
+ static types(): {
4648
+ [key: string]: any;
4649
+ };
4650
+ constructor(map?: {
4651
+ [key: string]: any;
4652
+ });
4653
+ }
4654
+ export declare class GetTemplateParameterConstraintsResponse extends $tea.Model {
4655
+ headers?: {
4656
+ [key: string]: string;
4657
+ };
4658
+ statusCode?: number;
4659
+ body?: GetTemplateParameterConstraintsResponseBody;
4660
+ static names(): {
4661
+ [key: string]: string;
4662
+ };
4663
+ static types(): {
4664
+ [key: string]: any;
4665
+ };
4666
+ constructor(map?: {
4667
+ [key: string]: any;
4668
+ });
4669
+ }
4542
4670
  export declare class ListActionsRequest extends $tea.Model {
4543
4671
  /**
4544
4672
  * @remarks
@@ -5826,6 +5954,8 @@ export declare class ListGitRepositoryContentsResponse extends $tea.Model {
5826
5954
  export declare class ListInstancePackageStatesRequest extends $tea.Model {
5827
5955
  /**
5828
5956
  * @remarks
5957
+ * ECS instance ID
5958
+ *
5829
5959
  * This parameter is required.
5830
5960
  *
5831
5961
  * @example
@@ -5833,21 +5963,33 @@ export declare class ListInstancePackageStatesRequest extends $tea.Model {
5833
5963
  */
5834
5964
  instanceId?: string;
5835
5965
  /**
5966
+ * @remarks
5967
+ * Page size.
5968
+ *
5836
5969
  * @example
5837
5970
  * 50
5838
5971
  */
5839
5972
  maxResults?: number;
5840
5973
  /**
5974
+ * @remarks
5975
+ * Pagination token.
5976
+ *
5841
5977
  * @example
5842
5978
  * MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctzxxxxxxx
5843
5979
  */
5844
5980
  nextToken?: string;
5845
5981
  /**
5982
+ * @remarks
5983
+ * Region ID.
5984
+ *
5846
5985
  * @example
5847
5986
  * cn-hangzhou
5848
5987
  */
5849
5988
  regionId?: string;
5850
5989
  /**
5990
+ * @remarks
5991
+ * List of extension names
5992
+ *
5851
5993
  * @example
5852
5994
  * ["template1","template2"]
5853
5995
  */
@@ -5864,19 +6006,29 @@ export declare class ListInstancePackageStatesRequest extends $tea.Model {
5864
6006
  }
5865
6007
  export declare class ListInstancePackageStatesResponseBody extends $tea.Model {
5866
6008
  /**
6009
+ * @remarks
6010
+ * Page size.
6011
+ *
5867
6012
  * @example
5868
6013
  * 50
5869
6014
  */
5870
6015
  maxResults?: string;
5871
6016
  /**
6017
+ * @remarks
6018
+ * Token string for pagination.
6019
+ *
5872
6020
  * @example
5873
6021
  * MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctzxxxxxxx
5874
6022
  */
5875
6023
  nextToken?: string;
6024
+ /**
6025
+ * @remarks
6026
+ * List of extensions
6027
+ */
5876
6028
  packageStates?: ListInstancePackageStatesResponseBodyPackageStates[];
5877
6029
  /**
5878
6030
  * @remarks
5879
- * Id of the request
6031
+ * ID of the request
5880
6032
  *
5881
6033
  * @example
5882
6034
  * 1306108F-610C-40FD-AAD5-XXXXXX
@@ -8641,7 +8793,7 @@ export declare class ListTemplatesRequest extends $tea.Model {
8641
8793
  hasTrigger?: boolean;
8642
8794
  /**
8643
8795
  * @remarks
8644
- * Specifies whether the template is an example template
8796
+ * Specifies whether the template is an example template.
8645
8797
  *
8646
8798
  * @example
8647
8799
  * false
@@ -8824,7 +8976,7 @@ export declare class ListTemplatesShrinkRequest extends $tea.Model {
8824
8976
  hasTrigger?: boolean;
8825
8977
  /**
8826
8978
  * @remarks
8827
- * Specifies whether the template is an example template
8979
+ * Specifies whether the template is an example template.
8828
8980
  *
8829
8981
  * @example
8830
8982
  * false
@@ -10365,7 +10517,21 @@ export declare class UpdateApplicationGroupRequest extends $tea.Model {
10365
10517
  * UpdateMyApplicationGroup
10366
10518
  */
10367
10519
  newName?: string;
10520
+ /**
10521
+ * @remarks
10522
+ * The name of the configuration update operation.
10523
+ *
10524
+ * @example
10525
+ * /business/v1/product/spus/{spu_id}
10526
+ */
10368
10527
  operationName?: string;
10528
+ /**
10529
+ * @remarks
10530
+ * The JSON string that consists of a set of parameters. Default value: {}.
10531
+ *
10532
+ * @example
10533
+ * {"username": "xx"}
10534
+ */
10369
10535
  parameters?: {
10370
10536
  [key: string]: any;
10371
10537
  };
@@ -10416,7 +10582,21 @@ export declare class UpdateApplicationGroupShrinkRequest extends $tea.Model {
10416
10582
  * UpdateMyApplicationGroup
10417
10583
  */
10418
10584
  newName?: string;
10585
+ /**
10586
+ * @remarks
10587
+ * The name of the configuration update operation.
10588
+ *
10589
+ * @example
10590
+ * /business/v1/product/spus/{spu_id}
10591
+ */
10419
10592
  operationName?: string;
10593
+ /**
10594
+ * @remarks
10595
+ * The JSON string that consists of a set of parameters. Default value: {}.
10596
+ *
10597
+ * @example
10598
+ * {"username": "xx"}
10599
+ */
10420
10600
  parametersShrink?: string;
10421
10601
  /**
10422
10602
  * @remarks
@@ -10583,6 +10763,13 @@ export declare class UpdateExecutionResponse extends $tea.Model {
10583
10763
  export declare class UpdateInstancePackageStateRequest extends $tea.Model {
10584
10764
  /**
10585
10765
  * @remarks
10766
+ * The operation type.
10767
+ *
10768
+ * Valid values:
10769
+ *
10770
+ * * uninstall
10771
+ * * install
10772
+ *
10586
10773
  * This parameter is required.
10587
10774
  *
10588
10775
  * @example
@@ -10591,6 +10778,8 @@ export declare class UpdateInstancePackageStateRequest extends $tea.Model {
10591
10778
  configureAction?: string;
10592
10779
  /**
10593
10780
  * @remarks
10781
+ * The ID of the Elastic Compute Service (ECS) instance.
10782
+ *
10594
10783
  * This parameter is required.
10595
10784
  *
10596
10785
  * @example
@@ -10598,6 +10787,9 @@ export declare class UpdateInstancePackageStateRequest extends $tea.Model {
10598
10787
  */
10599
10788
  instanceId?: string;
10600
10789
  /**
10790
+ * @remarks
10791
+ * The parameters for installing or uninstalling the extensions.
10792
+ *
10601
10793
  * @example
10602
10794
  * {"username": "xx"}
10603
10795
  */
@@ -10605,12 +10797,17 @@ export declare class UpdateInstancePackageStateRequest extends $tea.Model {
10605
10797
  [key: string]: any;
10606
10798
  };
10607
10799
  /**
10800
+ * @remarks
10801
+ * The region ID.
10802
+ *
10608
10803
  * @example
10609
10804
  * cn-hangzhou
10610
10805
  */
10611
10806
  regionId?: string;
10612
10807
  /**
10613
10808
  * @remarks
10809
+ * The name of the template.
10810
+ *
10614
10811
  * This parameter is required.
10615
10812
  *
10616
10813
  * @example
@@ -10618,6 +10815,9 @@ export declare class UpdateInstancePackageStateRequest extends $tea.Model {
10618
10815
  */
10619
10816
  templateName?: string;
10620
10817
  /**
10818
+ * @remarks
10819
+ * The version of the template.
10820
+ *
10621
10821
  * @example
10622
10822
  * v1
10623
10823
  */
@@ -10635,6 +10835,13 @@ export declare class UpdateInstancePackageStateRequest extends $tea.Model {
10635
10835
  export declare class UpdateInstancePackageStateShrinkRequest extends $tea.Model {
10636
10836
  /**
10637
10837
  * @remarks
10838
+ * The operation type.
10839
+ *
10840
+ * Valid values:
10841
+ *
10842
+ * * uninstall
10843
+ * * install
10844
+ *
10638
10845
  * This parameter is required.
10639
10846
  *
10640
10847
  * @example
@@ -10643,6 +10850,8 @@ export declare class UpdateInstancePackageStateShrinkRequest extends $tea.Model
10643
10850
  configureAction?: string;
10644
10851
  /**
10645
10852
  * @remarks
10853
+ * The ID of the Elastic Compute Service (ECS) instance.
10854
+ *
10646
10855
  * This parameter is required.
10647
10856
  *
10648
10857
  * @example
@@ -10650,17 +10859,25 @@ export declare class UpdateInstancePackageStateShrinkRequest extends $tea.Model
10650
10859
  */
10651
10860
  instanceId?: string;
10652
10861
  /**
10862
+ * @remarks
10863
+ * The parameters for installing or uninstalling the extensions.
10864
+ *
10653
10865
  * @example
10654
10866
  * {"username": "xx"}
10655
10867
  */
10656
10868
  parametersShrink?: string;
10657
10869
  /**
10870
+ * @remarks
10871
+ * The region ID.
10872
+ *
10658
10873
  * @example
10659
10874
  * cn-hangzhou
10660
10875
  */
10661
10876
  regionId?: string;
10662
10877
  /**
10663
10878
  * @remarks
10879
+ * The name of the template.
10880
+ *
10664
10881
  * This parameter is required.
10665
10882
  *
10666
10883
  * @example
@@ -10668,6 +10885,9 @@ export declare class UpdateInstancePackageStateShrinkRequest extends $tea.Model
10668
10885
  */
10669
10886
  templateName?: string;
10670
10887
  /**
10888
+ * @remarks
10889
+ * The version of the template.
10890
+ *
10671
10891
  * @example
10672
10892
  * v1
10673
10893
  */
@@ -10685,7 +10905,7 @@ export declare class UpdateInstancePackageStateShrinkRequest extends $tea.Model
10685
10905
  export declare class UpdateInstancePackageStateResponseBody extends $tea.Model {
10686
10906
  /**
10687
10907
  * @remarks
10688
- * Id of the request
10908
+ * The request ID.
10689
10909
  *
10690
10910
  * @example
10691
10911
  * 2597E94B-5346-42D1-BB58-XXXXXXXXXXX
@@ -13340,6 +13560,7 @@ export declare class GetApplicationGroupResponseBodyApplicationGroup extends $te
13340
13560
  * MyApplication
13341
13561
  */
13342
13562
  applicationName?: string;
13563
+ applicationSource?: string;
13343
13564
  /**
13344
13565
  * @remarks
13345
13566
  * The ID of the application group in CloudMonitor.
@@ -13412,6 +13633,13 @@ export declare class GetApplicationGroupResponseBodyApplicationGroup extends $te
13412
13633
  * MyApplicationGroup
13413
13634
  */
13414
13635
  name?: string;
13636
+ /**
13637
+ * @remarks
13638
+ * The operation metadata.
13639
+ *
13640
+ * @example
13641
+ * {\\"PrometheusConfigMap\\":{\\"模板1\\":{\\"EnablePrometheus\\":false}}}
13642
+ */
13415
13643
  operationMetadata?: string;
13416
13644
  /**
13417
13645
  * @remarks
@@ -15390,6 +15618,13 @@ export declare class ListExecutionsResponseBodyExecutions extends $tea.Model {
15390
15618
  * Automatic
15391
15619
  */
15392
15620
  mode?: string;
15621
+ /**
15622
+ * @remarks
15623
+ * The next schedule time for timer trigger execution.
15624
+ *
15625
+ * @example
15626
+ * 2019-05-16T10:26:14Z
15627
+ */
15393
15628
  nextScheduleTime?: string;
15394
15629
  /**
15395
15630
  * @remarks
@@ -15582,46 +15817,73 @@ export declare class ListGitRepositoryContentsResponseBodyContents extends $tea.
15582
15817
  }
15583
15818
  export declare class ListInstancePackageStatesResponseBodyPackageStates extends $tea.Model {
15584
15819
  /**
15820
+ * @remarks
15821
+ * Description
15822
+ *
15585
15823
  * @example
15586
15824
  * template description
15587
15825
  */
15588
15826
  description?: string;
15589
15827
  /**
15828
+ * @remarks
15829
+ * Parameters
15830
+ *
15590
15831
  * @example
15591
15832
  * {}
15592
15833
  */
15593
15834
  parameters?: string;
15594
15835
  /**
15836
+ * @remarks
15837
+ * Publisher
15838
+ *
15595
15839
  * @example
15596
15840
  * Alibaba Cloud
15597
15841
  */
15598
15842
  publisher?: string;
15599
15843
  /**
15844
+ * @remarks
15845
+ * Template type
15846
+ *
15600
15847
  * @example
15601
15848
  * Package
15602
15849
  */
15603
15850
  templateCategory?: string;
15604
15851
  /**
15852
+ * @remarks
15853
+ * Template ID
15854
+ *
15605
15855
  * @example
15606
15856
  * 087b1e11072a40259f6fxxxxxxxxx
15607
15857
  */
15608
15858
  templateId?: string;
15609
15859
  /**
15860
+ * @remarks
15861
+ * Template name.
15862
+ *
15610
15863
  * @example
15611
15864
  * ACS-ECS-Docker
15612
15865
  */
15613
15866
  templateName?: string;
15614
15867
  /**
15868
+ * @remarks
15869
+ * Template version number
15870
+ *
15615
15871
  * @example
15616
15872
  * v3
15617
15873
  */
15618
15874
  templateVersion?: string;
15619
15875
  /**
15876
+ * @remarks
15877
+ * Template version name
15878
+ *
15620
15879
  * @example
15621
15880
  * fix bug
15622
15881
  */
15623
15882
  templateVersionName?: string;
15624
15883
  /**
15884
+ * @remarks
15885
+ * Update time.
15886
+ *
15625
15887
  * @example
15626
15888
  * 2024-05-04T11:17:28
15627
15889
  */
@@ -17141,6 +17403,13 @@ export declare class ListTemplatesResponseBodyTemplates extends $tea.Model {
17141
17403
  * 2019-05-16T10:26:14Z
17142
17404
  */
17143
17405
  updatedDate?: string;
17406
+ /**
17407
+ * @remarks
17408
+ * The version name.
17409
+ *
17410
+ * @example
17411
+ * v2.1
17412
+ */
17144
17413
  versionName?: string;
17145
17414
  static names(): {
17146
17415
  [key: string]: string;
@@ -19219,6 +19488,21 @@ export default class Client extends OpenApi {
19219
19488
  * @returns GetTemplateResponse
19220
19489
  */
19221
19490
  getTemplate(request: GetTemplateRequest): Promise<GetTemplateResponse>;
19491
+ /**
19492
+ * 获取参数可用值
19493
+ *
19494
+ * @param request - GetTemplateParameterConstraintsRequest
19495
+ * @param runtime - runtime options for this request RuntimeOptions
19496
+ * @returns GetTemplateParameterConstraintsResponse
19497
+ */
19498
+ getTemplateParameterConstraintsWithOptions(request: GetTemplateParameterConstraintsRequest, runtime: $Util.RuntimeOptions): Promise<GetTemplateParameterConstraintsResponse>;
19499
+ /**
19500
+ * 获取参数可用值
19501
+ *
19502
+ * @param request - GetTemplateParameterConstraintsRequest
19503
+ * @returns GetTemplateParameterConstraintsResponse
19504
+ */
19505
+ getTemplateParameterConstraints(request: GetTemplateParameterConstraintsRequest): Promise<GetTemplateParameterConstraintsResponse>;
19222
19506
  /**
19223
19507
  * Queries the available actions, including atomic actions and cloud product actions.
19224
19508
  *
@@ -19346,7 +19630,7 @@ export default class Client extends OpenApi {
19346
19630
  */
19347
19631
  listGitRepositoryContents(request: ListGitRepositoryContentsRequest): Promise<ListGitRepositoryContentsResponse>;
19348
19632
  /**
19349
- * 列出实例软件包状态
19633
+ * List Instance Package States
19350
19634
  *
19351
19635
  * @param request - ListInstancePackageStatesRequest
19352
19636
  * @param runtime - runtime options for this request RuntimeOptions
@@ -19354,7 +19638,7 @@ export default class Client extends OpenApi {
19354
19638
  */
19355
19639
  listInstancePackageStatesWithOptions(request: ListInstancePackageStatesRequest, runtime: $Util.RuntimeOptions): Promise<ListInstancePackageStatesResponse>;
19356
19640
  /**
19357
- * 列出实例软件包状态
19641
+ * List Instance Package States
19358
19642
  *
19359
19643
  * @param request - ListInstancePackageStatesRequest
19360
19644
  * @returns ListInstancePackageStatesResponse
@@ -19799,7 +20083,7 @@ export default class Client extends OpenApi {
19799
20083
  */
19800
20084
  updateExecution(request: UpdateExecutionRequest): Promise<UpdateExecutionResponse>;
19801
20085
  /**
19802
- * 更新实例软件包状态
20086
+ * Updates the installed extensions of an instance.
19803
20087
  *
19804
20088
  * @param tmpReq - UpdateInstancePackageStateRequest
19805
20089
  * @param runtime - runtime options for this request RuntimeOptions
@@ -19807,7 +20091,7 @@ export default class Client extends OpenApi {
19807
20091
  */
19808
20092
  updateInstancePackageStateWithOptions(tmpReq: UpdateInstancePackageStateRequest, runtime: $Util.RuntimeOptions): Promise<UpdateInstancePackageStateResponse>;
19809
20093
  /**
19810
- * 更新实例软件包状态
20094
+ * Updates the installed extensions of an instance.
19811
20095
  *
19812
20096
  * @param request - UpdateInstancePackageStateRequest
19813
20097
  * @returns UpdateInstancePackageStateResponse