@alicloud/oos20190601 1.0.9 → 2.0.1
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 +8 -3
- package/dist/client.js +27 -8
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +38 -11
package/package.json
CHANGED
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
|
}
|
|
@@ -4518,7 +4524,7 @@ export class ListPatchBaselinesRequest extends $tea.Model {
|
|
|
4518
4524
|
nextToken?: string;
|
|
4519
4525
|
operationSystem?: string;
|
|
4520
4526
|
regionId?: string;
|
|
4521
|
-
|
|
4527
|
+
resourceGroupId?: string;
|
|
4522
4528
|
shareType?: string;
|
|
4523
4529
|
sources?: string[];
|
|
4524
4530
|
tags?: ListPatchBaselinesRequestTags[];
|
|
@@ -4531,7 +4537,7 @@ export class ListPatchBaselinesRequest extends $tea.Model {
|
|
|
4531
4537
|
nextToken: 'NextToken',
|
|
4532
4538
|
operationSystem: 'OperationSystem',
|
|
4533
4539
|
regionId: 'RegionId',
|
|
4534
|
-
|
|
4540
|
+
resourceGroupId: 'ResourceGroupId',
|
|
4535
4541
|
shareType: 'ShareType',
|
|
4536
4542
|
sources: 'Sources',
|
|
4537
4543
|
tags: 'Tags',
|
|
@@ -4547,7 +4553,7 @@ export class ListPatchBaselinesRequest extends $tea.Model {
|
|
|
4547
4553
|
nextToken: 'string',
|
|
4548
4554
|
operationSystem: 'string',
|
|
4549
4555
|
regionId: 'string',
|
|
4550
|
-
|
|
4556
|
+
resourceGroupId: 'string',
|
|
4551
4557
|
shareType: 'string',
|
|
4552
4558
|
sources: { 'type': 'array', 'itemType': 'string' },
|
|
4553
4559
|
tags: { 'type': 'array', 'itemType': ListPatchBaselinesRequestTags },
|
|
@@ -4567,7 +4573,7 @@ export class ListPatchBaselinesShrinkRequest extends $tea.Model {
|
|
|
4567
4573
|
nextToken?: string;
|
|
4568
4574
|
operationSystem?: string;
|
|
4569
4575
|
regionId?: string;
|
|
4570
|
-
|
|
4576
|
+
resourceGroupId?: string;
|
|
4571
4577
|
shareType?: string;
|
|
4572
4578
|
sourcesShrink?: string;
|
|
4573
4579
|
tagsShrink?: string;
|
|
@@ -4580,7 +4586,7 @@ export class ListPatchBaselinesShrinkRequest extends $tea.Model {
|
|
|
4580
4586
|
nextToken: 'NextToken',
|
|
4581
4587
|
operationSystem: 'OperationSystem',
|
|
4582
4588
|
regionId: 'RegionId',
|
|
4583
|
-
|
|
4589
|
+
resourceGroupId: 'ResourceGroupId',
|
|
4584
4590
|
shareType: 'ShareType',
|
|
4585
4591
|
sourcesShrink: 'Sources',
|
|
4586
4592
|
tagsShrink: 'Tags',
|
|
@@ -4596,7 +4602,7 @@ export class ListPatchBaselinesShrinkRequest extends $tea.Model {
|
|
|
4596
4602
|
nextToken: 'string',
|
|
4597
4603
|
operationSystem: 'string',
|
|
4598
4604
|
regionId: 'string',
|
|
4599
|
-
|
|
4605
|
+
resourceGroupId: 'string',
|
|
4600
4606
|
shareType: 'string',
|
|
4601
4607
|
sourcesShrink: 'string',
|
|
4602
4608
|
tagsShrink: 'string',
|
|
@@ -6751,6 +6757,8 @@ export class UpdateExecutionRequest extends $tea.Model {
|
|
|
6751
6757
|
executionId?: string;
|
|
6752
6758
|
parameters?: string;
|
|
6753
6759
|
regionId?: string;
|
|
6760
|
+
resourceGroupId?: string;
|
|
6761
|
+
tags?: string;
|
|
6754
6762
|
static names(): { [key: string]: string } {
|
|
6755
6763
|
return {
|
|
6756
6764
|
clientToken: 'ClientToken',
|
|
@@ -6758,6 +6766,8 @@ export class UpdateExecutionRequest extends $tea.Model {
|
|
|
6758
6766
|
executionId: 'ExecutionId',
|
|
6759
6767
|
parameters: 'Parameters',
|
|
6760
6768
|
regionId: 'RegionId',
|
|
6769
|
+
resourceGroupId: 'ResourceGroupId',
|
|
6770
|
+
tags: 'Tags',
|
|
6761
6771
|
};
|
|
6762
6772
|
}
|
|
6763
6773
|
|
|
@@ -6768,6 +6778,8 @@ export class UpdateExecutionRequest extends $tea.Model {
|
|
|
6768
6778
|
executionId: 'string',
|
|
6769
6779
|
parameters: 'string',
|
|
6770
6780
|
regionId: 'string',
|
|
6781
|
+
resourceGroupId: 'string',
|
|
6782
|
+
tags: 'string',
|
|
6771
6783
|
};
|
|
6772
6784
|
}
|
|
6773
6785
|
|
|
@@ -8237,6 +8249,7 @@ export class GetApplicationResponseBodyApplication extends $tea.Model {
|
|
|
8237
8249
|
description?: string;
|
|
8238
8250
|
name?: string;
|
|
8239
8251
|
resourceGroupId?: string;
|
|
8252
|
+
serviceId?: string;
|
|
8240
8253
|
tags?: { [key: string]: any };
|
|
8241
8254
|
updateDate?: string;
|
|
8242
8255
|
static names(): { [key: string]: string } {
|
|
@@ -8247,6 +8260,7 @@ export class GetApplicationResponseBodyApplication extends $tea.Model {
|
|
|
8247
8260
|
description: 'Description',
|
|
8248
8261
|
name: 'Name',
|
|
8249
8262
|
resourceGroupId: 'ResourceGroupId',
|
|
8263
|
+
serviceId: 'ServiceId',
|
|
8250
8264
|
tags: 'Tags',
|
|
8251
8265
|
updateDate: 'UpdateDate',
|
|
8252
8266
|
};
|
|
@@ -8260,6 +8274,7 @@ export class GetApplicationResponseBodyApplication extends $tea.Model {
|
|
|
8260
8274
|
description: 'string',
|
|
8261
8275
|
name: 'string',
|
|
8262
8276
|
resourceGroupId: 'string',
|
|
8277
|
+
serviceId: 'string',
|
|
8263
8278
|
tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
8264
8279
|
updateDate: 'string',
|
|
8265
8280
|
};
|
|
@@ -9704,7 +9719,7 @@ export class ListPatchBaselinesResponseBodyPatchBaselines extends $tea.Model {
|
|
|
9704
9719
|
isDefault?: boolean;
|
|
9705
9720
|
name?: string;
|
|
9706
9721
|
operationSystem?: string;
|
|
9707
|
-
|
|
9722
|
+
resourceGroupId?: string;
|
|
9708
9723
|
shareType?: string;
|
|
9709
9724
|
sources?: string[];
|
|
9710
9725
|
tags?: ListPatchBaselinesResponseBodyPatchBaselinesTags[];
|
|
@@ -9721,7 +9736,7 @@ export class ListPatchBaselinesResponseBodyPatchBaselines extends $tea.Model {
|
|
|
9721
9736
|
isDefault: 'IsDefault',
|
|
9722
9737
|
name: 'Name',
|
|
9723
9738
|
operationSystem: 'OperationSystem',
|
|
9724
|
-
|
|
9739
|
+
resourceGroupId: 'ResourceGroupId',
|
|
9725
9740
|
shareType: 'ShareType',
|
|
9726
9741
|
sources: 'Sources',
|
|
9727
9742
|
tags: 'Tags',
|
|
@@ -9741,7 +9756,7 @@ export class ListPatchBaselinesResponseBodyPatchBaselines extends $tea.Model {
|
|
|
9741
9756
|
isDefault: 'boolean',
|
|
9742
9757
|
name: 'string',
|
|
9743
9758
|
operationSystem: 'string',
|
|
9744
|
-
|
|
9759
|
+
resourceGroupId: 'string',
|
|
9745
9760
|
shareType: 'string',
|
|
9746
9761
|
sources: { 'type': 'array', 'itemType': 'string' },
|
|
9747
9762
|
tags: { 'type': 'array', 'itemType': ListPatchBaselinesResponseBodyPatchBaselinesTags },
|
|
@@ -11084,6 +11099,10 @@ export default class Client extends OpenApi {
|
|
|
11084
11099
|
query["ResourceGroupId"] = request.resourceGroupId;
|
|
11085
11100
|
}
|
|
11086
11101
|
|
|
11102
|
+
if (!Util.isUnset(request.serviceId)) {
|
|
11103
|
+
query["ServiceId"] = request.serviceId;
|
|
11104
|
+
}
|
|
11105
|
+
|
|
11087
11106
|
if (!Util.isUnset(request.tagsShrink)) {
|
|
11088
11107
|
query["Tags"] = request.tagsShrink;
|
|
11089
11108
|
}
|
|
@@ -13325,8 +13344,8 @@ export default class Client extends OpenApi {
|
|
|
13325
13344
|
query["RegionId"] = request.regionId;
|
|
13326
13345
|
}
|
|
13327
13346
|
|
|
13328
|
-
if (!Util.isUnset(request.
|
|
13329
|
-
query["
|
|
13347
|
+
if (!Util.isUnset(request.resourceGroupId)) {
|
|
13348
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
13330
13349
|
}
|
|
13331
13350
|
|
|
13332
13351
|
if (!Util.isUnset(request.shareType)) {
|
|
@@ -14546,6 +14565,14 @@ export default class Client extends OpenApi {
|
|
|
14546
14565
|
query["RegionId"] = request.regionId;
|
|
14547
14566
|
}
|
|
14548
14567
|
|
|
14568
|
+
if (!Util.isUnset(request.resourceGroupId)) {
|
|
14569
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
14570
|
+
}
|
|
14571
|
+
|
|
14572
|
+
if (!Util.isUnset(request.tags)) {
|
|
14573
|
+
query["Tags"] = request.tags;
|
|
14574
|
+
}
|
|
14575
|
+
|
|
14549
14576
|
let req = new $OpenApi.OpenApiRequest({
|
|
14550
14577
|
query: OpenApiUtil.query(query),
|
|
14551
14578
|
});
|