@alicloud/oos20190601 1.0.2 → 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 +467 -3
- package/dist/client.js +925 -9
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +1232 -34
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);
|
|
@@ -542,13 +660,47 @@ class CreateSecretParameterRequest extends $tea.Model {
|
|
|
542
660
|
name: 'string',
|
|
543
661
|
regionId: 'string',
|
|
544
662
|
resourceGroupId: 'string',
|
|
545
|
-
tags: 'string',
|
|
663
|
+
tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
546
664
|
type: 'string',
|
|
547
665
|
value: 'string',
|
|
548
666
|
};
|
|
549
667
|
}
|
|
550
668
|
}
|
|
551
669
|
exports.CreateSecretParameterRequest = CreateSecretParameterRequest;
|
|
670
|
+
class CreateSecretParameterShrinkRequest extends $tea.Model {
|
|
671
|
+
constructor(map) {
|
|
672
|
+
super(map);
|
|
673
|
+
}
|
|
674
|
+
static names() {
|
|
675
|
+
return {
|
|
676
|
+
clientToken: 'ClientToken',
|
|
677
|
+
constraints: 'Constraints',
|
|
678
|
+
description: 'Description',
|
|
679
|
+
keyId: 'KeyId',
|
|
680
|
+
name: 'Name',
|
|
681
|
+
regionId: 'RegionId',
|
|
682
|
+
resourceGroupId: 'ResourceGroupId',
|
|
683
|
+
tagsShrink: 'Tags',
|
|
684
|
+
type: 'Type',
|
|
685
|
+
value: 'Value',
|
|
686
|
+
};
|
|
687
|
+
}
|
|
688
|
+
static types() {
|
|
689
|
+
return {
|
|
690
|
+
clientToken: 'string',
|
|
691
|
+
constraints: 'string',
|
|
692
|
+
description: 'string',
|
|
693
|
+
keyId: 'string',
|
|
694
|
+
name: 'string',
|
|
695
|
+
regionId: 'string',
|
|
696
|
+
resourceGroupId: 'string',
|
|
697
|
+
tagsShrink: 'string',
|
|
698
|
+
type: 'string',
|
|
699
|
+
value: 'string',
|
|
700
|
+
};
|
|
701
|
+
}
|
|
702
|
+
}
|
|
703
|
+
exports.CreateSecretParameterShrinkRequest = CreateSecretParameterShrinkRequest;
|
|
552
704
|
class CreateSecretParameterResponseBody extends $tea.Model {
|
|
553
705
|
constructor(map) {
|
|
554
706
|
super(map);
|
|
@@ -799,12 +951,14 @@ class DeleteApplicationRequest extends $tea.Model {
|
|
|
799
951
|
}
|
|
800
952
|
static names() {
|
|
801
953
|
return {
|
|
954
|
+
force: 'Force',
|
|
802
955
|
name: 'Name',
|
|
803
956
|
regionId: 'RegionId',
|
|
804
957
|
};
|
|
805
958
|
}
|
|
806
959
|
static types() {
|
|
807
960
|
return {
|
|
961
|
+
force: 'boolean',
|
|
808
962
|
name: 'string',
|
|
809
963
|
regionId: 'string',
|
|
810
964
|
};
|
|
@@ -1697,6 +1851,62 @@ class GetInventorySchemaResponse extends $tea.Model {
|
|
|
1697
1851
|
}
|
|
1698
1852
|
}
|
|
1699
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;
|
|
1700
1910
|
class GetParameterRequest extends $tea.Model {
|
|
1701
1911
|
constructor(map) {
|
|
1702
1912
|
super(map);
|
|
@@ -2317,7 +2527,11 @@ class ListApplicationGroupsRequest extends $tea.Model {
|
|
|
2317
2527
|
deployRegionId: 'DeployRegionId',
|
|
2318
2528
|
maxResults: 'MaxResults',
|
|
2319
2529
|
nextToken: 'NextToken',
|
|
2530
|
+
product: 'Product',
|
|
2320
2531
|
regionId: 'RegionId',
|
|
2532
|
+
resourceId: 'ResourceId',
|
|
2533
|
+
resourceProduct: 'ResourceProduct',
|
|
2534
|
+
resourceType: 'ResourceType',
|
|
2321
2535
|
};
|
|
2322
2536
|
}
|
|
2323
2537
|
static types() {
|
|
@@ -2326,7 +2540,11 @@ class ListApplicationGroupsRequest extends $tea.Model {
|
|
|
2326
2540
|
deployRegionId: 'string',
|
|
2327
2541
|
maxResults: 'number',
|
|
2328
2542
|
nextToken: 'string',
|
|
2543
|
+
product: 'string',
|
|
2329
2544
|
regionId: 'string',
|
|
2545
|
+
resourceId: 'string',
|
|
2546
|
+
resourceProduct: 'string',
|
|
2547
|
+
resourceType: 'string',
|
|
2330
2548
|
};
|
|
2331
2549
|
}
|
|
2332
2550
|
}
|
|
@@ -2957,6 +3175,102 @@ class ListInventoryEntriesResponse extends $tea.Model {
|
|
|
2957
3175
|
}
|
|
2958
3176
|
}
|
|
2959
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;
|
|
2960
3274
|
class ListParameterVersionsRequest extends $tea.Model {
|
|
2961
3275
|
constructor(map) {
|
|
2962
3276
|
super(map);
|
|
@@ -3543,12 +3857,14 @@ class ListStateConfigurationsResponseBody extends $tea.Model {
|
|
|
3543
3857
|
}
|
|
3544
3858
|
static names() {
|
|
3545
3859
|
return {
|
|
3860
|
+
nextToken: 'NextToken',
|
|
3546
3861
|
requestId: 'RequestId',
|
|
3547
3862
|
stateConfigurations: 'StateConfigurations',
|
|
3548
3863
|
};
|
|
3549
3864
|
}
|
|
3550
3865
|
static types() {
|
|
3551
3866
|
return {
|
|
3867
|
+
nextToken: 'string',
|
|
3552
3868
|
requestId: 'string',
|
|
3553
3869
|
stateConfigurations: { 'type': 'array', 'itemType': ListStateConfigurationsResponseBodyStateConfigurations },
|
|
3554
3870
|
};
|
|
@@ -4357,6 +4673,7 @@ class StartExecutionRequest extends $tea.Model {
|
|
|
4357
4673
|
tags: 'Tags',
|
|
4358
4674
|
templateContent: 'TemplateContent',
|
|
4359
4675
|
templateName: 'TemplateName',
|
|
4676
|
+
templateURL: 'TemplateURL',
|
|
4360
4677
|
templateVersion: 'TemplateVersion',
|
|
4361
4678
|
};
|
|
4362
4679
|
}
|
|
@@ -4374,6 +4691,7 @@ class StartExecutionRequest extends $tea.Model {
|
|
|
4374
4691
|
tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
4375
4692
|
templateContent: 'string',
|
|
4376
4693
|
templateName: 'string',
|
|
4694
|
+
templateURL: 'string',
|
|
4377
4695
|
templateVersion: 'string',
|
|
4378
4696
|
};
|
|
4379
4697
|
}
|
|
@@ -4397,6 +4715,7 @@ class StartExecutionShrinkRequest extends $tea.Model {
|
|
|
4397
4715
|
tagsShrink: 'Tags',
|
|
4398
4716
|
templateContent: 'TemplateContent',
|
|
4399
4717
|
templateName: 'TemplateName',
|
|
4718
|
+
templateURL: 'TemplateURL',
|
|
4400
4719
|
templateVersion: 'TemplateVersion',
|
|
4401
4720
|
};
|
|
4402
4721
|
}
|
|
@@ -4414,6 +4733,7 @@ class StartExecutionShrinkRequest extends $tea.Model {
|
|
|
4414
4733
|
tagsShrink: 'string',
|
|
4415
4734
|
templateContent: 'string',
|
|
4416
4735
|
templateName: 'string',
|
|
4736
|
+
templateURL: 'string',
|
|
4417
4737
|
templateVersion: 'string',
|
|
4418
4738
|
};
|
|
4419
4739
|
}
|
|
@@ -4881,17 +5201,143 @@ class UpdateExecutionResponse extends $tea.Model {
|
|
|
4881
5201
|
}
|
|
4882
5202
|
}
|
|
4883
5203
|
exports.UpdateExecutionResponse = UpdateExecutionResponse;
|
|
4884
|
-
class
|
|
5204
|
+
class UpdateOpsItemRequest extends $tea.Model {
|
|
4885
5205
|
constructor(map) {
|
|
4886
5206
|
super(map);
|
|
4887
5207
|
}
|
|
4888
5208
|
static names() {
|
|
4889
5209
|
return {
|
|
5210
|
+
category: 'Category',
|
|
5211
|
+
clientToken: 'ClientToken',
|
|
5212
|
+
dedupString: 'DedupString',
|
|
4890
5213
|
description: 'Description',
|
|
4891
|
-
|
|
5214
|
+
opsItemId: 'OpsItemId',
|
|
5215
|
+
priority: 'Priority',
|
|
4892
5216
|
regionId: 'RegionId',
|
|
4893
5217
|
resourceGroupId: 'ResourceGroupId',
|
|
4894
|
-
|
|
5218
|
+
resources: 'Resources',
|
|
5219
|
+
severity: 'Severity',
|
|
5220
|
+
solutions: 'Solutions',
|
|
5221
|
+
source: 'Source',
|
|
5222
|
+
status: 'Status',
|
|
5223
|
+
tags: 'Tags',
|
|
5224
|
+
title: 'Title',
|
|
5225
|
+
};
|
|
5226
|
+
}
|
|
5227
|
+
static types() {
|
|
5228
|
+
return {
|
|
5229
|
+
category: 'string',
|
|
5230
|
+
clientToken: 'string',
|
|
5231
|
+
dedupString: 'string',
|
|
5232
|
+
description: 'string',
|
|
5233
|
+
opsItemId: 'string',
|
|
5234
|
+
priority: 'number',
|
|
5235
|
+
regionId: 'string',
|
|
5236
|
+
resourceGroupId: 'string',
|
|
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',
|
|
5244
|
+
};
|
|
5245
|
+
}
|
|
5246
|
+
}
|
|
5247
|
+
exports.UpdateOpsItemRequest = UpdateOpsItemRequest;
|
|
5248
|
+
class UpdateOpsItemShrinkRequest extends $tea.Model {
|
|
5249
|
+
constructor(map) {
|
|
5250
|
+
super(map);
|
|
5251
|
+
}
|
|
5252
|
+
static names() {
|
|
5253
|
+
return {
|
|
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',
|
|
5269
|
+
};
|
|
5270
|
+
}
|
|
5271
|
+
static types() {
|
|
5272
|
+
return {
|
|
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',
|
|
5288
|
+
};
|
|
5289
|
+
}
|
|
5290
|
+
}
|
|
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',
|
|
4895
5341
|
value: 'Value',
|
|
4896
5342
|
};
|
|
4897
5343
|
}
|
|
@@ -5305,12 +5751,14 @@ class ValidateTemplateContentRequest extends $tea.Model {
|
|
|
5305
5751
|
return {
|
|
5306
5752
|
content: 'Content',
|
|
5307
5753
|
regionId: 'RegionId',
|
|
5754
|
+
templateURL: 'TemplateURL',
|
|
5308
5755
|
};
|
|
5309
5756
|
}
|
|
5310
5757
|
static types() {
|
|
5311
5758
|
return {
|
|
5312
5759
|
content: 'string',
|
|
5313
5760
|
regionId: 'string',
|
|
5761
|
+
templateURL: 'string',
|
|
5314
5762
|
};
|
|
5315
5763
|
}
|
|
5316
5764
|
}
|
|
@@ -5415,6 +5863,54 @@ class CreateApplicationGroupResponseBodyApplicationGroup extends $tea.Model {
|
|
|
5415
5863
|
}
|
|
5416
5864
|
}
|
|
5417
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;
|
|
5418
5914
|
class CreateParameterResponseBodyParameter extends $tea.Model {
|
|
5419
5915
|
constructor(map) {
|
|
5420
5916
|
super(map);
|
|
@@ -5523,7 +6019,7 @@ class CreateSecretParameterResponseBodyParameter extends $tea.Model {
|
|
|
5523
6019
|
parameterVersion: 'number',
|
|
5524
6020
|
resourceGroupId: 'string',
|
|
5525
6021
|
shareType: 'string',
|
|
5526
|
-
tags: 'string',
|
|
6022
|
+
tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
5527
6023
|
type: 'string',
|
|
5528
6024
|
updatedBy: 'string',
|
|
5529
6025
|
updatedDate: 'string',
|
|
@@ -5675,6 +6171,7 @@ class GetApplicationGroupResponseBodyApplicationGroup extends $tea.Model {
|
|
|
5675
6171
|
importTagKey: 'ImportTagKey',
|
|
5676
6172
|
importTagValue: 'ImportTagValue',
|
|
5677
6173
|
name: 'Name',
|
|
6174
|
+
progress: 'Progress',
|
|
5678
6175
|
status: 'Status',
|
|
5679
6176
|
statusReason: 'StatusReason',
|
|
5680
6177
|
updateDate: 'UpdateDate',
|
|
@@ -5692,6 +6189,7 @@ class GetApplicationGroupResponseBodyApplicationGroup extends $tea.Model {
|
|
|
5692
6189
|
importTagKey: 'string',
|
|
5693
6190
|
importTagValue: 'string',
|
|
5694
6191
|
name: 'string',
|
|
6192
|
+
progress: 'string',
|
|
5695
6193
|
status: 'string',
|
|
5696
6194
|
statusReason: 'string',
|
|
5697
6195
|
updateDate: 'string',
|
|
@@ -5775,6 +6273,56 @@ class GetInventorySchemaResponseBodySchemas extends $tea.Model {
|
|
|
5775
6273
|
}
|
|
5776
6274
|
}
|
|
5777
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;
|
|
5778
6326
|
class GetParameterResponseBodyParameter extends $tea.Model {
|
|
5779
6327
|
constructor(map) {
|
|
5780
6328
|
super(map);
|
|
@@ -6451,6 +6999,82 @@ class ListInventoryEntriesRequestFilter extends $tea.Model {
|
|
|
6451
6999
|
}
|
|
6452
7000
|
}
|
|
6453
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;
|
|
6454
7078
|
class ListParameterVersionsResponseBodyParameterVersions extends $tea.Model {
|
|
6455
7079
|
constructor(map) {
|
|
6456
7080
|
super(map);
|
|
@@ -7057,6 +7681,54 @@ class UpdateApplicationGroupResponseBodyApplicationGroup extends $tea.Model {
|
|
|
7057
7681
|
}
|
|
7058
7682
|
}
|
|
7059
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;
|
|
7060
7732
|
class UpdateParameterResponseBodyParameter extends $tea.Model {
|
|
7061
7733
|
constructor(map) {
|
|
7062
7734
|
super(map);
|
|
@@ -7492,6 +8164,73 @@ class Client extends openapi_client_1.default {
|
|
|
7492
8164
|
let runtime = new $Util.RuntimeOptions({});
|
|
7493
8165
|
return await this.createApplicationGroupWithOptions(request, runtime);
|
|
7494
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
|
+
}
|
|
7495
8234
|
async createParameterWithOptions(tmpReq, runtime) {
|
|
7496
8235
|
tea_util_1.default.validateModel(tmpReq);
|
|
7497
8236
|
let request = new CreateParameterShrinkRequest({});
|
|
@@ -7588,8 +8327,13 @@ class Client extends openapi_client_1.default {
|
|
|
7588
8327
|
let runtime = new $Util.RuntimeOptions({});
|
|
7589
8328
|
return await this.createPatchBaselineWithOptions(request, runtime);
|
|
7590
8329
|
}
|
|
7591
|
-
async createSecretParameterWithOptions(
|
|
7592
|
-
tea_util_1.default.validateModel(
|
|
8330
|
+
async createSecretParameterWithOptions(tmpReq, runtime) {
|
|
8331
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
8332
|
+
let request = new CreateSecretParameterShrinkRequest({});
|
|
8333
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
8334
|
+
if (!tea_util_1.default.isUnset(tmpReq.tags)) {
|
|
8335
|
+
request.tagsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.tags, "Tags", "json");
|
|
8336
|
+
}
|
|
7593
8337
|
let query = {};
|
|
7594
8338
|
if (!tea_util_1.default.isUnset(request.clientToken)) {
|
|
7595
8339
|
query["ClientToken"] = request.clientToken;
|
|
@@ -7612,8 +8356,8 @@ class Client extends openapi_client_1.default {
|
|
|
7612
8356
|
if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
|
|
7613
8357
|
query["ResourceGroupId"] = request.resourceGroupId;
|
|
7614
8358
|
}
|
|
7615
|
-
if (!tea_util_1.default.isUnset(request.
|
|
7616
|
-
query["Tags"] = request.
|
|
8359
|
+
if (!tea_util_1.default.isUnset(request.tagsShrink)) {
|
|
8360
|
+
query["Tags"] = request.tagsShrink;
|
|
7617
8361
|
}
|
|
7618
8362
|
if (!tea_util_1.default.isUnset(request.type)) {
|
|
7619
8363
|
query["Type"] = request.type;
|
|
@@ -7754,6 +8498,9 @@ class Client extends openapi_client_1.default {
|
|
|
7754
8498
|
async deleteApplicationWithOptions(request, runtime) {
|
|
7755
8499
|
tea_util_1.default.validateModel(request);
|
|
7756
8500
|
let query = {};
|
|
8501
|
+
if (!tea_util_1.default.isUnset(request.force)) {
|
|
8502
|
+
query["Force"] = request.force;
|
|
8503
|
+
}
|
|
7757
8504
|
if (!tea_util_1.default.isUnset(request.name)) {
|
|
7758
8505
|
query["Name"] = request.name;
|
|
7759
8506
|
}
|
|
@@ -8248,6 +8995,35 @@ class Client extends openapi_client_1.default {
|
|
|
8248
8995
|
let runtime = new $Util.RuntimeOptions({});
|
|
8249
8996
|
return await this.getInventorySchemaWithOptions(request, runtime);
|
|
8250
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
|
+
}
|
|
8251
9027
|
async getParameterWithOptions(request, runtime) {
|
|
8252
9028
|
tea_util_1.default.validateModel(request);
|
|
8253
9029
|
let query = {};
|
|
@@ -8595,9 +9371,21 @@ class Client extends openapi_client_1.default {
|
|
|
8595
9371
|
if (!tea_util_1.default.isUnset(request.nextToken)) {
|
|
8596
9372
|
query["NextToken"] = request.nextToken;
|
|
8597
9373
|
}
|
|
9374
|
+
if (!tea_util_1.default.isUnset(request.product)) {
|
|
9375
|
+
query["Product"] = request.product;
|
|
9376
|
+
}
|
|
8598
9377
|
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
8599
9378
|
query["RegionId"] = request.regionId;
|
|
8600
9379
|
}
|
|
9380
|
+
if (!tea_util_1.default.isUnset(request.resourceId)) {
|
|
9381
|
+
query["ResourceId"] = request.resourceId;
|
|
9382
|
+
}
|
|
9383
|
+
if (!tea_util_1.default.isUnset(request.resourceProduct)) {
|
|
9384
|
+
query["ResourceProduct"] = request.resourceProduct;
|
|
9385
|
+
}
|
|
9386
|
+
if (!tea_util_1.default.isUnset(request.resourceType)) {
|
|
9387
|
+
query["ResourceType"] = request.resourceType;
|
|
9388
|
+
}
|
|
8601
9389
|
let req = new $OpenApi.OpenApiRequest({
|
|
8602
9390
|
query: openapi_util_1.default.query(query),
|
|
8603
9391
|
});
|
|
@@ -8942,6 +9730,55 @@ class Client extends openapi_client_1.default {
|
|
|
8942
9730
|
let runtime = new $Util.RuntimeOptions({});
|
|
8943
9731
|
return await this.listInventoryEntriesWithOptions(request, runtime);
|
|
8944
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
|
+
}
|
|
8945
9782
|
async listParameterVersionsWithOptions(request, runtime) {
|
|
8946
9783
|
tea_util_1.default.validateModel(request);
|
|
8947
9784
|
let query = {};
|
|
@@ -9780,6 +10617,9 @@ class Client extends openapi_client_1.default {
|
|
|
9780
10617
|
if (!tea_util_1.default.isUnset(request.templateName)) {
|
|
9781
10618
|
query["TemplateName"] = request.templateName;
|
|
9782
10619
|
}
|
|
10620
|
+
if (!tea_util_1.default.isUnset(request.templateURL)) {
|
|
10621
|
+
query["TemplateURL"] = request.templateURL;
|
|
10622
|
+
}
|
|
9783
10623
|
if (!tea_util_1.default.isUnset(request.templateVersion)) {
|
|
9784
10624
|
query["TemplateVersion"] = request.templateVersion;
|
|
9785
10625
|
}
|
|
@@ -10040,6 +10880,79 @@ class Client extends openapi_client_1.default {
|
|
|
10040
10880
|
let runtime = new $Util.RuntimeOptions({});
|
|
10041
10881
|
return await this.updateExecutionWithOptions(request, runtime);
|
|
10042
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
|
+
}
|
|
10043
10956
|
async updateParameterWithOptions(request, runtime) {
|
|
10044
10957
|
tea_util_1.default.validateModel(request);
|
|
10045
10958
|
let query = {};
|
|
@@ -10284,6 +11197,9 @@ class Client extends openapi_client_1.default {
|
|
|
10284
11197
|
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
10285
11198
|
query["RegionId"] = request.regionId;
|
|
10286
11199
|
}
|
|
11200
|
+
if (!tea_util_1.default.isUnset(request.templateURL)) {
|
|
11201
|
+
query["TemplateURL"] = request.templateURL;
|
|
11202
|
+
}
|
|
10287
11203
|
let req = new $OpenApi.OpenApiRequest({
|
|
10288
11204
|
query: openapi_util_1.default.query(query),
|
|
10289
11205
|
});
|