@scaleway/sdk-rdb 2.2.1 → 2.3.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/README.md +1 -1
- package/dist/_virtual/_rolldown/runtime.js +11 -0
- package/dist/index.gen.js +2 -4
- package/dist/v1/api.gen.js +723 -1033
- package/dist/v1/content.gen.js +29 -34
- package/dist/v1/index.gen.js +71 -69
- package/dist/v1/marshalling.gen.js +496 -809
- package/dist/v1/validation-rules.gen.js +4 -8
- package/package.json +4 -4
package/dist/v1/content.gen.js
CHANGED
|
@@ -1,42 +1,37 @@
|
|
|
1
|
+
/** Lists transient statutes of the enum {@link DatabaseBackupStatus}. */
|
|
1
2
|
const DATABASE_BACKUP_TRANSIENT_STATUSES = [
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
];
|
|
7
|
-
const INSTANCE_LOG_TRANSIENT_STATUSES = [
|
|
8
|
-
"creating"
|
|
3
|
+
"creating",
|
|
4
|
+
"restoring",
|
|
5
|
+
"deleting",
|
|
6
|
+
"exporting"
|
|
9
7
|
];
|
|
8
|
+
/** Lists transient statutes of the enum {@link InstanceLogStatus}. */
|
|
9
|
+
const INSTANCE_LOG_TRANSIENT_STATUSES = ["creating"];
|
|
10
|
+
/** Lists transient statutes of the enum {@link InstanceStatus}. */
|
|
10
11
|
const INSTANCE_TRANSIENT_STATUSES = [
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
];
|
|
20
|
-
const MAINTENANCE_TRANSIENT_STATUSES = [
|
|
21
|
-
"ongoing"
|
|
12
|
+
"provisioning",
|
|
13
|
+
"configuring",
|
|
14
|
+
"deleting",
|
|
15
|
+
"autohealing",
|
|
16
|
+
"initializing",
|
|
17
|
+
"backuping",
|
|
18
|
+
"snapshotting",
|
|
19
|
+
"restarting"
|
|
22
20
|
];
|
|
21
|
+
/** Lists transient statutes of the enum {@link MaintenanceStatus}. */
|
|
22
|
+
const MAINTENANCE_TRANSIENT_STATUSES = ["ongoing"];
|
|
23
|
+
/** Lists transient statutes of the enum {@link ReadReplicaStatus}. */
|
|
23
24
|
const READ_REPLICA_TRANSIENT_STATUSES = [
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
25
|
+
"provisioning",
|
|
26
|
+
"initializing",
|
|
27
|
+
"deleting",
|
|
28
|
+
"configuring",
|
|
29
|
+
"promoting"
|
|
29
30
|
];
|
|
31
|
+
/** Lists transient statutes of the enum {@link SnapshotStatus}. */
|
|
30
32
|
const SNAPSHOT_TRANSIENT_STATUSES = [
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
33
|
+
"creating",
|
|
34
|
+
"restoring",
|
|
35
|
+
"deleting"
|
|
34
36
|
];
|
|
35
|
-
export {
|
|
36
|
-
DATABASE_BACKUP_TRANSIENT_STATUSES,
|
|
37
|
-
INSTANCE_LOG_TRANSIENT_STATUSES,
|
|
38
|
-
INSTANCE_TRANSIENT_STATUSES,
|
|
39
|
-
MAINTENANCE_TRANSIENT_STATUSES,
|
|
40
|
-
READ_REPLICA_TRANSIENT_STATUSES,
|
|
41
|
-
SNAPSHOT_TRANSIENT_STATUSES
|
|
42
|
-
};
|
|
37
|
+
export { DATABASE_BACKUP_TRANSIENT_STATUSES, INSTANCE_LOG_TRANSIENT_STATUSES, INSTANCE_TRANSIENT_STATUSES, MAINTENANCE_TRANSIENT_STATUSES, READ_REPLICA_TRANSIENT_STATUSES, SNAPSHOT_TRANSIENT_STATUSES };
|
package/dist/v1/index.gen.js
CHANGED
|
@@ -1,71 +1,73 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { DATABASE_BACKUP_TRANSIENT_STATUSES, INSTANCE_LOG_TRANSIENT_STATUSES, INSTANCE_TRANSIENT_STATUSES, MAINTENANCE_TRANSIENT_STATUSES, READ_REPLICA_TRANSIENT_STATUSES, SNAPSHOT_TRANSIENT_STATUSES } from "./content.gen.js";
|
|
3
3
|
import { marshalAddInstanceACLRulesRequest, marshalAddInstanceSettingsRequest, marshalCloneInstanceRequest, marshalCreateDatabaseBackupRequest, marshalCreateDatabaseRequest, marshalCreateEndpointRequest, marshalCreateInstanceFromSnapshotRequest, marshalCreateInstanceRequest, marshalCreateReadReplicaEndpointRequest, marshalCreateReadReplicaRequest, marshalCreateSnapshotRequest, marshalCreateUserRequest, marshalDeleteInstanceACLRulesRequest, marshalDeleteInstanceSettingsRequest, marshalMigrateEndpointRequest, marshalPrepareInstanceLogsRequest, marshalPurgeInstanceLogsRequest, marshalRestoreDatabaseBackupRequest, marshalSetInstanceACLRulesRequest, marshalSetInstanceSettingsRequest, marshalSetPrivilegeRequest, marshalUpdateDatabaseBackupRequest, marshalUpdateInstanceRequest, marshalUpdateSnapshotRequest, marshalUpdateUserRequest, marshalUpgradeInstanceRequest, unmarshalACLRule, unmarshalAddInstanceACLRulesResponse, unmarshalAddInstanceSettingsResponse, unmarshalBackupSchedule, unmarshalDatabase, unmarshalDatabaseBackup, unmarshalDeleteInstanceACLRulesResponse, unmarshalDeleteInstanceSettingsResponse, unmarshalEndpoint, unmarshalInstance, unmarshalInstanceLog, unmarshalInstanceMetrics, unmarshalListDatabaseBackupsResponse, unmarshalListDatabaseEnginesResponse, unmarshalListDatabasesResponse, unmarshalListInstanceACLRulesResponse, unmarshalListInstanceLogsDetailsResponse, unmarshalListInstanceLogsResponse, unmarshalListInstancesResponse, unmarshalListNodeTypesResponse, unmarshalListPrivilegesResponse, unmarshalListSnapshotsResponse, unmarshalListUsersResponse, unmarshalMaintenance, unmarshalPrepareInstanceLogsResponse, unmarshalPrivilege, unmarshalReadReplica, unmarshalSetInstanceACLRulesResponse, unmarshalSetInstanceSettingsResponse, unmarshalSnapshot, unmarshalUser } from "./marshalling.gen.js";
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
4
|
+
import { API } from "./api.gen.js";
|
|
5
|
+
import { validation_rules_gen_exports } from "./validation-rules.gen.js";
|
|
6
|
+
var index_gen_exports = /* @__PURE__ */ __exportAll({
|
|
7
|
+
API: () => API,
|
|
8
|
+
DATABASE_BACKUP_TRANSIENT_STATUSES: () => DATABASE_BACKUP_TRANSIENT_STATUSES,
|
|
9
|
+
INSTANCE_LOG_TRANSIENT_STATUSES: () => INSTANCE_LOG_TRANSIENT_STATUSES,
|
|
10
|
+
INSTANCE_TRANSIENT_STATUSES: () => INSTANCE_TRANSIENT_STATUSES,
|
|
11
|
+
MAINTENANCE_TRANSIENT_STATUSES: () => MAINTENANCE_TRANSIENT_STATUSES,
|
|
12
|
+
READ_REPLICA_TRANSIENT_STATUSES: () => READ_REPLICA_TRANSIENT_STATUSES,
|
|
13
|
+
SNAPSHOT_TRANSIENT_STATUSES: () => SNAPSHOT_TRANSIENT_STATUSES,
|
|
14
|
+
ValidationRules: () => validation_rules_gen_exports,
|
|
15
|
+
marshalAddInstanceACLRulesRequest: () => marshalAddInstanceACLRulesRequest,
|
|
16
|
+
marshalAddInstanceSettingsRequest: () => marshalAddInstanceSettingsRequest,
|
|
17
|
+
marshalCloneInstanceRequest: () => marshalCloneInstanceRequest,
|
|
18
|
+
marshalCreateDatabaseBackupRequest: () => marshalCreateDatabaseBackupRequest,
|
|
19
|
+
marshalCreateDatabaseRequest: () => marshalCreateDatabaseRequest,
|
|
20
|
+
marshalCreateEndpointRequest: () => marshalCreateEndpointRequest,
|
|
21
|
+
marshalCreateInstanceFromSnapshotRequest: () => marshalCreateInstanceFromSnapshotRequest,
|
|
22
|
+
marshalCreateInstanceRequest: () => marshalCreateInstanceRequest,
|
|
23
|
+
marshalCreateReadReplicaEndpointRequest: () => marshalCreateReadReplicaEndpointRequest,
|
|
24
|
+
marshalCreateReadReplicaRequest: () => marshalCreateReadReplicaRequest,
|
|
25
|
+
marshalCreateSnapshotRequest: () => marshalCreateSnapshotRequest,
|
|
26
|
+
marshalCreateUserRequest: () => marshalCreateUserRequest,
|
|
27
|
+
marshalDeleteInstanceACLRulesRequest: () => marshalDeleteInstanceACLRulesRequest,
|
|
28
|
+
marshalDeleteInstanceSettingsRequest: () => marshalDeleteInstanceSettingsRequest,
|
|
29
|
+
marshalMigrateEndpointRequest: () => marshalMigrateEndpointRequest,
|
|
30
|
+
marshalPrepareInstanceLogsRequest: () => marshalPrepareInstanceLogsRequest,
|
|
31
|
+
marshalPurgeInstanceLogsRequest: () => marshalPurgeInstanceLogsRequest,
|
|
32
|
+
marshalRestoreDatabaseBackupRequest: () => marshalRestoreDatabaseBackupRequest,
|
|
33
|
+
marshalSetInstanceACLRulesRequest: () => marshalSetInstanceACLRulesRequest,
|
|
34
|
+
marshalSetInstanceSettingsRequest: () => marshalSetInstanceSettingsRequest,
|
|
35
|
+
marshalSetPrivilegeRequest: () => marshalSetPrivilegeRequest,
|
|
36
|
+
marshalUpdateDatabaseBackupRequest: () => marshalUpdateDatabaseBackupRequest,
|
|
37
|
+
marshalUpdateInstanceRequest: () => marshalUpdateInstanceRequest,
|
|
38
|
+
marshalUpdateSnapshotRequest: () => marshalUpdateSnapshotRequest,
|
|
39
|
+
marshalUpdateUserRequest: () => marshalUpdateUserRequest,
|
|
40
|
+
marshalUpgradeInstanceRequest: () => marshalUpgradeInstanceRequest,
|
|
41
|
+
unmarshalACLRule: () => unmarshalACLRule,
|
|
42
|
+
unmarshalAddInstanceACLRulesResponse: () => unmarshalAddInstanceACLRulesResponse,
|
|
43
|
+
unmarshalAddInstanceSettingsResponse: () => unmarshalAddInstanceSettingsResponse,
|
|
44
|
+
unmarshalBackupSchedule: () => unmarshalBackupSchedule,
|
|
45
|
+
unmarshalDatabase: () => unmarshalDatabase,
|
|
46
|
+
unmarshalDatabaseBackup: () => unmarshalDatabaseBackup,
|
|
47
|
+
unmarshalDeleteInstanceACLRulesResponse: () => unmarshalDeleteInstanceACLRulesResponse,
|
|
48
|
+
unmarshalDeleteInstanceSettingsResponse: () => unmarshalDeleteInstanceSettingsResponse,
|
|
49
|
+
unmarshalEndpoint: () => unmarshalEndpoint,
|
|
50
|
+
unmarshalInstance: () => unmarshalInstance,
|
|
51
|
+
unmarshalInstanceLog: () => unmarshalInstanceLog,
|
|
52
|
+
unmarshalInstanceMetrics: () => unmarshalInstanceMetrics,
|
|
53
|
+
unmarshalListDatabaseBackupsResponse: () => unmarshalListDatabaseBackupsResponse,
|
|
54
|
+
unmarshalListDatabaseEnginesResponse: () => unmarshalListDatabaseEnginesResponse,
|
|
55
|
+
unmarshalListDatabasesResponse: () => unmarshalListDatabasesResponse,
|
|
56
|
+
unmarshalListInstanceACLRulesResponse: () => unmarshalListInstanceACLRulesResponse,
|
|
57
|
+
unmarshalListInstanceLogsDetailsResponse: () => unmarshalListInstanceLogsDetailsResponse,
|
|
58
|
+
unmarshalListInstanceLogsResponse: () => unmarshalListInstanceLogsResponse,
|
|
59
|
+
unmarshalListInstancesResponse: () => unmarshalListInstancesResponse,
|
|
60
|
+
unmarshalListNodeTypesResponse: () => unmarshalListNodeTypesResponse,
|
|
61
|
+
unmarshalListPrivilegesResponse: () => unmarshalListPrivilegesResponse,
|
|
62
|
+
unmarshalListSnapshotsResponse: () => unmarshalListSnapshotsResponse,
|
|
63
|
+
unmarshalListUsersResponse: () => unmarshalListUsersResponse,
|
|
64
|
+
unmarshalMaintenance: () => unmarshalMaintenance,
|
|
65
|
+
unmarshalPrepareInstanceLogsResponse: () => unmarshalPrepareInstanceLogsResponse,
|
|
66
|
+
unmarshalPrivilege: () => unmarshalPrivilege,
|
|
67
|
+
unmarshalReadReplica: () => unmarshalReadReplica,
|
|
68
|
+
unmarshalSetInstanceACLRulesResponse: () => unmarshalSetInstanceACLRulesResponse,
|
|
69
|
+
unmarshalSetInstanceSettingsResponse: () => unmarshalSetInstanceSettingsResponse,
|
|
70
|
+
unmarshalSnapshot: () => unmarshalSnapshot,
|
|
71
|
+
unmarshalUser: () => unmarshalUser
|
|
72
|
+
});
|
|
73
|
+
export { index_gen_exports };
|