@alicloud/polardbx20200202 2.1.0 → 2.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 +384 -0
- package/dist/client.js +349 -4
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +618 -0
package/dist/client.d.ts
CHANGED
|
@@ -3049,6 +3049,95 @@ export declare class DescribeEventsResponse extends $tea.Model {
|
|
|
3049
3049
|
[key: string]: any;
|
|
3050
3050
|
});
|
|
3051
3051
|
}
|
|
3052
|
+
export declare class DescribeGdnInstancesRequest extends $tea.Model {
|
|
3053
|
+
/**
|
|
3054
|
+
* @example
|
|
3055
|
+
* gdn_id、
|
|
3056
|
+
* polarx_id
|
|
3057
|
+
*/
|
|
3058
|
+
filterType?: string;
|
|
3059
|
+
/**
|
|
3060
|
+
* @example
|
|
3061
|
+
* gdn-***、
|
|
3062
|
+
* pxc-***
|
|
3063
|
+
*/
|
|
3064
|
+
filterValue?: string;
|
|
3065
|
+
/**
|
|
3066
|
+
* @remarks
|
|
3067
|
+
* GDN ID。
|
|
3068
|
+
*
|
|
3069
|
+
* @example
|
|
3070
|
+
* gdn-***
|
|
3071
|
+
*/
|
|
3072
|
+
GDNId?: string;
|
|
3073
|
+
/**
|
|
3074
|
+
* @example
|
|
3075
|
+
* 50
|
|
3076
|
+
*/
|
|
3077
|
+
pageNum?: string;
|
|
3078
|
+
/**
|
|
3079
|
+
* @example
|
|
3080
|
+
* 30
|
|
3081
|
+
*/
|
|
3082
|
+
pageSize?: string;
|
|
3083
|
+
/**
|
|
3084
|
+
* @example
|
|
3085
|
+
* cn-hangzhou
|
|
3086
|
+
*/
|
|
3087
|
+
regionId?: string;
|
|
3088
|
+
static names(): {
|
|
3089
|
+
[key: string]: string;
|
|
3090
|
+
};
|
|
3091
|
+
static types(): {
|
|
3092
|
+
[key: string]: any;
|
|
3093
|
+
};
|
|
3094
|
+
constructor(map?: {
|
|
3095
|
+
[key: string]: any;
|
|
3096
|
+
});
|
|
3097
|
+
}
|
|
3098
|
+
export declare class DescribeGdnInstancesResponseBody extends $tea.Model {
|
|
3099
|
+
data?: DescribeGdnInstancesResponseBodyData;
|
|
3100
|
+
/**
|
|
3101
|
+
* @example
|
|
3102
|
+
* success
|
|
3103
|
+
*/
|
|
3104
|
+
message?: string;
|
|
3105
|
+
/**
|
|
3106
|
+
* @example
|
|
3107
|
+
* 7B044BD1-6402-5DE9-9AED-63D15A994E37
|
|
3108
|
+
*/
|
|
3109
|
+
requestId?: string;
|
|
3110
|
+
/**
|
|
3111
|
+
* @example
|
|
3112
|
+
* True
|
|
3113
|
+
*/
|
|
3114
|
+
success?: boolean;
|
|
3115
|
+
static names(): {
|
|
3116
|
+
[key: string]: string;
|
|
3117
|
+
};
|
|
3118
|
+
static types(): {
|
|
3119
|
+
[key: string]: any;
|
|
3120
|
+
};
|
|
3121
|
+
constructor(map?: {
|
|
3122
|
+
[key: string]: any;
|
|
3123
|
+
});
|
|
3124
|
+
}
|
|
3125
|
+
export declare class DescribeGdnInstancesResponse extends $tea.Model {
|
|
3126
|
+
headers?: {
|
|
3127
|
+
[key: string]: string;
|
|
3128
|
+
};
|
|
3129
|
+
statusCode?: number;
|
|
3130
|
+
body?: DescribeGdnInstancesResponseBody;
|
|
3131
|
+
static names(): {
|
|
3132
|
+
[key: string]: string;
|
|
3133
|
+
};
|
|
3134
|
+
static types(): {
|
|
3135
|
+
[key: string]: any;
|
|
3136
|
+
};
|
|
3137
|
+
constructor(map?: {
|
|
3138
|
+
[key: string]: any;
|
|
3139
|
+
});
|
|
3140
|
+
}
|
|
3052
3141
|
export declare class DescribeOpenBackupSetRequest extends $tea.Model {
|
|
3053
3142
|
/**
|
|
3054
3143
|
* @remarks
|
|
@@ -5276,6 +5365,84 @@ export declare class SwitchDBInstanceHAResponse extends $tea.Model {
|
|
|
5276
5365
|
[key: string]: any;
|
|
5277
5366
|
});
|
|
5278
5367
|
}
|
|
5368
|
+
export declare class SwitchGdnMemberRoleRequest extends $tea.Model {
|
|
5369
|
+
/**
|
|
5370
|
+
* @remarks
|
|
5371
|
+
* This parameter is required.
|
|
5372
|
+
*
|
|
5373
|
+
* @example
|
|
5374
|
+
* pxc-********
|
|
5375
|
+
*/
|
|
5376
|
+
DBInstanceName?: string;
|
|
5377
|
+
/**
|
|
5378
|
+
* @remarks
|
|
5379
|
+
* This parameter is required.
|
|
5380
|
+
*
|
|
5381
|
+
* @example
|
|
5382
|
+
* cn-hangzhou
|
|
5383
|
+
*/
|
|
5384
|
+
regionId?: string;
|
|
5385
|
+
/**
|
|
5386
|
+
* @remarks
|
|
5387
|
+
* This parameter is required.
|
|
5388
|
+
*/
|
|
5389
|
+
switchMode?: string;
|
|
5390
|
+
static names(): {
|
|
5391
|
+
[key: string]: string;
|
|
5392
|
+
};
|
|
5393
|
+
static types(): {
|
|
5394
|
+
[key: string]: any;
|
|
5395
|
+
};
|
|
5396
|
+
constructor(map?: {
|
|
5397
|
+
[key: string]: any;
|
|
5398
|
+
});
|
|
5399
|
+
}
|
|
5400
|
+
export declare class SwitchGdnMemberRoleResponseBody extends $tea.Model {
|
|
5401
|
+
data?: SwitchGdnMemberRoleResponseBodyData;
|
|
5402
|
+
/**
|
|
5403
|
+
* @example
|
|
5404
|
+
* success
|
|
5405
|
+
*/
|
|
5406
|
+
message?: string;
|
|
5407
|
+
/**
|
|
5408
|
+
* @remarks
|
|
5409
|
+
* Id of the request
|
|
5410
|
+
*
|
|
5411
|
+
* @example
|
|
5412
|
+
* 9B2F3840-5C98-475C-B269-2D5C3A31797C
|
|
5413
|
+
*/
|
|
5414
|
+
requestId?: string;
|
|
5415
|
+
/**
|
|
5416
|
+
* @example
|
|
5417
|
+
* true
|
|
5418
|
+
*/
|
|
5419
|
+
success?: boolean;
|
|
5420
|
+
static names(): {
|
|
5421
|
+
[key: string]: string;
|
|
5422
|
+
};
|
|
5423
|
+
static types(): {
|
|
5424
|
+
[key: string]: any;
|
|
5425
|
+
};
|
|
5426
|
+
constructor(map?: {
|
|
5427
|
+
[key: string]: any;
|
|
5428
|
+
});
|
|
5429
|
+
}
|
|
5430
|
+
export declare class SwitchGdnMemberRoleResponse extends $tea.Model {
|
|
5431
|
+
headers?: {
|
|
5432
|
+
[key: string]: string;
|
|
5433
|
+
};
|
|
5434
|
+
statusCode?: number;
|
|
5435
|
+
body?: SwitchGdnMemberRoleResponseBody;
|
|
5436
|
+
static names(): {
|
|
5437
|
+
[key: string]: string;
|
|
5438
|
+
};
|
|
5439
|
+
static types(): {
|
|
5440
|
+
[key: string]: any;
|
|
5441
|
+
};
|
|
5442
|
+
constructor(map?: {
|
|
5443
|
+
[key: string]: any;
|
|
5444
|
+
});
|
|
5445
|
+
}
|
|
5279
5446
|
export declare class TagResourcesRequest extends $tea.Model {
|
|
5280
5447
|
/**
|
|
5281
5448
|
* @remarks
|
|
@@ -7908,6 +8075,177 @@ export declare class DescribeEventsResponseBodyEventItems extends $tea.Model {
|
|
|
7908
8075
|
[key: string]: any;
|
|
7909
8076
|
});
|
|
7910
8077
|
}
|
|
8078
|
+
export declare class DescribeGdnInstancesResponseBodyDataGdnInstanceListMemberList extends $tea.Model {
|
|
8079
|
+
/**
|
|
8080
|
+
* @example
|
|
8081
|
+
* polarx.x4.medium.2e
|
|
8082
|
+
*/
|
|
8083
|
+
classCode?: string;
|
|
8084
|
+
/**
|
|
8085
|
+
* @example
|
|
8086
|
+
* polarx.x4.medium.2e
|
|
8087
|
+
*/
|
|
8088
|
+
cnNodeClassCode?: string;
|
|
8089
|
+
/**
|
|
8090
|
+
* @example
|
|
8091
|
+
* 2
|
|
8092
|
+
*/
|
|
8093
|
+
cnNodeCount?: string;
|
|
8094
|
+
/**
|
|
8095
|
+
* @example
|
|
8096
|
+
* drds_polarxpre_public_cn
|
|
8097
|
+
*/
|
|
8098
|
+
commodityCode?: string;
|
|
8099
|
+
/**
|
|
8100
|
+
* @example
|
|
8101
|
+
* mysql.n4.medium.25
|
|
8102
|
+
*/
|
|
8103
|
+
dnNodeClassCode?: string;
|
|
8104
|
+
/**
|
|
8105
|
+
* @example
|
|
8106
|
+
* 2
|
|
8107
|
+
*/
|
|
8108
|
+
dnNodeCount?: string;
|
|
8109
|
+
/**
|
|
8110
|
+
* @example
|
|
8111
|
+
* 2025-01-02T13:11:10.000+0000
|
|
8112
|
+
*/
|
|
8113
|
+
expireTime?: string;
|
|
8114
|
+
/**
|
|
8115
|
+
* @example
|
|
8116
|
+
* 2025-01-02T13:11:10.000+0000
|
|
8117
|
+
*/
|
|
8118
|
+
gmtCreated?: string;
|
|
8119
|
+
/**
|
|
8120
|
+
* @example
|
|
8121
|
+
* pxc-***
|
|
8122
|
+
*/
|
|
8123
|
+
memberName?: string;
|
|
8124
|
+
/**
|
|
8125
|
+
* @example
|
|
8126
|
+
* Prepaid
|
|
8127
|
+
*/
|
|
8128
|
+
payType?: string;
|
|
8129
|
+
/**
|
|
8130
|
+
* @example
|
|
8131
|
+
* cn-zhangjiakou-a
|
|
8132
|
+
*/
|
|
8133
|
+
primaryZone?: string;
|
|
8134
|
+
/**
|
|
8135
|
+
* @example
|
|
8136
|
+
* cn-hangzhou
|
|
8137
|
+
*/
|
|
8138
|
+
regionId?: string;
|
|
8139
|
+
/**
|
|
8140
|
+
* @example
|
|
8141
|
+
* primary、
|
|
8142
|
+
* standby
|
|
8143
|
+
*/
|
|
8144
|
+
role?: string;
|
|
8145
|
+
/**
|
|
8146
|
+
* @example
|
|
8147
|
+
* cn-zhangjiakou-a
|
|
8148
|
+
*/
|
|
8149
|
+
secondaryZone?: string;
|
|
8150
|
+
/**
|
|
8151
|
+
* @example
|
|
8152
|
+
* 1s
|
|
8153
|
+
*/
|
|
8154
|
+
secondsBehindMaster?: string;
|
|
8155
|
+
/**
|
|
8156
|
+
* @example
|
|
8157
|
+
* Creating
|
|
8158
|
+
*/
|
|
8159
|
+
status?: string;
|
|
8160
|
+
/**
|
|
8161
|
+
* @example
|
|
8162
|
+
* cn-zhangjiakou-a
|
|
8163
|
+
*/
|
|
8164
|
+
tertiaryZone?: string;
|
|
8165
|
+
/**
|
|
8166
|
+
* @example
|
|
8167
|
+
* cn-zhangjiakou-a
|
|
8168
|
+
*/
|
|
8169
|
+
zoneId?: string;
|
|
8170
|
+
static names(): {
|
|
8171
|
+
[key: string]: string;
|
|
8172
|
+
};
|
|
8173
|
+
static types(): {
|
|
8174
|
+
[key: string]: any;
|
|
8175
|
+
};
|
|
8176
|
+
constructor(map?: {
|
|
8177
|
+
[key: string]: any;
|
|
8178
|
+
});
|
|
8179
|
+
}
|
|
8180
|
+
export declare class DescribeGdnInstancesResponseBodyDataGdnInstanceList extends $tea.Model {
|
|
8181
|
+
/**
|
|
8182
|
+
* @example
|
|
8183
|
+
* test
|
|
8184
|
+
*/
|
|
8185
|
+
description?: string;
|
|
8186
|
+
/**
|
|
8187
|
+
* @example
|
|
8188
|
+
* gdn-***
|
|
8189
|
+
*/
|
|
8190
|
+
gdnInstanceName?: string;
|
|
8191
|
+
/**
|
|
8192
|
+
* @example
|
|
8193
|
+
* 2025-01-02T13:11:10.000+0000
|
|
8194
|
+
*/
|
|
8195
|
+
gmtCreated?: string;
|
|
8196
|
+
memberList?: DescribeGdnInstancesResponseBodyDataGdnInstanceListMemberList[];
|
|
8197
|
+
/**
|
|
8198
|
+
* @example
|
|
8199
|
+
* 5.7
|
|
8200
|
+
*/
|
|
8201
|
+
mysqlVersion?: string;
|
|
8202
|
+
/**
|
|
8203
|
+
* @example
|
|
8204
|
+
* Creating
|
|
8205
|
+
*/
|
|
8206
|
+
status?: string;
|
|
8207
|
+
/**
|
|
8208
|
+
* @example
|
|
8209
|
+
* ""
|
|
8210
|
+
*/
|
|
8211
|
+
switchHistory?: string;
|
|
8212
|
+
static names(): {
|
|
8213
|
+
[key: string]: string;
|
|
8214
|
+
};
|
|
8215
|
+
static types(): {
|
|
8216
|
+
[key: string]: any;
|
|
8217
|
+
};
|
|
8218
|
+
constructor(map?: {
|
|
8219
|
+
[key: string]: any;
|
|
8220
|
+
});
|
|
8221
|
+
}
|
|
8222
|
+
export declare class DescribeGdnInstancesResponseBodyData extends $tea.Model {
|
|
8223
|
+
gdnInstanceList?: DescribeGdnInstancesResponseBodyDataGdnInstanceList[];
|
|
8224
|
+
/**
|
|
8225
|
+
* @example
|
|
8226
|
+
* 1
|
|
8227
|
+
*/
|
|
8228
|
+
pageNumber?: string;
|
|
8229
|
+
/**
|
|
8230
|
+
* @example
|
|
8231
|
+
* 30
|
|
8232
|
+
*/
|
|
8233
|
+
pageSize?: string;
|
|
8234
|
+
/**
|
|
8235
|
+
* @example
|
|
8236
|
+
* 130
|
|
8237
|
+
*/
|
|
8238
|
+
totalNumber?: string;
|
|
8239
|
+
static names(): {
|
|
8240
|
+
[key: string]: string;
|
|
8241
|
+
};
|
|
8242
|
+
static types(): {
|
|
8243
|
+
[key: string]: any;
|
|
8244
|
+
};
|
|
8245
|
+
constructor(map?: {
|
|
8246
|
+
[key: string]: any;
|
|
8247
|
+
});
|
|
8248
|
+
}
|
|
7911
8249
|
export declare class DescribeParameterTemplatesResponseBodyDataParameters extends $tea.Model {
|
|
7912
8250
|
/**
|
|
7913
8251
|
* @example
|
|
@@ -8485,6 +8823,22 @@ export declare class ModifyDBInstanceConnectionStringResponseBodyData extends $t
|
|
|
8485
8823
|
[key: string]: any;
|
|
8486
8824
|
});
|
|
8487
8825
|
}
|
|
8826
|
+
export declare class SwitchGdnMemberRoleResponseBodyData extends $tea.Model {
|
|
8827
|
+
/**
|
|
8828
|
+
* @example
|
|
8829
|
+
* 2209883
|
|
8830
|
+
*/
|
|
8831
|
+
taskId?: number;
|
|
8832
|
+
static names(): {
|
|
8833
|
+
[key: string]: string;
|
|
8834
|
+
};
|
|
8835
|
+
static types(): {
|
|
8836
|
+
[key: string]: any;
|
|
8837
|
+
};
|
|
8838
|
+
constructor(map?: {
|
|
8839
|
+
[key: string]: any;
|
|
8840
|
+
});
|
|
8841
|
+
}
|
|
8488
8842
|
export declare class TagResourcesRequestTag extends $tea.Model {
|
|
8489
8843
|
/**
|
|
8490
8844
|
* @example
|
|
@@ -9024,6 +9378,21 @@ export default class Client extends OpenApi {
|
|
|
9024
9378
|
* @returns DescribeEventsResponse
|
|
9025
9379
|
*/
|
|
9026
9380
|
describeEvents(request: DescribeEventsRequest): Promise<DescribeEventsResponse>;
|
|
9381
|
+
/**
|
|
9382
|
+
* 获取GDN实例列表
|
|
9383
|
+
*
|
|
9384
|
+
* @param request - DescribeGdnInstancesRequest
|
|
9385
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9386
|
+
* @returns DescribeGdnInstancesResponse
|
|
9387
|
+
*/
|
|
9388
|
+
describeGdnInstancesWithOptions(request: DescribeGdnInstancesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeGdnInstancesResponse>;
|
|
9389
|
+
/**
|
|
9390
|
+
* 获取GDN实例列表
|
|
9391
|
+
*
|
|
9392
|
+
* @param request - DescribeGdnInstancesRequest
|
|
9393
|
+
* @returns DescribeGdnInstancesResponse
|
|
9394
|
+
*/
|
|
9395
|
+
describeGdnInstances(request: DescribeGdnInstancesRequest): Promise<DescribeGdnInstancesResponse>;
|
|
9027
9396
|
/**
|
|
9028
9397
|
* 开放商业备份集
|
|
9029
9398
|
*
|
|
@@ -9382,6 +9751,21 @@ export default class Client extends OpenApi {
|
|
|
9382
9751
|
* @returns SwitchDBInstanceHAResponse
|
|
9383
9752
|
*/
|
|
9384
9753
|
switchDBInstanceHA(request: SwitchDBInstanceHARequest): Promise<SwitchDBInstanceHAResponse>;
|
|
9754
|
+
/**
|
|
9755
|
+
* GDN主备切换
|
|
9756
|
+
*
|
|
9757
|
+
* @param request - SwitchGdnMemberRoleRequest
|
|
9758
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9759
|
+
* @returns SwitchGdnMemberRoleResponse
|
|
9760
|
+
*/
|
|
9761
|
+
switchGdnMemberRoleWithOptions(request: SwitchGdnMemberRoleRequest, runtime: $Util.RuntimeOptions): Promise<SwitchGdnMemberRoleResponse>;
|
|
9762
|
+
/**
|
|
9763
|
+
* GDN主备切换
|
|
9764
|
+
*
|
|
9765
|
+
* @param request - SwitchGdnMemberRoleRequest
|
|
9766
|
+
* @returns SwitchGdnMemberRoleResponse
|
|
9767
|
+
*/
|
|
9768
|
+
switchGdnMemberRole(request: SwitchGdnMemberRoleRequest): Promise<SwitchGdnMemberRoleResponse>;
|
|
9385
9769
|
/**
|
|
9386
9770
|
* 打标签接口
|
|
9387
9771
|
*
|