@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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alicloud/oos20190601",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/client.js",
|
|
6
6
|
"scripts": {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@alicloud/tea-typescript": "^1.7.1",
|
|
23
23
|
"@alicloud/tea-util": "^1.4.7",
|
|
24
|
-
"@alicloud/openapi-client": "^0.4.
|
|
24
|
+
"@alicloud/openapi-client": "^0.4.7",
|
|
25
25
|
"@alicloud/openapi-util": "^0.3.2",
|
|
26
26
|
"@alicloud/endpoint-util": "^0.0.1"
|
|
27
27
|
},
|
package/src/client.ts
CHANGED
|
@@ -225,6 +225,7 @@ export class CreateApplicationRequest extends $tea.Model {
|
|
|
225
225
|
name?: string;
|
|
226
226
|
regionId?: string;
|
|
227
227
|
resourceGroupId?: string;
|
|
228
|
+
serviceId?: string;
|
|
228
229
|
tags?: { [key: string]: any };
|
|
229
230
|
static names(): { [key: string]: string } {
|
|
230
231
|
return {
|
|
@@ -234,6 +235,7 @@ export class CreateApplicationRequest extends $tea.Model {
|
|
|
234
235
|
name: 'Name',
|
|
235
236
|
regionId: 'RegionId',
|
|
236
237
|
resourceGroupId: 'ResourceGroupId',
|
|
238
|
+
serviceId: 'ServiceId',
|
|
237
239
|
tags: 'Tags',
|
|
238
240
|
};
|
|
239
241
|
}
|
|
@@ -246,6 +248,7 @@ export class CreateApplicationRequest extends $tea.Model {
|
|
|
246
248
|
name: 'string',
|
|
247
249
|
regionId: 'string',
|
|
248
250
|
resourceGroupId: 'string',
|
|
251
|
+
serviceId: 'string',
|
|
249
252
|
tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
250
253
|
};
|
|
251
254
|
}
|
|
@@ -262,6 +265,7 @@ export class CreateApplicationShrinkRequest extends $tea.Model {
|
|
|
262
265
|
name?: string;
|
|
263
266
|
regionId?: string;
|
|
264
267
|
resourceGroupId?: string;
|
|
268
|
+
serviceId?: string;
|
|
265
269
|
tagsShrink?: string;
|
|
266
270
|
static names(): { [key: string]: string } {
|
|
267
271
|
return {
|
|
@@ -271,6 +275,7 @@ export class CreateApplicationShrinkRequest extends $tea.Model {
|
|
|
271
275
|
name: 'Name',
|
|
272
276
|
regionId: 'RegionId',
|
|
273
277
|
resourceGroupId: 'ResourceGroupId',
|
|
278
|
+
serviceId: 'ServiceId',
|
|
274
279
|
tagsShrink: 'Tags',
|
|
275
280
|
};
|
|
276
281
|
}
|
|
@@ -283,6 +288,7 @@ export class CreateApplicationShrinkRequest extends $tea.Model {
|
|
|
283
288
|
name: 'string',
|
|
284
289
|
regionId: 'string',
|
|
285
290
|
resourceGroupId: 'string',
|
|
291
|
+
serviceId: 'string',
|
|
286
292
|
tagsShrink: 'string',
|
|
287
293
|
};
|
|
288
294
|
}
|
|
@@ -1288,11 +1294,13 @@ export class DeleteApplicationRequest extends $tea.Model {
|
|
|
1288
1294
|
force?: boolean;
|
|
1289
1295
|
name?: string;
|
|
1290
1296
|
regionId?: string;
|
|
1297
|
+
retainResource?: boolean;
|
|
1291
1298
|
static names(): { [key: string]: string } {
|
|
1292
1299
|
return {
|
|
1293
1300
|
force: 'Force',
|
|
1294
1301
|
name: 'Name',
|
|
1295
1302
|
regionId: 'RegionId',
|
|
1303
|
+
retainResource: 'RetainResource',
|
|
1296
1304
|
};
|
|
1297
1305
|
}
|
|
1298
1306
|
|
|
@@ -1301,6 +1309,7 @@ export class DeleteApplicationRequest extends $tea.Model {
|
|
|
1301
1309
|
force: 'boolean',
|
|
1302
1310
|
name: 'string',
|
|
1303
1311
|
regionId: 'string',
|
|
1312
|
+
retainResource: 'boolean',
|
|
1304
1313
|
};
|
|
1305
1314
|
}
|
|
1306
1315
|
|
|
@@ -1357,11 +1366,13 @@ export class DeleteApplicationGroupRequest extends $tea.Model {
|
|
|
1357
1366
|
applicationName?: string;
|
|
1358
1367
|
name?: string;
|
|
1359
1368
|
regionId?: string;
|
|
1369
|
+
retainResource?: boolean;
|
|
1360
1370
|
static names(): { [key: string]: string } {
|
|
1361
1371
|
return {
|
|
1362
1372
|
applicationName: 'ApplicationName',
|
|
1363
1373
|
name: 'Name',
|
|
1364
1374
|
regionId: 'RegionId',
|
|
1375
|
+
retainResource: 'RetainResource',
|
|
1365
1376
|
};
|
|
1366
1377
|
}
|
|
1367
1378
|
|
|
@@ -1370,6 +1381,7 @@ export class DeleteApplicationGroupRequest extends $tea.Model {
|
|
|
1370
1381
|
applicationName: 'string',
|
|
1371
1382
|
name: 'string',
|
|
1372
1383
|
regionId: 'string',
|
|
1384
|
+
retainResource: 'boolean',
|
|
1373
1385
|
};
|
|
1374
1386
|
}
|
|
1375
1387
|
|
|
@@ -1965,6 +1977,96 @@ export class DeployApplicationGroupResponse extends $tea.Model {
|
|
|
1965
1977
|
}
|
|
1966
1978
|
}
|
|
1967
1979
|
|
|
1980
|
+
export class DescribeApplicationGroupBillRequest extends $tea.Model {
|
|
1981
|
+
applicationName?: string;
|
|
1982
|
+
billingCycle?: string;
|
|
1983
|
+
maxResults?: number;
|
|
1984
|
+
name?: string;
|
|
1985
|
+
nextToken?: string;
|
|
1986
|
+
regionId?: string;
|
|
1987
|
+
resourceType?: string;
|
|
1988
|
+
static names(): { [key: string]: string } {
|
|
1989
|
+
return {
|
|
1990
|
+
applicationName: 'ApplicationName',
|
|
1991
|
+
billingCycle: 'BillingCycle',
|
|
1992
|
+
maxResults: 'MaxResults',
|
|
1993
|
+
name: 'Name',
|
|
1994
|
+
nextToken: 'NextToken',
|
|
1995
|
+
regionId: 'RegionId',
|
|
1996
|
+
resourceType: 'ResourceType',
|
|
1997
|
+
};
|
|
1998
|
+
}
|
|
1999
|
+
|
|
2000
|
+
static types(): { [key: string]: any } {
|
|
2001
|
+
return {
|
|
2002
|
+
applicationName: 'string',
|
|
2003
|
+
billingCycle: 'string',
|
|
2004
|
+
maxResults: 'number',
|
|
2005
|
+
name: 'string',
|
|
2006
|
+
nextToken: 'string',
|
|
2007
|
+
regionId: 'string',
|
|
2008
|
+
resourceType: 'string',
|
|
2009
|
+
};
|
|
2010
|
+
}
|
|
2011
|
+
|
|
2012
|
+
constructor(map?: { [key: string]: any }) {
|
|
2013
|
+
super(map);
|
|
2014
|
+
}
|
|
2015
|
+
}
|
|
2016
|
+
|
|
2017
|
+
export class DescribeApplicationGroupBillResponseBody extends $tea.Model {
|
|
2018
|
+
applicationGroupConsume?: DescribeApplicationGroupBillResponseBodyApplicationGroupConsume[];
|
|
2019
|
+
maxResults?: number;
|
|
2020
|
+
nextToken?: string;
|
|
2021
|
+
requestId?: string;
|
|
2022
|
+
static names(): { [key: string]: string } {
|
|
2023
|
+
return {
|
|
2024
|
+
applicationGroupConsume: 'ApplicationGroupConsume',
|
|
2025
|
+
maxResults: 'MaxResults',
|
|
2026
|
+
nextToken: 'NextToken',
|
|
2027
|
+
requestId: 'RequestId',
|
|
2028
|
+
};
|
|
2029
|
+
}
|
|
2030
|
+
|
|
2031
|
+
static types(): { [key: string]: any } {
|
|
2032
|
+
return {
|
|
2033
|
+
applicationGroupConsume: { 'type': 'array', 'itemType': DescribeApplicationGroupBillResponseBodyApplicationGroupConsume },
|
|
2034
|
+
maxResults: 'number',
|
|
2035
|
+
nextToken: 'string',
|
|
2036
|
+
requestId: 'string',
|
|
2037
|
+
};
|
|
2038
|
+
}
|
|
2039
|
+
|
|
2040
|
+
constructor(map?: { [key: string]: any }) {
|
|
2041
|
+
super(map);
|
|
2042
|
+
}
|
|
2043
|
+
}
|
|
2044
|
+
|
|
2045
|
+
export class DescribeApplicationGroupBillResponse extends $tea.Model {
|
|
2046
|
+
headers: { [key: string]: string };
|
|
2047
|
+
statusCode: number;
|
|
2048
|
+
body: DescribeApplicationGroupBillResponseBody;
|
|
2049
|
+
static names(): { [key: string]: string } {
|
|
2050
|
+
return {
|
|
2051
|
+
headers: 'headers',
|
|
2052
|
+
statusCode: 'statusCode',
|
|
2053
|
+
body: 'body',
|
|
2054
|
+
};
|
|
2055
|
+
}
|
|
2056
|
+
|
|
2057
|
+
static types(): { [key: string]: any } {
|
|
2058
|
+
return {
|
|
2059
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2060
|
+
statusCode: 'number',
|
|
2061
|
+
body: DescribeApplicationGroupBillResponseBody,
|
|
2062
|
+
};
|
|
2063
|
+
}
|
|
2064
|
+
|
|
2065
|
+
constructor(map?: { [key: string]: any }) {
|
|
2066
|
+
super(map);
|
|
2067
|
+
}
|
|
2068
|
+
}
|
|
2069
|
+
|
|
1968
2070
|
export class DescribeRegionsRequest extends $tea.Model {
|
|
1969
2071
|
acceptLanguage?: string;
|
|
1970
2072
|
regionId?: string;
|
|
@@ -2037,12 +2139,14 @@ export class DescribeRegionsResponse extends $tea.Model {
|
|
|
2037
2139
|
export class GenerateExecutionPolicyRequest extends $tea.Model {
|
|
2038
2140
|
ramRole?: string;
|
|
2039
2141
|
regionId?: string;
|
|
2142
|
+
templateContent?: string;
|
|
2040
2143
|
templateName?: string;
|
|
2041
2144
|
templateVersion?: string;
|
|
2042
2145
|
static names(): { [key: string]: string } {
|
|
2043
2146
|
return {
|
|
2044
2147
|
ramRole: 'RamRole',
|
|
2045
2148
|
regionId: 'RegionId',
|
|
2149
|
+
templateContent: 'TemplateContent',
|
|
2046
2150
|
templateName: 'TemplateName',
|
|
2047
2151
|
templateVersion: 'TemplateVersion',
|
|
2048
2152
|
};
|
|
@@ -2052,6 +2156,7 @@ export class GenerateExecutionPolicyRequest extends $tea.Model {
|
|
|
2052
2156
|
return {
|
|
2053
2157
|
ramRole: 'string',
|
|
2054
2158
|
regionId: 'string',
|
|
2159
|
+
templateContent: 'string',
|
|
2055
2160
|
templateName: 'string',
|
|
2056
2161
|
templateVersion: 'string',
|
|
2057
2162
|
};
|
|
@@ -5609,6 +5714,7 @@ export class ListTemplatesRequest extends $tea.Model {
|
|
|
5609
5714
|
createdDateAfter?: string;
|
|
5610
5715
|
createdDateBefore?: string;
|
|
5611
5716
|
hasTrigger?: boolean;
|
|
5717
|
+
isFavorite?: boolean;
|
|
5612
5718
|
maxResults?: number;
|
|
5613
5719
|
nextToken?: string;
|
|
5614
5720
|
regionId?: string;
|
|
@@ -5627,6 +5733,7 @@ export class ListTemplatesRequest extends $tea.Model {
|
|
|
5627
5733
|
createdDateAfter: 'CreatedDateAfter',
|
|
5628
5734
|
createdDateBefore: 'CreatedDateBefore',
|
|
5629
5735
|
hasTrigger: 'HasTrigger',
|
|
5736
|
+
isFavorite: 'IsFavorite',
|
|
5630
5737
|
maxResults: 'MaxResults',
|
|
5631
5738
|
nextToken: 'NextToken',
|
|
5632
5739
|
regionId: 'RegionId',
|
|
@@ -5648,6 +5755,7 @@ export class ListTemplatesRequest extends $tea.Model {
|
|
|
5648
5755
|
createdDateAfter: 'string',
|
|
5649
5756
|
createdDateBefore: 'string',
|
|
5650
5757
|
hasTrigger: 'boolean',
|
|
5758
|
+
isFavorite: 'boolean',
|
|
5651
5759
|
maxResults: 'number',
|
|
5652
5760
|
nextToken: 'string',
|
|
5653
5761
|
regionId: 'string',
|
|
@@ -5673,6 +5781,7 @@ export class ListTemplatesShrinkRequest extends $tea.Model {
|
|
|
5673
5781
|
createdDateAfter?: string;
|
|
5674
5782
|
createdDateBefore?: string;
|
|
5675
5783
|
hasTrigger?: boolean;
|
|
5784
|
+
isFavorite?: boolean;
|
|
5676
5785
|
maxResults?: number;
|
|
5677
5786
|
nextToken?: string;
|
|
5678
5787
|
regionId?: string;
|
|
@@ -5691,6 +5800,7 @@ export class ListTemplatesShrinkRequest extends $tea.Model {
|
|
|
5691
5800
|
createdDateAfter: 'CreatedDateAfter',
|
|
5692
5801
|
createdDateBefore: 'CreatedDateBefore',
|
|
5693
5802
|
hasTrigger: 'HasTrigger',
|
|
5803
|
+
isFavorite: 'IsFavorite',
|
|
5694
5804
|
maxResults: 'MaxResults',
|
|
5695
5805
|
nextToken: 'NextToken',
|
|
5696
5806
|
regionId: 'RegionId',
|
|
@@ -5712,6 +5822,7 @@ export class ListTemplatesShrinkRequest extends $tea.Model {
|
|
|
5712
5822
|
createdDateAfter: 'string',
|
|
5713
5823
|
createdDateBefore: 'string',
|
|
5714
5824
|
hasTrigger: 'boolean',
|
|
5825
|
+
isFavorite: 'boolean',
|
|
5715
5826
|
maxResults: 'number',
|
|
5716
5827
|
nextToken: 'string',
|
|
5717
5828
|
regionId: 'string',
|
|
@@ -8186,6 +8297,52 @@ export class CreateTemplateResponseBodyTemplate extends $tea.Model {
|
|
|
8186
8297
|
}
|
|
8187
8298
|
}
|
|
8188
8299
|
|
|
8300
|
+
export class DescribeApplicationGroupBillResponseBodyApplicationGroupConsume extends $tea.Model {
|
|
8301
|
+
amount?: number;
|
|
8302
|
+
creationTime?: string;
|
|
8303
|
+
currency?: string;
|
|
8304
|
+
instanceId?: string;
|
|
8305
|
+
instanceName?: string;
|
|
8306
|
+
instanceType?: string;
|
|
8307
|
+
optimization?: string;
|
|
8308
|
+
peakType?: string;
|
|
8309
|
+
performance?: string;
|
|
8310
|
+
status?: string;
|
|
8311
|
+
static names(): { [key: string]: string } {
|
|
8312
|
+
return {
|
|
8313
|
+
amount: 'Amount',
|
|
8314
|
+
creationTime: 'CreationTime',
|
|
8315
|
+
currency: 'Currency',
|
|
8316
|
+
instanceId: 'InstanceId',
|
|
8317
|
+
instanceName: 'InstanceName',
|
|
8318
|
+
instanceType: 'InstanceType',
|
|
8319
|
+
optimization: 'Optimization',
|
|
8320
|
+
peakType: 'PeakType',
|
|
8321
|
+
performance: 'Performance',
|
|
8322
|
+
status: 'Status',
|
|
8323
|
+
};
|
|
8324
|
+
}
|
|
8325
|
+
|
|
8326
|
+
static types(): { [key: string]: any } {
|
|
8327
|
+
return {
|
|
8328
|
+
amount: 'number',
|
|
8329
|
+
creationTime: 'string',
|
|
8330
|
+
currency: 'string',
|
|
8331
|
+
instanceId: 'string',
|
|
8332
|
+
instanceName: 'string',
|
|
8333
|
+
instanceType: 'string',
|
|
8334
|
+
optimization: 'string',
|
|
8335
|
+
peakType: 'string',
|
|
8336
|
+
performance: 'string',
|
|
8337
|
+
status: 'string',
|
|
8338
|
+
};
|
|
8339
|
+
}
|
|
8340
|
+
|
|
8341
|
+
constructor(map?: { [key: string]: any }) {
|
|
8342
|
+
super(map);
|
|
8343
|
+
}
|
|
8344
|
+
}
|
|
8345
|
+
|
|
8189
8346
|
export class DescribeRegionsResponseBodyRegions extends $tea.Model {
|
|
8190
8347
|
localName?: string;
|
|
8191
8348
|
regionEndpoint?: string;
|
|
@@ -8243,6 +8400,7 @@ export class GetApplicationResponseBodyApplication extends $tea.Model {
|
|
|
8243
8400
|
description?: string;
|
|
8244
8401
|
name?: string;
|
|
8245
8402
|
resourceGroupId?: string;
|
|
8403
|
+
serviceId?: string;
|
|
8246
8404
|
tags?: { [key: string]: any };
|
|
8247
8405
|
updateDate?: string;
|
|
8248
8406
|
static names(): { [key: string]: string } {
|
|
@@ -8253,6 +8411,7 @@ export class GetApplicationResponseBodyApplication extends $tea.Model {
|
|
|
8253
8411
|
description: 'Description',
|
|
8254
8412
|
name: 'Name',
|
|
8255
8413
|
resourceGroupId: 'ResourceGroupId',
|
|
8414
|
+
serviceId: 'ServiceId',
|
|
8256
8415
|
tags: 'Tags',
|
|
8257
8416
|
updateDate: 'UpdateDate',
|
|
8258
8417
|
};
|
|
@@ -8266,6 +8425,7 @@ export class GetApplicationResponseBodyApplication extends $tea.Model {
|
|
|
8266
8425
|
description: 'string',
|
|
8267
8426
|
name: 'string',
|
|
8268
8427
|
resourceGroupId: 'string',
|
|
8428
|
+
serviceId: 'string',
|
|
8269
8429
|
tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
8270
8430
|
updateDate: 'string',
|
|
8271
8431
|
};
|
|
@@ -8438,7 +8598,6 @@ export class GetOpsItemResponseBodyOpsItem extends $tea.Model {
|
|
|
8438
8598
|
category?: string;
|
|
8439
8599
|
createBy?: string;
|
|
8440
8600
|
createDate?: string;
|
|
8441
|
-
dedupString?: string;
|
|
8442
8601
|
description?: string;
|
|
8443
8602
|
lastModifiedBy?: string;
|
|
8444
8603
|
opsItemId?: string;
|
|
@@ -8458,7 +8617,6 @@ export class GetOpsItemResponseBodyOpsItem extends $tea.Model {
|
|
|
8458
8617
|
category: 'Category',
|
|
8459
8618
|
createBy: 'CreateBy',
|
|
8460
8619
|
createDate: 'CreateDate',
|
|
8461
|
-
dedupString: 'DedupString',
|
|
8462
8620
|
description: 'Description',
|
|
8463
8621
|
lastModifiedBy: 'LastModifiedBy',
|
|
8464
8622
|
opsItemId: 'OpsItemId',
|
|
@@ -8481,7 +8639,6 @@ export class GetOpsItemResponseBodyOpsItem extends $tea.Model {
|
|
|
8481
8639
|
category: 'string',
|
|
8482
8640
|
createBy: 'string',
|
|
8483
8641
|
createDate: 'string',
|
|
8484
|
-
dedupString: 'string',
|
|
8485
8642
|
description: 'string',
|
|
8486
8643
|
lastModifiedBy: 'string',
|
|
8487
8644
|
opsItemId: 'string',
|
|
@@ -10089,12 +10246,15 @@ export class ListTemplateVersionsResponseBodyTemplateVersions extends $tea.Model
|
|
|
10089
10246
|
|
|
10090
10247
|
export class ListTemplatesResponseBodyTemplates extends $tea.Model {
|
|
10091
10248
|
category?: string;
|
|
10249
|
+
constraints?: string;
|
|
10092
10250
|
createdBy?: string;
|
|
10093
10251
|
createdDate?: string;
|
|
10094
10252
|
description?: string;
|
|
10095
10253
|
hasTrigger?: boolean;
|
|
10096
10254
|
hash?: string;
|
|
10255
|
+
isFavorite?: boolean;
|
|
10097
10256
|
popularity?: number;
|
|
10257
|
+
publisher?: string;
|
|
10098
10258
|
resourceGroupId?: string;
|
|
10099
10259
|
shareType?: string;
|
|
10100
10260
|
tags?: { [key: string]: any };
|
|
@@ -10109,12 +10269,15 @@ export class ListTemplatesResponseBodyTemplates extends $tea.Model {
|
|
|
10109
10269
|
static names(): { [key: string]: string } {
|
|
10110
10270
|
return {
|
|
10111
10271
|
category: 'Category',
|
|
10272
|
+
constraints: 'Constraints',
|
|
10112
10273
|
createdBy: 'CreatedBy',
|
|
10113
10274
|
createdDate: 'CreatedDate',
|
|
10114
10275
|
description: 'Description',
|
|
10115
10276
|
hasTrigger: 'HasTrigger',
|
|
10116
10277
|
hash: 'Hash',
|
|
10278
|
+
isFavorite: 'IsFavorite',
|
|
10117
10279
|
popularity: 'Popularity',
|
|
10280
|
+
publisher: 'Publisher',
|
|
10118
10281
|
resourceGroupId: 'ResourceGroupId',
|
|
10119
10282
|
shareType: 'ShareType',
|
|
10120
10283
|
tags: 'Tags',
|
|
@@ -10132,12 +10295,15 @@ export class ListTemplatesResponseBodyTemplates extends $tea.Model {
|
|
|
10132
10295
|
static types(): { [key: string]: any } {
|
|
10133
10296
|
return {
|
|
10134
10297
|
category: 'string',
|
|
10298
|
+
constraints: 'string',
|
|
10135
10299
|
createdBy: 'string',
|
|
10136
10300
|
createdDate: 'string',
|
|
10137
10301
|
description: 'string',
|
|
10138
10302
|
hasTrigger: 'boolean',
|
|
10139
10303
|
hash: 'string',
|
|
10304
|
+
isFavorite: 'boolean',
|
|
10140
10305
|
popularity: 'number',
|
|
10306
|
+
publisher: 'string',
|
|
10141
10307
|
resourceGroupId: 'string',
|
|
10142
10308
|
shareType: 'string',
|
|
10143
10309
|
tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
@@ -11090,6 +11256,10 @@ export default class Client extends OpenApi {
|
|
|
11090
11256
|
query["ResourceGroupId"] = request.resourceGroupId;
|
|
11091
11257
|
}
|
|
11092
11258
|
|
|
11259
|
+
if (!Util.isUnset(request.serviceId)) {
|
|
11260
|
+
query["ServiceId"] = request.serviceId;
|
|
11261
|
+
}
|
|
11262
|
+
|
|
11093
11263
|
if (!Util.isUnset(request.tagsShrink)) {
|
|
11094
11264
|
query["Tags"] = request.tagsShrink;
|
|
11095
11265
|
}
|
|
@@ -11642,6 +11812,10 @@ export default class Client extends OpenApi {
|
|
|
11642
11812
|
query["RegionId"] = request.regionId;
|
|
11643
11813
|
}
|
|
11644
11814
|
|
|
11815
|
+
if (!Util.isUnset(request.retainResource)) {
|
|
11816
|
+
query["RetainResource"] = request.retainResource;
|
|
11817
|
+
}
|
|
11818
|
+
|
|
11645
11819
|
let req = new $OpenApi.OpenApiRequest({
|
|
11646
11820
|
query: OpenApiUtil.query(query),
|
|
11647
11821
|
});
|
|
@@ -11679,6 +11853,10 @@ export default class Client extends OpenApi {
|
|
|
11679
11853
|
query["RegionId"] = request.regionId;
|
|
11680
11854
|
}
|
|
11681
11855
|
|
|
11856
|
+
if (!Util.isUnset(request.retainResource)) {
|
|
11857
|
+
query["RetainResource"] = request.retainResource;
|
|
11858
|
+
}
|
|
11859
|
+
|
|
11682
11860
|
let req = new $OpenApi.OpenApiRequest({
|
|
11683
11861
|
query: OpenApiUtil.query(query),
|
|
11684
11862
|
});
|
|
@@ -11985,6 +12163,59 @@ export default class Client extends OpenApi {
|
|
|
11985
12163
|
return await this.deployApplicationGroupWithOptions(request, runtime);
|
|
11986
12164
|
}
|
|
11987
12165
|
|
|
12166
|
+
async describeApplicationGroupBillWithOptions(request: DescribeApplicationGroupBillRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApplicationGroupBillResponse> {
|
|
12167
|
+
Util.validateModel(request);
|
|
12168
|
+
let query = { };
|
|
12169
|
+
if (!Util.isUnset(request.applicationName)) {
|
|
12170
|
+
query["ApplicationName"] = request.applicationName;
|
|
12171
|
+
}
|
|
12172
|
+
|
|
12173
|
+
if (!Util.isUnset(request.billingCycle)) {
|
|
12174
|
+
query["BillingCycle"] = request.billingCycle;
|
|
12175
|
+
}
|
|
12176
|
+
|
|
12177
|
+
if (!Util.isUnset(request.maxResults)) {
|
|
12178
|
+
query["MaxResults"] = request.maxResults;
|
|
12179
|
+
}
|
|
12180
|
+
|
|
12181
|
+
if (!Util.isUnset(request.name)) {
|
|
12182
|
+
query["Name"] = request.name;
|
|
12183
|
+
}
|
|
12184
|
+
|
|
12185
|
+
if (!Util.isUnset(request.nextToken)) {
|
|
12186
|
+
query["NextToken"] = request.nextToken;
|
|
12187
|
+
}
|
|
12188
|
+
|
|
12189
|
+
if (!Util.isUnset(request.regionId)) {
|
|
12190
|
+
query["RegionId"] = request.regionId;
|
|
12191
|
+
}
|
|
12192
|
+
|
|
12193
|
+
if (!Util.isUnset(request.resourceType)) {
|
|
12194
|
+
query["ResourceType"] = request.resourceType;
|
|
12195
|
+
}
|
|
12196
|
+
|
|
12197
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
12198
|
+
query: OpenApiUtil.query(query),
|
|
12199
|
+
});
|
|
12200
|
+
let params = new $OpenApi.Params({
|
|
12201
|
+
action: "DescribeApplicationGroupBill",
|
|
12202
|
+
version: "2019-06-01",
|
|
12203
|
+
protocol: "HTTPS",
|
|
12204
|
+
pathname: "/",
|
|
12205
|
+
method: "POST",
|
|
12206
|
+
authType: "AK",
|
|
12207
|
+
style: "RPC",
|
|
12208
|
+
reqBodyType: "formData",
|
|
12209
|
+
bodyType: "json",
|
|
12210
|
+
});
|
|
12211
|
+
return $tea.cast<DescribeApplicationGroupBillResponse>(await this.callApi(params, req, runtime), new DescribeApplicationGroupBillResponse({}));
|
|
12212
|
+
}
|
|
12213
|
+
|
|
12214
|
+
async describeApplicationGroupBill(request: DescribeApplicationGroupBillRequest): Promise<DescribeApplicationGroupBillResponse> {
|
|
12215
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
12216
|
+
return await this.describeApplicationGroupBillWithOptions(request, runtime);
|
|
12217
|
+
}
|
|
12218
|
+
|
|
11988
12219
|
async describeRegionsWithOptions(request: DescribeRegionsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeRegionsResponse> {
|
|
11989
12220
|
Util.validateModel(request);
|
|
11990
12221
|
let query = { };
|
|
@@ -12029,6 +12260,10 @@ export default class Client extends OpenApi {
|
|
|
12029
12260
|
query["RegionId"] = request.regionId;
|
|
12030
12261
|
}
|
|
12031
12262
|
|
|
12263
|
+
if (!Util.isUnset(request.templateContent)) {
|
|
12264
|
+
query["TemplateContent"] = request.templateContent;
|
|
12265
|
+
}
|
|
12266
|
+
|
|
12032
12267
|
if (!Util.isUnset(request.templateName)) {
|
|
12033
12268
|
query["TemplateName"] = request.templateName;
|
|
12034
12269
|
}
|
|
@@ -13910,6 +14145,10 @@ export default class Client extends OpenApi {
|
|
|
13910
14145
|
query["HasTrigger"] = request.hasTrigger;
|
|
13911
14146
|
}
|
|
13912
14147
|
|
|
14148
|
+
if (!Util.isUnset(request.isFavorite)) {
|
|
14149
|
+
query["IsFavorite"] = request.isFavorite;
|
|
14150
|
+
}
|
|
14151
|
+
|
|
13913
14152
|
if (!Util.isUnset(request.maxResults)) {
|
|
13914
14153
|
query["MaxResults"] = request.maxResults;
|
|
13915
14154
|
}
|