@alicloud/oos20190601 3.2.0 → 3.2.2
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 +57 -2
- package/dist/client.js +54 -6
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +99 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alicloud/oos20190601",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/client.js",
|
|
6
6
|
"scripts": {
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@alicloud/tea-typescript": "^1.7.1",
|
|
23
|
-
"@alicloud/tea-util": "^1.4.
|
|
24
|
-
"@alicloud/openapi-client": "^0.4.
|
|
23
|
+
"@alicloud/tea-util": "^1.4.9",
|
|
24
|
+
"@alicloud/openapi-client": "^0.4.11",
|
|
25
25
|
"@alicloud/openapi-util": "^0.3.2",
|
|
26
26
|
"@alicloud/endpoint-util": "^0.0.1"
|
|
27
27
|
},
|
package/src/client.ts
CHANGED
|
@@ -3080,6 +3080,7 @@ export class DeleteExecutionsRequest extends $tea.Model {
|
|
|
3080
3080
|
* ["exec-xxx"]
|
|
3081
3081
|
*/
|
|
3082
3082
|
executionIds?: string;
|
|
3083
|
+
force?: boolean;
|
|
3083
3084
|
/**
|
|
3084
3085
|
* @remarks
|
|
3085
3086
|
* The region ID.
|
|
@@ -3091,6 +3092,7 @@ export class DeleteExecutionsRequest extends $tea.Model {
|
|
|
3091
3092
|
static names(): { [key: string]: string } {
|
|
3092
3093
|
return {
|
|
3093
3094
|
executionIds: 'ExecutionIds',
|
|
3095
|
+
force: 'Force',
|
|
3094
3096
|
regionId: 'RegionId',
|
|
3095
3097
|
};
|
|
3096
3098
|
}
|
|
@@ -3098,6 +3100,7 @@ export class DeleteExecutionsRequest extends $tea.Model {
|
|
|
3098
3100
|
static types(): { [key: string]: any } {
|
|
3099
3101
|
return {
|
|
3100
3102
|
executionIds: 'string',
|
|
3103
|
+
force: 'boolean',
|
|
3101
3104
|
regionId: 'string',
|
|
3102
3105
|
};
|
|
3103
3106
|
}
|
|
@@ -13352,6 +13355,74 @@ export class UpdateApplicationGroupRequest extends $tea.Model {
|
|
|
13352
13355
|
* UpdateMyApplicationGroup
|
|
13353
13356
|
*/
|
|
13354
13357
|
newName?: string;
|
|
13358
|
+
operationName?: string;
|
|
13359
|
+
parameters?: { [key: string]: any };
|
|
13360
|
+
/**
|
|
13361
|
+
* @remarks
|
|
13362
|
+
* The region ID. Set the value to cn-hangzhou.
|
|
13363
|
+
*
|
|
13364
|
+
* @example
|
|
13365
|
+
* cn-hangzhou
|
|
13366
|
+
*/
|
|
13367
|
+
regionId?: string;
|
|
13368
|
+
static names(): { [key: string]: string } {
|
|
13369
|
+
return {
|
|
13370
|
+
applicationName: 'ApplicationName',
|
|
13371
|
+
name: 'Name',
|
|
13372
|
+
newName: 'NewName',
|
|
13373
|
+
operationName: 'OperationName',
|
|
13374
|
+
parameters: 'Parameters',
|
|
13375
|
+
regionId: 'RegionId',
|
|
13376
|
+
};
|
|
13377
|
+
}
|
|
13378
|
+
|
|
13379
|
+
static types(): { [key: string]: any } {
|
|
13380
|
+
return {
|
|
13381
|
+
applicationName: 'string',
|
|
13382
|
+
name: 'string',
|
|
13383
|
+
newName: 'string',
|
|
13384
|
+
operationName: 'string',
|
|
13385
|
+
parameters: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
13386
|
+
regionId: 'string',
|
|
13387
|
+
};
|
|
13388
|
+
}
|
|
13389
|
+
|
|
13390
|
+
constructor(map?: { [key: string]: any }) {
|
|
13391
|
+
super(map);
|
|
13392
|
+
}
|
|
13393
|
+
}
|
|
13394
|
+
|
|
13395
|
+
export class UpdateApplicationGroupShrinkRequest extends $tea.Model {
|
|
13396
|
+
/**
|
|
13397
|
+
* @remarks
|
|
13398
|
+
* The application name.
|
|
13399
|
+
*
|
|
13400
|
+
* This parameter is required.
|
|
13401
|
+
*
|
|
13402
|
+
* @example
|
|
13403
|
+
* MyApplication
|
|
13404
|
+
*/
|
|
13405
|
+
applicationName?: string;
|
|
13406
|
+
/**
|
|
13407
|
+
* @remarks
|
|
13408
|
+
* The name of the application group.
|
|
13409
|
+
*
|
|
13410
|
+
* This parameter is required.
|
|
13411
|
+
*
|
|
13412
|
+
* @example
|
|
13413
|
+
* MyApplicationGroup
|
|
13414
|
+
*/
|
|
13415
|
+
name?: string;
|
|
13416
|
+
/**
|
|
13417
|
+
* @remarks
|
|
13418
|
+
* The new name of the application group.
|
|
13419
|
+
*
|
|
13420
|
+
* @example
|
|
13421
|
+
* UpdateMyApplicationGroup
|
|
13422
|
+
*/
|
|
13423
|
+
newName?: string;
|
|
13424
|
+
operationName?: string;
|
|
13425
|
+
parametersShrink?: string;
|
|
13355
13426
|
/**
|
|
13356
13427
|
* @remarks
|
|
13357
13428
|
* The region ID. Set the value to cn-hangzhou.
|
|
@@ -13365,6 +13436,8 @@ export class UpdateApplicationGroupRequest extends $tea.Model {
|
|
|
13365
13436
|
applicationName: 'ApplicationName',
|
|
13366
13437
|
name: 'Name',
|
|
13367
13438
|
newName: 'NewName',
|
|
13439
|
+
operationName: 'OperationName',
|
|
13440
|
+
parametersShrink: 'Parameters',
|
|
13368
13441
|
regionId: 'RegionId',
|
|
13369
13442
|
};
|
|
13370
13443
|
}
|
|
@@ -13374,6 +13447,8 @@ export class UpdateApplicationGroupRequest extends $tea.Model {
|
|
|
13374
13447
|
applicationName: 'string',
|
|
13375
13448
|
name: 'string',
|
|
13376
13449
|
newName: 'string',
|
|
13450
|
+
operationName: 'string',
|
|
13451
|
+
parametersShrink: 'string',
|
|
13377
13452
|
regionId: 'string',
|
|
13378
13453
|
};
|
|
13379
13454
|
}
|
|
@@ -17163,6 +17238,7 @@ export class GetApplicationGroupResponseBodyApplicationGroup extends $tea.Model
|
|
|
17163
17238
|
* MyApplicationGroup
|
|
17164
17239
|
*/
|
|
17165
17240
|
name?: string;
|
|
17241
|
+
operationMetadata?: string;
|
|
17166
17242
|
/**
|
|
17167
17243
|
* @remarks
|
|
17168
17244
|
* The creation progress of the application instance.
|
|
@@ -17207,6 +17283,7 @@ export class GetApplicationGroupResponseBodyApplicationGroup extends $tea.Model
|
|
|
17207
17283
|
importTagKey: 'ImportTagKey',
|
|
17208
17284
|
importTagValue: 'ImportTagValue',
|
|
17209
17285
|
name: 'Name',
|
|
17286
|
+
operationMetadata: 'OperationMetadata',
|
|
17210
17287
|
progress: 'Progress',
|
|
17211
17288
|
status: 'Status',
|
|
17212
17289
|
statusReason: 'StatusReason',
|
|
@@ -17226,6 +17303,7 @@ export class GetApplicationGroupResponseBodyApplicationGroup extends $tea.Model
|
|
|
17226
17303
|
importTagKey: 'string',
|
|
17227
17304
|
importTagValue: 'string',
|
|
17228
17305
|
name: 'string',
|
|
17306
|
+
operationMetadata: 'string',
|
|
17229
17307
|
progress: 'string',
|
|
17230
17308
|
status: 'string',
|
|
17231
17309
|
statusReason: 'string',
|
|
@@ -24759,6 +24837,10 @@ export default class Client extends OpenApi {
|
|
|
24759
24837
|
query["ExecutionIds"] = request.executionIds;
|
|
24760
24838
|
}
|
|
24761
24839
|
|
|
24840
|
+
if (!Util.isUnset(request.force)) {
|
|
24841
|
+
query["Force"] = request.force;
|
|
24842
|
+
}
|
|
24843
|
+
|
|
24762
24844
|
if (!Util.isUnset(request.regionId)) {
|
|
24763
24845
|
query["RegionId"] = request.regionId;
|
|
24764
24846
|
}
|
|
@@ -28444,12 +28526,18 @@ export default class Client extends OpenApi {
|
|
|
28444
28526
|
/**
|
|
28445
28527
|
* Updates the information of an application group. You can call this operation only for the application groups that reside in the China (Hangzhou) region. Use an endpoint of the China (Hangzhou) region.
|
|
28446
28528
|
*
|
|
28447
|
-
* @param
|
|
28529
|
+
* @param tmpReq - UpdateApplicationGroupRequest
|
|
28448
28530
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
28449
28531
|
* @returns UpdateApplicationGroupResponse
|
|
28450
28532
|
*/
|
|
28451
|
-
async updateApplicationGroupWithOptions(
|
|
28452
|
-
Util.validateModel(
|
|
28533
|
+
async updateApplicationGroupWithOptions(tmpReq: UpdateApplicationGroupRequest, runtime: $Util.RuntimeOptions): Promise<UpdateApplicationGroupResponse> {
|
|
28534
|
+
Util.validateModel(tmpReq);
|
|
28535
|
+
let request = new UpdateApplicationGroupShrinkRequest({ });
|
|
28536
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
28537
|
+
if (!Util.isUnset(tmpReq.parameters)) {
|
|
28538
|
+
request.parametersShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.parameters, "Parameters", "json");
|
|
28539
|
+
}
|
|
28540
|
+
|
|
28453
28541
|
let query = { };
|
|
28454
28542
|
if (!Util.isUnset(request.applicationName)) {
|
|
28455
28543
|
query["ApplicationName"] = request.applicationName;
|
|
@@ -28463,6 +28551,14 @@ export default class Client extends OpenApi {
|
|
|
28463
28551
|
query["NewName"] = request.newName;
|
|
28464
28552
|
}
|
|
28465
28553
|
|
|
28554
|
+
if (!Util.isUnset(request.operationName)) {
|
|
28555
|
+
query["OperationName"] = request.operationName;
|
|
28556
|
+
}
|
|
28557
|
+
|
|
28558
|
+
if (!Util.isUnset(request.parametersShrink)) {
|
|
28559
|
+
query["Parameters"] = request.parametersShrink;
|
|
28560
|
+
}
|
|
28561
|
+
|
|
28466
28562
|
if (!Util.isUnset(request.regionId)) {
|
|
28467
28563
|
query["RegionId"] = request.regionId;
|
|
28468
28564
|
}
|