@alicloud/oos20190601 1.0.3 → 1.0.4
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 +434 -0
- package/dist/client.js +869 -14
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +1179 -64
package/dist/client.js
CHANGED
|
@@ -349,6 +349,124 @@ class CreateApplicationGroupResponse extends $tea.Model {
|
|
|
349
349
|
}
|
|
350
350
|
}
|
|
351
351
|
exports.CreateApplicationGroupResponse = CreateApplicationGroupResponse;
|
|
352
|
+
class CreateOpsItemRequest extends $tea.Model {
|
|
353
|
+
constructor(map) {
|
|
354
|
+
super(map);
|
|
355
|
+
}
|
|
356
|
+
static names() {
|
|
357
|
+
return {
|
|
358
|
+
category: 'Category',
|
|
359
|
+
clientToken: 'ClientToken',
|
|
360
|
+
dedupString: 'DedupString',
|
|
361
|
+
description: 'Description',
|
|
362
|
+
priority: 'Priority',
|
|
363
|
+
regionId: 'RegionId',
|
|
364
|
+
resourceGroupId: 'ResourceGroupId',
|
|
365
|
+
resources: 'Resources',
|
|
366
|
+
severity: 'Severity',
|
|
367
|
+
solutions: 'Solutions',
|
|
368
|
+
source: 'Source',
|
|
369
|
+
tags: 'Tags',
|
|
370
|
+
title: 'Title',
|
|
371
|
+
};
|
|
372
|
+
}
|
|
373
|
+
static types() {
|
|
374
|
+
return {
|
|
375
|
+
category: 'string',
|
|
376
|
+
clientToken: 'string',
|
|
377
|
+
dedupString: 'string',
|
|
378
|
+
description: 'string',
|
|
379
|
+
priority: 'number',
|
|
380
|
+
regionId: 'string',
|
|
381
|
+
resourceGroupId: 'string',
|
|
382
|
+
resources: 'string',
|
|
383
|
+
severity: 'string',
|
|
384
|
+
solutions: 'string',
|
|
385
|
+
source: 'string',
|
|
386
|
+
tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
387
|
+
title: 'string',
|
|
388
|
+
};
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
exports.CreateOpsItemRequest = CreateOpsItemRequest;
|
|
392
|
+
class CreateOpsItemShrinkRequest extends $tea.Model {
|
|
393
|
+
constructor(map) {
|
|
394
|
+
super(map);
|
|
395
|
+
}
|
|
396
|
+
static names() {
|
|
397
|
+
return {
|
|
398
|
+
category: 'Category',
|
|
399
|
+
clientToken: 'ClientToken',
|
|
400
|
+
dedupString: 'DedupString',
|
|
401
|
+
description: 'Description',
|
|
402
|
+
priority: 'Priority',
|
|
403
|
+
regionId: 'RegionId',
|
|
404
|
+
resourceGroupId: 'ResourceGroupId',
|
|
405
|
+
resources: 'Resources',
|
|
406
|
+
severity: 'Severity',
|
|
407
|
+
solutions: 'Solutions',
|
|
408
|
+
source: 'Source',
|
|
409
|
+
tagsShrink: 'Tags',
|
|
410
|
+
title: 'Title',
|
|
411
|
+
};
|
|
412
|
+
}
|
|
413
|
+
static types() {
|
|
414
|
+
return {
|
|
415
|
+
category: 'string',
|
|
416
|
+
clientToken: 'string',
|
|
417
|
+
dedupString: 'string',
|
|
418
|
+
description: 'string',
|
|
419
|
+
priority: 'number',
|
|
420
|
+
regionId: 'string',
|
|
421
|
+
resourceGroupId: 'string',
|
|
422
|
+
resources: 'string',
|
|
423
|
+
severity: 'string',
|
|
424
|
+
solutions: 'string',
|
|
425
|
+
source: 'string',
|
|
426
|
+
tagsShrink: 'string',
|
|
427
|
+
title: 'string',
|
|
428
|
+
};
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
exports.CreateOpsItemShrinkRequest = CreateOpsItemShrinkRequest;
|
|
432
|
+
class CreateOpsItemResponseBody extends $tea.Model {
|
|
433
|
+
constructor(map) {
|
|
434
|
+
super(map);
|
|
435
|
+
}
|
|
436
|
+
static names() {
|
|
437
|
+
return {
|
|
438
|
+
opsItem: 'OpsItem',
|
|
439
|
+
requestId: 'RequestId',
|
|
440
|
+
};
|
|
441
|
+
}
|
|
442
|
+
static types() {
|
|
443
|
+
return {
|
|
444
|
+
opsItem: CreateOpsItemResponseBodyOpsItem,
|
|
445
|
+
requestId: 'string',
|
|
446
|
+
};
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
exports.CreateOpsItemResponseBody = CreateOpsItemResponseBody;
|
|
450
|
+
class CreateOpsItemResponse extends $tea.Model {
|
|
451
|
+
constructor(map) {
|
|
452
|
+
super(map);
|
|
453
|
+
}
|
|
454
|
+
static names() {
|
|
455
|
+
return {
|
|
456
|
+
headers: 'headers',
|
|
457
|
+
statusCode: 'statusCode',
|
|
458
|
+
body: 'body',
|
|
459
|
+
};
|
|
460
|
+
}
|
|
461
|
+
static types() {
|
|
462
|
+
return {
|
|
463
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
464
|
+
statusCode: 'number',
|
|
465
|
+
body: CreateOpsItemResponseBody,
|
|
466
|
+
};
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
exports.CreateOpsItemResponse = CreateOpsItemResponse;
|
|
352
470
|
class CreateParameterRequest extends $tea.Model {
|
|
353
471
|
constructor(map) {
|
|
354
472
|
super(map);
|
|
@@ -1733,6 +1851,62 @@ class GetInventorySchemaResponse extends $tea.Model {
|
|
|
1733
1851
|
}
|
|
1734
1852
|
}
|
|
1735
1853
|
exports.GetInventorySchemaResponse = GetInventorySchemaResponse;
|
|
1854
|
+
class GetOpsItemRequest extends $tea.Model {
|
|
1855
|
+
constructor(map) {
|
|
1856
|
+
super(map);
|
|
1857
|
+
}
|
|
1858
|
+
static names() {
|
|
1859
|
+
return {
|
|
1860
|
+
opsItemId: 'OpsItemId',
|
|
1861
|
+
regionId: 'RegionId',
|
|
1862
|
+
};
|
|
1863
|
+
}
|
|
1864
|
+
static types() {
|
|
1865
|
+
return {
|
|
1866
|
+
opsItemId: 'string',
|
|
1867
|
+
regionId: 'string',
|
|
1868
|
+
};
|
|
1869
|
+
}
|
|
1870
|
+
}
|
|
1871
|
+
exports.GetOpsItemRequest = GetOpsItemRequest;
|
|
1872
|
+
class GetOpsItemResponseBody extends $tea.Model {
|
|
1873
|
+
constructor(map) {
|
|
1874
|
+
super(map);
|
|
1875
|
+
}
|
|
1876
|
+
static names() {
|
|
1877
|
+
return {
|
|
1878
|
+
opsItem: 'OpsItem',
|
|
1879
|
+
requestId: 'RequestId',
|
|
1880
|
+
};
|
|
1881
|
+
}
|
|
1882
|
+
static types() {
|
|
1883
|
+
return {
|
|
1884
|
+
opsItem: GetOpsItemResponseBodyOpsItem,
|
|
1885
|
+
requestId: 'string',
|
|
1886
|
+
};
|
|
1887
|
+
}
|
|
1888
|
+
}
|
|
1889
|
+
exports.GetOpsItemResponseBody = GetOpsItemResponseBody;
|
|
1890
|
+
class GetOpsItemResponse extends $tea.Model {
|
|
1891
|
+
constructor(map) {
|
|
1892
|
+
super(map);
|
|
1893
|
+
}
|
|
1894
|
+
static names() {
|
|
1895
|
+
return {
|
|
1896
|
+
headers: 'headers',
|
|
1897
|
+
statusCode: 'statusCode',
|
|
1898
|
+
body: 'body',
|
|
1899
|
+
};
|
|
1900
|
+
}
|
|
1901
|
+
static types() {
|
|
1902
|
+
return {
|
|
1903
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1904
|
+
statusCode: 'number',
|
|
1905
|
+
body: GetOpsItemResponseBody,
|
|
1906
|
+
};
|
|
1907
|
+
}
|
|
1908
|
+
}
|
|
1909
|
+
exports.GetOpsItemResponse = GetOpsItemResponse;
|
|
1736
1910
|
class GetParameterRequest extends $tea.Model {
|
|
1737
1911
|
constructor(map) {
|
|
1738
1912
|
super(map);
|
|
@@ -2356,6 +2530,7 @@ class ListApplicationGroupsRequest extends $tea.Model {
|
|
|
2356
2530
|
product: 'Product',
|
|
2357
2531
|
regionId: 'RegionId',
|
|
2358
2532
|
resourceId: 'ResourceId',
|
|
2533
|
+
resourceProduct: 'ResourceProduct',
|
|
2359
2534
|
resourceType: 'ResourceType',
|
|
2360
2535
|
};
|
|
2361
2536
|
}
|
|
@@ -2368,6 +2543,7 @@ class ListApplicationGroupsRequest extends $tea.Model {
|
|
|
2368
2543
|
product: 'string',
|
|
2369
2544
|
regionId: 'string',
|
|
2370
2545
|
resourceId: 'string',
|
|
2546
|
+
resourceProduct: 'string',
|
|
2371
2547
|
resourceType: 'string',
|
|
2372
2548
|
};
|
|
2373
2549
|
}
|
|
@@ -2999,6 +3175,102 @@ class ListInventoryEntriesResponse extends $tea.Model {
|
|
|
2999
3175
|
}
|
|
3000
3176
|
}
|
|
3001
3177
|
exports.ListInventoryEntriesResponse = ListInventoryEntriesResponse;
|
|
3178
|
+
class ListOpsItemsRequest extends $tea.Model {
|
|
3179
|
+
constructor(map) {
|
|
3180
|
+
super(map);
|
|
3181
|
+
}
|
|
3182
|
+
static names() {
|
|
3183
|
+
return {
|
|
3184
|
+
filter: 'Filter',
|
|
3185
|
+
maxResults: 'MaxResults',
|
|
3186
|
+
nextToken: 'NextToken',
|
|
3187
|
+
regionId: 'RegionId',
|
|
3188
|
+
resourceTags: 'ResourceTags',
|
|
3189
|
+
tags: 'Tags',
|
|
3190
|
+
};
|
|
3191
|
+
}
|
|
3192
|
+
static types() {
|
|
3193
|
+
return {
|
|
3194
|
+
filter: { 'type': 'array', 'itemType': ListOpsItemsRequestFilter },
|
|
3195
|
+
maxResults: 'number',
|
|
3196
|
+
nextToken: 'string',
|
|
3197
|
+
regionId: 'string',
|
|
3198
|
+
resourceTags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
3199
|
+
tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
3200
|
+
};
|
|
3201
|
+
}
|
|
3202
|
+
}
|
|
3203
|
+
exports.ListOpsItemsRequest = ListOpsItemsRequest;
|
|
3204
|
+
class ListOpsItemsShrinkRequest extends $tea.Model {
|
|
3205
|
+
constructor(map) {
|
|
3206
|
+
super(map);
|
|
3207
|
+
}
|
|
3208
|
+
static names() {
|
|
3209
|
+
return {
|
|
3210
|
+
filter: 'Filter',
|
|
3211
|
+
maxResults: 'MaxResults',
|
|
3212
|
+
nextToken: 'NextToken',
|
|
3213
|
+
regionId: 'RegionId',
|
|
3214
|
+
resourceTagsShrink: 'ResourceTags',
|
|
3215
|
+
tagsShrink: 'Tags',
|
|
3216
|
+
};
|
|
3217
|
+
}
|
|
3218
|
+
static types() {
|
|
3219
|
+
return {
|
|
3220
|
+
filter: { 'type': 'array', 'itemType': ListOpsItemsShrinkRequestFilter },
|
|
3221
|
+
maxResults: 'number',
|
|
3222
|
+
nextToken: 'string',
|
|
3223
|
+
regionId: 'string',
|
|
3224
|
+
resourceTagsShrink: 'string',
|
|
3225
|
+
tagsShrink: 'string',
|
|
3226
|
+
};
|
|
3227
|
+
}
|
|
3228
|
+
}
|
|
3229
|
+
exports.ListOpsItemsShrinkRequest = ListOpsItemsShrinkRequest;
|
|
3230
|
+
class ListOpsItemsResponseBody extends $tea.Model {
|
|
3231
|
+
constructor(map) {
|
|
3232
|
+
super(map);
|
|
3233
|
+
}
|
|
3234
|
+
static names() {
|
|
3235
|
+
return {
|
|
3236
|
+
maxResults: 'MaxResults',
|
|
3237
|
+
nextToken: 'NextToken',
|
|
3238
|
+
opsItems: 'OpsItems',
|
|
3239
|
+
requestId: 'RequestId',
|
|
3240
|
+
totalCount: 'TotalCount',
|
|
3241
|
+
};
|
|
3242
|
+
}
|
|
3243
|
+
static types() {
|
|
3244
|
+
return {
|
|
3245
|
+
maxResults: 'number',
|
|
3246
|
+
nextToken: 'string',
|
|
3247
|
+
opsItems: { 'type': 'array', 'itemType': ListOpsItemsResponseBodyOpsItems },
|
|
3248
|
+
requestId: 'string',
|
|
3249
|
+
totalCount: 'number',
|
|
3250
|
+
};
|
|
3251
|
+
}
|
|
3252
|
+
}
|
|
3253
|
+
exports.ListOpsItemsResponseBody = ListOpsItemsResponseBody;
|
|
3254
|
+
class ListOpsItemsResponse extends $tea.Model {
|
|
3255
|
+
constructor(map) {
|
|
3256
|
+
super(map);
|
|
3257
|
+
}
|
|
3258
|
+
static names() {
|
|
3259
|
+
return {
|
|
3260
|
+
headers: 'headers',
|
|
3261
|
+
statusCode: 'statusCode',
|
|
3262
|
+
body: 'body',
|
|
3263
|
+
};
|
|
3264
|
+
}
|
|
3265
|
+
static types() {
|
|
3266
|
+
return {
|
|
3267
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3268
|
+
statusCode: 'number',
|
|
3269
|
+
body: ListOpsItemsResponseBody,
|
|
3270
|
+
};
|
|
3271
|
+
}
|
|
3272
|
+
}
|
|
3273
|
+
exports.ListOpsItemsResponse = ListOpsItemsResponse;
|
|
3002
3274
|
class ListParameterVersionsRequest extends $tea.Model {
|
|
3003
3275
|
constructor(map) {
|
|
3004
3276
|
super(map);
|
|
@@ -3585,12 +3857,14 @@ class ListStateConfigurationsResponseBody extends $tea.Model {
|
|
|
3585
3857
|
}
|
|
3586
3858
|
static names() {
|
|
3587
3859
|
return {
|
|
3860
|
+
nextToken: 'NextToken',
|
|
3588
3861
|
requestId: 'RequestId',
|
|
3589
3862
|
stateConfigurations: 'StateConfigurations',
|
|
3590
3863
|
};
|
|
3591
3864
|
}
|
|
3592
3865
|
static types() {
|
|
3593
3866
|
return {
|
|
3867
|
+
nextToken: 'string',
|
|
3594
3868
|
requestId: 'string',
|
|
3595
3869
|
stateConfigurations: { 'type': 'array', 'itemType': ListStateConfigurationsResponseBodyStateConfigurations },
|
|
3596
3870
|
};
|
|
@@ -4399,6 +4673,7 @@ class StartExecutionRequest extends $tea.Model {
|
|
|
4399
4673
|
tags: 'Tags',
|
|
4400
4674
|
templateContent: 'TemplateContent',
|
|
4401
4675
|
templateName: 'TemplateName',
|
|
4676
|
+
templateURL: 'TemplateURL',
|
|
4402
4677
|
templateVersion: 'TemplateVersion',
|
|
4403
4678
|
};
|
|
4404
4679
|
}
|
|
@@ -4416,6 +4691,7 @@ class StartExecutionRequest extends $tea.Model {
|
|
|
4416
4691
|
tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
4417
4692
|
templateContent: 'string',
|
|
4418
4693
|
templateName: 'string',
|
|
4694
|
+
templateURL: 'string',
|
|
4419
4695
|
templateVersion: 'string',
|
|
4420
4696
|
};
|
|
4421
4697
|
}
|
|
@@ -4439,6 +4715,7 @@ class StartExecutionShrinkRequest extends $tea.Model {
|
|
|
4439
4715
|
tagsShrink: 'Tags',
|
|
4440
4716
|
templateContent: 'TemplateContent',
|
|
4441
4717
|
templateName: 'TemplateName',
|
|
4718
|
+
templateURL: 'TemplateURL',
|
|
4442
4719
|
templateVersion: 'TemplateVersion',
|
|
4443
4720
|
};
|
|
4444
4721
|
}
|
|
@@ -4456,6 +4733,7 @@ class StartExecutionShrinkRequest extends $tea.Model {
|
|
|
4456
4733
|
tagsShrink: 'string',
|
|
4457
4734
|
templateContent: 'string',
|
|
4458
4735
|
templateName: 'string',
|
|
4736
|
+
templateURL: 'string',
|
|
4459
4737
|
templateVersion: 'string',
|
|
4460
4738
|
};
|
|
4461
4739
|
}
|
|
@@ -4923,51 +5201,177 @@ class UpdateExecutionResponse extends $tea.Model {
|
|
|
4923
5201
|
}
|
|
4924
5202
|
}
|
|
4925
5203
|
exports.UpdateExecutionResponse = UpdateExecutionResponse;
|
|
4926
|
-
class
|
|
5204
|
+
class UpdateOpsItemRequest extends $tea.Model {
|
|
4927
5205
|
constructor(map) {
|
|
4928
5206
|
super(map);
|
|
4929
5207
|
}
|
|
4930
5208
|
static names() {
|
|
4931
5209
|
return {
|
|
5210
|
+
category: 'Category',
|
|
5211
|
+
clientToken: 'ClientToken',
|
|
5212
|
+
dedupString: 'DedupString',
|
|
4932
5213
|
description: 'Description',
|
|
4933
|
-
|
|
5214
|
+
opsItemId: 'OpsItemId',
|
|
5215
|
+
priority: 'Priority',
|
|
4934
5216
|
regionId: 'RegionId',
|
|
4935
5217
|
resourceGroupId: 'ResourceGroupId',
|
|
5218
|
+
resources: 'Resources',
|
|
5219
|
+
severity: 'Severity',
|
|
5220
|
+
solutions: 'Solutions',
|
|
5221
|
+
source: 'Source',
|
|
5222
|
+
status: 'Status',
|
|
4936
5223
|
tags: 'Tags',
|
|
4937
|
-
|
|
5224
|
+
title: 'Title',
|
|
4938
5225
|
};
|
|
4939
5226
|
}
|
|
4940
5227
|
static types() {
|
|
4941
5228
|
return {
|
|
5229
|
+
category: 'string',
|
|
5230
|
+
clientToken: 'string',
|
|
5231
|
+
dedupString: 'string',
|
|
4942
5232
|
description: 'string',
|
|
4943
|
-
|
|
5233
|
+
opsItemId: 'string',
|
|
5234
|
+
priority: 'number',
|
|
4944
5235
|
regionId: 'string',
|
|
4945
5236
|
resourceGroupId: 'string',
|
|
4946
|
-
|
|
4947
|
-
|
|
5237
|
+
resources: 'string',
|
|
5238
|
+
severity: 'string',
|
|
5239
|
+
solutions: 'string',
|
|
5240
|
+
source: 'string',
|
|
5241
|
+
status: 'string',
|
|
5242
|
+
tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
5243
|
+
title: 'string',
|
|
4948
5244
|
};
|
|
4949
5245
|
}
|
|
4950
5246
|
}
|
|
4951
|
-
exports.
|
|
4952
|
-
class
|
|
5247
|
+
exports.UpdateOpsItemRequest = UpdateOpsItemRequest;
|
|
5248
|
+
class UpdateOpsItemShrinkRequest extends $tea.Model {
|
|
4953
5249
|
constructor(map) {
|
|
4954
5250
|
super(map);
|
|
4955
5251
|
}
|
|
4956
5252
|
static names() {
|
|
4957
5253
|
return {
|
|
4958
|
-
|
|
4959
|
-
|
|
5254
|
+
category: 'Category',
|
|
5255
|
+
clientToken: 'ClientToken',
|
|
5256
|
+
dedupString: 'DedupString',
|
|
5257
|
+
description: 'Description',
|
|
5258
|
+
opsItemId: 'OpsItemId',
|
|
5259
|
+
priority: 'Priority',
|
|
5260
|
+
regionId: 'RegionId',
|
|
5261
|
+
resourceGroupId: 'ResourceGroupId',
|
|
5262
|
+
resources: 'Resources',
|
|
5263
|
+
severity: 'Severity',
|
|
5264
|
+
solutions: 'Solutions',
|
|
5265
|
+
source: 'Source',
|
|
5266
|
+
status: 'Status',
|
|
5267
|
+
tagsShrink: 'Tags',
|
|
5268
|
+
title: 'Title',
|
|
4960
5269
|
};
|
|
4961
5270
|
}
|
|
4962
5271
|
static types() {
|
|
4963
5272
|
return {
|
|
4964
|
-
|
|
4965
|
-
|
|
5273
|
+
category: 'string',
|
|
5274
|
+
clientToken: 'string',
|
|
5275
|
+
dedupString: 'string',
|
|
5276
|
+
description: 'string',
|
|
5277
|
+
opsItemId: 'string',
|
|
5278
|
+
priority: 'number',
|
|
5279
|
+
regionId: 'string',
|
|
5280
|
+
resourceGroupId: 'string',
|
|
5281
|
+
resources: 'string',
|
|
5282
|
+
severity: 'string',
|
|
5283
|
+
solutions: 'string',
|
|
5284
|
+
source: 'string',
|
|
5285
|
+
status: 'string',
|
|
5286
|
+
tagsShrink: 'string',
|
|
5287
|
+
title: 'string',
|
|
4966
5288
|
};
|
|
4967
5289
|
}
|
|
4968
5290
|
}
|
|
4969
|
-
exports.
|
|
4970
|
-
class
|
|
5291
|
+
exports.UpdateOpsItemShrinkRequest = UpdateOpsItemShrinkRequest;
|
|
5292
|
+
class UpdateOpsItemResponseBody extends $tea.Model {
|
|
5293
|
+
constructor(map) {
|
|
5294
|
+
super(map);
|
|
5295
|
+
}
|
|
5296
|
+
static names() {
|
|
5297
|
+
return {
|
|
5298
|
+
opsItem: 'OpsItem',
|
|
5299
|
+
requestId: 'RequestId',
|
|
5300
|
+
};
|
|
5301
|
+
}
|
|
5302
|
+
static types() {
|
|
5303
|
+
return {
|
|
5304
|
+
opsItem: UpdateOpsItemResponseBodyOpsItem,
|
|
5305
|
+
requestId: 'string',
|
|
5306
|
+
};
|
|
5307
|
+
}
|
|
5308
|
+
}
|
|
5309
|
+
exports.UpdateOpsItemResponseBody = UpdateOpsItemResponseBody;
|
|
5310
|
+
class UpdateOpsItemResponse extends $tea.Model {
|
|
5311
|
+
constructor(map) {
|
|
5312
|
+
super(map);
|
|
5313
|
+
}
|
|
5314
|
+
static names() {
|
|
5315
|
+
return {
|
|
5316
|
+
headers: 'headers',
|
|
5317
|
+
statusCode: 'statusCode',
|
|
5318
|
+
body: 'body',
|
|
5319
|
+
};
|
|
5320
|
+
}
|
|
5321
|
+
static types() {
|
|
5322
|
+
return {
|
|
5323
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5324
|
+
statusCode: 'number',
|
|
5325
|
+
body: UpdateOpsItemResponseBody,
|
|
5326
|
+
};
|
|
5327
|
+
}
|
|
5328
|
+
}
|
|
5329
|
+
exports.UpdateOpsItemResponse = UpdateOpsItemResponse;
|
|
5330
|
+
class UpdateParameterRequest extends $tea.Model {
|
|
5331
|
+
constructor(map) {
|
|
5332
|
+
super(map);
|
|
5333
|
+
}
|
|
5334
|
+
static names() {
|
|
5335
|
+
return {
|
|
5336
|
+
description: 'Description',
|
|
5337
|
+
name: 'Name',
|
|
5338
|
+
regionId: 'RegionId',
|
|
5339
|
+
resourceGroupId: 'ResourceGroupId',
|
|
5340
|
+
tags: 'Tags',
|
|
5341
|
+
value: 'Value',
|
|
5342
|
+
};
|
|
5343
|
+
}
|
|
5344
|
+
static types() {
|
|
5345
|
+
return {
|
|
5346
|
+
description: 'string',
|
|
5347
|
+
name: 'string',
|
|
5348
|
+
regionId: 'string',
|
|
5349
|
+
resourceGroupId: 'string',
|
|
5350
|
+
tags: 'string',
|
|
5351
|
+
value: 'string',
|
|
5352
|
+
};
|
|
5353
|
+
}
|
|
5354
|
+
}
|
|
5355
|
+
exports.UpdateParameterRequest = UpdateParameterRequest;
|
|
5356
|
+
class UpdateParameterResponseBody extends $tea.Model {
|
|
5357
|
+
constructor(map) {
|
|
5358
|
+
super(map);
|
|
5359
|
+
}
|
|
5360
|
+
static names() {
|
|
5361
|
+
return {
|
|
5362
|
+
parameter: 'Parameter',
|
|
5363
|
+
requestId: 'RequestId',
|
|
5364
|
+
};
|
|
5365
|
+
}
|
|
5366
|
+
static types() {
|
|
5367
|
+
return {
|
|
5368
|
+
parameter: UpdateParameterResponseBodyParameter,
|
|
5369
|
+
requestId: 'string',
|
|
5370
|
+
};
|
|
5371
|
+
}
|
|
5372
|
+
}
|
|
5373
|
+
exports.UpdateParameterResponseBody = UpdateParameterResponseBody;
|
|
5374
|
+
class UpdateParameterResponse extends $tea.Model {
|
|
4971
5375
|
constructor(map) {
|
|
4972
5376
|
super(map);
|
|
4973
5377
|
}
|
|
@@ -5347,12 +5751,14 @@ class ValidateTemplateContentRequest extends $tea.Model {
|
|
|
5347
5751
|
return {
|
|
5348
5752
|
content: 'Content',
|
|
5349
5753
|
regionId: 'RegionId',
|
|
5754
|
+
templateURL: 'TemplateURL',
|
|
5350
5755
|
};
|
|
5351
5756
|
}
|
|
5352
5757
|
static types() {
|
|
5353
5758
|
return {
|
|
5354
5759
|
content: 'string',
|
|
5355
5760
|
regionId: 'string',
|
|
5761
|
+
templateURL: 'string',
|
|
5356
5762
|
};
|
|
5357
5763
|
}
|
|
5358
5764
|
}
|
|
@@ -5457,6 +5863,54 @@ class CreateApplicationGroupResponseBodyApplicationGroup extends $tea.Model {
|
|
|
5457
5863
|
}
|
|
5458
5864
|
}
|
|
5459
5865
|
exports.CreateApplicationGroupResponseBodyApplicationGroup = CreateApplicationGroupResponseBodyApplicationGroup;
|
|
5866
|
+
class CreateOpsItemResponseBodyOpsItem extends $tea.Model {
|
|
5867
|
+
constructor(map) {
|
|
5868
|
+
super(map);
|
|
5869
|
+
}
|
|
5870
|
+
static names() {
|
|
5871
|
+
return {
|
|
5872
|
+
attributes: 'Attributes',
|
|
5873
|
+
category: 'Category',
|
|
5874
|
+
createDate: 'CreateDate',
|
|
5875
|
+
createdBy: 'CreatedBy',
|
|
5876
|
+
description: 'Description',
|
|
5877
|
+
lastModifiedBy: 'LastModifiedBy',
|
|
5878
|
+
opsItemId: 'OpsItemId',
|
|
5879
|
+
priority: 'Priority',
|
|
5880
|
+
resourceGroupId: 'ResourceGroupId',
|
|
5881
|
+
resources: 'Resources',
|
|
5882
|
+
severity: 'Severity',
|
|
5883
|
+
solutions: 'Solutions',
|
|
5884
|
+
source: 'Source',
|
|
5885
|
+
status: 'Status',
|
|
5886
|
+
tags: 'Tags',
|
|
5887
|
+
title: 'Title',
|
|
5888
|
+
updateDate: 'UpdateDate',
|
|
5889
|
+
};
|
|
5890
|
+
}
|
|
5891
|
+
static types() {
|
|
5892
|
+
return {
|
|
5893
|
+
attributes: 'string',
|
|
5894
|
+
category: 'string',
|
|
5895
|
+
createDate: 'string',
|
|
5896
|
+
createdBy: 'string',
|
|
5897
|
+
description: 'string',
|
|
5898
|
+
lastModifiedBy: 'string',
|
|
5899
|
+
opsItemId: 'string',
|
|
5900
|
+
priority: 'number',
|
|
5901
|
+
resourceGroupId: 'string',
|
|
5902
|
+
resources: 'string',
|
|
5903
|
+
severity: 'string',
|
|
5904
|
+
solutions: 'string',
|
|
5905
|
+
source: 'string',
|
|
5906
|
+
status: 'string',
|
|
5907
|
+
tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
5908
|
+
title: 'string',
|
|
5909
|
+
updateDate: 'string',
|
|
5910
|
+
};
|
|
5911
|
+
}
|
|
5912
|
+
}
|
|
5913
|
+
exports.CreateOpsItemResponseBodyOpsItem = CreateOpsItemResponseBodyOpsItem;
|
|
5460
5914
|
class CreateParameterResponseBodyParameter extends $tea.Model {
|
|
5461
5915
|
constructor(map) {
|
|
5462
5916
|
super(map);
|
|
@@ -5819,6 +6273,56 @@ class GetInventorySchemaResponseBodySchemas extends $tea.Model {
|
|
|
5819
6273
|
}
|
|
5820
6274
|
}
|
|
5821
6275
|
exports.GetInventorySchemaResponseBodySchemas = GetInventorySchemaResponseBodySchemas;
|
|
6276
|
+
class GetOpsItemResponseBodyOpsItem extends $tea.Model {
|
|
6277
|
+
constructor(map) {
|
|
6278
|
+
super(map);
|
|
6279
|
+
}
|
|
6280
|
+
static names() {
|
|
6281
|
+
return {
|
|
6282
|
+
attributes: 'Attributes',
|
|
6283
|
+
category: 'Category',
|
|
6284
|
+
createBy: 'CreateBy',
|
|
6285
|
+
createDate: 'CreateDate',
|
|
6286
|
+
dedupString: 'DedupString',
|
|
6287
|
+
description: 'Description',
|
|
6288
|
+
lastModifiedBy: 'LastModifiedBy',
|
|
6289
|
+
opsItemId: 'OpsItemId',
|
|
6290
|
+
priority: 'Priority',
|
|
6291
|
+
resourceGroupId: 'ResourceGroupId',
|
|
6292
|
+
resources: 'Resources',
|
|
6293
|
+
severity: 'Severity',
|
|
6294
|
+
solutions: 'Solutions',
|
|
6295
|
+
source: 'Source',
|
|
6296
|
+
status: 'Status',
|
|
6297
|
+
tags: 'Tags',
|
|
6298
|
+
title: 'Title',
|
|
6299
|
+
updateDate: 'UpdateDate',
|
|
6300
|
+
};
|
|
6301
|
+
}
|
|
6302
|
+
static types() {
|
|
6303
|
+
return {
|
|
6304
|
+
attributes: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
6305
|
+
category: 'string',
|
|
6306
|
+
createBy: 'string',
|
|
6307
|
+
createDate: 'string',
|
|
6308
|
+
dedupString: 'string',
|
|
6309
|
+
description: 'string',
|
|
6310
|
+
lastModifiedBy: 'string',
|
|
6311
|
+
opsItemId: 'string',
|
|
6312
|
+
priority: 'number',
|
|
6313
|
+
resourceGroupId: 'string',
|
|
6314
|
+
resources: { 'type': 'array', 'itemType': 'string' },
|
|
6315
|
+
severity: 'string',
|
|
6316
|
+
solutions: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'any' } },
|
|
6317
|
+
source: 'string',
|
|
6318
|
+
status: 'string',
|
|
6319
|
+
tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
6320
|
+
title: 'string',
|
|
6321
|
+
updateDate: 'string',
|
|
6322
|
+
};
|
|
6323
|
+
}
|
|
6324
|
+
}
|
|
6325
|
+
exports.GetOpsItemResponseBodyOpsItem = GetOpsItemResponseBodyOpsItem;
|
|
5822
6326
|
class GetParameterResponseBodyParameter extends $tea.Model {
|
|
5823
6327
|
constructor(map) {
|
|
5824
6328
|
super(map);
|
|
@@ -6495,6 +6999,82 @@ class ListInventoryEntriesRequestFilter extends $tea.Model {
|
|
|
6495
6999
|
}
|
|
6496
7000
|
}
|
|
6497
7001
|
exports.ListInventoryEntriesRequestFilter = ListInventoryEntriesRequestFilter;
|
|
7002
|
+
class ListOpsItemsRequestFilter extends $tea.Model {
|
|
7003
|
+
constructor(map) {
|
|
7004
|
+
super(map);
|
|
7005
|
+
}
|
|
7006
|
+
static names() {
|
|
7007
|
+
return {
|
|
7008
|
+
name: 'Name',
|
|
7009
|
+
operator: 'Operator',
|
|
7010
|
+
value: 'Value',
|
|
7011
|
+
};
|
|
7012
|
+
}
|
|
7013
|
+
static types() {
|
|
7014
|
+
return {
|
|
7015
|
+
name: 'string',
|
|
7016
|
+
operator: 'string',
|
|
7017
|
+
value: { 'type': 'array', 'itemType': 'string' },
|
|
7018
|
+
};
|
|
7019
|
+
}
|
|
7020
|
+
}
|
|
7021
|
+
exports.ListOpsItemsRequestFilter = ListOpsItemsRequestFilter;
|
|
7022
|
+
class ListOpsItemsShrinkRequestFilter extends $tea.Model {
|
|
7023
|
+
constructor(map) {
|
|
7024
|
+
super(map);
|
|
7025
|
+
}
|
|
7026
|
+
static names() {
|
|
7027
|
+
return {
|
|
7028
|
+
name: 'Name',
|
|
7029
|
+
operator: 'Operator',
|
|
7030
|
+
value: 'Value',
|
|
7031
|
+
};
|
|
7032
|
+
}
|
|
7033
|
+
static types() {
|
|
7034
|
+
return {
|
|
7035
|
+
name: 'string',
|
|
7036
|
+
operator: 'string',
|
|
7037
|
+
value: { 'type': 'array', 'itemType': 'string' },
|
|
7038
|
+
};
|
|
7039
|
+
}
|
|
7040
|
+
}
|
|
7041
|
+
exports.ListOpsItemsShrinkRequestFilter = ListOpsItemsShrinkRequestFilter;
|
|
7042
|
+
class ListOpsItemsResponseBodyOpsItems extends $tea.Model {
|
|
7043
|
+
constructor(map) {
|
|
7044
|
+
super(map);
|
|
7045
|
+
}
|
|
7046
|
+
static names() {
|
|
7047
|
+
return {
|
|
7048
|
+
category: 'Category',
|
|
7049
|
+
createDate: 'CreateDate',
|
|
7050
|
+
opsItemId: 'OpsItemId',
|
|
7051
|
+
priority: 'Priority',
|
|
7052
|
+
resources: 'Resources',
|
|
7053
|
+
severity: 'Severity',
|
|
7054
|
+
source: 'Source',
|
|
7055
|
+
status: 'Status',
|
|
7056
|
+
tags: 'Tags',
|
|
7057
|
+
title: 'Title',
|
|
7058
|
+
updateDate: 'UpdateDate',
|
|
7059
|
+
};
|
|
7060
|
+
}
|
|
7061
|
+
static types() {
|
|
7062
|
+
return {
|
|
7063
|
+
category: 'string',
|
|
7064
|
+
createDate: 'string',
|
|
7065
|
+
opsItemId: 'string',
|
|
7066
|
+
priority: 'number',
|
|
7067
|
+
resources: { 'type': 'array', 'itemType': 'string' },
|
|
7068
|
+
severity: 'string',
|
|
7069
|
+
source: 'string',
|
|
7070
|
+
status: 'string',
|
|
7071
|
+
tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
7072
|
+
title: 'string',
|
|
7073
|
+
updateDate: 'string',
|
|
7074
|
+
};
|
|
7075
|
+
}
|
|
7076
|
+
}
|
|
7077
|
+
exports.ListOpsItemsResponseBodyOpsItems = ListOpsItemsResponseBodyOpsItems;
|
|
6498
7078
|
class ListParameterVersionsResponseBodyParameterVersions extends $tea.Model {
|
|
6499
7079
|
constructor(map) {
|
|
6500
7080
|
super(map);
|
|
@@ -7101,6 +7681,54 @@ class UpdateApplicationGroupResponseBodyApplicationGroup extends $tea.Model {
|
|
|
7101
7681
|
}
|
|
7102
7682
|
}
|
|
7103
7683
|
exports.UpdateApplicationGroupResponseBodyApplicationGroup = UpdateApplicationGroupResponseBodyApplicationGroup;
|
|
7684
|
+
class UpdateOpsItemResponseBodyOpsItem extends $tea.Model {
|
|
7685
|
+
constructor(map) {
|
|
7686
|
+
super(map);
|
|
7687
|
+
}
|
|
7688
|
+
static names() {
|
|
7689
|
+
return {
|
|
7690
|
+
attributes: 'Attributes',
|
|
7691
|
+
category: 'Category',
|
|
7692
|
+
createDate: 'CreateDate',
|
|
7693
|
+
createdBy: 'CreatedBy',
|
|
7694
|
+
description: 'Description',
|
|
7695
|
+
lastModifiedBy: 'LastModifiedBy',
|
|
7696
|
+
opsItemId: 'OpsItemId',
|
|
7697
|
+
priority: 'Priority',
|
|
7698
|
+
resourceGroupId: 'ResourceGroupId',
|
|
7699
|
+
resources: 'Resources',
|
|
7700
|
+
severity: 'Severity',
|
|
7701
|
+
solutions: 'Solutions',
|
|
7702
|
+
source: 'Source',
|
|
7703
|
+
status: 'Status',
|
|
7704
|
+
tags: 'Tags',
|
|
7705
|
+
title: 'Title',
|
|
7706
|
+
updateDate: 'UpdateDate',
|
|
7707
|
+
};
|
|
7708
|
+
}
|
|
7709
|
+
static types() {
|
|
7710
|
+
return {
|
|
7711
|
+
attributes: 'string',
|
|
7712
|
+
category: 'string',
|
|
7713
|
+
createDate: 'string',
|
|
7714
|
+
createdBy: 'string',
|
|
7715
|
+
description: 'string',
|
|
7716
|
+
lastModifiedBy: 'string',
|
|
7717
|
+
opsItemId: 'string',
|
|
7718
|
+
priority: 'number',
|
|
7719
|
+
resourceGroupId: 'string',
|
|
7720
|
+
resources: { 'type': 'array', 'itemType': 'string' },
|
|
7721
|
+
severity: 'string',
|
|
7722
|
+
solutions: { 'type': 'array', 'itemType': 'string' },
|
|
7723
|
+
source: 'string',
|
|
7724
|
+
status: 'string',
|
|
7725
|
+
tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
7726
|
+
title: 'string',
|
|
7727
|
+
updateDate: 'string',
|
|
7728
|
+
};
|
|
7729
|
+
}
|
|
7730
|
+
}
|
|
7731
|
+
exports.UpdateOpsItemResponseBodyOpsItem = UpdateOpsItemResponseBodyOpsItem;
|
|
7104
7732
|
class UpdateParameterResponseBodyParameter extends $tea.Model {
|
|
7105
7733
|
constructor(map) {
|
|
7106
7734
|
super(map);
|
|
@@ -7536,6 +8164,73 @@ class Client extends openapi_client_1.default {
|
|
|
7536
8164
|
let runtime = new $Util.RuntimeOptions({});
|
|
7537
8165
|
return await this.createApplicationGroupWithOptions(request, runtime);
|
|
7538
8166
|
}
|
|
8167
|
+
async createOpsItemWithOptions(tmpReq, runtime) {
|
|
8168
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
8169
|
+
let request = new CreateOpsItemShrinkRequest({});
|
|
8170
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
8171
|
+
if (!tea_util_1.default.isUnset(tmpReq.tags)) {
|
|
8172
|
+
request.tagsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.tags, "Tags", "json");
|
|
8173
|
+
}
|
|
8174
|
+
let query = {};
|
|
8175
|
+
if (!tea_util_1.default.isUnset(request.category)) {
|
|
8176
|
+
query["Category"] = request.category;
|
|
8177
|
+
}
|
|
8178
|
+
if (!tea_util_1.default.isUnset(request.clientToken)) {
|
|
8179
|
+
query["ClientToken"] = request.clientToken;
|
|
8180
|
+
}
|
|
8181
|
+
if (!tea_util_1.default.isUnset(request.dedupString)) {
|
|
8182
|
+
query["DedupString"] = request.dedupString;
|
|
8183
|
+
}
|
|
8184
|
+
if (!tea_util_1.default.isUnset(request.description)) {
|
|
8185
|
+
query["Description"] = request.description;
|
|
8186
|
+
}
|
|
8187
|
+
if (!tea_util_1.default.isUnset(request.priority)) {
|
|
8188
|
+
query["Priority"] = request.priority;
|
|
8189
|
+
}
|
|
8190
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
8191
|
+
query["RegionId"] = request.regionId;
|
|
8192
|
+
}
|
|
8193
|
+
if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
|
|
8194
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
8195
|
+
}
|
|
8196
|
+
if (!tea_util_1.default.isUnset(request.resources)) {
|
|
8197
|
+
query["Resources"] = request.resources;
|
|
8198
|
+
}
|
|
8199
|
+
if (!tea_util_1.default.isUnset(request.severity)) {
|
|
8200
|
+
query["Severity"] = request.severity;
|
|
8201
|
+
}
|
|
8202
|
+
if (!tea_util_1.default.isUnset(request.solutions)) {
|
|
8203
|
+
query["Solutions"] = request.solutions;
|
|
8204
|
+
}
|
|
8205
|
+
if (!tea_util_1.default.isUnset(request.source)) {
|
|
8206
|
+
query["Source"] = request.source;
|
|
8207
|
+
}
|
|
8208
|
+
if (!tea_util_1.default.isUnset(request.tagsShrink)) {
|
|
8209
|
+
query["Tags"] = request.tagsShrink;
|
|
8210
|
+
}
|
|
8211
|
+
if (!tea_util_1.default.isUnset(request.title)) {
|
|
8212
|
+
query["Title"] = request.title;
|
|
8213
|
+
}
|
|
8214
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
8215
|
+
query: openapi_util_1.default.query(query),
|
|
8216
|
+
});
|
|
8217
|
+
let params = new $OpenApi.Params({
|
|
8218
|
+
action: "CreateOpsItem",
|
|
8219
|
+
version: "2019-06-01",
|
|
8220
|
+
protocol: "HTTPS",
|
|
8221
|
+
pathname: "/",
|
|
8222
|
+
method: "POST",
|
|
8223
|
+
authType: "AK",
|
|
8224
|
+
style: "RPC",
|
|
8225
|
+
reqBodyType: "formData",
|
|
8226
|
+
bodyType: "json",
|
|
8227
|
+
});
|
|
8228
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CreateOpsItemResponse({}));
|
|
8229
|
+
}
|
|
8230
|
+
async createOpsItem(request) {
|
|
8231
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
8232
|
+
return await this.createOpsItemWithOptions(request, runtime);
|
|
8233
|
+
}
|
|
7539
8234
|
async createParameterWithOptions(tmpReq, runtime) {
|
|
7540
8235
|
tea_util_1.default.validateModel(tmpReq);
|
|
7541
8236
|
let request = new CreateParameterShrinkRequest({});
|
|
@@ -8300,6 +8995,35 @@ class Client extends openapi_client_1.default {
|
|
|
8300
8995
|
let runtime = new $Util.RuntimeOptions({});
|
|
8301
8996
|
return await this.getInventorySchemaWithOptions(request, runtime);
|
|
8302
8997
|
}
|
|
8998
|
+
async getOpsItemWithOptions(request, runtime) {
|
|
8999
|
+
tea_util_1.default.validateModel(request);
|
|
9000
|
+
let query = {};
|
|
9001
|
+
if (!tea_util_1.default.isUnset(request.opsItemId)) {
|
|
9002
|
+
query["OpsItemId"] = request.opsItemId;
|
|
9003
|
+
}
|
|
9004
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
9005
|
+
query["RegionId"] = request.regionId;
|
|
9006
|
+
}
|
|
9007
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
9008
|
+
query: openapi_util_1.default.query(query),
|
|
9009
|
+
});
|
|
9010
|
+
let params = new $OpenApi.Params({
|
|
9011
|
+
action: "GetOpsItem",
|
|
9012
|
+
version: "2019-06-01",
|
|
9013
|
+
protocol: "HTTPS",
|
|
9014
|
+
pathname: "/",
|
|
9015
|
+
method: "POST",
|
|
9016
|
+
authType: "AK",
|
|
9017
|
+
style: "RPC",
|
|
9018
|
+
reqBodyType: "formData",
|
|
9019
|
+
bodyType: "json",
|
|
9020
|
+
});
|
|
9021
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetOpsItemResponse({}));
|
|
9022
|
+
}
|
|
9023
|
+
async getOpsItem(request) {
|
|
9024
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
9025
|
+
return await this.getOpsItemWithOptions(request, runtime);
|
|
9026
|
+
}
|
|
8303
9027
|
async getParameterWithOptions(request, runtime) {
|
|
8304
9028
|
tea_util_1.default.validateModel(request);
|
|
8305
9029
|
let query = {};
|
|
@@ -8656,6 +9380,9 @@ class Client extends openapi_client_1.default {
|
|
|
8656
9380
|
if (!tea_util_1.default.isUnset(request.resourceId)) {
|
|
8657
9381
|
query["ResourceId"] = request.resourceId;
|
|
8658
9382
|
}
|
|
9383
|
+
if (!tea_util_1.default.isUnset(request.resourceProduct)) {
|
|
9384
|
+
query["ResourceProduct"] = request.resourceProduct;
|
|
9385
|
+
}
|
|
8659
9386
|
if (!tea_util_1.default.isUnset(request.resourceType)) {
|
|
8660
9387
|
query["ResourceType"] = request.resourceType;
|
|
8661
9388
|
}
|
|
@@ -9003,6 +9730,55 @@ class Client extends openapi_client_1.default {
|
|
|
9003
9730
|
let runtime = new $Util.RuntimeOptions({});
|
|
9004
9731
|
return await this.listInventoryEntriesWithOptions(request, runtime);
|
|
9005
9732
|
}
|
|
9733
|
+
async listOpsItemsWithOptions(tmpReq, runtime) {
|
|
9734
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
9735
|
+
let request = new ListOpsItemsShrinkRequest({});
|
|
9736
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
9737
|
+
if (!tea_util_1.default.isUnset(tmpReq.resourceTags)) {
|
|
9738
|
+
request.resourceTagsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.resourceTags, "ResourceTags", "json");
|
|
9739
|
+
}
|
|
9740
|
+
if (!tea_util_1.default.isUnset(tmpReq.tags)) {
|
|
9741
|
+
request.tagsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.tags, "Tags", "json");
|
|
9742
|
+
}
|
|
9743
|
+
let query = {};
|
|
9744
|
+
if (!tea_util_1.default.isUnset(request.filter)) {
|
|
9745
|
+
query["Filter"] = request.filter;
|
|
9746
|
+
}
|
|
9747
|
+
if (!tea_util_1.default.isUnset(request.maxResults)) {
|
|
9748
|
+
query["MaxResults"] = request.maxResults;
|
|
9749
|
+
}
|
|
9750
|
+
if (!tea_util_1.default.isUnset(request.nextToken)) {
|
|
9751
|
+
query["NextToken"] = request.nextToken;
|
|
9752
|
+
}
|
|
9753
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
9754
|
+
query["RegionId"] = request.regionId;
|
|
9755
|
+
}
|
|
9756
|
+
if (!tea_util_1.default.isUnset(request.resourceTagsShrink)) {
|
|
9757
|
+
query["ResourceTags"] = request.resourceTagsShrink;
|
|
9758
|
+
}
|
|
9759
|
+
if (!tea_util_1.default.isUnset(request.tagsShrink)) {
|
|
9760
|
+
query["Tags"] = request.tagsShrink;
|
|
9761
|
+
}
|
|
9762
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
9763
|
+
query: openapi_util_1.default.query(query),
|
|
9764
|
+
});
|
|
9765
|
+
let params = new $OpenApi.Params({
|
|
9766
|
+
action: "ListOpsItems",
|
|
9767
|
+
version: "2019-06-01",
|
|
9768
|
+
protocol: "HTTPS",
|
|
9769
|
+
pathname: "/",
|
|
9770
|
+
method: "POST",
|
|
9771
|
+
authType: "AK",
|
|
9772
|
+
style: "RPC",
|
|
9773
|
+
reqBodyType: "formData",
|
|
9774
|
+
bodyType: "json",
|
|
9775
|
+
});
|
|
9776
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListOpsItemsResponse({}));
|
|
9777
|
+
}
|
|
9778
|
+
async listOpsItems(request) {
|
|
9779
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
9780
|
+
return await this.listOpsItemsWithOptions(request, runtime);
|
|
9781
|
+
}
|
|
9006
9782
|
async listParameterVersionsWithOptions(request, runtime) {
|
|
9007
9783
|
tea_util_1.default.validateModel(request);
|
|
9008
9784
|
let query = {};
|
|
@@ -9841,6 +10617,9 @@ class Client extends openapi_client_1.default {
|
|
|
9841
10617
|
if (!tea_util_1.default.isUnset(request.templateName)) {
|
|
9842
10618
|
query["TemplateName"] = request.templateName;
|
|
9843
10619
|
}
|
|
10620
|
+
if (!tea_util_1.default.isUnset(request.templateURL)) {
|
|
10621
|
+
query["TemplateURL"] = request.templateURL;
|
|
10622
|
+
}
|
|
9844
10623
|
if (!tea_util_1.default.isUnset(request.templateVersion)) {
|
|
9845
10624
|
query["TemplateVersion"] = request.templateVersion;
|
|
9846
10625
|
}
|
|
@@ -10101,6 +10880,79 @@ class Client extends openapi_client_1.default {
|
|
|
10101
10880
|
let runtime = new $Util.RuntimeOptions({});
|
|
10102
10881
|
return await this.updateExecutionWithOptions(request, runtime);
|
|
10103
10882
|
}
|
|
10883
|
+
async updateOpsItemWithOptions(tmpReq, runtime) {
|
|
10884
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
10885
|
+
let request = new UpdateOpsItemShrinkRequest({});
|
|
10886
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
10887
|
+
if (!tea_util_1.default.isUnset(tmpReq.tags)) {
|
|
10888
|
+
request.tagsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.tags, "Tags", "json");
|
|
10889
|
+
}
|
|
10890
|
+
let query = {};
|
|
10891
|
+
if (!tea_util_1.default.isUnset(request.category)) {
|
|
10892
|
+
query["Category"] = request.category;
|
|
10893
|
+
}
|
|
10894
|
+
if (!tea_util_1.default.isUnset(request.clientToken)) {
|
|
10895
|
+
query["ClientToken"] = request.clientToken;
|
|
10896
|
+
}
|
|
10897
|
+
if (!tea_util_1.default.isUnset(request.dedupString)) {
|
|
10898
|
+
query["DedupString"] = request.dedupString;
|
|
10899
|
+
}
|
|
10900
|
+
if (!tea_util_1.default.isUnset(request.description)) {
|
|
10901
|
+
query["Description"] = request.description;
|
|
10902
|
+
}
|
|
10903
|
+
if (!tea_util_1.default.isUnset(request.opsItemId)) {
|
|
10904
|
+
query["OpsItemId"] = request.opsItemId;
|
|
10905
|
+
}
|
|
10906
|
+
if (!tea_util_1.default.isUnset(request.priority)) {
|
|
10907
|
+
query["Priority"] = request.priority;
|
|
10908
|
+
}
|
|
10909
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
10910
|
+
query["RegionId"] = request.regionId;
|
|
10911
|
+
}
|
|
10912
|
+
if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
|
|
10913
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
10914
|
+
}
|
|
10915
|
+
if (!tea_util_1.default.isUnset(request.resources)) {
|
|
10916
|
+
query["Resources"] = request.resources;
|
|
10917
|
+
}
|
|
10918
|
+
if (!tea_util_1.default.isUnset(request.severity)) {
|
|
10919
|
+
query["Severity"] = request.severity;
|
|
10920
|
+
}
|
|
10921
|
+
if (!tea_util_1.default.isUnset(request.solutions)) {
|
|
10922
|
+
query["Solutions"] = request.solutions;
|
|
10923
|
+
}
|
|
10924
|
+
if (!tea_util_1.default.isUnset(request.source)) {
|
|
10925
|
+
query["Source"] = request.source;
|
|
10926
|
+
}
|
|
10927
|
+
if (!tea_util_1.default.isUnset(request.status)) {
|
|
10928
|
+
query["Status"] = request.status;
|
|
10929
|
+
}
|
|
10930
|
+
if (!tea_util_1.default.isUnset(request.tagsShrink)) {
|
|
10931
|
+
query["Tags"] = request.tagsShrink;
|
|
10932
|
+
}
|
|
10933
|
+
if (!tea_util_1.default.isUnset(request.title)) {
|
|
10934
|
+
query["Title"] = request.title;
|
|
10935
|
+
}
|
|
10936
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
10937
|
+
query: openapi_util_1.default.query(query),
|
|
10938
|
+
});
|
|
10939
|
+
let params = new $OpenApi.Params({
|
|
10940
|
+
action: "UpdateOpsItem",
|
|
10941
|
+
version: "2019-06-01",
|
|
10942
|
+
protocol: "HTTPS",
|
|
10943
|
+
pathname: "/",
|
|
10944
|
+
method: "POST",
|
|
10945
|
+
authType: "AK",
|
|
10946
|
+
style: "RPC",
|
|
10947
|
+
reqBodyType: "formData",
|
|
10948
|
+
bodyType: "json",
|
|
10949
|
+
});
|
|
10950
|
+
return $tea.cast(await this.callApi(params, req, runtime), new UpdateOpsItemResponse({}));
|
|
10951
|
+
}
|
|
10952
|
+
async updateOpsItem(request) {
|
|
10953
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
10954
|
+
return await this.updateOpsItemWithOptions(request, runtime);
|
|
10955
|
+
}
|
|
10104
10956
|
async updateParameterWithOptions(request, runtime) {
|
|
10105
10957
|
tea_util_1.default.validateModel(request);
|
|
10106
10958
|
let query = {};
|
|
@@ -10345,6 +11197,9 @@ class Client extends openapi_client_1.default {
|
|
|
10345
11197
|
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
10346
11198
|
query["RegionId"] = request.regionId;
|
|
10347
11199
|
}
|
|
11200
|
+
if (!tea_util_1.default.isUnset(request.templateURL)) {
|
|
11201
|
+
query["TemplateURL"] = request.templateURL;
|
|
11202
|
+
}
|
|
10348
11203
|
let req = new $OpenApi.OpenApiRequest({
|
|
10349
11204
|
query: openapi_util_1.default.query(query),
|
|
10350
11205
|
});
|