@alicloud/oos20190601 3.2.3 → 3.4.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/dist/client.d.ts +481 -9
- package/dist/client.js +486 -18
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +808 -9
package/dist/client.d.ts
CHANGED
|
@@ -3,6 +3,63 @@
|
|
|
3
3
|
import * as $Util from '@alicloud/tea-util';
|
|
4
4
|
import OpenApi, * as $OpenApi from '@alicloud/openapi-client';
|
|
5
5
|
import * as $tea from '@alicloud/tea-typescript';
|
|
6
|
+
export declare class AnalyzeGitRepositoryRequest extends $tea.Model {
|
|
7
|
+
branch?: string;
|
|
8
|
+
clientToken?: string;
|
|
9
|
+
orgId?: string;
|
|
10
|
+
/**
|
|
11
|
+
* @remarks
|
|
12
|
+
* This parameter is required.
|
|
13
|
+
*/
|
|
14
|
+
owner?: string;
|
|
15
|
+
/**
|
|
16
|
+
* @remarks
|
|
17
|
+
* This parameter is required.
|
|
18
|
+
*/
|
|
19
|
+
platform?: string;
|
|
20
|
+
regionId?: string;
|
|
21
|
+
repoFullName?: string;
|
|
22
|
+
repoId?: string;
|
|
23
|
+
static names(): {
|
|
24
|
+
[key: string]: string;
|
|
25
|
+
};
|
|
26
|
+
static types(): {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
};
|
|
29
|
+
constructor(map?: {
|
|
30
|
+
[key: string]: any;
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
export declare class AnalyzeGitRepositoryResponseBody extends $tea.Model {
|
|
34
|
+
analysisResults?: AnalyzeGitRepositoryResponseBodyAnalysisResults[];
|
|
35
|
+
count?: number;
|
|
36
|
+
requestId?: string;
|
|
37
|
+
static names(): {
|
|
38
|
+
[key: string]: string;
|
|
39
|
+
};
|
|
40
|
+
static types(): {
|
|
41
|
+
[key: string]: any;
|
|
42
|
+
};
|
|
43
|
+
constructor(map?: {
|
|
44
|
+
[key: string]: any;
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
export declare class AnalyzeGitRepositoryResponse extends $tea.Model {
|
|
48
|
+
headers?: {
|
|
49
|
+
[key: string]: string;
|
|
50
|
+
};
|
|
51
|
+
statusCode?: number;
|
|
52
|
+
body?: AnalyzeGitRepositoryResponseBody;
|
|
53
|
+
static names(): {
|
|
54
|
+
[key: string]: string;
|
|
55
|
+
};
|
|
56
|
+
static types(): {
|
|
57
|
+
[key: string]: any;
|
|
58
|
+
};
|
|
59
|
+
constructor(map?: {
|
|
60
|
+
[key: string]: any;
|
|
61
|
+
});
|
|
62
|
+
}
|
|
6
63
|
export declare class CancelExecutionRequest extends $tea.Model {
|
|
7
64
|
/**
|
|
8
65
|
* @remarks
|
|
@@ -253,6 +310,7 @@ export declare class CreateApplicationRequest extends $tea.Model {
|
|
|
253
310
|
* The configurations of application alerts.
|
|
254
311
|
*/
|
|
255
312
|
alarmConfig?: CreateApplicationRequestAlarmConfig;
|
|
313
|
+
applicationSource?: string;
|
|
256
314
|
/**
|
|
257
315
|
* @remarks
|
|
258
316
|
* The client token that is used to ensure the idempotence of the request.
|
|
@@ -329,6 +387,7 @@ export declare class CreateApplicationShrinkRequest extends $tea.Model {
|
|
|
329
387
|
* The configurations of application alerts.
|
|
330
388
|
*/
|
|
331
389
|
alarmConfigShrink?: string;
|
|
390
|
+
applicationSource?: string;
|
|
332
391
|
/**
|
|
333
392
|
* @remarks
|
|
334
393
|
* The client token that is used to ensure the idempotence of the request.
|
|
@@ -3387,7 +3446,7 @@ export declare class GetApplicationGroupRequest extends $tea.Model {
|
|
|
3387
3446
|
export declare class GetApplicationGroupResponseBody extends $tea.Model {
|
|
3388
3447
|
/**
|
|
3389
3448
|
* @remarks
|
|
3390
|
-
* The
|
|
3449
|
+
* The information about the application group.
|
|
3391
3450
|
*/
|
|
3392
3451
|
applicationGroup?: GetApplicationGroupResponseBodyApplicationGroup;
|
|
3393
3452
|
/**
|
|
@@ -4482,6 +4541,132 @@ export declare class GetTemplateResponse extends $tea.Model {
|
|
|
4482
4541
|
[key: string]: any;
|
|
4483
4542
|
});
|
|
4484
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
|
+
}
|
|
4485
4670
|
export declare class ListActionsRequest extends $tea.Model {
|
|
4486
4671
|
/**
|
|
4487
4672
|
* @remarks
|
|
@@ -5707,9 +5892,70 @@ export declare class ListGitRepositoriesResponse extends $tea.Model {
|
|
|
5707
5892
|
[key: string]: any;
|
|
5708
5893
|
});
|
|
5709
5894
|
}
|
|
5895
|
+
export declare class ListGitRepositoryContentsRequest extends $tea.Model {
|
|
5896
|
+
branch?: string;
|
|
5897
|
+
clientToken?: string;
|
|
5898
|
+
contentType?: string;
|
|
5899
|
+
orgId?: string;
|
|
5900
|
+
/**
|
|
5901
|
+
* @remarks
|
|
5902
|
+
* This parameter is required.
|
|
5903
|
+
*/
|
|
5904
|
+
owner?: string;
|
|
5905
|
+
path?: string;
|
|
5906
|
+
/**
|
|
5907
|
+
* @remarks
|
|
5908
|
+
* This parameter is required.
|
|
5909
|
+
*/
|
|
5910
|
+
platform?: string;
|
|
5911
|
+
regionId?: string;
|
|
5912
|
+
repoFullName?: string;
|
|
5913
|
+
repoId?: number;
|
|
5914
|
+
static names(): {
|
|
5915
|
+
[key: string]: string;
|
|
5916
|
+
};
|
|
5917
|
+
static types(): {
|
|
5918
|
+
[key: string]: any;
|
|
5919
|
+
};
|
|
5920
|
+
constructor(map?: {
|
|
5921
|
+
[key: string]: any;
|
|
5922
|
+
});
|
|
5923
|
+
}
|
|
5924
|
+
export declare class ListGitRepositoryContentsResponseBody extends $tea.Model {
|
|
5925
|
+
contents?: ListGitRepositoryContentsResponseBodyContents[];
|
|
5926
|
+
count?: number;
|
|
5927
|
+
requestId?: string;
|
|
5928
|
+
static names(): {
|
|
5929
|
+
[key: string]: string;
|
|
5930
|
+
};
|
|
5931
|
+
static types(): {
|
|
5932
|
+
[key: string]: any;
|
|
5933
|
+
};
|
|
5934
|
+
constructor(map?: {
|
|
5935
|
+
[key: string]: any;
|
|
5936
|
+
});
|
|
5937
|
+
}
|
|
5938
|
+
export declare class ListGitRepositoryContentsResponse extends $tea.Model {
|
|
5939
|
+
headers?: {
|
|
5940
|
+
[key: string]: string;
|
|
5941
|
+
};
|
|
5942
|
+
statusCode?: number;
|
|
5943
|
+
body?: ListGitRepositoryContentsResponseBody;
|
|
5944
|
+
static names(): {
|
|
5945
|
+
[key: string]: string;
|
|
5946
|
+
};
|
|
5947
|
+
static types(): {
|
|
5948
|
+
[key: string]: any;
|
|
5949
|
+
};
|
|
5950
|
+
constructor(map?: {
|
|
5951
|
+
[key: string]: any;
|
|
5952
|
+
});
|
|
5953
|
+
}
|
|
5710
5954
|
export declare class ListInstancePackageStatesRequest extends $tea.Model {
|
|
5711
5955
|
/**
|
|
5712
5956
|
* @remarks
|
|
5957
|
+
* ECS instance ID
|
|
5958
|
+
*
|
|
5713
5959
|
* This parameter is required.
|
|
5714
5960
|
*
|
|
5715
5961
|
* @example
|
|
@@ -5717,21 +5963,33 @@ export declare class ListInstancePackageStatesRequest extends $tea.Model {
|
|
|
5717
5963
|
*/
|
|
5718
5964
|
instanceId?: string;
|
|
5719
5965
|
/**
|
|
5966
|
+
* @remarks
|
|
5967
|
+
* Page size.
|
|
5968
|
+
*
|
|
5720
5969
|
* @example
|
|
5721
5970
|
* 50
|
|
5722
5971
|
*/
|
|
5723
5972
|
maxResults?: number;
|
|
5724
5973
|
/**
|
|
5974
|
+
* @remarks
|
|
5975
|
+
* Pagination token.
|
|
5976
|
+
*
|
|
5725
5977
|
* @example
|
|
5726
5978
|
* MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctzxxxxxxx
|
|
5727
5979
|
*/
|
|
5728
5980
|
nextToken?: string;
|
|
5729
5981
|
/**
|
|
5982
|
+
* @remarks
|
|
5983
|
+
* Region ID.
|
|
5984
|
+
*
|
|
5730
5985
|
* @example
|
|
5731
5986
|
* cn-hangzhou
|
|
5732
5987
|
*/
|
|
5733
5988
|
regionId?: string;
|
|
5734
5989
|
/**
|
|
5990
|
+
* @remarks
|
|
5991
|
+
* List of extension names
|
|
5992
|
+
*
|
|
5735
5993
|
* @example
|
|
5736
5994
|
* ["template1","template2"]
|
|
5737
5995
|
*/
|
|
@@ -5748,19 +6006,29 @@ export declare class ListInstancePackageStatesRequest extends $tea.Model {
|
|
|
5748
6006
|
}
|
|
5749
6007
|
export declare class ListInstancePackageStatesResponseBody extends $tea.Model {
|
|
5750
6008
|
/**
|
|
6009
|
+
* @remarks
|
|
6010
|
+
* Page size.
|
|
6011
|
+
*
|
|
5751
6012
|
* @example
|
|
5752
6013
|
* 50
|
|
5753
6014
|
*/
|
|
5754
6015
|
maxResults?: string;
|
|
5755
6016
|
/**
|
|
6017
|
+
* @remarks
|
|
6018
|
+
* Token string for pagination.
|
|
6019
|
+
*
|
|
5756
6020
|
* @example
|
|
5757
6021
|
* MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctzxxxxxxx
|
|
5758
6022
|
*/
|
|
5759
6023
|
nextToken?: string;
|
|
6024
|
+
/**
|
|
6025
|
+
* @remarks
|
|
6026
|
+
* List of extensions
|
|
6027
|
+
*/
|
|
5760
6028
|
packageStates?: ListInstancePackageStatesResponseBodyPackageStates[];
|
|
5761
6029
|
/**
|
|
5762
6030
|
* @remarks
|
|
5763
|
-
*
|
|
6031
|
+
* ID of the request
|
|
5764
6032
|
*
|
|
5765
6033
|
* @example
|
|
5766
6034
|
* 1306108F-610C-40FD-AAD5-XXXXXX
|
|
@@ -8525,7 +8793,7 @@ export declare class ListTemplatesRequest extends $tea.Model {
|
|
|
8525
8793
|
hasTrigger?: boolean;
|
|
8526
8794
|
/**
|
|
8527
8795
|
* @remarks
|
|
8528
|
-
* Specifies whether the template is an example template
|
|
8796
|
+
* Specifies whether the template is an example template.
|
|
8529
8797
|
*
|
|
8530
8798
|
* @example
|
|
8531
8799
|
* false
|
|
@@ -8708,7 +8976,7 @@ export declare class ListTemplatesShrinkRequest extends $tea.Model {
|
|
|
8708
8976
|
hasTrigger?: boolean;
|
|
8709
8977
|
/**
|
|
8710
8978
|
* @remarks
|
|
8711
|
-
* Specifies whether the template is an example template
|
|
8979
|
+
* Specifies whether the template is an example template.
|
|
8712
8980
|
*
|
|
8713
8981
|
* @example
|
|
8714
8982
|
* false
|
|
@@ -10249,7 +10517,21 @@ export declare class UpdateApplicationGroupRequest extends $tea.Model {
|
|
|
10249
10517
|
* UpdateMyApplicationGroup
|
|
10250
10518
|
*/
|
|
10251
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
|
+
*/
|
|
10252
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
|
+
*/
|
|
10253
10535
|
parameters?: {
|
|
10254
10536
|
[key: string]: any;
|
|
10255
10537
|
};
|
|
@@ -10300,7 +10582,21 @@ export declare class UpdateApplicationGroupShrinkRequest extends $tea.Model {
|
|
|
10300
10582
|
* UpdateMyApplicationGroup
|
|
10301
10583
|
*/
|
|
10302
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
|
+
*/
|
|
10303
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
|
+
*/
|
|
10304
10600
|
parametersShrink?: string;
|
|
10305
10601
|
/**
|
|
10306
10602
|
* @remarks
|
|
@@ -10467,6 +10763,13 @@ export declare class UpdateExecutionResponse extends $tea.Model {
|
|
|
10467
10763
|
export declare class UpdateInstancePackageStateRequest extends $tea.Model {
|
|
10468
10764
|
/**
|
|
10469
10765
|
* @remarks
|
|
10766
|
+
* The operation type.
|
|
10767
|
+
*
|
|
10768
|
+
* Valid values:
|
|
10769
|
+
*
|
|
10770
|
+
* * uninstall
|
|
10771
|
+
* * install
|
|
10772
|
+
*
|
|
10470
10773
|
* This parameter is required.
|
|
10471
10774
|
*
|
|
10472
10775
|
* @example
|
|
@@ -10475,6 +10778,8 @@ export declare class UpdateInstancePackageStateRequest extends $tea.Model {
|
|
|
10475
10778
|
configureAction?: string;
|
|
10476
10779
|
/**
|
|
10477
10780
|
* @remarks
|
|
10781
|
+
* The ID of the Elastic Compute Service (ECS) instance.
|
|
10782
|
+
*
|
|
10478
10783
|
* This parameter is required.
|
|
10479
10784
|
*
|
|
10480
10785
|
* @example
|
|
@@ -10482,6 +10787,9 @@ export declare class UpdateInstancePackageStateRequest extends $tea.Model {
|
|
|
10482
10787
|
*/
|
|
10483
10788
|
instanceId?: string;
|
|
10484
10789
|
/**
|
|
10790
|
+
* @remarks
|
|
10791
|
+
* The parameters for installing or uninstalling the extensions.
|
|
10792
|
+
*
|
|
10485
10793
|
* @example
|
|
10486
10794
|
* {"username": "xx"}
|
|
10487
10795
|
*/
|
|
@@ -10489,12 +10797,17 @@ export declare class UpdateInstancePackageStateRequest extends $tea.Model {
|
|
|
10489
10797
|
[key: string]: any;
|
|
10490
10798
|
};
|
|
10491
10799
|
/**
|
|
10800
|
+
* @remarks
|
|
10801
|
+
* The region ID.
|
|
10802
|
+
*
|
|
10492
10803
|
* @example
|
|
10493
10804
|
* cn-hangzhou
|
|
10494
10805
|
*/
|
|
10495
10806
|
regionId?: string;
|
|
10496
10807
|
/**
|
|
10497
10808
|
* @remarks
|
|
10809
|
+
* The name of the template.
|
|
10810
|
+
*
|
|
10498
10811
|
* This parameter is required.
|
|
10499
10812
|
*
|
|
10500
10813
|
* @example
|
|
@@ -10502,6 +10815,9 @@ export declare class UpdateInstancePackageStateRequest extends $tea.Model {
|
|
|
10502
10815
|
*/
|
|
10503
10816
|
templateName?: string;
|
|
10504
10817
|
/**
|
|
10818
|
+
* @remarks
|
|
10819
|
+
* The version of the template.
|
|
10820
|
+
*
|
|
10505
10821
|
* @example
|
|
10506
10822
|
* v1
|
|
10507
10823
|
*/
|
|
@@ -10519,6 +10835,13 @@ export declare class UpdateInstancePackageStateRequest extends $tea.Model {
|
|
|
10519
10835
|
export declare class UpdateInstancePackageStateShrinkRequest extends $tea.Model {
|
|
10520
10836
|
/**
|
|
10521
10837
|
* @remarks
|
|
10838
|
+
* The operation type.
|
|
10839
|
+
*
|
|
10840
|
+
* Valid values:
|
|
10841
|
+
*
|
|
10842
|
+
* * uninstall
|
|
10843
|
+
* * install
|
|
10844
|
+
*
|
|
10522
10845
|
* This parameter is required.
|
|
10523
10846
|
*
|
|
10524
10847
|
* @example
|
|
@@ -10527,6 +10850,8 @@ export declare class UpdateInstancePackageStateShrinkRequest extends $tea.Model
|
|
|
10527
10850
|
configureAction?: string;
|
|
10528
10851
|
/**
|
|
10529
10852
|
* @remarks
|
|
10853
|
+
* The ID of the Elastic Compute Service (ECS) instance.
|
|
10854
|
+
*
|
|
10530
10855
|
* This parameter is required.
|
|
10531
10856
|
*
|
|
10532
10857
|
* @example
|
|
@@ -10534,17 +10859,25 @@ export declare class UpdateInstancePackageStateShrinkRequest extends $tea.Model
|
|
|
10534
10859
|
*/
|
|
10535
10860
|
instanceId?: string;
|
|
10536
10861
|
/**
|
|
10862
|
+
* @remarks
|
|
10863
|
+
* The parameters for installing or uninstalling the extensions.
|
|
10864
|
+
*
|
|
10537
10865
|
* @example
|
|
10538
10866
|
* {"username": "xx"}
|
|
10539
10867
|
*/
|
|
10540
10868
|
parametersShrink?: string;
|
|
10541
10869
|
/**
|
|
10870
|
+
* @remarks
|
|
10871
|
+
* The region ID.
|
|
10872
|
+
*
|
|
10542
10873
|
* @example
|
|
10543
10874
|
* cn-hangzhou
|
|
10544
10875
|
*/
|
|
10545
10876
|
regionId?: string;
|
|
10546
10877
|
/**
|
|
10547
10878
|
* @remarks
|
|
10879
|
+
* The name of the template.
|
|
10880
|
+
*
|
|
10548
10881
|
* This parameter is required.
|
|
10549
10882
|
*
|
|
10550
10883
|
* @example
|
|
@@ -10552,6 +10885,9 @@ export declare class UpdateInstancePackageStateShrinkRequest extends $tea.Model
|
|
|
10552
10885
|
*/
|
|
10553
10886
|
templateName?: string;
|
|
10554
10887
|
/**
|
|
10888
|
+
* @remarks
|
|
10889
|
+
* The version of the template.
|
|
10890
|
+
*
|
|
10555
10891
|
* @example
|
|
10556
10892
|
* v1
|
|
10557
10893
|
*/
|
|
@@ -10569,7 +10905,7 @@ export declare class UpdateInstancePackageStateShrinkRequest extends $tea.Model
|
|
|
10569
10905
|
export declare class UpdateInstancePackageStateResponseBody extends $tea.Model {
|
|
10570
10906
|
/**
|
|
10571
10907
|
* @remarks
|
|
10572
|
-
*
|
|
10908
|
+
* The request ID.
|
|
10573
10909
|
*
|
|
10574
10910
|
* @example
|
|
10575
10911
|
* 2597E94B-5346-42D1-BB58-XXXXXXXXXXX
|
|
@@ -11929,6 +12265,32 @@ export declare class ValidateTemplateContentResponse extends $tea.Model {
|
|
|
11929
12265
|
[key: string]: any;
|
|
11930
12266
|
});
|
|
11931
12267
|
}
|
|
12268
|
+
export declare class AnalyzeGitRepositoryResponseBodyAnalysisResultsBuildFiles extends $tea.Model {
|
|
12269
|
+
fileType?: string;
|
|
12270
|
+
paths?: string[];
|
|
12271
|
+
static names(): {
|
|
12272
|
+
[key: string]: string;
|
|
12273
|
+
};
|
|
12274
|
+
static types(): {
|
|
12275
|
+
[key: string]: any;
|
|
12276
|
+
};
|
|
12277
|
+
constructor(map?: {
|
|
12278
|
+
[key: string]: any;
|
|
12279
|
+
});
|
|
12280
|
+
}
|
|
12281
|
+
export declare class AnalyzeGitRepositoryResponseBodyAnalysisResults extends $tea.Model {
|
|
12282
|
+
buildFiles?: AnalyzeGitRepositoryResponseBodyAnalysisResultsBuildFiles[];
|
|
12283
|
+
buildType?: string;
|
|
12284
|
+
static names(): {
|
|
12285
|
+
[key: string]: string;
|
|
12286
|
+
};
|
|
12287
|
+
static types(): {
|
|
12288
|
+
[key: string]: any;
|
|
12289
|
+
};
|
|
12290
|
+
constructor(map?: {
|
|
12291
|
+
[key: string]: any;
|
|
12292
|
+
});
|
|
12293
|
+
}
|
|
11932
12294
|
export declare class CreateApplicationRequestAlarmConfig extends $tea.Model {
|
|
11933
12295
|
/**
|
|
11934
12296
|
* @remarks
|
|
@@ -13198,6 +13560,7 @@ export declare class GetApplicationGroupResponseBodyApplicationGroup extends $te
|
|
|
13198
13560
|
* MyApplication
|
|
13199
13561
|
*/
|
|
13200
13562
|
applicationName?: string;
|
|
13563
|
+
applicationSource?: string;
|
|
13201
13564
|
/**
|
|
13202
13565
|
* @remarks
|
|
13203
13566
|
* The ID of the application group in CloudMonitor.
|
|
@@ -13270,6 +13633,13 @@ export declare class GetApplicationGroupResponseBodyApplicationGroup extends $te
|
|
|
13270
13633
|
* MyApplicationGroup
|
|
13271
13634
|
*/
|
|
13272
13635
|
name?: string;
|
|
13636
|
+
/**
|
|
13637
|
+
* @remarks
|
|
13638
|
+
* The operation metadata.
|
|
13639
|
+
*
|
|
13640
|
+
* @example
|
|
13641
|
+
* {\\"PrometheusConfigMap\\":{\\"模板1\\":{\\"EnablePrometheus\\":false}}}
|
|
13642
|
+
*/
|
|
13273
13643
|
operationMetadata?: string;
|
|
13274
13644
|
/**
|
|
13275
13645
|
* @remarks
|
|
@@ -15248,6 +15618,14 @@ export declare class ListExecutionsResponseBodyExecutions extends $tea.Model {
|
|
|
15248
15618
|
* Automatic
|
|
15249
15619
|
*/
|
|
15250
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
|
+
*/
|
|
15628
|
+
nextScheduleTime?: string;
|
|
15251
15629
|
/**
|
|
15252
15630
|
* @remarks
|
|
15253
15631
|
* The output of the execution.
|
|
@@ -15422,48 +15800,90 @@ export declare class ListGitRepositoriesResponseBodyGitRepos extends $tea.Model
|
|
|
15422
15800
|
[key: string]: any;
|
|
15423
15801
|
});
|
|
15424
15802
|
}
|
|
15803
|
+
export declare class ListGitRepositoryContentsResponseBodyContents extends $tea.Model {
|
|
15804
|
+
content?: string;
|
|
15805
|
+
name?: string;
|
|
15806
|
+
path?: string;
|
|
15807
|
+
type?: string;
|
|
15808
|
+
static names(): {
|
|
15809
|
+
[key: string]: string;
|
|
15810
|
+
};
|
|
15811
|
+
static types(): {
|
|
15812
|
+
[key: string]: any;
|
|
15813
|
+
};
|
|
15814
|
+
constructor(map?: {
|
|
15815
|
+
[key: string]: any;
|
|
15816
|
+
});
|
|
15817
|
+
}
|
|
15425
15818
|
export declare class ListInstancePackageStatesResponseBodyPackageStates extends $tea.Model {
|
|
15426
15819
|
/**
|
|
15820
|
+
* @remarks
|
|
15821
|
+
* Description
|
|
15822
|
+
*
|
|
15427
15823
|
* @example
|
|
15428
15824
|
* template description
|
|
15429
15825
|
*/
|
|
15430
15826
|
description?: string;
|
|
15431
15827
|
/**
|
|
15828
|
+
* @remarks
|
|
15829
|
+
* Parameters
|
|
15830
|
+
*
|
|
15432
15831
|
* @example
|
|
15433
15832
|
* {}
|
|
15434
15833
|
*/
|
|
15435
15834
|
parameters?: string;
|
|
15436
15835
|
/**
|
|
15836
|
+
* @remarks
|
|
15837
|
+
* Publisher
|
|
15838
|
+
*
|
|
15437
15839
|
* @example
|
|
15438
15840
|
* Alibaba Cloud
|
|
15439
15841
|
*/
|
|
15440
15842
|
publisher?: string;
|
|
15441
15843
|
/**
|
|
15844
|
+
* @remarks
|
|
15845
|
+
* Template type
|
|
15846
|
+
*
|
|
15442
15847
|
* @example
|
|
15443
15848
|
* Package
|
|
15444
15849
|
*/
|
|
15445
15850
|
templateCategory?: string;
|
|
15446
15851
|
/**
|
|
15852
|
+
* @remarks
|
|
15853
|
+
* Template ID
|
|
15854
|
+
*
|
|
15447
15855
|
* @example
|
|
15448
15856
|
* 087b1e11072a40259f6fxxxxxxxxx
|
|
15449
15857
|
*/
|
|
15450
15858
|
templateId?: string;
|
|
15451
15859
|
/**
|
|
15860
|
+
* @remarks
|
|
15861
|
+
* Template name.
|
|
15862
|
+
*
|
|
15452
15863
|
* @example
|
|
15453
15864
|
* ACS-ECS-Docker
|
|
15454
15865
|
*/
|
|
15455
15866
|
templateName?: string;
|
|
15456
15867
|
/**
|
|
15868
|
+
* @remarks
|
|
15869
|
+
* Template version number
|
|
15870
|
+
*
|
|
15457
15871
|
* @example
|
|
15458
15872
|
* v3
|
|
15459
15873
|
*/
|
|
15460
15874
|
templateVersion?: string;
|
|
15461
15875
|
/**
|
|
15876
|
+
* @remarks
|
|
15877
|
+
* Template version name
|
|
15878
|
+
*
|
|
15462
15879
|
* @example
|
|
15463
15880
|
* fix bug
|
|
15464
15881
|
*/
|
|
15465
15882
|
templateVersionName?: string;
|
|
15466
15883
|
/**
|
|
15884
|
+
* @remarks
|
|
15885
|
+
* Update time.
|
|
15886
|
+
*
|
|
15467
15887
|
* @example
|
|
15468
15888
|
* 2024-05-04T11:17:28
|
|
15469
15889
|
*/
|
|
@@ -16983,6 +17403,13 @@ export declare class ListTemplatesResponseBodyTemplates extends $tea.Model {
|
|
|
16983
17403
|
* 2019-05-16T10:26:14Z
|
|
16984
17404
|
*/
|
|
16985
17405
|
updatedDate?: string;
|
|
17406
|
+
/**
|
|
17407
|
+
* @remarks
|
|
17408
|
+
* The version name.
|
|
17409
|
+
*
|
|
17410
|
+
* @example
|
|
17411
|
+
* v2.1
|
|
17412
|
+
*/
|
|
16986
17413
|
versionName?: string;
|
|
16987
17414
|
static names(): {
|
|
16988
17415
|
[key: string]: string;
|
|
@@ -18476,6 +18903,21 @@ export default class Client extends OpenApi {
|
|
|
18476
18903
|
getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
|
|
18477
18904
|
[key: string]: string;
|
|
18478
18905
|
}, endpoint: string): string;
|
|
18906
|
+
/**
|
|
18907
|
+
* 分析仓库
|
|
18908
|
+
*
|
|
18909
|
+
* @param request - AnalyzeGitRepositoryRequest
|
|
18910
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
18911
|
+
* @returns AnalyzeGitRepositoryResponse
|
|
18912
|
+
*/
|
|
18913
|
+
analyzeGitRepositoryWithOptions(request: AnalyzeGitRepositoryRequest, runtime: $Util.RuntimeOptions): Promise<AnalyzeGitRepositoryResponse>;
|
|
18914
|
+
/**
|
|
18915
|
+
* 分析仓库
|
|
18916
|
+
*
|
|
18917
|
+
* @param request - AnalyzeGitRepositoryRequest
|
|
18918
|
+
* @returns AnalyzeGitRepositoryResponse
|
|
18919
|
+
*/
|
|
18920
|
+
analyzeGitRepository(request: AnalyzeGitRepositoryRequest): Promise<AnalyzeGitRepositoryResponse>;
|
|
18479
18921
|
/**
|
|
18480
18922
|
* Cancels an execution.
|
|
18481
18923
|
*
|
|
@@ -19046,6 +19488,21 @@ export default class Client extends OpenApi {
|
|
|
19046
19488
|
* @returns GetTemplateResponse
|
|
19047
19489
|
*/
|
|
19048
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>;
|
|
19049
19506
|
/**
|
|
19050
19507
|
* Queries the available actions, including atomic actions and cloud product actions.
|
|
19051
19508
|
*
|
|
@@ -19158,7 +19615,22 @@ export default class Client extends OpenApi {
|
|
|
19158
19615
|
*/
|
|
19159
19616
|
listGitRepositories(request: ListGitRepositoriesRequest): Promise<ListGitRepositoriesResponse>;
|
|
19160
19617
|
/**
|
|
19161
|
-
*
|
|
19618
|
+
* 获取仓库文件与目录信息
|
|
19619
|
+
*
|
|
19620
|
+
* @param request - ListGitRepositoryContentsRequest
|
|
19621
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
19622
|
+
* @returns ListGitRepositoryContentsResponse
|
|
19623
|
+
*/
|
|
19624
|
+
listGitRepositoryContentsWithOptions(request: ListGitRepositoryContentsRequest, runtime: $Util.RuntimeOptions): Promise<ListGitRepositoryContentsResponse>;
|
|
19625
|
+
/**
|
|
19626
|
+
* 获取仓库文件与目录信息
|
|
19627
|
+
*
|
|
19628
|
+
* @param request - ListGitRepositoryContentsRequest
|
|
19629
|
+
* @returns ListGitRepositoryContentsResponse
|
|
19630
|
+
*/
|
|
19631
|
+
listGitRepositoryContents(request: ListGitRepositoryContentsRequest): Promise<ListGitRepositoryContentsResponse>;
|
|
19632
|
+
/**
|
|
19633
|
+
* List Instance Package States
|
|
19162
19634
|
*
|
|
19163
19635
|
* @param request - ListInstancePackageStatesRequest
|
|
19164
19636
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -19166,7 +19638,7 @@ export default class Client extends OpenApi {
|
|
|
19166
19638
|
*/
|
|
19167
19639
|
listInstancePackageStatesWithOptions(request: ListInstancePackageStatesRequest, runtime: $Util.RuntimeOptions): Promise<ListInstancePackageStatesResponse>;
|
|
19168
19640
|
/**
|
|
19169
|
-
*
|
|
19641
|
+
* List Instance Package States
|
|
19170
19642
|
*
|
|
19171
19643
|
* @param request - ListInstancePackageStatesRequest
|
|
19172
19644
|
* @returns ListInstancePackageStatesResponse
|
|
@@ -19611,7 +20083,7 @@ export default class Client extends OpenApi {
|
|
|
19611
20083
|
*/
|
|
19612
20084
|
updateExecution(request: UpdateExecutionRequest): Promise<UpdateExecutionResponse>;
|
|
19613
20085
|
/**
|
|
19614
|
-
*
|
|
20086
|
+
* Updates the installed extensions of an instance.
|
|
19615
20087
|
*
|
|
19616
20088
|
* @param tmpReq - UpdateInstancePackageStateRequest
|
|
19617
20089
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -19619,7 +20091,7 @@ export default class Client extends OpenApi {
|
|
|
19619
20091
|
*/
|
|
19620
20092
|
updateInstancePackageStateWithOptions(tmpReq: UpdateInstancePackageStateRequest, runtime: $Util.RuntimeOptions): Promise<UpdateInstancePackageStateResponse>;
|
|
19621
20093
|
/**
|
|
19622
|
-
*
|
|
20094
|
+
* Updates the installed extensions of an instance.
|
|
19623
20095
|
*
|
|
19624
20096
|
* @param request - UpdateInstancePackageStateRequest
|
|
19625
20097
|
* @returns UpdateInstancePackageStateResponse
|