@alicloud/oos20190601 2.0.1 → 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 +80 -1
- package/dist/client.js +176 -2
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +229 -3
package/dist/client.d.ts
CHANGED
|
@@ -696,6 +696,7 @@ export declare class DeleteApplicationRequest extends $tea.Model {
|
|
|
696
696
|
force?: boolean;
|
|
697
697
|
name?: string;
|
|
698
698
|
regionId?: string;
|
|
699
|
+
retainResource?: boolean;
|
|
699
700
|
static names(): {
|
|
700
701
|
[key: string]: string;
|
|
701
702
|
};
|
|
@@ -738,6 +739,7 @@ export declare class DeleteApplicationGroupRequest extends $tea.Model {
|
|
|
738
739
|
applicationName?: string;
|
|
739
740
|
name?: string;
|
|
740
741
|
regionId?: string;
|
|
742
|
+
retainResource?: boolean;
|
|
741
743
|
static names(): {
|
|
742
744
|
[key: string]: string;
|
|
743
745
|
};
|
|
@@ -1109,6 +1111,55 @@ export declare class DeployApplicationGroupResponse extends $tea.Model {
|
|
|
1109
1111
|
[key: string]: any;
|
|
1110
1112
|
});
|
|
1111
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
|
+
}
|
|
1112
1163
|
export declare class DescribeRegionsRequest extends $tea.Model {
|
|
1113
1164
|
acceptLanguage?: string;
|
|
1114
1165
|
regionId?: string;
|
|
@@ -1154,6 +1205,7 @@ export declare class DescribeRegionsResponse extends $tea.Model {
|
|
|
1154
1205
|
export declare class GenerateExecutionPolicyRequest extends $tea.Model {
|
|
1155
1206
|
ramRole?: string;
|
|
1156
1207
|
regionId?: string;
|
|
1208
|
+
templateContent?: string;
|
|
1157
1209
|
templateName?: string;
|
|
1158
1210
|
templateVersion?: string;
|
|
1159
1211
|
static names(): {
|
|
@@ -3115,6 +3167,7 @@ export declare class ListTemplatesRequest extends $tea.Model {
|
|
|
3115
3167
|
createdDateAfter?: string;
|
|
3116
3168
|
createdDateBefore?: string;
|
|
3117
3169
|
hasTrigger?: boolean;
|
|
3170
|
+
isFavorite?: boolean;
|
|
3118
3171
|
maxResults?: number;
|
|
3119
3172
|
nextToken?: string;
|
|
3120
3173
|
regionId?: string;
|
|
@@ -3144,6 +3197,7 @@ export declare class ListTemplatesShrinkRequest extends $tea.Model {
|
|
|
3144
3197
|
createdDateAfter?: string;
|
|
3145
3198
|
createdDateBefore?: string;
|
|
3146
3199
|
hasTrigger?: boolean;
|
|
3200
|
+
isFavorite?: boolean;
|
|
3147
3201
|
maxResults?: number;
|
|
3148
3202
|
nextToken?: string;
|
|
3149
3203
|
regionId?: string;
|
|
@@ -4490,6 +4544,27 @@ export declare class CreateTemplateResponseBodyTemplate extends $tea.Model {
|
|
|
4490
4544
|
[key: string]: any;
|
|
4491
4545
|
});
|
|
4492
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
|
+
}
|
|
4493
4568
|
export declare class DescribeRegionsResponseBodyRegions extends $tea.Model {
|
|
4494
4569
|
localName?: string;
|
|
4495
4570
|
regionEndpoint?: string;
|
|
@@ -4624,7 +4699,6 @@ export declare class GetOpsItemResponseBodyOpsItem extends $tea.Model {
|
|
|
4624
4699
|
category?: string;
|
|
4625
4700
|
createBy?: string;
|
|
4626
4701
|
createDate?: string;
|
|
4627
|
-
dedupString?: string;
|
|
4628
4702
|
description?: string;
|
|
4629
4703
|
lastModifiedBy?: string;
|
|
4630
4704
|
opsItemId?: string;
|
|
@@ -5418,12 +5492,15 @@ export declare class ListTemplateVersionsResponseBodyTemplateVersions extends $t
|
|
|
5418
5492
|
}
|
|
5419
5493
|
export declare class ListTemplatesResponseBodyTemplates extends $tea.Model {
|
|
5420
5494
|
category?: string;
|
|
5495
|
+
constraints?: string;
|
|
5421
5496
|
createdBy?: string;
|
|
5422
5497
|
createdDate?: string;
|
|
5423
5498
|
description?: string;
|
|
5424
5499
|
hasTrigger?: boolean;
|
|
5425
5500
|
hash?: string;
|
|
5501
|
+
isFavorite?: boolean;
|
|
5426
5502
|
popularity?: number;
|
|
5503
|
+
publisher?: string;
|
|
5427
5504
|
resourceGroupId?: string;
|
|
5428
5505
|
shareType?: string;
|
|
5429
5506
|
tags?: {
|
|
@@ -5855,6 +5932,8 @@ export default class Client extends OpenApi {
|
|
|
5855
5932
|
deleteTemplates(request: DeleteTemplatesRequest): Promise<DeleteTemplatesResponse>;
|
|
5856
5933
|
deployApplicationGroupWithOptions(request: DeployApplicationGroupRequest, runtime: $Util.RuntimeOptions): Promise<DeployApplicationGroupResponse>;
|
|
5857
5934
|
deployApplicationGroup(request: DeployApplicationGroupRequest): Promise<DeployApplicationGroupResponse>;
|
|
5935
|
+
describeApplicationGroupBillWithOptions(request: DescribeApplicationGroupBillRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApplicationGroupBillResponse>;
|
|
5936
|
+
describeApplicationGroupBill(request: DescribeApplicationGroupBillRequest): Promise<DescribeApplicationGroupBillResponse>;
|
|
5858
5937
|
describeRegionsWithOptions(request: DescribeRegionsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeRegionsResponse>;
|
|
5859
5938
|
describeRegions(request: DescribeRegionsRequest): Promise<DescribeRegionsResponse>;
|
|
5860
5939
|
generateExecutionPolicyWithOptions(request: GenerateExecutionPolicyRequest, runtime: $Util.RuntimeOptions): Promise<GenerateExecutionPolicyResponse>;
|
package/dist/client.js
CHANGED
|
@@ -1016,6 +1016,7 @@ class DeleteApplicationRequest extends $tea.Model {
|
|
|
1016
1016
|
force: 'Force',
|
|
1017
1017
|
name: 'Name',
|
|
1018
1018
|
regionId: 'RegionId',
|
|
1019
|
+
retainResource: 'RetainResource',
|
|
1019
1020
|
};
|
|
1020
1021
|
}
|
|
1021
1022
|
static types() {
|
|
@@ -1023,6 +1024,7 @@ class DeleteApplicationRequest extends $tea.Model {
|
|
|
1023
1024
|
force: 'boolean',
|
|
1024
1025
|
name: 'string',
|
|
1025
1026
|
regionId: 'string',
|
|
1027
|
+
retainResource: 'boolean',
|
|
1026
1028
|
};
|
|
1027
1029
|
}
|
|
1028
1030
|
}
|
|
@@ -1072,6 +1074,7 @@ class DeleteApplicationGroupRequest extends $tea.Model {
|
|
|
1072
1074
|
applicationName: 'ApplicationName',
|
|
1073
1075
|
name: 'Name',
|
|
1074
1076
|
regionId: 'RegionId',
|
|
1077
|
+
retainResource: 'RetainResource',
|
|
1075
1078
|
};
|
|
1076
1079
|
}
|
|
1077
1080
|
static types() {
|
|
@@ -1079,6 +1082,7 @@ class DeleteApplicationGroupRequest extends $tea.Model {
|
|
|
1079
1082
|
applicationName: 'string',
|
|
1080
1083
|
name: 'string',
|
|
1081
1084
|
regionId: 'string',
|
|
1085
|
+
retainResource: 'boolean',
|
|
1082
1086
|
};
|
|
1083
1087
|
}
|
|
1084
1088
|
}
|
|
@@ -1561,6 +1565,76 @@ class DeployApplicationGroupResponse extends $tea.Model {
|
|
|
1561
1565
|
}
|
|
1562
1566
|
}
|
|
1563
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;
|
|
1564
1638
|
class DescribeRegionsRequest extends $tea.Model {
|
|
1565
1639
|
constructor(map) {
|
|
1566
1640
|
super(map);
|
|
@@ -1625,6 +1699,7 @@ class GenerateExecutionPolicyRequest extends $tea.Model {
|
|
|
1625
1699
|
return {
|
|
1626
1700
|
ramRole: 'RamRole',
|
|
1627
1701
|
regionId: 'RegionId',
|
|
1702
|
+
templateContent: 'TemplateContent',
|
|
1628
1703
|
templateName: 'TemplateName',
|
|
1629
1704
|
templateVersion: 'TemplateVersion',
|
|
1630
1705
|
};
|
|
@@ -1633,6 +1708,7 @@ class GenerateExecutionPolicyRequest extends $tea.Model {
|
|
|
1633
1708
|
return {
|
|
1634
1709
|
ramRole: 'string',
|
|
1635
1710
|
regionId: 'string',
|
|
1711
|
+
templateContent: 'string',
|
|
1636
1712
|
templateName: 'string',
|
|
1637
1713
|
templateVersion: 'string',
|
|
1638
1714
|
};
|
|
@@ -4404,6 +4480,7 @@ class ListTemplatesRequest extends $tea.Model {
|
|
|
4404
4480
|
createdDateAfter: 'CreatedDateAfter',
|
|
4405
4481
|
createdDateBefore: 'CreatedDateBefore',
|
|
4406
4482
|
hasTrigger: 'HasTrigger',
|
|
4483
|
+
isFavorite: 'IsFavorite',
|
|
4407
4484
|
maxResults: 'MaxResults',
|
|
4408
4485
|
nextToken: 'NextToken',
|
|
4409
4486
|
regionId: 'RegionId',
|
|
@@ -4424,6 +4501,7 @@ class ListTemplatesRequest extends $tea.Model {
|
|
|
4424
4501
|
createdDateAfter: 'string',
|
|
4425
4502
|
createdDateBefore: 'string',
|
|
4426
4503
|
hasTrigger: 'boolean',
|
|
4504
|
+
isFavorite: 'boolean',
|
|
4427
4505
|
maxResults: 'number',
|
|
4428
4506
|
nextToken: 'string',
|
|
4429
4507
|
regionId: 'string',
|
|
@@ -4450,6 +4528,7 @@ class ListTemplatesShrinkRequest extends $tea.Model {
|
|
|
4450
4528
|
createdDateAfter: 'CreatedDateAfter',
|
|
4451
4529
|
createdDateBefore: 'CreatedDateBefore',
|
|
4452
4530
|
hasTrigger: 'HasTrigger',
|
|
4531
|
+
isFavorite: 'IsFavorite',
|
|
4453
4532
|
maxResults: 'MaxResults',
|
|
4454
4533
|
nextToken: 'NextToken',
|
|
4455
4534
|
regionId: 'RegionId',
|
|
@@ -4470,6 +4549,7 @@ class ListTemplatesShrinkRequest extends $tea.Model {
|
|
|
4470
4549
|
createdDateAfter: 'string',
|
|
4471
4550
|
createdDateBefore: 'string',
|
|
4472
4551
|
hasTrigger: 'boolean',
|
|
4552
|
+
isFavorite: 'boolean',
|
|
4473
4553
|
maxResults: 'number',
|
|
4474
4554
|
nextToken: 'string',
|
|
4475
4555
|
regionId: 'string',
|
|
@@ -6375,6 +6455,40 @@ class CreateTemplateResponseBodyTemplate extends $tea.Model {
|
|
|
6375
6455
|
}
|
|
6376
6456
|
}
|
|
6377
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;
|
|
6378
6492
|
class DescribeRegionsResponseBodyRegions extends $tea.Model {
|
|
6379
6493
|
constructor(map) {
|
|
6380
6494
|
super(map);
|
|
@@ -6575,7 +6689,6 @@ class GetOpsItemResponseBodyOpsItem extends $tea.Model {
|
|
|
6575
6689
|
category: 'Category',
|
|
6576
6690
|
createBy: 'CreateBy',
|
|
6577
6691
|
createDate: 'CreateDate',
|
|
6578
|
-
dedupString: 'DedupString',
|
|
6579
6692
|
description: 'Description',
|
|
6580
6693
|
lastModifiedBy: 'LastModifiedBy',
|
|
6581
6694
|
opsItemId: 'OpsItemId',
|
|
@@ -6597,7 +6710,6 @@ class GetOpsItemResponseBodyOpsItem extends $tea.Model {
|
|
|
6597
6710
|
category: 'string',
|
|
6598
6711
|
createBy: 'string',
|
|
6599
6712
|
createDate: 'string',
|
|
6600
|
-
dedupString: 'string',
|
|
6601
6713
|
description: 'string',
|
|
6602
6714
|
lastModifiedBy: 'string',
|
|
6603
6715
|
opsItemId: 'string',
|
|
@@ -7798,12 +7910,15 @@ class ListTemplatesResponseBodyTemplates extends $tea.Model {
|
|
|
7798
7910
|
static names() {
|
|
7799
7911
|
return {
|
|
7800
7912
|
category: 'Category',
|
|
7913
|
+
constraints: 'Constraints',
|
|
7801
7914
|
createdBy: 'CreatedBy',
|
|
7802
7915
|
createdDate: 'CreatedDate',
|
|
7803
7916
|
description: 'Description',
|
|
7804
7917
|
hasTrigger: 'HasTrigger',
|
|
7805
7918
|
hash: 'Hash',
|
|
7919
|
+
isFavorite: 'IsFavorite',
|
|
7806
7920
|
popularity: 'Popularity',
|
|
7921
|
+
publisher: 'Publisher',
|
|
7807
7922
|
resourceGroupId: 'ResourceGroupId',
|
|
7808
7923
|
shareType: 'ShareType',
|
|
7809
7924
|
tags: 'Tags',
|
|
@@ -7820,12 +7935,15 @@ class ListTemplatesResponseBodyTemplates extends $tea.Model {
|
|
|
7820
7935
|
static types() {
|
|
7821
7936
|
return {
|
|
7822
7937
|
category: 'string',
|
|
7938
|
+
constraints: 'string',
|
|
7823
7939
|
createdBy: 'string',
|
|
7824
7940
|
createdDate: 'string',
|
|
7825
7941
|
description: 'string',
|
|
7826
7942
|
hasTrigger: 'boolean',
|
|
7827
7943
|
hash: 'string',
|
|
7944
|
+
isFavorite: 'boolean',
|
|
7828
7945
|
popularity: 'number',
|
|
7946
|
+
publisher: 'string',
|
|
7829
7947
|
resourceGroupId: 'string',
|
|
7830
7948
|
shareType: 'string',
|
|
7831
7949
|
tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
@@ -9001,6 +9119,9 @@ class Client extends openapi_client_1.default {
|
|
|
9001
9119
|
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
9002
9120
|
query["RegionId"] = request.regionId;
|
|
9003
9121
|
}
|
|
9122
|
+
if (!tea_util_1.default.isUnset(request.retainResource)) {
|
|
9123
|
+
query["RetainResource"] = request.retainResource;
|
|
9124
|
+
}
|
|
9004
9125
|
let req = new $OpenApi.OpenApiRequest({
|
|
9005
9126
|
query: openapi_util_1.default.query(query),
|
|
9006
9127
|
});
|
|
@@ -9033,6 +9154,9 @@ class Client extends openapi_client_1.default {
|
|
|
9033
9154
|
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
9034
9155
|
query["RegionId"] = request.regionId;
|
|
9035
9156
|
}
|
|
9157
|
+
if (!tea_util_1.default.isUnset(request.retainResource)) {
|
|
9158
|
+
query["RetainResource"] = request.retainResource;
|
|
9159
|
+
}
|
|
9036
9160
|
let req = new $OpenApi.OpenApiRequest({
|
|
9037
9161
|
query: openapi_util_1.default.query(query),
|
|
9038
9162
|
});
|
|
@@ -9300,6 +9424,50 @@ class Client extends openapi_client_1.default {
|
|
|
9300
9424
|
let runtime = new $Util.RuntimeOptions({});
|
|
9301
9425
|
return await this.deployApplicationGroupWithOptions(request, runtime);
|
|
9302
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
|
+
}
|
|
9303
9471
|
async describeRegionsWithOptions(request, runtime) {
|
|
9304
9472
|
tea_util_1.default.validateModel(request);
|
|
9305
9473
|
let query = {};
|
|
@@ -9338,6 +9506,9 @@ class Client extends openapi_client_1.default {
|
|
|
9338
9506
|
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
9339
9507
|
query["RegionId"] = request.regionId;
|
|
9340
9508
|
}
|
|
9509
|
+
if (!tea_util_1.default.isUnset(request.templateContent)) {
|
|
9510
|
+
query["TemplateContent"] = request.templateContent;
|
|
9511
|
+
}
|
|
9341
9512
|
if (!tea_util_1.default.isUnset(request.templateName)) {
|
|
9342
9513
|
query["TemplateName"] = request.templateName;
|
|
9343
9514
|
}
|
|
@@ -10917,6 +11088,9 @@ class Client extends openapi_client_1.default {
|
|
|
10917
11088
|
if (!tea_util_1.default.isUnset(request.hasTrigger)) {
|
|
10918
11089
|
query["HasTrigger"] = request.hasTrigger;
|
|
10919
11090
|
}
|
|
11091
|
+
if (!tea_util_1.default.isUnset(request.isFavorite)) {
|
|
11092
|
+
query["IsFavorite"] = request.isFavorite;
|
|
11093
|
+
}
|
|
10920
11094
|
if (!tea_util_1.default.isUnset(request.maxResults)) {
|
|
10921
11095
|
query["MaxResults"] = request.maxResults;
|
|
10922
11096
|
}
|