@alicloud/oos20190601 3.2.0 → 3.2.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 +56 -2
- package/dist/client.js +49 -6
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +92 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alicloud/oos20190601",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.1",
|
|
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
|
@@ -13352,6 +13352,8 @@ export class UpdateApplicationGroupRequest extends $tea.Model {
|
|
|
13352
13352
|
* UpdateMyApplicationGroup
|
|
13353
13353
|
*/
|
|
13354
13354
|
newName?: string;
|
|
13355
|
+
operationName?: string;
|
|
13356
|
+
parameters?: { [key: string]: any };
|
|
13355
13357
|
/**
|
|
13356
13358
|
* @remarks
|
|
13357
13359
|
* The region ID. Set the value to cn-hangzhou.
|
|
@@ -13365,6 +13367,8 @@ export class UpdateApplicationGroupRequest extends $tea.Model {
|
|
|
13365
13367
|
applicationName: 'ApplicationName',
|
|
13366
13368
|
name: 'Name',
|
|
13367
13369
|
newName: 'NewName',
|
|
13370
|
+
operationName: 'OperationName',
|
|
13371
|
+
parameters: 'Parameters',
|
|
13368
13372
|
regionId: 'RegionId',
|
|
13369
13373
|
};
|
|
13370
13374
|
}
|
|
@@ -13374,6 +13378,74 @@ export class UpdateApplicationGroupRequest extends $tea.Model {
|
|
|
13374
13378
|
applicationName: 'string',
|
|
13375
13379
|
name: 'string',
|
|
13376
13380
|
newName: 'string',
|
|
13381
|
+
operationName: 'string',
|
|
13382
|
+
parameters: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
13383
|
+
regionId: 'string',
|
|
13384
|
+
};
|
|
13385
|
+
}
|
|
13386
|
+
|
|
13387
|
+
constructor(map?: { [key: string]: any }) {
|
|
13388
|
+
super(map);
|
|
13389
|
+
}
|
|
13390
|
+
}
|
|
13391
|
+
|
|
13392
|
+
export class UpdateApplicationGroupShrinkRequest extends $tea.Model {
|
|
13393
|
+
/**
|
|
13394
|
+
* @remarks
|
|
13395
|
+
* The application name.
|
|
13396
|
+
*
|
|
13397
|
+
* This parameter is required.
|
|
13398
|
+
*
|
|
13399
|
+
* @example
|
|
13400
|
+
* MyApplication
|
|
13401
|
+
*/
|
|
13402
|
+
applicationName?: string;
|
|
13403
|
+
/**
|
|
13404
|
+
* @remarks
|
|
13405
|
+
* The name of the application group.
|
|
13406
|
+
*
|
|
13407
|
+
* This parameter is required.
|
|
13408
|
+
*
|
|
13409
|
+
* @example
|
|
13410
|
+
* MyApplicationGroup
|
|
13411
|
+
*/
|
|
13412
|
+
name?: string;
|
|
13413
|
+
/**
|
|
13414
|
+
* @remarks
|
|
13415
|
+
* The new name of the application group.
|
|
13416
|
+
*
|
|
13417
|
+
* @example
|
|
13418
|
+
* UpdateMyApplicationGroup
|
|
13419
|
+
*/
|
|
13420
|
+
newName?: string;
|
|
13421
|
+
operationName?: string;
|
|
13422
|
+
parametersShrink?: string;
|
|
13423
|
+
/**
|
|
13424
|
+
* @remarks
|
|
13425
|
+
* The region ID. Set the value to cn-hangzhou.
|
|
13426
|
+
*
|
|
13427
|
+
* @example
|
|
13428
|
+
* cn-hangzhou
|
|
13429
|
+
*/
|
|
13430
|
+
regionId?: string;
|
|
13431
|
+
static names(): { [key: string]: string } {
|
|
13432
|
+
return {
|
|
13433
|
+
applicationName: 'ApplicationName',
|
|
13434
|
+
name: 'Name',
|
|
13435
|
+
newName: 'NewName',
|
|
13436
|
+
operationName: 'OperationName',
|
|
13437
|
+
parametersShrink: 'Parameters',
|
|
13438
|
+
regionId: 'RegionId',
|
|
13439
|
+
};
|
|
13440
|
+
}
|
|
13441
|
+
|
|
13442
|
+
static types(): { [key: string]: any } {
|
|
13443
|
+
return {
|
|
13444
|
+
applicationName: 'string',
|
|
13445
|
+
name: 'string',
|
|
13446
|
+
newName: 'string',
|
|
13447
|
+
operationName: 'string',
|
|
13448
|
+
parametersShrink: 'string',
|
|
13377
13449
|
regionId: 'string',
|
|
13378
13450
|
};
|
|
13379
13451
|
}
|
|
@@ -17163,6 +17235,7 @@ export class GetApplicationGroupResponseBodyApplicationGroup extends $tea.Model
|
|
|
17163
17235
|
* MyApplicationGroup
|
|
17164
17236
|
*/
|
|
17165
17237
|
name?: string;
|
|
17238
|
+
operationMetadata?: string;
|
|
17166
17239
|
/**
|
|
17167
17240
|
* @remarks
|
|
17168
17241
|
* The creation progress of the application instance.
|
|
@@ -17207,6 +17280,7 @@ export class GetApplicationGroupResponseBodyApplicationGroup extends $tea.Model
|
|
|
17207
17280
|
importTagKey: 'ImportTagKey',
|
|
17208
17281
|
importTagValue: 'ImportTagValue',
|
|
17209
17282
|
name: 'Name',
|
|
17283
|
+
operationMetadata: 'OperationMetadata',
|
|
17210
17284
|
progress: 'Progress',
|
|
17211
17285
|
status: 'Status',
|
|
17212
17286
|
statusReason: 'StatusReason',
|
|
@@ -17226,6 +17300,7 @@ export class GetApplicationGroupResponseBodyApplicationGroup extends $tea.Model
|
|
|
17226
17300
|
importTagKey: 'string',
|
|
17227
17301
|
importTagValue: 'string',
|
|
17228
17302
|
name: 'string',
|
|
17303
|
+
operationMetadata: 'string',
|
|
17229
17304
|
progress: 'string',
|
|
17230
17305
|
status: 'string',
|
|
17231
17306
|
statusReason: 'string',
|
|
@@ -28444,12 +28519,18 @@ export default class Client extends OpenApi {
|
|
|
28444
28519
|
/**
|
|
28445
28520
|
* 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
28521
|
*
|
|
28447
|
-
* @param
|
|
28522
|
+
* @param tmpReq - UpdateApplicationGroupRequest
|
|
28448
28523
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
28449
28524
|
* @returns UpdateApplicationGroupResponse
|
|
28450
28525
|
*/
|
|
28451
|
-
async updateApplicationGroupWithOptions(
|
|
28452
|
-
Util.validateModel(
|
|
28526
|
+
async updateApplicationGroupWithOptions(tmpReq: UpdateApplicationGroupRequest, runtime: $Util.RuntimeOptions): Promise<UpdateApplicationGroupResponse> {
|
|
28527
|
+
Util.validateModel(tmpReq);
|
|
28528
|
+
let request = new UpdateApplicationGroupShrinkRequest({ });
|
|
28529
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
28530
|
+
if (!Util.isUnset(tmpReq.parameters)) {
|
|
28531
|
+
request.parametersShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.parameters, "Parameters", "json");
|
|
28532
|
+
}
|
|
28533
|
+
|
|
28453
28534
|
let query = { };
|
|
28454
28535
|
if (!Util.isUnset(request.applicationName)) {
|
|
28455
28536
|
query["ApplicationName"] = request.applicationName;
|
|
@@ -28463,6 +28544,14 @@ export default class Client extends OpenApi {
|
|
|
28463
28544
|
query["NewName"] = request.newName;
|
|
28464
28545
|
}
|
|
28465
28546
|
|
|
28547
|
+
if (!Util.isUnset(request.operationName)) {
|
|
28548
|
+
query["OperationName"] = request.operationName;
|
|
28549
|
+
}
|
|
28550
|
+
|
|
28551
|
+
if (!Util.isUnset(request.parametersShrink)) {
|
|
28552
|
+
query["Parameters"] = request.parametersShrink;
|
|
28553
|
+
}
|
|
28554
|
+
|
|
28466
28555
|
if (!Util.isUnset(request.regionId)) {
|
|
28467
28556
|
query["RegionId"] = request.regionId;
|
|
28468
28557
|
}
|