@alicloud/oos20190601 2.0.0 → 3.0.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 +83 -1
- package/dist/client.js +185 -2
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +242 -3
package/dist/client.d.ts
CHANGED
|
@@ -138,6 +138,7 @@ export declare class CreateApplicationRequest extends $tea.Model {
|
|
|
138
138
|
name?: string;
|
|
139
139
|
regionId?: string;
|
|
140
140
|
resourceGroupId?: string;
|
|
141
|
+
serviceId?: string;
|
|
141
142
|
tags?: {
|
|
142
143
|
[key: string]: any;
|
|
143
144
|
};
|
|
@@ -158,6 +159,7 @@ export declare class CreateApplicationShrinkRequest extends $tea.Model {
|
|
|
158
159
|
name?: string;
|
|
159
160
|
regionId?: string;
|
|
160
161
|
resourceGroupId?: string;
|
|
162
|
+
serviceId?: string;
|
|
161
163
|
tagsShrink?: string;
|
|
162
164
|
static names(): {
|
|
163
165
|
[key: string]: string;
|
|
@@ -694,6 +696,7 @@ export declare class DeleteApplicationRequest extends $tea.Model {
|
|
|
694
696
|
force?: boolean;
|
|
695
697
|
name?: string;
|
|
696
698
|
regionId?: string;
|
|
699
|
+
retainResource?: boolean;
|
|
697
700
|
static names(): {
|
|
698
701
|
[key: string]: string;
|
|
699
702
|
};
|
|
@@ -736,6 +739,7 @@ export declare class DeleteApplicationGroupRequest extends $tea.Model {
|
|
|
736
739
|
applicationName?: string;
|
|
737
740
|
name?: string;
|
|
738
741
|
regionId?: string;
|
|
742
|
+
retainResource?: boolean;
|
|
739
743
|
static names(): {
|
|
740
744
|
[key: string]: string;
|
|
741
745
|
};
|
|
@@ -1107,6 +1111,55 @@ export declare class DeployApplicationGroupResponse extends $tea.Model {
|
|
|
1107
1111
|
[key: string]: any;
|
|
1108
1112
|
});
|
|
1109
1113
|
}
|
|
1114
|
+
export declare class DescribeApplicationGroupBillRequest extends $tea.Model {
|
|
1115
|
+
applicationName?: string;
|
|
1116
|
+
billingCycle?: string;
|
|
1117
|
+
maxResults?: number;
|
|
1118
|
+
name?: string;
|
|
1119
|
+
nextToken?: string;
|
|
1120
|
+
regionId?: string;
|
|
1121
|
+
resourceType?: string;
|
|
1122
|
+
static names(): {
|
|
1123
|
+
[key: string]: string;
|
|
1124
|
+
};
|
|
1125
|
+
static types(): {
|
|
1126
|
+
[key: string]: any;
|
|
1127
|
+
};
|
|
1128
|
+
constructor(map?: {
|
|
1129
|
+
[key: string]: any;
|
|
1130
|
+
});
|
|
1131
|
+
}
|
|
1132
|
+
export declare class DescribeApplicationGroupBillResponseBody extends $tea.Model {
|
|
1133
|
+
applicationGroupConsume?: DescribeApplicationGroupBillResponseBodyApplicationGroupConsume[];
|
|
1134
|
+
maxResults?: number;
|
|
1135
|
+
nextToken?: string;
|
|
1136
|
+
requestId?: string;
|
|
1137
|
+
static names(): {
|
|
1138
|
+
[key: string]: string;
|
|
1139
|
+
};
|
|
1140
|
+
static types(): {
|
|
1141
|
+
[key: string]: any;
|
|
1142
|
+
};
|
|
1143
|
+
constructor(map?: {
|
|
1144
|
+
[key: string]: any;
|
|
1145
|
+
});
|
|
1146
|
+
}
|
|
1147
|
+
export declare class DescribeApplicationGroupBillResponse extends $tea.Model {
|
|
1148
|
+
headers: {
|
|
1149
|
+
[key: string]: string;
|
|
1150
|
+
};
|
|
1151
|
+
statusCode: number;
|
|
1152
|
+
body: DescribeApplicationGroupBillResponseBody;
|
|
1153
|
+
static names(): {
|
|
1154
|
+
[key: string]: string;
|
|
1155
|
+
};
|
|
1156
|
+
static types(): {
|
|
1157
|
+
[key: string]: any;
|
|
1158
|
+
};
|
|
1159
|
+
constructor(map?: {
|
|
1160
|
+
[key: string]: any;
|
|
1161
|
+
});
|
|
1162
|
+
}
|
|
1110
1163
|
export declare class DescribeRegionsRequest extends $tea.Model {
|
|
1111
1164
|
acceptLanguage?: string;
|
|
1112
1165
|
regionId?: string;
|
|
@@ -1152,6 +1205,7 @@ export declare class DescribeRegionsResponse extends $tea.Model {
|
|
|
1152
1205
|
export declare class GenerateExecutionPolicyRequest extends $tea.Model {
|
|
1153
1206
|
ramRole?: string;
|
|
1154
1207
|
regionId?: string;
|
|
1208
|
+
templateContent?: string;
|
|
1155
1209
|
templateName?: string;
|
|
1156
1210
|
templateVersion?: string;
|
|
1157
1211
|
static names(): {
|
|
@@ -3113,6 +3167,7 @@ export declare class ListTemplatesRequest extends $tea.Model {
|
|
|
3113
3167
|
createdDateAfter?: string;
|
|
3114
3168
|
createdDateBefore?: string;
|
|
3115
3169
|
hasTrigger?: boolean;
|
|
3170
|
+
isFavorite?: boolean;
|
|
3116
3171
|
maxResults?: number;
|
|
3117
3172
|
nextToken?: string;
|
|
3118
3173
|
regionId?: string;
|
|
@@ -3142,6 +3197,7 @@ export declare class ListTemplatesShrinkRequest extends $tea.Model {
|
|
|
3142
3197
|
createdDateAfter?: string;
|
|
3143
3198
|
createdDateBefore?: string;
|
|
3144
3199
|
hasTrigger?: boolean;
|
|
3200
|
+
isFavorite?: boolean;
|
|
3145
3201
|
maxResults?: number;
|
|
3146
3202
|
nextToken?: string;
|
|
3147
3203
|
regionId?: string;
|
|
@@ -4488,6 +4544,27 @@ export declare class CreateTemplateResponseBodyTemplate extends $tea.Model {
|
|
|
4488
4544
|
[key: string]: any;
|
|
4489
4545
|
});
|
|
4490
4546
|
}
|
|
4547
|
+
export declare class DescribeApplicationGroupBillResponseBodyApplicationGroupConsume extends $tea.Model {
|
|
4548
|
+
amount?: number;
|
|
4549
|
+
creationTime?: string;
|
|
4550
|
+
currency?: string;
|
|
4551
|
+
instanceId?: string;
|
|
4552
|
+
instanceName?: string;
|
|
4553
|
+
instanceType?: string;
|
|
4554
|
+
optimization?: string;
|
|
4555
|
+
peakType?: string;
|
|
4556
|
+
performance?: string;
|
|
4557
|
+
status?: string;
|
|
4558
|
+
static names(): {
|
|
4559
|
+
[key: string]: string;
|
|
4560
|
+
};
|
|
4561
|
+
static types(): {
|
|
4562
|
+
[key: string]: any;
|
|
4563
|
+
};
|
|
4564
|
+
constructor(map?: {
|
|
4565
|
+
[key: string]: any;
|
|
4566
|
+
});
|
|
4567
|
+
}
|
|
4491
4568
|
export declare class DescribeRegionsResponseBodyRegions extends $tea.Model {
|
|
4492
4569
|
localName?: string;
|
|
4493
4570
|
regionEndpoint?: string;
|
|
@@ -4523,6 +4600,7 @@ export declare class GetApplicationResponseBodyApplication extends $tea.Model {
|
|
|
4523
4600
|
description?: string;
|
|
4524
4601
|
name?: string;
|
|
4525
4602
|
resourceGroupId?: string;
|
|
4603
|
+
serviceId?: string;
|
|
4526
4604
|
tags?: {
|
|
4527
4605
|
[key: string]: any;
|
|
4528
4606
|
};
|
|
@@ -4621,7 +4699,6 @@ export declare class GetOpsItemResponseBodyOpsItem extends $tea.Model {
|
|
|
4621
4699
|
category?: string;
|
|
4622
4700
|
createBy?: string;
|
|
4623
4701
|
createDate?: string;
|
|
4624
|
-
dedupString?: string;
|
|
4625
4702
|
description?: string;
|
|
4626
4703
|
lastModifiedBy?: string;
|
|
4627
4704
|
opsItemId?: string;
|
|
@@ -5415,12 +5492,15 @@ export declare class ListTemplateVersionsResponseBodyTemplateVersions extends $t
|
|
|
5415
5492
|
}
|
|
5416
5493
|
export declare class ListTemplatesResponseBodyTemplates extends $tea.Model {
|
|
5417
5494
|
category?: string;
|
|
5495
|
+
constraints?: string;
|
|
5418
5496
|
createdBy?: string;
|
|
5419
5497
|
createdDate?: string;
|
|
5420
5498
|
description?: string;
|
|
5421
5499
|
hasTrigger?: boolean;
|
|
5422
5500
|
hash?: string;
|
|
5501
|
+
isFavorite?: boolean;
|
|
5423
5502
|
popularity?: number;
|
|
5503
|
+
publisher?: string;
|
|
5424
5504
|
resourceGroupId?: string;
|
|
5425
5505
|
shareType?: string;
|
|
5426
5506
|
tags?: {
|
|
@@ -5852,6 +5932,8 @@ export default class Client extends OpenApi {
|
|
|
5852
5932
|
deleteTemplates(request: DeleteTemplatesRequest): Promise<DeleteTemplatesResponse>;
|
|
5853
5933
|
deployApplicationGroupWithOptions(request: DeployApplicationGroupRequest, runtime: $Util.RuntimeOptions): Promise<DeployApplicationGroupResponse>;
|
|
5854
5934
|
deployApplicationGroup(request: DeployApplicationGroupRequest): Promise<DeployApplicationGroupResponse>;
|
|
5935
|
+
describeApplicationGroupBillWithOptions(request: DescribeApplicationGroupBillRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApplicationGroupBillResponse>;
|
|
5936
|
+
describeApplicationGroupBill(request: DescribeApplicationGroupBillRequest): Promise<DescribeApplicationGroupBillResponse>;
|
|
5855
5937
|
describeRegionsWithOptions(request: DescribeRegionsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeRegionsResponse>;
|
|
5856
5938
|
describeRegions(request: DescribeRegionsRequest): Promise<DescribeRegionsResponse>;
|
|
5857
5939
|
generateExecutionPolicyWithOptions(request: GenerateExecutionPolicyRequest, runtime: $Util.RuntimeOptions): Promise<GenerateExecutionPolicyResponse>;
|
package/dist/client.js
CHANGED
|
@@ -201,6 +201,7 @@ class CreateApplicationRequest extends $tea.Model {
|
|
|
201
201
|
name: 'Name',
|
|
202
202
|
regionId: 'RegionId',
|
|
203
203
|
resourceGroupId: 'ResourceGroupId',
|
|
204
|
+
serviceId: 'ServiceId',
|
|
204
205
|
tags: 'Tags',
|
|
205
206
|
};
|
|
206
207
|
}
|
|
@@ -212,6 +213,7 @@ class CreateApplicationRequest extends $tea.Model {
|
|
|
212
213
|
name: 'string',
|
|
213
214
|
regionId: 'string',
|
|
214
215
|
resourceGroupId: 'string',
|
|
216
|
+
serviceId: 'string',
|
|
215
217
|
tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
216
218
|
};
|
|
217
219
|
}
|
|
@@ -229,6 +231,7 @@ class CreateApplicationShrinkRequest extends $tea.Model {
|
|
|
229
231
|
name: 'Name',
|
|
230
232
|
regionId: 'RegionId',
|
|
231
233
|
resourceGroupId: 'ResourceGroupId',
|
|
234
|
+
serviceId: 'ServiceId',
|
|
232
235
|
tagsShrink: 'Tags',
|
|
233
236
|
};
|
|
234
237
|
}
|
|
@@ -240,6 +243,7 @@ class CreateApplicationShrinkRequest extends $tea.Model {
|
|
|
240
243
|
name: 'string',
|
|
241
244
|
regionId: 'string',
|
|
242
245
|
resourceGroupId: 'string',
|
|
246
|
+
serviceId: 'string',
|
|
243
247
|
tagsShrink: 'string',
|
|
244
248
|
};
|
|
245
249
|
}
|
|
@@ -1012,6 +1016,7 @@ class DeleteApplicationRequest extends $tea.Model {
|
|
|
1012
1016
|
force: 'Force',
|
|
1013
1017
|
name: 'Name',
|
|
1014
1018
|
regionId: 'RegionId',
|
|
1019
|
+
retainResource: 'RetainResource',
|
|
1015
1020
|
};
|
|
1016
1021
|
}
|
|
1017
1022
|
static types() {
|
|
@@ -1019,6 +1024,7 @@ class DeleteApplicationRequest extends $tea.Model {
|
|
|
1019
1024
|
force: 'boolean',
|
|
1020
1025
|
name: 'string',
|
|
1021
1026
|
regionId: 'string',
|
|
1027
|
+
retainResource: 'boolean',
|
|
1022
1028
|
};
|
|
1023
1029
|
}
|
|
1024
1030
|
}
|
|
@@ -1068,6 +1074,7 @@ class DeleteApplicationGroupRequest extends $tea.Model {
|
|
|
1068
1074
|
applicationName: 'ApplicationName',
|
|
1069
1075
|
name: 'Name',
|
|
1070
1076
|
regionId: 'RegionId',
|
|
1077
|
+
retainResource: 'RetainResource',
|
|
1071
1078
|
};
|
|
1072
1079
|
}
|
|
1073
1080
|
static types() {
|
|
@@ -1075,6 +1082,7 @@ class DeleteApplicationGroupRequest extends $tea.Model {
|
|
|
1075
1082
|
applicationName: 'string',
|
|
1076
1083
|
name: 'string',
|
|
1077
1084
|
regionId: 'string',
|
|
1085
|
+
retainResource: 'boolean',
|
|
1078
1086
|
};
|
|
1079
1087
|
}
|
|
1080
1088
|
}
|
|
@@ -1557,6 +1565,76 @@ class DeployApplicationGroupResponse extends $tea.Model {
|
|
|
1557
1565
|
}
|
|
1558
1566
|
}
|
|
1559
1567
|
exports.DeployApplicationGroupResponse = DeployApplicationGroupResponse;
|
|
1568
|
+
class DescribeApplicationGroupBillRequest extends $tea.Model {
|
|
1569
|
+
constructor(map) {
|
|
1570
|
+
super(map);
|
|
1571
|
+
}
|
|
1572
|
+
static names() {
|
|
1573
|
+
return {
|
|
1574
|
+
applicationName: 'ApplicationName',
|
|
1575
|
+
billingCycle: 'BillingCycle',
|
|
1576
|
+
maxResults: 'MaxResults',
|
|
1577
|
+
name: 'Name',
|
|
1578
|
+
nextToken: 'NextToken',
|
|
1579
|
+
regionId: 'RegionId',
|
|
1580
|
+
resourceType: 'ResourceType',
|
|
1581
|
+
};
|
|
1582
|
+
}
|
|
1583
|
+
static types() {
|
|
1584
|
+
return {
|
|
1585
|
+
applicationName: 'string',
|
|
1586
|
+
billingCycle: 'string',
|
|
1587
|
+
maxResults: 'number',
|
|
1588
|
+
name: 'string',
|
|
1589
|
+
nextToken: 'string',
|
|
1590
|
+
regionId: 'string',
|
|
1591
|
+
resourceType: 'string',
|
|
1592
|
+
};
|
|
1593
|
+
}
|
|
1594
|
+
}
|
|
1595
|
+
exports.DescribeApplicationGroupBillRequest = DescribeApplicationGroupBillRequest;
|
|
1596
|
+
class DescribeApplicationGroupBillResponseBody extends $tea.Model {
|
|
1597
|
+
constructor(map) {
|
|
1598
|
+
super(map);
|
|
1599
|
+
}
|
|
1600
|
+
static names() {
|
|
1601
|
+
return {
|
|
1602
|
+
applicationGroupConsume: 'ApplicationGroupConsume',
|
|
1603
|
+
maxResults: 'MaxResults',
|
|
1604
|
+
nextToken: 'NextToken',
|
|
1605
|
+
requestId: 'RequestId',
|
|
1606
|
+
};
|
|
1607
|
+
}
|
|
1608
|
+
static types() {
|
|
1609
|
+
return {
|
|
1610
|
+
applicationGroupConsume: { 'type': 'array', 'itemType': DescribeApplicationGroupBillResponseBodyApplicationGroupConsume },
|
|
1611
|
+
maxResults: 'number',
|
|
1612
|
+
nextToken: 'string',
|
|
1613
|
+
requestId: 'string',
|
|
1614
|
+
};
|
|
1615
|
+
}
|
|
1616
|
+
}
|
|
1617
|
+
exports.DescribeApplicationGroupBillResponseBody = DescribeApplicationGroupBillResponseBody;
|
|
1618
|
+
class DescribeApplicationGroupBillResponse extends $tea.Model {
|
|
1619
|
+
constructor(map) {
|
|
1620
|
+
super(map);
|
|
1621
|
+
}
|
|
1622
|
+
static names() {
|
|
1623
|
+
return {
|
|
1624
|
+
headers: 'headers',
|
|
1625
|
+
statusCode: 'statusCode',
|
|
1626
|
+
body: 'body',
|
|
1627
|
+
};
|
|
1628
|
+
}
|
|
1629
|
+
static types() {
|
|
1630
|
+
return {
|
|
1631
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1632
|
+
statusCode: 'number',
|
|
1633
|
+
body: DescribeApplicationGroupBillResponseBody,
|
|
1634
|
+
};
|
|
1635
|
+
}
|
|
1636
|
+
}
|
|
1637
|
+
exports.DescribeApplicationGroupBillResponse = DescribeApplicationGroupBillResponse;
|
|
1560
1638
|
class DescribeRegionsRequest extends $tea.Model {
|
|
1561
1639
|
constructor(map) {
|
|
1562
1640
|
super(map);
|
|
@@ -1621,6 +1699,7 @@ class GenerateExecutionPolicyRequest extends $tea.Model {
|
|
|
1621
1699
|
return {
|
|
1622
1700
|
ramRole: 'RamRole',
|
|
1623
1701
|
regionId: 'RegionId',
|
|
1702
|
+
templateContent: 'TemplateContent',
|
|
1624
1703
|
templateName: 'TemplateName',
|
|
1625
1704
|
templateVersion: 'TemplateVersion',
|
|
1626
1705
|
};
|
|
@@ -1629,6 +1708,7 @@ class GenerateExecutionPolicyRequest extends $tea.Model {
|
|
|
1629
1708
|
return {
|
|
1630
1709
|
ramRole: 'string',
|
|
1631
1710
|
regionId: 'string',
|
|
1711
|
+
templateContent: 'string',
|
|
1632
1712
|
templateName: 'string',
|
|
1633
1713
|
templateVersion: 'string',
|
|
1634
1714
|
};
|
|
@@ -4400,6 +4480,7 @@ class ListTemplatesRequest extends $tea.Model {
|
|
|
4400
4480
|
createdDateAfter: 'CreatedDateAfter',
|
|
4401
4481
|
createdDateBefore: 'CreatedDateBefore',
|
|
4402
4482
|
hasTrigger: 'HasTrigger',
|
|
4483
|
+
isFavorite: 'IsFavorite',
|
|
4403
4484
|
maxResults: 'MaxResults',
|
|
4404
4485
|
nextToken: 'NextToken',
|
|
4405
4486
|
regionId: 'RegionId',
|
|
@@ -4420,6 +4501,7 @@ class ListTemplatesRequest extends $tea.Model {
|
|
|
4420
4501
|
createdDateAfter: 'string',
|
|
4421
4502
|
createdDateBefore: 'string',
|
|
4422
4503
|
hasTrigger: 'boolean',
|
|
4504
|
+
isFavorite: 'boolean',
|
|
4423
4505
|
maxResults: 'number',
|
|
4424
4506
|
nextToken: 'string',
|
|
4425
4507
|
regionId: 'string',
|
|
@@ -4446,6 +4528,7 @@ class ListTemplatesShrinkRequest extends $tea.Model {
|
|
|
4446
4528
|
createdDateAfter: 'CreatedDateAfter',
|
|
4447
4529
|
createdDateBefore: 'CreatedDateBefore',
|
|
4448
4530
|
hasTrigger: 'HasTrigger',
|
|
4531
|
+
isFavorite: 'IsFavorite',
|
|
4449
4532
|
maxResults: 'MaxResults',
|
|
4450
4533
|
nextToken: 'NextToken',
|
|
4451
4534
|
regionId: 'RegionId',
|
|
@@ -4466,6 +4549,7 @@ class ListTemplatesShrinkRequest extends $tea.Model {
|
|
|
4466
4549
|
createdDateAfter: 'string',
|
|
4467
4550
|
createdDateBefore: 'string',
|
|
4468
4551
|
hasTrigger: 'boolean',
|
|
4552
|
+
isFavorite: 'boolean',
|
|
4469
4553
|
maxResults: 'number',
|
|
4470
4554
|
nextToken: 'string',
|
|
4471
4555
|
regionId: 'string',
|
|
@@ -6371,6 +6455,40 @@ class CreateTemplateResponseBodyTemplate extends $tea.Model {
|
|
|
6371
6455
|
}
|
|
6372
6456
|
}
|
|
6373
6457
|
exports.CreateTemplateResponseBodyTemplate = CreateTemplateResponseBodyTemplate;
|
|
6458
|
+
class DescribeApplicationGroupBillResponseBodyApplicationGroupConsume extends $tea.Model {
|
|
6459
|
+
constructor(map) {
|
|
6460
|
+
super(map);
|
|
6461
|
+
}
|
|
6462
|
+
static names() {
|
|
6463
|
+
return {
|
|
6464
|
+
amount: 'Amount',
|
|
6465
|
+
creationTime: 'CreationTime',
|
|
6466
|
+
currency: 'Currency',
|
|
6467
|
+
instanceId: 'InstanceId',
|
|
6468
|
+
instanceName: 'InstanceName',
|
|
6469
|
+
instanceType: 'InstanceType',
|
|
6470
|
+
optimization: 'Optimization',
|
|
6471
|
+
peakType: 'PeakType',
|
|
6472
|
+
performance: 'Performance',
|
|
6473
|
+
status: 'Status',
|
|
6474
|
+
};
|
|
6475
|
+
}
|
|
6476
|
+
static types() {
|
|
6477
|
+
return {
|
|
6478
|
+
amount: 'number',
|
|
6479
|
+
creationTime: 'string',
|
|
6480
|
+
currency: 'string',
|
|
6481
|
+
instanceId: 'string',
|
|
6482
|
+
instanceName: 'string',
|
|
6483
|
+
instanceType: 'string',
|
|
6484
|
+
optimization: 'string',
|
|
6485
|
+
peakType: 'string',
|
|
6486
|
+
performance: 'string',
|
|
6487
|
+
status: 'string',
|
|
6488
|
+
};
|
|
6489
|
+
}
|
|
6490
|
+
}
|
|
6491
|
+
exports.DescribeApplicationGroupBillResponseBodyApplicationGroupConsume = DescribeApplicationGroupBillResponseBodyApplicationGroupConsume;
|
|
6374
6492
|
class DescribeRegionsResponseBodyRegions extends $tea.Model {
|
|
6375
6493
|
constructor(map) {
|
|
6376
6494
|
super(map);
|
|
@@ -6423,6 +6541,7 @@ class GetApplicationResponseBodyApplication extends $tea.Model {
|
|
|
6423
6541
|
description: 'Description',
|
|
6424
6542
|
name: 'Name',
|
|
6425
6543
|
resourceGroupId: 'ResourceGroupId',
|
|
6544
|
+
serviceId: 'ServiceId',
|
|
6426
6545
|
tags: 'Tags',
|
|
6427
6546
|
updateDate: 'UpdateDate',
|
|
6428
6547
|
};
|
|
@@ -6435,6 +6554,7 @@ class GetApplicationResponseBodyApplication extends $tea.Model {
|
|
|
6435
6554
|
description: 'string',
|
|
6436
6555
|
name: 'string',
|
|
6437
6556
|
resourceGroupId: 'string',
|
|
6557
|
+
serviceId: 'string',
|
|
6438
6558
|
tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
6439
6559
|
updateDate: 'string',
|
|
6440
6560
|
};
|
|
@@ -6569,7 +6689,6 @@ class GetOpsItemResponseBodyOpsItem extends $tea.Model {
|
|
|
6569
6689
|
category: 'Category',
|
|
6570
6690
|
createBy: 'CreateBy',
|
|
6571
6691
|
createDate: 'CreateDate',
|
|
6572
|
-
dedupString: 'DedupString',
|
|
6573
6692
|
description: 'Description',
|
|
6574
6693
|
lastModifiedBy: 'LastModifiedBy',
|
|
6575
6694
|
opsItemId: 'OpsItemId',
|
|
@@ -6591,7 +6710,6 @@ class GetOpsItemResponseBodyOpsItem extends $tea.Model {
|
|
|
6591
6710
|
category: 'string',
|
|
6592
6711
|
createBy: 'string',
|
|
6593
6712
|
createDate: 'string',
|
|
6594
|
-
dedupString: 'string',
|
|
6595
6713
|
description: 'string',
|
|
6596
6714
|
lastModifiedBy: 'string',
|
|
6597
6715
|
opsItemId: 'string',
|
|
@@ -7792,12 +7910,15 @@ class ListTemplatesResponseBodyTemplates extends $tea.Model {
|
|
|
7792
7910
|
static names() {
|
|
7793
7911
|
return {
|
|
7794
7912
|
category: 'Category',
|
|
7913
|
+
constraints: 'Constraints',
|
|
7795
7914
|
createdBy: 'CreatedBy',
|
|
7796
7915
|
createdDate: 'CreatedDate',
|
|
7797
7916
|
description: 'Description',
|
|
7798
7917
|
hasTrigger: 'HasTrigger',
|
|
7799
7918
|
hash: 'Hash',
|
|
7919
|
+
isFavorite: 'IsFavorite',
|
|
7800
7920
|
popularity: 'Popularity',
|
|
7921
|
+
publisher: 'Publisher',
|
|
7801
7922
|
resourceGroupId: 'ResourceGroupId',
|
|
7802
7923
|
shareType: 'ShareType',
|
|
7803
7924
|
tags: 'Tags',
|
|
@@ -7814,12 +7935,15 @@ class ListTemplatesResponseBodyTemplates extends $tea.Model {
|
|
|
7814
7935
|
static types() {
|
|
7815
7936
|
return {
|
|
7816
7937
|
category: 'string',
|
|
7938
|
+
constraints: 'string',
|
|
7817
7939
|
createdBy: 'string',
|
|
7818
7940
|
createdDate: 'string',
|
|
7819
7941
|
description: 'string',
|
|
7820
7942
|
hasTrigger: 'boolean',
|
|
7821
7943
|
hash: 'string',
|
|
7944
|
+
isFavorite: 'boolean',
|
|
7822
7945
|
popularity: 'number',
|
|
7946
|
+
publisher: 'string',
|
|
7823
7947
|
resourceGroupId: 'string',
|
|
7824
7948
|
shareType: 'string',
|
|
7825
7949
|
tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
@@ -8541,6 +8665,9 @@ class Client extends openapi_client_1.default {
|
|
|
8541
8665
|
if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
|
|
8542
8666
|
query["ResourceGroupId"] = request.resourceGroupId;
|
|
8543
8667
|
}
|
|
8668
|
+
if (!tea_util_1.default.isUnset(request.serviceId)) {
|
|
8669
|
+
query["ServiceId"] = request.serviceId;
|
|
8670
|
+
}
|
|
8544
8671
|
if (!tea_util_1.default.isUnset(request.tagsShrink)) {
|
|
8545
8672
|
query["Tags"] = request.tagsShrink;
|
|
8546
8673
|
}
|
|
@@ -8992,6 +9119,9 @@ class Client extends openapi_client_1.default {
|
|
|
8992
9119
|
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
8993
9120
|
query["RegionId"] = request.regionId;
|
|
8994
9121
|
}
|
|
9122
|
+
if (!tea_util_1.default.isUnset(request.retainResource)) {
|
|
9123
|
+
query["RetainResource"] = request.retainResource;
|
|
9124
|
+
}
|
|
8995
9125
|
let req = new $OpenApi.OpenApiRequest({
|
|
8996
9126
|
query: openapi_util_1.default.query(query),
|
|
8997
9127
|
});
|
|
@@ -9024,6 +9154,9 @@ class Client extends openapi_client_1.default {
|
|
|
9024
9154
|
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
9025
9155
|
query["RegionId"] = request.regionId;
|
|
9026
9156
|
}
|
|
9157
|
+
if (!tea_util_1.default.isUnset(request.retainResource)) {
|
|
9158
|
+
query["RetainResource"] = request.retainResource;
|
|
9159
|
+
}
|
|
9027
9160
|
let req = new $OpenApi.OpenApiRequest({
|
|
9028
9161
|
query: openapi_util_1.default.query(query),
|
|
9029
9162
|
});
|
|
@@ -9291,6 +9424,50 @@ class Client extends openapi_client_1.default {
|
|
|
9291
9424
|
let runtime = new $Util.RuntimeOptions({});
|
|
9292
9425
|
return await this.deployApplicationGroupWithOptions(request, runtime);
|
|
9293
9426
|
}
|
|
9427
|
+
async describeApplicationGroupBillWithOptions(request, runtime) {
|
|
9428
|
+
tea_util_1.default.validateModel(request);
|
|
9429
|
+
let query = {};
|
|
9430
|
+
if (!tea_util_1.default.isUnset(request.applicationName)) {
|
|
9431
|
+
query["ApplicationName"] = request.applicationName;
|
|
9432
|
+
}
|
|
9433
|
+
if (!tea_util_1.default.isUnset(request.billingCycle)) {
|
|
9434
|
+
query["BillingCycle"] = request.billingCycle;
|
|
9435
|
+
}
|
|
9436
|
+
if (!tea_util_1.default.isUnset(request.maxResults)) {
|
|
9437
|
+
query["MaxResults"] = request.maxResults;
|
|
9438
|
+
}
|
|
9439
|
+
if (!tea_util_1.default.isUnset(request.name)) {
|
|
9440
|
+
query["Name"] = request.name;
|
|
9441
|
+
}
|
|
9442
|
+
if (!tea_util_1.default.isUnset(request.nextToken)) {
|
|
9443
|
+
query["NextToken"] = request.nextToken;
|
|
9444
|
+
}
|
|
9445
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
9446
|
+
query["RegionId"] = request.regionId;
|
|
9447
|
+
}
|
|
9448
|
+
if (!tea_util_1.default.isUnset(request.resourceType)) {
|
|
9449
|
+
query["ResourceType"] = request.resourceType;
|
|
9450
|
+
}
|
|
9451
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
9452
|
+
query: openapi_util_1.default.query(query),
|
|
9453
|
+
});
|
|
9454
|
+
let params = new $OpenApi.Params({
|
|
9455
|
+
action: "DescribeApplicationGroupBill",
|
|
9456
|
+
version: "2019-06-01",
|
|
9457
|
+
protocol: "HTTPS",
|
|
9458
|
+
pathname: "/",
|
|
9459
|
+
method: "POST",
|
|
9460
|
+
authType: "AK",
|
|
9461
|
+
style: "RPC",
|
|
9462
|
+
reqBodyType: "formData",
|
|
9463
|
+
bodyType: "json",
|
|
9464
|
+
});
|
|
9465
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeApplicationGroupBillResponse({}));
|
|
9466
|
+
}
|
|
9467
|
+
async describeApplicationGroupBill(request) {
|
|
9468
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
9469
|
+
return await this.describeApplicationGroupBillWithOptions(request, runtime);
|
|
9470
|
+
}
|
|
9294
9471
|
async describeRegionsWithOptions(request, runtime) {
|
|
9295
9472
|
tea_util_1.default.validateModel(request);
|
|
9296
9473
|
let query = {};
|
|
@@ -9329,6 +9506,9 @@ class Client extends openapi_client_1.default {
|
|
|
9329
9506
|
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
9330
9507
|
query["RegionId"] = request.regionId;
|
|
9331
9508
|
}
|
|
9509
|
+
if (!tea_util_1.default.isUnset(request.templateContent)) {
|
|
9510
|
+
query["TemplateContent"] = request.templateContent;
|
|
9511
|
+
}
|
|
9332
9512
|
if (!tea_util_1.default.isUnset(request.templateName)) {
|
|
9333
9513
|
query["TemplateName"] = request.templateName;
|
|
9334
9514
|
}
|
|
@@ -10908,6 +11088,9 @@ class Client extends openapi_client_1.default {
|
|
|
10908
11088
|
if (!tea_util_1.default.isUnset(request.hasTrigger)) {
|
|
10909
11089
|
query["HasTrigger"] = request.hasTrigger;
|
|
10910
11090
|
}
|
|
11091
|
+
if (!tea_util_1.default.isUnset(request.isFavorite)) {
|
|
11092
|
+
query["IsFavorite"] = request.isFavorite;
|
|
11093
|
+
}
|
|
10911
11094
|
if (!tea_util_1.default.isUnset(request.maxResults)) {
|
|
10912
11095
|
query["MaxResults"] = request.maxResults;
|
|
10913
11096
|
}
|