@alicloud/adb20211201 3.4.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/adb20211201",
3
- "version": "3.4.0",
3
+ "version": "3.5.0",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -20785,6 +20785,137 @@ export class ModifyPerformanceViewResponse extends $tea.Model {
20785
20785
  }
20786
20786
  }
20787
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
+
20788
20919
  export class PreloadSparkAppMetricsRequest extends $tea.Model {
20789
20920
  /**
20790
20921
  * @remarks
@@ -25045,6 +25176,9 @@ export class DescribeDBClusterAttributeResponseBodyItemsDBCluster extends $tea.M
25045
25176
  * false
25046
25177
  */
25047
25178
  userENIStatus?: boolean;
25179
+ userENIVSwitchOptions?: string;
25180
+ userENIVpcId?: string;
25181
+ userENIZoneOptions?: string;
25048
25182
  /**
25049
25183
  * @remarks
25050
25184
  * The virtual private cloud (VPC) ID of the cluster.
@@ -25108,6 +25242,9 @@ export class DescribeDBClusterAttributeResponseBodyItemsDBCluster extends $tea.M
25108
25242
  tags: 'Tags',
25109
25243
  taskInfo: 'TaskInfo',
25110
25244
  userENIStatus: 'UserENIStatus',
25245
+ userENIVSwitchOptions: 'UserENIVSwitchOptions',
25246
+ userENIVpcId: 'UserENIVpcId',
25247
+ userENIZoneOptions: 'UserENIZoneOptions',
25111
25248
  VPCId: 'VPCId',
25112
25249
  vSwitchId: 'VSwitchId',
25113
25250
  zoneId: 'ZoneId',
@@ -25153,6 +25290,9 @@ export class DescribeDBClusterAttributeResponseBodyItemsDBCluster extends $tea.M
25153
25290
  tags: DescribeDBClusterAttributeResponseBodyItemsDBClusterTags,
25154
25291
  taskInfo: DescribeDBClusterAttributeResponseBodyItemsDBClusterTaskInfo,
25155
25292
  userENIStatus: 'boolean',
25293
+ userENIVSwitchOptions: 'string',
25294
+ userENIVpcId: 'string',
25295
+ userENIZoneOptions: 'string',
25156
25296
  VPCId: 'string',
25157
25297
  vSwitchId: 'string',
25158
25298
  zoneId: 'string',
@@ -33690,6 +33830,8 @@ export default class Client extends OpenApi {
33690
33830
  }
33691
33831
 
33692
33832
  /**
33833
+ * 查看集群备份设置
33834
+ *
33693
33835
  * @remarks
33694
33836
  * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
33695
33837
  *
@@ -33738,6 +33880,8 @@ export default class Client extends OpenApi {
33738
33880
  }
33739
33881
 
33740
33882
  /**
33883
+ * 查看集群备份设置
33884
+ *
33741
33885
  * @remarks
33742
33886
  * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
33743
33887
  *
@@ -36518,6 +36662,8 @@ export default class Client extends OpenApi {
36518
36662
  }
36519
36663
 
36520
36664
  /**
36665
+ * 解绑用户弹性网卡
36666
+ *
36521
36667
  * @remarks
36522
36668
  * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
36523
36669
  *
@@ -36550,6 +36696,8 @@ export default class Client extends OpenApi {
36550
36696
  }
36551
36697
 
36552
36698
  /**
36699
+ * 解绑用户弹性网卡
36700
+ *
36553
36701
  * @remarks
36554
36702
  * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
36555
36703
  *
@@ -39945,6 +40093,74 @@ export default class Client extends OpenApi {
39945
40093
  return await this.modifyPerformanceViewWithOptions(request, runtime);
39946
40094
  }
39947
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
+
39948
40164
  /**
39949
40165
  * Preloads metrics for a Spark application.
39950
40166
  *