@alicloud/polardb20170801 7.12.2 → 7.13.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 +30 -0
- package/dist/client.js +96 -0
- package/dist/client.js.map +1 -1
- package/dist/models/AddPolarOssauthorizedAccountRequest.d.ts +39 -0
- package/dist/models/AddPolarOssauthorizedAccountRequest.js +64 -0
- package/dist/models/AddPolarOssauthorizedAccountRequest.js.map +1 -0
- package/dist/models/AddPolarOssauthorizedAccountResponse.d.ts +19 -0
- package/dist/models/AddPolarOssauthorizedAccountResponse.js +69 -0
- package/dist/models/AddPolarOssauthorizedAccountResponse.js.map +1 -0
- package/dist/models/AddPolarOssauthorizedAccountResponseBody.d.ts +33 -0
- package/dist/models/AddPolarOssauthorizedAccountResponseBody.js +64 -0
- package/dist/models/AddPolarOssauthorizedAccountResponseBody.js.map +1 -0
- package/dist/models/DeletePolarOssauthorizedAccountRequest.d.ts +39 -0
- package/dist/models/DeletePolarOssauthorizedAccountRequest.js +64 -0
- package/dist/models/DeletePolarOssauthorizedAccountRequest.js.map +1 -0
- package/dist/models/DeletePolarOssauthorizedAccountResponse.d.ts +19 -0
- package/dist/models/DeletePolarOssauthorizedAccountResponse.js +69 -0
- package/dist/models/DeletePolarOssauthorizedAccountResponse.js.map +1 -0
- package/dist/models/DeletePolarOssauthorizedAccountResponseBody.d.ts +33 -0
- package/dist/models/DeletePolarOssauthorizedAccountResponseBody.js +64 -0
- package/dist/models/DeletePolarOssauthorizedAccountResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +6 -0
- package/dist/models/model.js +40 -28
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +108 -0
- package/src/models/AddPolarOssauthorizedAccountRequest.ts +58 -0
- package/src/models/AddPolarOssauthorizedAccountResponse.ts +40 -0
- package/src/models/AddPolarOssauthorizedAccountResponseBody.ts +52 -0
- package/src/models/DeletePolarOssauthorizedAccountRequest.ts +58 -0
- package/src/models/DeletePolarOssauthorizedAccountResponse.ts +40 -0
- package/src/models/DeletePolarOssauthorizedAccountResponseBody.ts +52 -0
- package/src/models/model.ts +6 -0
package/dist/client.d.ts
CHANGED
|
@@ -140,6 +140,21 @@ export default class Client extends OpenApi {
|
|
|
140
140
|
* @returns AddPolarFsQuotaResponse
|
|
141
141
|
*/
|
|
142
142
|
addPolarFsQuota(request: $_model.AddPolarFsQuotaRequest): Promise<$_model.AddPolarFsQuotaResponse>;
|
|
143
|
+
/**
|
|
144
|
+
* 添加冷存授权账号
|
|
145
|
+
*
|
|
146
|
+
* @param request - AddPolarOSSAuthorizedAccountRequest
|
|
147
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
148
|
+
* @returns AddPolarOSSAuthorizedAccountResponse
|
|
149
|
+
*/
|
|
150
|
+
addPolarOSSAuthorizedAccountWithOptions(request: $_model.AddPolarOSSAuthorizedAccountRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AddPolarOSSAuthorizedAccountResponse>;
|
|
151
|
+
/**
|
|
152
|
+
* 添加冷存授权账号
|
|
153
|
+
*
|
|
154
|
+
* @param request - AddPolarOSSAuthorizedAccountRequest
|
|
155
|
+
* @returns AddPolarOSSAuthorizedAccountResponse
|
|
156
|
+
*/
|
|
157
|
+
addPolarOSSAuthorizedAccount(request: $_model.AddPolarOSSAuthorizedAccountRequest): Promise<$_model.AddPolarOSSAuthorizedAccountResponse>;
|
|
143
158
|
/**
|
|
144
159
|
* Adds SQL throttling rules.
|
|
145
160
|
*
|
|
@@ -2304,6 +2319,21 @@ export default class Client extends OpenApi {
|
|
|
2304
2319
|
* @returns DeletePolarFsQuotaResponse
|
|
2305
2320
|
*/
|
|
2306
2321
|
deletePolarFsQuota(request: $_model.DeletePolarFsQuotaRequest): Promise<$_model.DeletePolarFsQuotaResponse>;
|
|
2322
|
+
/**
|
|
2323
|
+
* 删除冷存授权账号
|
|
2324
|
+
*
|
|
2325
|
+
* @param request - DeletePolarOSSAuthorizedAccountRequest
|
|
2326
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2327
|
+
* @returns DeletePolarOSSAuthorizedAccountResponse
|
|
2328
|
+
*/
|
|
2329
|
+
deletePolarOSSAuthorizedAccountWithOptions(request: $_model.DeletePolarOSSAuthorizedAccountRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeletePolarOSSAuthorizedAccountResponse>;
|
|
2330
|
+
/**
|
|
2331
|
+
* 删除冷存授权账号
|
|
2332
|
+
*
|
|
2333
|
+
* @param request - DeletePolarOSSAuthorizedAccountRequest
|
|
2334
|
+
* @returns DeletePolarOSSAuthorizedAccountResponse
|
|
2335
|
+
*/
|
|
2336
|
+
deletePolarOSSAuthorizedAccount(request: $_model.DeletePolarOSSAuthorizedAccountRequest): Promise<$_model.DeletePolarOSSAuthorizedAccountResponse>;
|
|
2307
2337
|
/**
|
|
2308
2338
|
* Deletes a throttling policy.
|
|
2309
2339
|
*
|
package/dist/client.js
CHANGED
|
@@ -500,6 +500,54 @@ class Client extends openapi_core_1.default {
|
|
|
500
500
|
let runtime = new $dara.RuntimeOptions({});
|
|
501
501
|
return await this.addPolarFsQuotaWithOptions(request, runtime);
|
|
502
502
|
}
|
|
503
|
+
/**
|
|
504
|
+
* 添加冷存授权账号
|
|
505
|
+
*
|
|
506
|
+
* @param request - AddPolarOSSAuthorizedAccountRequest
|
|
507
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
508
|
+
* @returns AddPolarOSSAuthorizedAccountResponse
|
|
509
|
+
*/
|
|
510
|
+
async addPolarOSSAuthorizedAccountWithOptions(request, runtime) {
|
|
511
|
+
request.validate();
|
|
512
|
+
let query = {};
|
|
513
|
+
if (!$dara.isNull(request.authorizedUserIds)) {
|
|
514
|
+
query["AuthorizedUserIds"] = request.authorizedUserIds;
|
|
515
|
+
}
|
|
516
|
+
if (!$dara.isNull(request.DBClusterId)) {
|
|
517
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
518
|
+
}
|
|
519
|
+
if (!$dara.isNull(request.pfsInstanceId)) {
|
|
520
|
+
query["PfsInstanceId"] = request.pfsInstanceId;
|
|
521
|
+
}
|
|
522
|
+
if (!$dara.isNull(request.regionId)) {
|
|
523
|
+
query["RegionId"] = request.regionId;
|
|
524
|
+
}
|
|
525
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
526
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
527
|
+
});
|
|
528
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
529
|
+
action: "AddPolarOSSAuthorizedAccount",
|
|
530
|
+
version: "2017-08-01",
|
|
531
|
+
protocol: "HTTPS",
|
|
532
|
+
pathname: "/",
|
|
533
|
+
method: "POST",
|
|
534
|
+
authType: "AK",
|
|
535
|
+
style: "RPC",
|
|
536
|
+
reqBodyType: "formData",
|
|
537
|
+
bodyType: "json",
|
|
538
|
+
});
|
|
539
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddPolarOSSAuthorizedAccountResponse({}));
|
|
540
|
+
}
|
|
541
|
+
/**
|
|
542
|
+
* 添加冷存授权账号
|
|
543
|
+
*
|
|
544
|
+
* @param request - AddPolarOSSAuthorizedAccountRequest
|
|
545
|
+
* @returns AddPolarOSSAuthorizedAccountResponse
|
|
546
|
+
*/
|
|
547
|
+
async addPolarOSSAuthorizedAccount(request) {
|
|
548
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
549
|
+
return await this.addPolarOSSAuthorizedAccountWithOptions(request, runtime);
|
|
550
|
+
}
|
|
503
551
|
/**
|
|
504
552
|
* Adds SQL throttling rules.
|
|
505
553
|
*
|
|
@@ -8139,6 +8187,54 @@ class Client extends openapi_core_1.default {
|
|
|
8139
8187
|
let runtime = new $dara.RuntimeOptions({});
|
|
8140
8188
|
return await this.deletePolarFsQuotaWithOptions(request, runtime);
|
|
8141
8189
|
}
|
|
8190
|
+
/**
|
|
8191
|
+
* 删除冷存授权账号
|
|
8192
|
+
*
|
|
8193
|
+
* @param request - DeletePolarOSSAuthorizedAccountRequest
|
|
8194
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8195
|
+
* @returns DeletePolarOSSAuthorizedAccountResponse
|
|
8196
|
+
*/
|
|
8197
|
+
async deletePolarOSSAuthorizedAccountWithOptions(request, runtime) {
|
|
8198
|
+
request.validate();
|
|
8199
|
+
let query = {};
|
|
8200
|
+
if (!$dara.isNull(request.authorizedUserIds)) {
|
|
8201
|
+
query["AuthorizedUserIds"] = request.authorizedUserIds;
|
|
8202
|
+
}
|
|
8203
|
+
if (!$dara.isNull(request.DBClusterId)) {
|
|
8204
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
8205
|
+
}
|
|
8206
|
+
if (!$dara.isNull(request.pfsInstanceId)) {
|
|
8207
|
+
query["PfsInstanceId"] = request.pfsInstanceId;
|
|
8208
|
+
}
|
|
8209
|
+
if (!$dara.isNull(request.regionId)) {
|
|
8210
|
+
query["RegionId"] = request.regionId;
|
|
8211
|
+
}
|
|
8212
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
8213
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
8214
|
+
});
|
|
8215
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
8216
|
+
action: "DeletePolarOSSAuthorizedAccount",
|
|
8217
|
+
version: "2017-08-01",
|
|
8218
|
+
protocol: "HTTPS",
|
|
8219
|
+
pathname: "/",
|
|
8220
|
+
method: "POST",
|
|
8221
|
+
authType: "AK",
|
|
8222
|
+
style: "RPC",
|
|
8223
|
+
reqBodyType: "formData",
|
|
8224
|
+
bodyType: "json",
|
|
8225
|
+
});
|
|
8226
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeletePolarOSSAuthorizedAccountResponse({}));
|
|
8227
|
+
}
|
|
8228
|
+
/**
|
|
8229
|
+
* 删除冷存授权账号
|
|
8230
|
+
*
|
|
8231
|
+
* @param request - DeletePolarOSSAuthorizedAccountRequest
|
|
8232
|
+
* @returns DeletePolarOSSAuthorizedAccountResponse
|
|
8233
|
+
*/
|
|
8234
|
+
async deletePolarOSSAuthorizedAccount(request) {
|
|
8235
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
8236
|
+
return await this.deletePolarOSSAuthorizedAccountWithOptions(request, runtime);
|
|
8237
|
+
}
|
|
8142
8238
|
/**
|
|
8143
8239
|
* Deletes a throttling policy.
|
|
8144
8240
|
*
|