@alicloud/dds20151201 1.0.6 → 3.6.5
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 +13 -0
- package/dist/client.js +41 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +59 -0
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -446,6 +446,7 @@ export class CreateDBInstanceRequest extends $tea.Model {
|
|
|
446
446
|
databaseNames?: string;
|
|
447
447
|
engine?: string;
|
|
448
448
|
engineVersion?: string;
|
|
449
|
+
hiddenZoneId?: string;
|
|
449
450
|
networkType?: string;
|
|
450
451
|
ownerAccount?: string;
|
|
451
452
|
ownerId?: number;
|
|
@@ -457,6 +458,7 @@ export class CreateDBInstanceRequest extends $tea.Model {
|
|
|
457
458
|
resourceOwnerAccount?: string;
|
|
458
459
|
resourceOwnerId?: number;
|
|
459
460
|
restoreTime?: string;
|
|
461
|
+
secondaryZoneId?: string;
|
|
460
462
|
securityIPList?: string;
|
|
461
463
|
securityToken?: string;
|
|
462
464
|
srcDBInstanceId?: string;
|
|
@@ -480,6 +482,7 @@ export class CreateDBInstanceRequest extends $tea.Model {
|
|
|
480
482
|
databaseNames: 'DatabaseNames',
|
|
481
483
|
engine: 'Engine',
|
|
482
484
|
engineVersion: 'EngineVersion',
|
|
485
|
+
hiddenZoneId: 'HiddenZoneId',
|
|
483
486
|
networkType: 'NetworkType',
|
|
484
487
|
ownerAccount: 'OwnerAccount',
|
|
485
488
|
ownerId: 'OwnerId',
|
|
@@ -491,6 +494,7 @@ export class CreateDBInstanceRequest extends $tea.Model {
|
|
|
491
494
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
492
495
|
resourceOwnerId: 'ResourceOwnerId',
|
|
493
496
|
restoreTime: 'RestoreTime',
|
|
497
|
+
secondaryZoneId: 'SecondaryZoneId',
|
|
494
498
|
securityIPList: 'SecurityIPList',
|
|
495
499
|
securityToken: 'SecurityToken',
|
|
496
500
|
srcDBInstanceId: 'SrcDBInstanceId',
|
|
@@ -517,6 +521,7 @@ export class CreateDBInstanceRequest extends $tea.Model {
|
|
|
517
521
|
databaseNames: 'string',
|
|
518
522
|
engine: 'string',
|
|
519
523
|
engineVersion: 'string',
|
|
524
|
+
hiddenZoneId: 'string',
|
|
520
525
|
networkType: 'string',
|
|
521
526
|
ownerAccount: 'string',
|
|
522
527
|
ownerId: 'number',
|
|
@@ -528,6 +533,7 @@ export class CreateDBInstanceRequest extends $tea.Model {
|
|
|
528
533
|
resourceOwnerAccount: 'string',
|
|
529
534
|
resourceOwnerId: 'number',
|
|
530
535
|
restoreTime: 'string',
|
|
536
|
+
secondaryZoneId: 'string',
|
|
531
537
|
securityIPList: 'string',
|
|
532
538
|
securityToken: 'string',
|
|
533
539
|
srcDBInstanceId: 'string',
|
|
@@ -3165,6 +3171,7 @@ export class DescribeDBInstancesOverviewRequest extends $tea.Model {
|
|
|
3165
3171
|
networkType?: string;
|
|
3166
3172
|
ownerAccount?: string;
|
|
3167
3173
|
ownerId?: number;
|
|
3174
|
+
regionId?: string;
|
|
3168
3175
|
resourceGroupId?: string;
|
|
3169
3176
|
resourceOwnerAccount?: string;
|
|
3170
3177
|
resourceOwnerId?: number;
|
|
@@ -3183,6 +3190,7 @@ export class DescribeDBInstancesOverviewRequest extends $tea.Model {
|
|
|
3183
3190
|
networkType: 'NetworkType',
|
|
3184
3191
|
ownerAccount: 'OwnerAccount',
|
|
3185
3192
|
ownerId: 'OwnerId',
|
|
3193
|
+
regionId: 'RegionId',
|
|
3186
3194
|
resourceGroupId: 'ResourceGroupId',
|
|
3187
3195
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
3188
3196
|
resourceOwnerId: 'ResourceOwnerId',
|
|
@@ -3204,6 +3212,7 @@ export class DescribeDBInstancesOverviewRequest extends $tea.Model {
|
|
|
3204
3212
|
networkType: 'string',
|
|
3205
3213
|
ownerAccount: 'string',
|
|
3206
3214
|
ownerId: 'number',
|
|
3215
|
+
regionId: 'string',
|
|
3207
3216
|
resourceGroupId: 'string',
|
|
3208
3217
|
resourceOwnerAccount: 'string',
|
|
3209
3218
|
resourceOwnerId: 'number',
|
|
@@ -3709,24 +3718,48 @@ export class DescribeMongoDBLogConfigRequest extends $tea.Model {
|
|
|
3709
3718
|
}
|
|
3710
3719
|
|
|
3711
3720
|
export class DescribeMongoDBLogConfigResponseBody extends $tea.Model {
|
|
3721
|
+
enableAudit?: boolean;
|
|
3712
3722
|
isEtlMetaExist?: number;
|
|
3713
3723
|
isUserProjectLogstoreExist?: number;
|
|
3724
|
+
preserveStorageForStandard?: number;
|
|
3725
|
+
preserveStorageForTrail?: number;
|
|
3714
3726
|
requestId?: string;
|
|
3727
|
+
serviceType?: string;
|
|
3728
|
+
ttlForStandard?: number;
|
|
3729
|
+
ttlForTrail?: number;
|
|
3730
|
+
usedStorageForStandard?: number;
|
|
3731
|
+
usedStorageForTrail?: number;
|
|
3715
3732
|
userProjectName?: string;
|
|
3716
3733
|
static names(): { [key: string]: string } {
|
|
3717
3734
|
return {
|
|
3735
|
+
enableAudit: 'EnableAudit',
|
|
3718
3736
|
isEtlMetaExist: 'IsEtlMetaExist',
|
|
3719
3737
|
isUserProjectLogstoreExist: 'IsUserProjectLogstoreExist',
|
|
3738
|
+
preserveStorageForStandard: 'PreserveStorageForStandard',
|
|
3739
|
+
preserveStorageForTrail: 'PreserveStorageForTrail',
|
|
3720
3740
|
requestId: 'RequestId',
|
|
3741
|
+
serviceType: 'ServiceType',
|
|
3742
|
+
ttlForStandard: 'TtlForStandard',
|
|
3743
|
+
ttlForTrail: 'TtlForTrail',
|
|
3744
|
+
usedStorageForStandard: 'UsedStorageForStandard',
|
|
3745
|
+
usedStorageForTrail: 'UsedStorageForTrail',
|
|
3721
3746
|
userProjectName: 'UserProjectName',
|
|
3722
3747
|
};
|
|
3723
3748
|
}
|
|
3724
3749
|
|
|
3725
3750
|
static types(): { [key: string]: any } {
|
|
3726
3751
|
return {
|
|
3752
|
+
enableAudit: 'boolean',
|
|
3727
3753
|
isEtlMetaExist: 'number',
|
|
3728
3754
|
isUserProjectLogstoreExist: 'number',
|
|
3755
|
+
preserveStorageForStandard: 'number',
|
|
3756
|
+
preserveStorageForTrail: 'number',
|
|
3729
3757
|
requestId: 'string',
|
|
3758
|
+
serviceType: 'string',
|
|
3759
|
+
ttlForStandard: 'number',
|
|
3760
|
+
ttlForTrail: 'number',
|
|
3761
|
+
usedStorageForStandard: 'number',
|
|
3762
|
+
usedStorageForTrail: 'number',
|
|
3730
3763
|
userProjectName: 'string',
|
|
3731
3764
|
};
|
|
3732
3765
|
}
|
|
@@ -5727,6 +5760,7 @@ export class ModifyAuditLogFilterResponse extends $tea.Model {
|
|
|
5727
5760
|
}
|
|
5728
5761
|
|
|
5729
5762
|
export class ModifyAuditPolicyRequest extends $tea.Model {
|
|
5763
|
+
auditLogSwitchSource?: string;
|
|
5730
5764
|
auditStatus?: string;
|
|
5731
5765
|
DBInstanceId?: string;
|
|
5732
5766
|
ownerAccount?: string;
|
|
@@ -5734,9 +5768,11 @@ export class ModifyAuditPolicyRequest extends $tea.Model {
|
|
|
5734
5768
|
resourceOwnerAccount?: string;
|
|
5735
5769
|
resourceOwnerId?: number;
|
|
5736
5770
|
securityToken?: string;
|
|
5771
|
+
serviceType?: string;
|
|
5737
5772
|
storagePeriod?: number;
|
|
5738
5773
|
static names(): { [key: string]: string } {
|
|
5739
5774
|
return {
|
|
5775
|
+
auditLogSwitchSource: 'AuditLogSwitchSource',
|
|
5740
5776
|
auditStatus: 'AuditStatus',
|
|
5741
5777
|
DBInstanceId: 'DBInstanceId',
|
|
5742
5778
|
ownerAccount: 'OwnerAccount',
|
|
@@ -5744,12 +5780,14 @@ export class ModifyAuditPolicyRequest extends $tea.Model {
|
|
|
5744
5780
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
5745
5781
|
resourceOwnerId: 'ResourceOwnerId',
|
|
5746
5782
|
securityToken: 'SecurityToken',
|
|
5783
|
+
serviceType: 'ServiceType',
|
|
5747
5784
|
storagePeriod: 'StoragePeriod',
|
|
5748
5785
|
};
|
|
5749
5786
|
}
|
|
5750
5787
|
|
|
5751
5788
|
static types(): { [key: string]: any } {
|
|
5752
5789
|
return {
|
|
5790
|
+
auditLogSwitchSource: 'string',
|
|
5753
5791
|
auditStatus: 'string',
|
|
5754
5792
|
DBInstanceId: 'string',
|
|
5755
5793
|
ownerAccount: 'string',
|
|
@@ -5757,6 +5795,7 @@ export class ModifyAuditPolicyRequest extends $tea.Model {
|
|
|
5757
5795
|
resourceOwnerAccount: 'string',
|
|
5758
5796
|
resourceOwnerId: 'number',
|
|
5759
5797
|
securityToken: 'string',
|
|
5798
|
+
serviceType: 'string',
|
|
5760
5799
|
storagePeriod: 'number',
|
|
5761
5800
|
};
|
|
5762
5801
|
}
|
|
@@ -12018,6 +12057,10 @@ export default class Client extends OpenApi {
|
|
|
12018
12057
|
query["EngineVersion"] = request.engineVersion;
|
|
12019
12058
|
}
|
|
12020
12059
|
|
|
12060
|
+
if (!Util.isUnset(request.hiddenZoneId)) {
|
|
12061
|
+
query["HiddenZoneId"] = request.hiddenZoneId;
|
|
12062
|
+
}
|
|
12063
|
+
|
|
12021
12064
|
if (!Util.isUnset(request.networkType)) {
|
|
12022
12065
|
query["NetworkType"] = request.networkType;
|
|
12023
12066
|
}
|
|
@@ -12062,6 +12105,10 @@ export default class Client extends OpenApi {
|
|
|
12062
12105
|
query["RestoreTime"] = request.restoreTime;
|
|
12063
12106
|
}
|
|
12064
12107
|
|
|
12108
|
+
if (!Util.isUnset(request.secondaryZoneId)) {
|
|
12109
|
+
query["SecondaryZoneId"] = request.secondaryZoneId;
|
|
12110
|
+
}
|
|
12111
|
+
|
|
12065
12112
|
if (!Util.isUnset(request.securityIPList)) {
|
|
12066
12113
|
query["SecurityIPList"] = request.securityIPList;
|
|
12067
12114
|
}
|
|
@@ -13946,6 +13993,10 @@ export default class Client extends OpenApi {
|
|
|
13946
13993
|
query["OwnerId"] = request.ownerId;
|
|
13947
13994
|
}
|
|
13948
13995
|
|
|
13996
|
+
if (!Util.isUnset(request.regionId)) {
|
|
13997
|
+
query["RegionId"] = request.regionId;
|
|
13998
|
+
}
|
|
13999
|
+
|
|
13949
14000
|
if (!Util.isUnset(request.resourceGroupId)) {
|
|
13950
14001
|
query["ResourceGroupId"] = request.resourceGroupId;
|
|
13951
14002
|
}
|
|
@@ -15658,6 +15709,10 @@ export default class Client extends OpenApi {
|
|
|
15658
15709
|
async modifyAuditPolicyWithOptions(request: ModifyAuditPolicyRequest, runtime: $Util.RuntimeOptions): Promise<ModifyAuditPolicyResponse> {
|
|
15659
15710
|
Util.validateModel(request);
|
|
15660
15711
|
let query = { };
|
|
15712
|
+
if (!Util.isUnset(request.auditLogSwitchSource)) {
|
|
15713
|
+
query["AuditLogSwitchSource"] = request.auditLogSwitchSource;
|
|
15714
|
+
}
|
|
15715
|
+
|
|
15661
15716
|
if (!Util.isUnset(request.auditStatus)) {
|
|
15662
15717
|
query["AuditStatus"] = request.auditStatus;
|
|
15663
15718
|
}
|
|
@@ -15686,6 +15741,10 @@ export default class Client extends OpenApi {
|
|
|
15686
15741
|
query["SecurityToken"] = request.securityToken;
|
|
15687
15742
|
}
|
|
15688
15743
|
|
|
15744
|
+
if (!Util.isUnset(request.serviceType)) {
|
|
15745
|
+
query["ServiceType"] = request.serviceType;
|
|
15746
|
+
}
|
|
15747
|
+
|
|
15689
15748
|
if (!Util.isUnset(request.storagePeriod)) {
|
|
15690
15749
|
query["StoragePeriod"] = request.storagePeriod;
|
|
15691
15750
|
}
|