@alicloud/adb20211201 3.3.0 → 3.5.0
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 +227 -0
- package/dist/client.js +281 -8
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +423 -0
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -14375,6 +14375,143 @@ export class ExistRunningSQLEngineResponse extends $tea.Model {
|
|
|
14375
14375
|
}
|
|
14376
14376
|
}
|
|
14377
14377
|
|
|
14378
|
+
export class GetCreateTableSQLRequest extends $tea.Model {
|
|
14379
|
+
/**
|
|
14380
|
+
* @remarks
|
|
14381
|
+
* The ID of the AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
|
|
14382
|
+
*
|
|
14383
|
+
* This parameter is required.
|
|
14384
|
+
*
|
|
14385
|
+
* @example
|
|
14386
|
+
* amv-2ze8mbuai974s4y2
|
|
14387
|
+
*/
|
|
14388
|
+
DBClusterId?: string;
|
|
14389
|
+
ownerAccount?: string;
|
|
14390
|
+
ownerId?: number;
|
|
14391
|
+
/**
|
|
14392
|
+
* @remarks
|
|
14393
|
+
* The region ID of the cluster.
|
|
14394
|
+
*
|
|
14395
|
+
* > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/143074.html) operation to query the most recent region list.
|
|
14396
|
+
*
|
|
14397
|
+
* This parameter is required.
|
|
14398
|
+
*
|
|
14399
|
+
* @example
|
|
14400
|
+
* cn-hangzhou
|
|
14401
|
+
*/
|
|
14402
|
+
regionId?: string;
|
|
14403
|
+
resourceOwnerAccount?: string;
|
|
14404
|
+
resourceOwnerId?: number;
|
|
14405
|
+
/**
|
|
14406
|
+
* @remarks
|
|
14407
|
+
* The name of the database.
|
|
14408
|
+
*
|
|
14409
|
+
* @example
|
|
14410
|
+
* adb_demo
|
|
14411
|
+
*/
|
|
14412
|
+
schemaName?: string;
|
|
14413
|
+
/**
|
|
14414
|
+
* @remarks
|
|
14415
|
+
* The name of the table.
|
|
14416
|
+
*
|
|
14417
|
+
* @example
|
|
14418
|
+
* test
|
|
14419
|
+
*/
|
|
14420
|
+
tableName?: string;
|
|
14421
|
+
static names(): { [key: string]: string } {
|
|
14422
|
+
return {
|
|
14423
|
+
DBClusterId: 'DBClusterId',
|
|
14424
|
+
ownerAccount: 'OwnerAccount',
|
|
14425
|
+
ownerId: 'OwnerId',
|
|
14426
|
+
regionId: 'RegionId',
|
|
14427
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
14428
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
14429
|
+
schemaName: 'SchemaName',
|
|
14430
|
+
tableName: 'TableName',
|
|
14431
|
+
};
|
|
14432
|
+
}
|
|
14433
|
+
|
|
14434
|
+
static types(): { [key: string]: any } {
|
|
14435
|
+
return {
|
|
14436
|
+
DBClusterId: 'string',
|
|
14437
|
+
ownerAccount: 'string',
|
|
14438
|
+
ownerId: 'number',
|
|
14439
|
+
regionId: 'string',
|
|
14440
|
+
resourceOwnerAccount: 'string',
|
|
14441
|
+
resourceOwnerId: 'number',
|
|
14442
|
+
schemaName: 'string',
|
|
14443
|
+
tableName: 'string',
|
|
14444
|
+
};
|
|
14445
|
+
}
|
|
14446
|
+
|
|
14447
|
+
constructor(map?: { [key: string]: any }) {
|
|
14448
|
+
super(map);
|
|
14449
|
+
}
|
|
14450
|
+
}
|
|
14451
|
+
|
|
14452
|
+
export class GetCreateTableSQLResponseBody extends $tea.Model {
|
|
14453
|
+
/**
|
|
14454
|
+
* @remarks
|
|
14455
|
+
* The request ID.
|
|
14456
|
+
*
|
|
14457
|
+
* @example
|
|
14458
|
+
* 109462AF-B5FA-3D5A-9377-B27E5B******
|
|
14459
|
+
*/
|
|
14460
|
+
requestId?: string;
|
|
14461
|
+
/**
|
|
14462
|
+
* @remarks
|
|
14463
|
+
* The SQL statement.
|
|
14464
|
+
*
|
|
14465
|
+
* @example
|
|
14466
|
+
* create table (
|
|
14467
|
+
* id varchar(32)
|
|
14468
|
+
* );
|
|
14469
|
+
*/
|
|
14470
|
+
SQL?: string;
|
|
14471
|
+
static names(): { [key: string]: string } {
|
|
14472
|
+
return {
|
|
14473
|
+
requestId: 'RequestId',
|
|
14474
|
+
SQL: 'SQL',
|
|
14475
|
+
};
|
|
14476
|
+
}
|
|
14477
|
+
|
|
14478
|
+
static types(): { [key: string]: any } {
|
|
14479
|
+
return {
|
|
14480
|
+
requestId: 'string',
|
|
14481
|
+
SQL: 'string',
|
|
14482
|
+
};
|
|
14483
|
+
}
|
|
14484
|
+
|
|
14485
|
+
constructor(map?: { [key: string]: any }) {
|
|
14486
|
+
super(map);
|
|
14487
|
+
}
|
|
14488
|
+
}
|
|
14489
|
+
|
|
14490
|
+
export class GetCreateTableSQLResponse extends $tea.Model {
|
|
14491
|
+
headers?: { [key: string]: string };
|
|
14492
|
+
statusCode?: number;
|
|
14493
|
+
body?: GetCreateTableSQLResponseBody;
|
|
14494
|
+
static names(): { [key: string]: string } {
|
|
14495
|
+
return {
|
|
14496
|
+
headers: 'headers',
|
|
14497
|
+
statusCode: 'statusCode',
|
|
14498
|
+
body: 'body',
|
|
14499
|
+
};
|
|
14500
|
+
}
|
|
14501
|
+
|
|
14502
|
+
static types(): { [key: string]: any } {
|
|
14503
|
+
return {
|
|
14504
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
14505
|
+
statusCode: 'number',
|
|
14506
|
+
body: GetCreateTableSQLResponseBody,
|
|
14507
|
+
};
|
|
14508
|
+
}
|
|
14509
|
+
|
|
14510
|
+
constructor(map?: { [key: string]: any }) {
|
|
14511
|
+
super(map);
|
|
14512
|
+
}
|
|
14513
|
+
}
|
|
14514
|
+
|
|
14378
14515
|
export class GetDatabaseObjectsRequest extends $tea.Model {
|
|
14379
14516
|
/**
|
|
14380
14517
|
* @remarks
|
|
@@ -20648,6 +20785,137 @@ export class ModifyPerformanceViewResponse extends $tea.Model {
|
|
|
20648
20785
|
}
|
|
20649
20786
|
}
|
|
20650
20787
|
|
|
20788
|
+
export class ModifyUserEniVswitchOptionsRequest extends $tea.Model {
|
|
20789
|
+
/**
|
|
20790
|
+
* @remarks
|
|
20791
|
+
* This parameter is required.
|
|
20792
|
+
*
|
|
20793
|
+
* @example
|
|
20794
|
+
* amv-bp11q28kvl688****
|
|
20795
|
+
*/
|
|
20796
|
+
dbClusterId?: string;
|
|
20797
|
+
ownerAccount?: string;
|
|
20798
|
+
ownerId?: number;
|
|
20799
|
+
/**
|
|
20800
|
+
* @example
|
|
20801
|
+
* cn-hangzhou
|
|
20802
|
+
*/
|
|
20803
|
+
regionId?: string;
|
|
20804
|
+
resourceOwnerAccount?: string;
|
|
20805
|
+
resourceOwnerId?: number;
|
|
20806
|
+
/**
|
|
20807
|
+
* @remarks
|
|
20808
|
+
* This parameter is required.
|
|
20809
|
+
*
|
|
20810
|
+
* @example
|
|
20811
|
+
* vsw-rj9ixufmywqq98z******,vsw-rj95ij6wcz656v7******
|
|
20812
|
+
*/
|
|
20813
|
+
vSwitchOptions?: string;
|
|
20814
|
+
static names(): { [key: string]: string } {
|
|
20815
|
+
return {
|
|
20816
|
+
dbClusterId: 'DbClusterId',
|
|
20817
|
+
ownerAccount: 'OwnerAccount',
|
|
20818
|
+
ownerId: 'OwnerId',
|
|
20819
|
+
regionId: 'RegionId',
|
|
20820
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
20821
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
20822
|
+
vSwitchOptions: 'VSwitchOptions',
|
|
20823
|
+
};
|
|
20824
|
+
}
|
|
20825
|
+
|
|
20826
|
+
static types(): { [key: string]: any } {
|
|
20827
|
+
return {
|
|
20828
|
+
dbClusterId: 'string',
|
|
20829
|
+
ownerAccount: 'string',
|
|
20830
|
+
ownerId: 'number',
|
|
20831
|
+
regionId: 'string',
|
|
20832
|
+
resourceOwnerAccount: 'string',
|
|
20833
|
+
resourceOwnerId: 'number',
|
|
20834
|
+
vSwitchOptions: 'string',
|
|
20835
|
+
};
|
|
20836
|
+
}
|
|
20837
|
+
|
|
20838
|
+
constructor(map?: { [key: string]: any }) {
|
|
20839
|
+
super(map);
|
|
20840
|
+
}
|
|
20841
|
+
}
|
|
20842
|
+
|
|
20843
|
+
export class ModifyUserEniVswitchOptionsResponseBody extends $tea.Model {
|
|
20844
|
+
/**
|
|
20845
|
+
* @example
|
|
20846
|
+
* 200
|
|
20847
|
+
*/
|
|
20848
|
+
code?: string;
|
|
20849
|
+
/**
|
|
20850
|
+
* @example
|
|
20851
|
+
* 200
|
|
20852
|
+
*/
|
|
20853
|
+
httpStatusCode?: number;
|
|
20854
|
+
/**
|
|
20855
|
+
* @example
|
|
20856
|
+
* SUCCESS
|
|
20857
|
+
*/
|
|
20858
|
+
message?: string;
|
|
20859
|
+
/**
|
|
20860
|
+
* @example
|
|
20861
|
+
* 1AD222E9-E606-4A42-BF6D-8A4442913CEF
|
|
20862
|
+
*/
|
|
20863
|
+
requestId?: string;
|
|
20864
|
+
/**
|
|
20865
|
+
* @example
|
|
20866
|
+
* true
|
|
20867
|
+
*/
|
|
20868
|
+
success?: boolean;
|
|
20869
|
+
static names(): { [key: string]: string } {
|
|
20870
|
+
return {
|
|
20871
|
+
code: 'Code',
|
|
20872
|
+
httpStatusCode: 'HttpStatusCode',
|
|
20873
|
+
message: 'Message',
|
|
20874
|
+
requestId: 'RequestId',
|
|
20875
|
+
success: 'Success',
|
|
20876
|
+
};
|
|
20877
|
+
}
|
|
20878
|
+
|
|
20879
|
+
static types(): { [key: string]: any } {
|
|
20880
|
+
return {
|
|
20881
|
+
code: 'string',
|
|
20882
|
+
httpStatusCode: 'number',
|
|
20883
|
+
message: 'string',
|
|
20884
|
+
requestId: 'string',
|
|
20885
|
+
success: 'boolean',
|
|
20886
|
+
};
|
|
20887
|
+
}
|
|
20888
|
+
|
|
20889
|
+
constructor(map?: { [key: string]: any }) {
|
|
20890
|
+
super(map);
|
|
20891
|
+
}
|
|
20892
|
+
}
|
|
20893
|
+
|
|
20894
|
+
export class ModifyUserEniVswitchOptionsResponse extends $tea.Model {
|
|
20895
|
+
headers?: { [key: string]: string };
|
|
20896
|
+
statusCode?: number;
|
|
20897
|
+
body?: ModifyUserEniVswitchOptionsResponseBody;
|
|
20898
|
+
static names(): { [key: string]: string } {
|
|
20899
|
+
return {
|
|
20900
|
+
headers: 'headers',
|
|
20901
|
+
statusCode: 'statusCode',
|
|
20902
|
+
body: 'body',
|
|
20903
|
+
};
|
|
20904
|
+
}
|
|
20905
|
+
|
|
20906
|
+
static types(): { [key: string]: any } {
|
|
20907
|
+
return {
|
|
20908
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
20909
|
+
statusCode: 'number',
|
|
20910
|
+
body: ModifyUserEniVswitchOptionsResponseBody,
|
|
20911
|
+
};
|
|
20912
|
+
}
|
|
20913
|
+
|
|
20914
|
+
constructor(map?: { [key: string]: any }) {
|
|
20915
|
+
super(map);
|
|
20916
|
+
}
|
|
20917
|
+
}
|
|
20918
|
+
|
|
20651
20919
|
export class PreloadSparkAppMetricsRequest extends $tea.Model {
|
|
20652
20920
|
/**
|
|
20653
20921
|
* @remarks
|
|
@@ -24908,6 +25176,9 @@ export class DescribeDBClusterAttributeResponseBodyItemsDBCluster extends $tea.M
|
|
|
24908
25176
|
* false
|
|
24909
25177
|
*/
|
|
24910
25178
|
userENIStatus?: boolean;
|
|
25179
|
+
userENIVSwitchOptions?: string;
|
|
25180
|
+
userENIVpcId?: string;
|
|
25181
|
+
userENIZoneOptions?: string;
|
|
24911
25182
|
/**
|
|
24912
25183
|
* @remarks
|
|
24913
25184
|
* The virtual private cloud (VPC) ID of the cluster.
|
|
@@ -24971,6 +25242,9 @@ export class DescribeDBClusterAttributeResponseBodyItemsDBCluster extends $tea.M
|
|
|
24971
25242
|
tags: 'Tags',
|
|
24972
25243
|
taskInfo: 'TaskInfo',
|
|
24973
25244
|
userENIStatus: 'UserENIStatus',
|
|
25245
|
+
userENIVSwitchOptions: 'UserENIVSwitchOptions',
|
|
25246
|
+
userENIVpcId: 'UserENIVpcId',
|
|
25247
|
+
userENIZoneOptions: 'UserENIZoneOptions',
|
|
24974
25248
|
VPCId: 'VPCId',
|
|
24975
25249
|
vSwitchId: 'VSwitchId',
|
|
24976
25250
|
zoneId: 'ZoneId',
|
|
@@ -25016,6 +25290,9 @@ export class DescribeDBClusterAttributeResponseBodyItemsDBCluster extends $tea.M
|
|
|
25016
25290
|
tags: DescribeDBClusterAttributeResponseBodyItemsDBClusterTags,
|
|
25017
25291
|
taskInfo: DescribeDBClusterAttributeResponseBodyItemsDBClusterTaskInfo,
|
|
25018
25292
|
userENIStatus: 'boolean',
|
|
25293
|
+
userENIVSwitchOptions: 'string',
|
|
25294
|
+
userENIVpcId: 'string',
|
|
25295
|
+
userENIZoneOptions: 'string',
|
|
25019
25296
|
VPCId: 'string',
|
|
25020
25297
|
vSwitchId: 'string',
|
|
25021
25298
|
zoneId: 'string',
|
|
@@ -33553,6 +33830,8 @@ export default class Client extends OpenApi {
|
|
|
33553
33830
|
}
|
|
33554
33831
|
|
|
33555
33832
|
/**
|
|
33833
|
+
* 查看集群备份设置
|
|
33834
|
+
*
|
|
33556
33835
|
* @remarks
|
|
33557
33836
|
* For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
|
|
33558
33837
|
*
|
|
@@ -33601,6 +33880,8 @@ export default class Client extends OpenApi {
|
|
|
33601
33880
|
}
|
|
33602
33881
|
|
|
33603
33882
|
/**
|
|
33883
|
+
* 查看集群备份设置
|
|
33884
|
+
*
|
|
33604
33885
|
* @remarks
|
|
33605
33886
|
* For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
|
|
33606
33887
|
*
|
|
@@ -36381,6 +36662,8 @@ export default class Client extends OpenApi {
|
|
|
36381
36662
|
}
|
|
36382
36663
|
|
|
36383
36664
|
/**
|
|
36665
|
+
* 解绑用户弹性网卡
|
|
36666
|
+
*
|
|
36384
36667
|
* @remarks
|
|
36385
36668
|
* For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
|
|
36386
36669
|
*
|
|
@@ -36413,6 +36696,8 @@ export default class Client extends OpenApi {
|
|
|
36413
36696
|
}
|
|
36414
36697
|
|
|
36415
36698
|
/**
|
|
36699
|
+
* 解绑用户弹性网卡
|
|
36700
|
+
*
|
|
36416
36701
|
* @remarks
|
|
36417
36702
|
* For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
|
|
36418
36703
|
*
|
|
@@ -36742,6 +37027,76 @@ export default class Client extends OpenApi {
|
|
|
36742
37027
|
return await this.existRunningSQLEngineWithOptions(request, runtime);
|
|
36743
37028
|
}
|
|
36744
37029
|
|
|
37030
|
+
/**
|
|
37031
|
+
* Queries the table creation statement for tables.
|
|
37032
|
+
*
|
|
37033
|
+
* @param request - GetCreateTableSQLRequest
|
|
37034
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
37035
|
+
* @returns GetCreateTableSQLResponse
|
|
37036
|
+
*/
|
|
37037
|
+
async getCreateTableSQLWithOptions(request: GetCreateTableSQLRequest, runtime: $Util.RuntimeOptions): Promise<GetCreateTableSQLResponse> {
|
|
37038
|
+
Util.validateModel(request);
|
|
37039
|
+
let query = { };
|
|
37040
|
+
if (!Util.isUnset(request.DBClusterId)) {
|
|
37041
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
37042
|
+
}
|
|
37043
|
+
|
|
37044
|
+
if (!Util.isUnset(request.ownerAccount)) {
|
|
37045
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
37046
|
+
}
|
|
37047
|
+
|
|
37048
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
37049
|
+
query["OwnerId"] = request.ownerId;
|
|
37050
|
+
}
|
|
37051
|
+
|
|
37052
|
+
if (!Util.isUnset(request.regionId)) {
|
|
37053
|
+
query["RegionId"] = request.regionId;
|
|
37054
|
+
}
|
|
37055
|
+
|
|
37056
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
37057
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
37058
|
+
}
|
|
37059
|
+
|
|
37060
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
37061
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
37062
|
+
}
|
|
37063
|
+
|
|
37064
|
+
if (!Util.isUnset(request.schemaName)) {
|
|
37065
|
+
query["SchemaName"] = request.schemaName;
|
|
37066
|
+
}
|
|
37067
|
+
|
|
37068
|
+
if (!Util.isUnset(request.tableName)) {
|
|
37069
|
+
query["TableName"] = request.tableName;
|
|
37070
|
+
}
|
|
37071
|
+
|
|
37072
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
37073
|
+
query: OpenApiUtil.query(query),
|
|
37074
|
+
});
|
|
37075
|
+
let params = new $OpenApi.Params({
|
|
37076
|
+
action: "GetCreateTableSQL",
|
|
37077
|
+
version: "2021-12-01",
|
|
37078
|
+
protocol: "HTTPS",
|
|
37079
|
+
pathname: "/",
|
|
37080
|
+
method: "POST",
|
|
37081
|
+
authType: "AK",
|
|
37082
|
+
style: "RPC",
|
|
37083
|
+
reqBodyType: "formData",
|
|
37084
|
+
bodyType: "json",
|
|
37085
|
+
});
|
|
37086
|
+
return $tea.cast<GetCreateTableSQLResponse>(await this.callApi(params, req, runtime), new GetCreateTableSQLResponse({}));
|
|
37087
|
+
}
|
|
37088
|
+
|
|
37089
|
+
/**
|
|
37090
|
+
* Queries the table creation statement for tables.
|
|
37091
|
+
*
|
|
37092
|
+
* @param request - GetCreateTableSQLRequest
|
|
37093
|
+
* @returns GetCreateTableSQLResponse
|
|
37094
|
+
*/
|
|
37095
|
+
async getCreateTableSQL(request: GetCreateTableSQLRequest): Promise<GetCreateTableSQLResponse> {
|
|
37096
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
37097
|
+
return await this.getCreateTableSQLWithOptions(request, runtime);
|
|
37098
|
+
}
|
|
37099
|
+
|
|
36745
37100
|
/**
|
|
36746
37101
|
* Queries the information about databases.
|
|
36747
37102
|
*
|
|
@@ -39738,6 +40093,74 @@ export default class Client extends OpenApi {
|
|
|
39738
40093
|
return await this.modifyPerformanceViewWithOptions(request, runtime);
|
|
39739
40094
|
}
|
|
39740
40095
|
|
|
40096
|
+
/**
|
|
40097
|
+
* 修改用户eni交换机
|
|
40098
|
+
*
|
|
40099
|
+
* @param request - ModifyUserEniVswitchOptionsRequest
|
|
40100
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
40101
|
+
* @returns ModifyUserEniVswitchOptionsResponse
|
|
40102
|
+
*/
|
|
40103
|
+
async modifyUserEniVswitchOptionsWithOptions(request: ModifyUserEniVswitchOptionsRequest, runtime: $Util.RuntimeOptions): Promise<ModifyUserEniVswitchOptionsResponse> {
|
|
40104
|
+
Util.validateModel(request);
|
|
40105
|
+
let query = { };
|
|
40106
|
+
if (!Util.isUnset(request.dbClusterId)) {
|
|
40107
|
+
query["DbClusterId"] = request.dbClusterId;
|
|
40108
|
+
}
|
|
40109
|
+
|
|
40110
|
+
if (!Util.isUnset(request.ownerAccount)) {
|
|
40111
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
40112
|
+
}
|
|
40113
|
+
|
|
40114
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
40115
|
+
query["OwnerId"] = request.ownerId;
|
|
40116
|
+
}
|
|
40117
|
+
|
|
40118
|
+
if (!Util.isUnset(request.regionId)) {
|
|
40119
|
+
query["RegionId"] = request.regionId;
|
|
40120
|
+
}
|
|
40121
|
+
|
|
40122
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
40123
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
40124
|
+
}
|
|
40125
|
+
|
|
40126
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
40127
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
40128
|
+
}
|
|
40129
|
+
|
|
40130
|
+
let body : {[key: string ]: any} = { };
|
|
40131
|
+
if (!Util.isUnset(request.vSwitchOptions)) {
|
|
40132
|
+
body["VSwitchOptions"] = request.vSwitchOptions;
|
|
40133
|
+
}
|
|
40134
|
+
|
|
40135
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
40136
|
+
query: OpenApiUtil.query(query),
|
|
40137
|
+
body: OpenApiUtil.parseToMap(body),
|
|
40138
|
+
});
|
|
40139
|
+
let params = new $OpenApi.Params({
|
|
40140
|
+
action: "ModifyUserEniVswitchOptions",
|
|
40141
|
+
version: "2021-12-01",
|
|
40142
|
+
protocol: "HTTPS",
|
|
40143
|
+
pathname: "/",
|
|
40144
|
+
method: "POST",
|
|
40145
|
+
authType: "AK",
|
|
40146
|
+
style: "RPC",
|
|
40147
|
+
reqBodyType: "formData",
|
|
40148
|
+
bodyType: "json",
|
|
40149
|
+
});
|
|
40150
|
+
return $tea.cast<ModifyUserEniVswitchOptionsResponse>(await this.callApi(params, req, runtime), new ModifyUserEniVswitchOptionsResponse({}));
|
|
40151
|
+
}
|
|
40152
|
+
|
|
40153
|
+
/**
|
|
40154
|
+
* 修改用户eni交换机
|
|
40155
|
+
*
|
|
40156
|
+
* @param request - ModifyUserEniVswitchOptionsRequest
|
|
40157
|
+
* @returns ModifyUserEniVswitchOptionsResponse
|
|
40158
|
+
*/
|
|
40159
|
+
async modifyUserEniVswitchOptions(request: ModifyUserEniVswitchOptionsRequest): Promise<ModifyUserEniVswitchOptionsResponse> {
|
|
40160
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
40161
|
+
return await this.modifyUserEniVswitchOptionsWithOptions(request, runtime);
|
|
40162
|
+
}
|
|
40163
|
+
|
|
39741
40164
|
/**
|
|
39742
40165
|
* Preloads metrics for a Spark application.
|
|
39743
40166
|
*
|