@distilled.cloud/ovh 0.0.0 → 1.0.0-rc.10
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/LICENSE +201 -0
- package/lib/credentials.d.ts +38 -0
- package/lib/credentials.d.ts.map +1 -0
- package/lib/credentials.js +54 -0
- package/lib/credentials.js.map +1 -0
- package/lib/errors.d.ts +36 -0
- package/lib/errors.d.ts.map +1 -0
- package/lib/errors.js +26 -0
- package/lib/errors.js.map +1 -0
- package/lib/index.d.ts +22 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +22 -0
- package/lib/index.js.map +1 -0
- package/lib/pagination.d.ts +8 -0
- package/lib/pagination.d.ts.map +1 -0
- package/lib/pagination.js +8 -0
- package/lib/pagination.js.map +1 -0
- package/lib/protocol.d.ts +18 -0
- package/lib/protocol.d.ts.map +1 -0
- package/lib/protocol.js +60 -0
- package/lib/protocol.js.map +1 -0
- package/lib/retry.d.ts +32 -0
- package/lib/retry.d.ts.map +1 -0
- package/lib/retry.js +32 -0
- package/lib/retry.js.map +1 -0
- package/lib/services/baremetal.d.ts +3551 -0
- package/lib/services/baremetal.d.ts.map +1 -0
- package/lib/services/baremetal.js +4187 -0
- package/lib/services/baremetal.js.map +1 -0
- package/lib/services/cloud.d.ts +26011 -0
- package/lib/services/cloud.d.ts.map +1 -0
- package/lib/services/cloud.js +31061 -0
- package/lib/services/cloud.js.map +1 -0
- package/lib/services/cloud_v2.d.ts +5642 -0
- package/lib/services/cloud_v2.d.ts.map +1 -0
- package/lib/services/cloud_v2.js +5733 -0
- package/lib/services/cloud_v2.js.map +1 -0
- package/lib/services/dedicatedceph.d.ts +747 -0
- package/lib/services/dedicatedceph.d.ts.map +1 -0
- package/lib/services/dedicatedceph.js +960 -0
- package/lib/services/dedicatedceph.js.map +1 -0
- package/lib/services/dedicatednasha.d.ts +755 -0
- package/lib/services/dedicatednasha.d.ts.map +1 -0
- package/lib/services/dedicatednasha.js +965 -0
- package/lib/services/dedicatednasha.js.map +1 -0
- package/lib/services/domain.d.ts +2995 -0
- package/lib/services/domain.d.ts.map +1 -0
- package/lib/services/domain.js +3078 -0
- package/lib/services/domain.js.map +1 -0
- package/lib/services/emaildomain.d.ts +1913 -0
- package/lib/services/emaildomain.d.ts.map +1 -0
- package/lib/services/emaildomain.js +2550 -0
- package/lib/services/emaildomain.js.map +1 -0
- package/lib/services/emailmxplan.d.ts +1012 -0
- package/lib/services/emailmxplan.d.ts.map +1 -0
- package/lib/services/emailmxplan.js +1155 -0
- package/lib/services/emailmxplan.js.map +1 -0
- package/lib/services/emailpro.d.ts +1287 -0
- package/lib/services/emailpro.d.ts.map +1 -0
- package/lib/services/emailpro.js +1471 -0
- package/lib/services/emailpro.js.map +1 -0
- package/lib/services/hostingprivatedatabase.d.ts +1402 -0
- package/lib/services/hostingprivatedatabase.d.ts.map +1 -0
- package/lib/services/hostingprivatedatabase.js +1829 -0
- package/lib/services/hostingprivatedatabase.js.map +1 -0
- package/lib/services/iam.d.ts +829 -0
- package/lib/services/iam.d.ts.map +1 -0
- package/lib/services/iam.js +793 -0
- package/lib/services/iam.js.map +1 -0
- package/lib/services/index.d.ts +31 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/index.js +32 -0
- package/lib/services/index.js.map +1 -0
- package/lib/services/ip.d.ts +1417 -0
- package/lib/services/ip.d.ts.map +1 -0
- package/lib/services/ip.js +1690 -0
- package/lib/services/ip.js.map +1 -0
- package/lib/services/iploadbalancing.d.ts +3059 -0
- package/lib/services/iploadbalancing.d.ts.map +1 -0
- package/lib/services/iploadbalancing.js +3553 -0
- package/lib/services/iploadbalancing.js.map +1 -0
- package/lib/services/ldp.d.ts +2492 -0
- package/lib/services/ldp.d.ts.map +1 -0
- package/lib/services/ldp.js +3067 -0
- package/lib/services/ldp.js.map +1 -0
- package/lib/services/me.d.ts +7511 -0
- package/lib/services/me.d.ts.map +1 -0
- package/lib/services/me.js +8874 -0
- package/lib/services/me.js.map +1 -0
- package/lib/services/overthebox.d.ts +981 -0
- package/lib/services/overthebox.d.ts.map +1 -0
- package/lib/services/overthebox.js +1122 -0
- package/lib/services/overthebox.js.map +1 -0
- package/lib/services/ovhcloudconnect.d.ts +1123 -0
- package/lib/services/ovhcloudconnect.d.ts.map +1 -0
- package/lib/services/ovhcloudconnect.js +1351 -0
- package/lib/services/ovhcloudconnect.js.map +1 -0
- package/lib/services/packxdsl.d.ts +1583 -0
- package/lib/services/packxdsl.d.ts.map +1 -0
- package/lib/services/packxdsl.js +1787 -0
- package/lib/services/packxdsl.js.map +1 -0
- package/lib/services/sms.d.ts +2602 -0
- package/lib/services/sms.d.ts.map +1 -0
- package/lib/services/sms.js +2995 -0
- package/lib/services/sms.js.map +1 -0
- package/lib/services/sslgateway.d.ts +493 -0
- package/lib/services/sslgateway.d.ts.map +1 -0
- package/lib/services/sslgateway.js +569 -0
- package/lib/services/sslgateway.js.map +1 -0
- package/lib/services/storagenetapp.d.ts +859 -0
- package/lib/services/storagenetapp.d.ts.map +1 -0
- package/lib/services/storagenetapp.js +1020 -0
- package/lib/services/storagenetapp.js.map +1 -0
- package/lib/services/support.d.ts +233 -0
- package/lib/services/support.d.ts.map +1 -0
- package/lib/services/support.js +237 -0
- package/lib/services/support.js.map +1 -0
- package/lib/services/telephony.d.ts +10825 -0
- package/lib/services/telephony.d.ts.map +1 -0
- package/lib/services/telephony.js +14877 -0
- package/lib/services/telephony.js.map +1 -0
- package/lib/services/vmwareclouddirectorbackup.d.ts +784 -0
- package/lib/services/vmwareclouddirectorbackup.d.ts.map +1 -0
- package/lib/services/vmwareclouddirectorbackup.js +841 -0
- package/lib/services/vmwareclouddirectorbackup.js.map +1 -0
- package/lib/services/vmwareclouddirectororganization.d.ts +784 -0
- package/lib/services/vmwareclouddirectororganization.d.ts.map +1 -0
- package/lib/services/vmwareclouddirectororganization.js +841 -0
- package/lib/services/vmwareclouddirectororganization.js.map +1 -0
- package/lib/services/vps.d.ts +1579 -0
- package/lib/services/vps.d.ts.map +1 -0
- package/lib/services/vps.js +1914 -0
- package/lib/services/vps.js.map +1 -0
- package/lib/services/vrack.d.ts +1204 -0
- package/lib/services/vrack.d.ts.map +1 -0
- package/lib/services/vrack.js +1627 -0
- package/lib/services/vrack.js.map +1 -0
- package/lib/services/vrackservices.d.ts +394 -0
- package/lib/services/vrackservices.d.ts.map +1 -0
- package/lib/services/vrackservices.js +355 -0
- package/lib/services/vrackservices.js.map +1 -0
- package/lib/services/webhosting.d.ts +3986 -0
- package/lib/services/webhosting.d.ts.map +1 -0
- package/lib/services/webhosting.js +4522 -0
- package/lib/services/webhosting.js.map +1 -0
- package/lib/services/xdsl.d.ts +3433 -0
- package/lib/services/xdsl.d.ts.map +1 -0
- package/lib/services/xdsl.js +3681 -0
- package/lib/services/xdsl.js.map +1 -0
- package/lib/traits.d.ts +11 -0
- package/lib/traits.d.ts.map +1 -0
- package/lib/traits.js +11 -0
- package/lib/traits.js.map +1 -0
- package/package.json +77 -6
- package/src/credentials.ts +77 -0
- package/src/errors.ts +50 -0
- package/src/index.ts +21 -0
- package/src/pagination.ts +7 -0
- package/src/protocol.ts +86 -0
- package/src/retry.ts +54 -0
- package/src/services/baremetal.ts +10949 -0
- package/src/services/cloud.ts +75466 -0
- package/src/services/cloud_v2.ts +14725 -0
- package/src/services/dedicatedceph.ts +2231 -0
- package/src/services/dedicatednasha.ts +2268 -0
- package/src/services/domain.ts +7996 -0
- package/src/services/emaildomain.ts +5751 -0
- package/src/services/emailmxplan.ts +2764 -0
- package/src/services/emailpro.ts +3519 -0
- package/src/services/hostingprivatedatabase.ts +4214 -0
- package/src/services/iam.ts +2060 -0
- package/src/services/index.ts +31 -0
- package/src/services/ip.ts +4461 -0
- package/src/services/iploadbalancing.ts +8421 -0
- package/src/services/ldp.ts +7269 -0
- package/src/services/me.ts +21716 -0
- package/src/services/overthebox.ts +2693 -0
- package/src/services/ovhcloudconnect.ts +3224 -0
- package/src/services/packxdsl.ts +4619 -0
- package/src/services/sms.ts +7255 -0
- package/src/services/sslgateway.ts +1408 -0
- package/src/services/storagenetapp.ts +2431 -0
- package/src/services/support.ts +598 -0
- package/src/services/telephony.ts +32926 -0
- package/src/services/vmwareclouddirectorbackup.ts +2170 -0
- package/src/services/vmwareclouddirectororganization.ts +2170 -0
- package/src/services/vps.ts +5134 -0
- package/src/services/vrack.ts +3730 -0
- package/src/services/vrackservices.ts +939 -0
- package/src/services/webhosting.ts +11285 -0
- package/src/services/xdsl.ts +9277 -0
- package/src/traits.ts +44 -0
|
@@ -0,0 +1,1829 @@
|
|
|
1
|
+
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-ovh). Do not edit.
|
|
2
|
+
import * as S from "@distilled.cloud/core/schema";
|
|
3
|
+
import * as Redacted from "effect/Redacted";
|
|
4
|
+
import * as API from "@distilled.cloud/core/api";
|
|
5
|
+
import * as T from "../traits.js";
|
|
6
|
+
import { OvhProtocol, } from "../protocol.js";
|
|
7
|
+
import { UnknownOvhError } from "../errors.js";
|
|
8
|
+
import * as Retry from "../retry.js";
|
|
9
|
+
export const ServiceTerminationFutureUseEnum = S.String;
|
|
10
|
+
export const ServiceTerminationReasonEnum = S.String;
|
|
11
|
+
export const ConfirmHostingPrivateDatabaseTerminationRequest =
|
|
12
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
13
|
+
serviceName: S.String.pipe(T.Label()),
|
|
14
|
+
commentary: S.optional(S.String),
|
|
15
|
+
futureUse: S.optional(ServiceTerminationFutureUseEnum),
|
|
16
|
+
reason: S.optional(ServiceTerminationReasonEnum),
|
|
17
|
+
token: S.String,
|
|
18
|
+
}).pipe(T.Http({
|
|
19
|
+
method: "POST",
|
|
20
|
+
uri: "/hosting/privateDatabase/{serviceName}/confirmTermination",
|
|
21
|
+
code: 200,
|
|
22
|
+
}))).annotate({
|
|
23
|
+
identifier: "ConfirmHostingPrivateDatabaseTerminationRequest",
|
|
24
|
+
});
|
|
25
|
+
export const ConfirmHostingPrivateDatabaseTerminationResponse =
|
|
26
|
+
/*@__PURE__*/ S.suspend(() => S.String.pipe(T.RawResponseRoot())).annotate({
|
|
27
|
+
identifier: "ConfirmHostingPrivateDatabaseTerminationResponse",
|
|
28
|
+
});
|
|
29
|
+
export const CopyHostingPrivateDatabaseDatabaseRequest =
|
|
30
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
31
|
+
serviceName: S.String.pipe(T.Label()),
|
|
32
|
+
databaseName: S.String.pipe(T.Label()),
|
|
33
|
+
}).pipe(T.Http({
|
|
34
|
+
method: "POST",
|
|
35
|
+
uri: "/hosting/privateDatabase/{serviceName}/database/{databaseName}/copy",
|
|
36
|
+
code: 200,
|
|
37
|
+
}))).annotate({
|
|
38
|
+
identifier: "CopyHostingPrivateDatabaseDatabaseRequest",
|
|
39
|
+
});
|
|
40
|
+
export const HostingPrivateDatabaseDatabaseCopyStatusEnum = S.String;
|
|
41
|
+
export const HostingPrivateDatabaseDatabaseCopy = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
42
|
+
creationDate: S.optional(S.String),
|
|
43
|
+
expirationDate: S.optional(S.NullOr(S.String)),
|
|
44
|
+
id: S.optional(S.String),
|
|
45
|
+
lastUpdate: S.optional(S.String),
|
|
46
|
+
status: S.optional(HostingPrivateDatabaseDatabaseCopyStatusEnum),
|
|
47
|
+
})).annotate({
|
|
48
|
+
identifier: "HostingPrivateDatabaseDatabaseCopy",
|
|
49
|
+
});
|
|
50
|
+
export const CopyHostingPrivateDatabaseDatabaseRestoreRequest =
|
|
51
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
52
|
+
serviceName: S.String.pipe(T.Label()),
|
|
53
|
+
databaseName: S.String.pipe(T.Label()),
|
|
54
|
+
copyId: S.String,
|
|
55
|
+
flushDatabase: S.optional(S.Boolean),
|
|
56
|
+
}).pipe(T.Http({
|
|
57
|
+
method: "POST",
|
|
58
|
+
uri: "/hosting/privateDatabase/{serviceName}/database/{databaseName}/copyRestore",
|
|
59
|
+
code: 200,
|
|
60
|
+
}))).annotate({
|
|
61
|
+
identifier: "CopyHostingPrivateDatabaseDatabaseRestoreRequest",
|
|
62
|
+
});
|
|
63
|
+
export const HostingPrivateDatabaseTaskFunctionEnum = S.String;
|
|
64
|
+
export const HostingPrivateDatabaseTaskStatusEnum = S.String;
|
|
65
|
+
export const HostingPrivateDatabaseTask = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
66
|
+
databaseName: S.optional(S.NullOr(S.String)),
|
|
67
|
+
doneDate: S.optional(S.NullOr(S.String)),
|
|
68
|
+
dumpId: S.optional(S.NullOr(S.Number)),
|
|
69
|
+
function: S.optional(HostingPrivateDatabaseTaskFunctionEnum),
|
|
70
|
+
id: S.optional(S.Number),
|
|
71
|
+
lastUpdate: S.optional(S.NullOr(S.String)),
|
|
72
|
+
startDate: S.optional(S.String),
|
|
73
|
+
status: S.optional(HostingPrivateDatabaseTaskStatusEnum),
|
|
74
|
+
userName: S.optional(S.NullOr(S.String)),
|
|
75
|
+
})).annotate({
|
|
76
|
+
identifier: "HostingPrivateDatabaseTask",
|
|
77
|
+
});
|
|
78
|
+
export const CreateHostingPrivateDatabaseChangeContactRequest =
|
|
79
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
80
|
+
serviceName: S.String.pipe(T.Label()),
|
|
81
|
+
contactAdmin: S.optional(S.String),
|
|
82
|
+
contactBilling: S.optional(S.String),
|
|
83
|
+
contactTech: S.optional(S.String),
|
|
84
|
+
}).pipe(T.Http({
|
|
85
|
+
method: "POST",
|
|
86
|
+
uri: "/hosting/privateDatabase/{serviceName}/changeContact",
|
|
87
|
+
code: 200,
|
|
88
|
+
}))).annotate({
|
|
89
|
+
identifier: "CreateHostingPrivateDatabaseChangeContactRequest",
|
|
90
|
+
});
|
|
91
|
+
export const CreateHostingPrivateDatabaseChangeContactResponseBodyList =
|
|
92
|
+
/*@__PURE__*/ S.Array(S.Number);
|
|
93
|
+
export const CreateHostingPrivateDatabaseChangeContactResponse =
|
|
94
|
+
/*@__PURE__*/ S.suspend(() => CreateHostingPrivateDatabaseChangeContactResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
95
|
+
identifier: "CreateHostingPrivateDatabaseChangeContactResponse",
|
|
96
|
+
});
|
|
97
|
+
export const CreateHostingPrivateDatabaseChangeFtpPasswordRequest =
|
|
98
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
99
|
+
serviceName: S.String.pipe(T.Label()),
|
|
100
|
+
password: S.String.pipe(T.SensitiveValue({})),
|
|
101
|
+
}).pipe(T.Http({
|
|
102
|
+
method: "POST",
|
|
103
|
+
uri: "/hosting/privateDatabase/{serviceName}/changeFtpPassword",
|
|
104
|
+
code: 200,
|
|
105
|
+
}))).annotate({
|
|
106
|
+
identifier: "CreateHostingPrivateDatabaseChangeFtpPasswordRequest",
|
|
107
|
+
});
|
|
108
|
+
export const HostingPrivateDatabaseAvailableVersionEnum = S.String;
|
|
109
|
+
export const CreateHostingPrivateDatabaseChangeVersionRequest =
|
|
110
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
111
|
+
serviceName: S.String.pipe(T.Label()),
|
|
112
|
+
version: HostingPrivateDatabaseAvailableVersionEnum,
|
|
113
|
+
}).pipe(T.Http({
|
|
114
|
+
method: "POST",
|
|
115
|
+
uri: "/hosting/privateDatabase/{serviceName}/changeVersion",
|
|
116
|
+
code: 200,
|
|
117
|
+
}))).annotate({
|
|
118
|
+
identifier: "CreateHostingPrivateDatabaseChangeVersionRequest",
|
|
119
|
+
});
|
|
120
|
+
export const CreateHostingPrivateDatabaseDatabaseRequest =
|
|
121
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
122
|
+
serviceName: S.String.pipe(T.Label()),
|
|
123
|
+
databaseName: S.String,
|
|
124
|
+
}).pipe(T.Http({
|
|
125
|
+
method: "POST",
|
|
126
|
+
uri: "/hosting/privateDatabase/{serviceName}/database",
|
|
127
|
+
code: 200,
|
|
128
|
+
}))).annotate({
|
|
129
|
+
identifier: "CreateHostingPrivateDatabaseDatabaseRequest",
|
|
130
|
+
});
|
|
131
|
+
export const CreateHostingPrivateDatabaseDatabaseDumpRequest =
|
|
132
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
133
|
+
serviceName: S.String.pipe(T.Label()),
|
|
134
|
+
databaseName: S.String.pipe(T.Label()),
|
|
135
|
+
sendEmail: S.optional(S.Boolean),
|
|
136
|
+
}).pipe(T.Http({
|
|
137
|
+
method: "POST",
|
|
138
|
+
uri: "/hosting/privateDatabase/{serviceName}/database/{databaseName}/dump",
|
|
139
|
+
code: 200,
|
|
140
|
+
}))).annotate({
|
|
141
|
+
identifier: "CreateHostingPrivateDatabaseDatabaseDumpRequest",
|
|
142
|
+
});
|
|
143
|
+
export const HostingPrivateDatabaseGrantGrantEnum = S.String;
|
|
144
|
+
export const CreateHostingPrivateDatabaseDatabaseWizardRequest =
|
|
145
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
146
|
+
serviceName: S.String.pipe(T.Label()),
|
|
147
|
+
databaseName: S.String,
|
|
148
|
+
grant: HostingPrivateDatabaseGrantGrantEnum,
|
|
149
|
+
password: S.String.pipe(T.SensitiveValue({})),
|
|
150
|
+
userName: S.String,
|
|
151
|
+
}).pipe(T.Http({
|
|
152
|
+
method: "POST",
|
|
153
|
+
uri: "/hosting/privateDatabase/{serviceName}/databaseWizard",
|
|
154
|
+
code: 200,
|
|
155
|
+
}))).annotate({
|
|
156
|
+
identifier: "CreateHostingPrivateDatabaseDatabaseWizardRequest",
|
|
157
|
+
});
|
|
158
|
+
export const CreateHostingPrivateDatabaseLogSubscriptionRequest =
|
|
159
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
160
|
+
serviceName: S.String.pipe(T.Label()),
|
|
161
|
+
kind: S.String,
|
|
162
|
+
streamId: S.String,
|
|
163
|
+
}).pipe(T.Http({
|
|
164
|
+
method: "POST",
|
|
165
|
+
uri: "/hosting/privateDatabase/{serviceName}/log/subscription",
|
|
166
|
+
code: 200,
|
|
167
|
+
}))).annotate({
|
|
168
|
+
identifier: "CreateHostingPrivateDatabaseLogSubscriptionRequest",
|
|
169
|
+
});
|
|
170
|
+
export const DbaasLogsLogSubscriptionResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
171
|
+
operationId: S.optional(S.String),
|
|
172
|
+
serviceName: S.optional(S.String),
|
|
173
|
+
})).annotate({
|
|
174
|
+
identifier: "DbaasLogsLogSubscriptionResponse",
|
|
175
|
+
});
|
|
176
|
+
export const CreateHostingPrivateDatabaseLogUrlRequest =
|
|
177
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
178
|
+
serviceName: S.String.pipe(T.Label()),
|
|
179
|
+
kind: S.String,
|
|
180
|
+
}).pipe(T.Http({
|
|
181
|
+
method: "POST",
|
|
182
|
+
uri: "/hosting/privateDatabase/{serviceName}/log/url",
|
|
183
|
+
code: 200,
|
|
184
|
+
}))).annotate({
|
|
185
|
+
identifier: "CreateHostingPrivateDatabaseLogUrlRequest",
|
|
186
|
+
});
|
|
187
|
+
export const DbaasLogsTemporaryLogsLink = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
188
|
+
expirationDate: S.optional(S.String),
|
|
189
|
+
url: S.optional(S.String),
|
|
190
|
+
})).annotate({
|
|
191
|
+
identifier: "DbaasLogsTemporaryLogsLink",
|
|
192
|
+
});
|
|
193
|
+
export const CreateHostingPrivateDatabaseQuotaRefreshRequest =
|
|
194
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
195
|
+
serviceName: S.String.pipe(T.Label()),
|
|
196
|
+
}).pipe(T.Http({
|
|
197
|
+
method: "POST",
|
|
198
|
+
uri: "/hosting/privateDatabase/{serviceName}/quotaRefresh",
|
|
199
|
+
code: 200,
|
|
200
|
+
}))).annotate({
|
|
201
|
+
identifier: "CreateHostingPrivateDatabaseQuotaRefreshRequest",
|
|
202
|
+
});
|
|
203
|
+
export const CreateHostingPrivateDatabaseUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
204
|
+
serviceName: S.String.pipe(T.Label()),
|
|
205
|
+
password: S.String.pipe(T.SensitiveValue({})),
|
|
206
|
+
userName: S.String,
|
|
207
|
+
}).pipe(T.Http({
|
|
208
|
+
method: "POST",
|
|
209
|
+
uri: "/hosting/privateDatabase/{serviceName}/user",
|
|
210
|
+
code: 200,
|
|
211
|
+
}))).annotate({
|
|
212
|
+
identifier: "CreateHostingPrivateDatabaseUserRequest",
|
|
213
|
+
});
|
|
214
|
+
export const CreateHostingPrivateDatabaseUserChangePasswordRequest =
|
|
215
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
216
|
+
serviceName: S.String.pipe(T.Label()),
|
|
217
|
+
userName: S.String.pipe(T.Label()),
|
|
218
|
+
password: S.String.pipe(T.SensitiveValue({})),
|
|
219
|
+
}).pipe(T.Http({
|
|
220
|
+
method: "POST",
|
|
221
|
+
uri: "/hosting/privateDatabase/{serviceName}/user/{userName}/changePassword",
|
|
222
|
+
code: 200,
|
|
223
|
+
}))).annotate({
|
|
224
|
+
identifier: "CreateHostingPrivateDatabaseUserChangePasswordRequest",
|
|
225
|
+
});
|
|
226
|
+
export const CreateHostingPrivateDatabaseUserGrantRequest =
|
|
227
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
228
|
+
serviceName: S.String.pipe(T.Label()),
|
|
229
|
+
userName: S.String.pipe(T.Label()),
|
|
230
|
+
databaseName: S.String,
|
|
231
|
+
grant: HostingPrivateDatabaseGrantGrantEnum,
|
|
232
|
+
}).pipe(T.Http({
|
|
233
|
+
method: "POST",
|
|
234
|
+
uri: "/hosting/privateDatabase/{serviceName}/user/{userName}/grant",
|
|
235
|
+
code: 200,
|
|
236
|
+
}))).annotate({
|
|
237
|
+
identifier: "CreateHostingPrivateDatabaseUserGrantRequest",
|
|
238
|
+
});
|
|
239
|
+
export const CreateHostingPrivateDatabaseWebhostingNetworkRequest =
|
|
240
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
241
|
+
serviceName: S.String.pipe(T.Label()),
|
|
242
|
+
}).pipe(T.Http({
|
|
243
|
+
method: "POST",
|
|
244
|
+
uri: "/hosting/privateDatabase/{serviceName}/webhostingNetwork",
|
|
245
|
+
code: 200,
|
|
246
|
+
}))).annotate({
|
|
247
|
+
identifier: "CreateHostingPrivateDatabaseWebhostingNetworkRequest",
|
|
248
|
+
});
|
|
249
|
+
export const CreateHostingPrivateDatabaseWhitelistRequest =
|
|
250
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
251
|
+
serviceName: S.String.pipe(T.Label()),
|
|
252
|
+
ip: S.String,
|
|
253
|
+
name: S.optional(S.NullOr(S.String)),
|
|
254
|
+
service: S.optional(S.Boolean),
|
|
255
|
+
sftp: S.optional(S.Boolean),
|
|
256
|
+
}).pipe(T.Http({
|
|
257
|
+
method: "POST",
|
|
258
|
+
uri: "/hosting/privateDatabase/{serviceName}/whitelist",
|
|
259
|
+
code: 200,
|
|
260
|
+
}))).annotate({
|
|
261
|
+
identifier: "CreateHostingPrivateDatabaseWhitelistRequest",
|
|
262
|
+
});
|
|
263
|
+
export const DeleteHostingPrivateDatabaseDatabaseRequest =
|
|
264
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
265
|
+
serviceName: S.String.pipe(T.Label()),
|
|
266
|
+
databaseName: S.String.pipe(T.Label()),
|
|
267
|
+
}).pipe(T.Http({
|
|
268
|
+
method: "DELETE",
|
|
269
|
+
uri: "/hosting/privateDatabase/{serviceName}/database/{databaseName}",
|
|
270
|
+
code: 200,
|
|
271
|
+
}))).annotate({
|
|
272
|
+
identifier: "DeleteHostingPrivateDatabaseDatabaseRequest",
|
|
273
|
+
});
|
|
274
|
+
export const DeleteHostingPrivateDatabaseDatabaseCopyRequest =
|
|
275
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
276
|
+
serviceName: S.String.pipe(T.Label()),
|
|
277
|
+
databaseName: S.String.pipe(T.Label()),
|
|
278
|
+
id: S.String.pipe(T.Label()),
|
|
279
|
+
}).pipe(T.Http({
|
|
280
|
+
method: "DELETE",
|
|
281
|
+
uri: "/hosting/privateDatabase/{serviceName}/database/{databaseName}/copy/{id}",
|
|
282
|
+
code: 200,
|
|
283
|
+
}))).annotate({
|
|
284
|
+
identifier: "DeleteHostingPrivateDatabaseDatabaseCopyRequest",
|
|
285
|
+
});
|
|
286
|
+
export const DeleteHostingPrivateDatabaseDatabaseCopyResponse =
|
|
287
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
288
|
+
identifier: "DeleteHostingPrivateDatabaseDatabaseCopyResponse",
|
|
289
|
+
});
|
|
290
|
+
export const DeleteHostingPrivateDatabaseDatabaseDumpRequest =
|
|
291
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
292
|
+
serviceName: S.String.pipe(T.Label()),
|
|
293
|
+
databaseName: S.String.pipe(T.Label()),
|
|
294
|
+
id: S.Number.pipe(T.Label()),
|
|
295
|
+
}).pipe(T.Http({
|
|
296
|
+
method: "DELETE",
|
|
297
|
+
uri: "/hosting/privateDatabase/{serviceName}/database/{databaseName}/dump/{id}",
|
|
298
|
+
code: 200,
|
|
299
|
+
}))).annotate({
|
|
300
|
+
identifier: "DeleteHostingPrivateDatabaseDatabaseDumpRequest",
|
|
301
|
+
});
|
|
302
|
+
export const DeleteHostingPrivateDatabaseDumpRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
303
|
+
serviceName: S.String.pipe(T.Label()),
|
|
304
|
+
dumpId: S.Number.pipe(T.Label()),
|
|
305
|
+
}).pipe(T.Http({
|
|
306
|
+
method: "DELETE",
|
|
307
|
+
uri: "/hosting/privateDatabase/{serviceName}/dump/{dumpId}",
|
|
308
|
+
code: 200,
|
|
309
|
+
}))).annotate({
|
|
310
|
+
identifier: "DeleteHostingPrivateDatabaseDumpRequest",
|
|
311
|
+
});
|
|
312
|
+
export const DeleteHostingPrivateDatabaseLogSubscriptionRequest =
|
|
313
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
314
|
+
serviceName: S.String.pipe(T.Label()),
|
|
315
|
+
subscriptionId: S.String.pipe(T.Label()),
|
|
316
|
+
}).pipe(T.Http({
|
|
317
|
+
method: "DELETE",
|
|
318
|
+
uri: "/hosting/privateDatabase/{serviceName}/log/subscription/{subscriptionId}",
|
|
319
|
+
code: 200,
|
|
320
|
+
}))).annotate({
|
|
321
|
+
identifier: "DeleteHostingPrivateDatabaseLogSubscriptionRequest",
|
|
322
|
+
});
|
|
323
|
+
export const DeleteHostingPrivateDatabaseUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
324
|
+
serviceName: S.String.pipe(T.Label()),
|
|
325
|
+
userName: S.String.pipe(T.Label()),
|
|
326
|
+
}).pipe(T.Http({
|
|
327
|
+
method: "DELETE",
|
|
328
|
+
uri: "/hosting/privateDatabase/{serviceName}/user/{userName}",
|
|
329
|
+
code: 200,
|
|
330
|
+
}))).annotate({
|
|
331
|
+
identifier: "DeleteHostingPrivateDatabaseUserRequest",
|
|
332
|
+
});
|
|
333
|
+
export const DeleteHostingPrivateDatabaseUserGrantRequest =
|
|
334
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
335
|
+
serviceName: S.String.pipe(T.Label()),
|
|
336
|
+
userName: S.String.pipe(T.Label()),
|
|
337
|
+
databaseName: S.String.pipe(T.Label()),
|
|
338
|
+
}).pipe(T.Http({
|
|
339
|
+
method: "DELETE",
|
|
340
|
+
uri: "/hosting/privateDatabase/{serviceName}/user/{userName}/grant/{databaseName}",
|
|
341
|
+
code: 200,
|
|
342
|
+
}))).annotate({
|
|
343
|
+
identifier: "DeleteHostingPrivateDatabaseUserGrantRequest",
|
|
344
|
+
});
|
|
345
|
+
export const DeleteHostingPrivateDatabaseWebhostingNetworkRequest =
|
|
346
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
347
|
+
serviceName: S.String.pipe(T.Label()),
|
|
348
|
+
}).pipe(T.Http({
|
|
349
|
+
method: "DELETE",
|
|
350
|
+
uri: "/hosting/privateDatabase/{serviceName}/webhostingNetwork",
|
|
351
|
+
code: 200,
|
|
352
|
+
}))).annotate({
|
|
353
|
+
identifier: "DeleteHostingPrivateDatabaseWebhostingNetworkRequest",
|
|
354
|
+
});
|
|
355
|
+
export const DeleteHostingPrivateDatabaseWhitelistRequest =
|
|
356
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
357
|
+
serviceName: S.String.pipe(T.Label()),
|
|
358
|
+
ip: S.String.pipe(T.Label()),
|
|
359
|
+
}).pipe(T.Http({
|
|
360
|
+
method: "DELETE",
|
|
361
|
+
uri: "/hosting/privateDatabase/{serviceName}/whitelist/{ip}",
|
|
362
|
+
code: 200,
|
|
363
|
+
}))).annotate({
|
|
364
|
+
identifier: "DeleteHostingPrivateDatabaseWhitelistRequest",
|
|
365
|
+
});
|
|
366
|
+
export const DisableHostingPrivateDatabaseDatabaseExtensionRequest =
|
|
367
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
368
|
+
serviceName: S.String.pipe(T.Label()),
|
|
369
|
+
databaseName: S.String.pipe(T.Label()),
|
|
370
|
+
extensionName: S.String.pipe(T.Label()),
|
|
371
|
+
}).pipe(T.Http({
|
|
372
|
+
method: "POST",
|
|
373
|
+
uri: "/hosting/privateDatabase/{serviceName}/database/{databaseName}/extension/{extensionName}/disable",
|
|
374
|
+
code: 200,
|
|
375
|
+
}))).annotate({
|
|
376
|
+
identifier: "DisableHostingPrivateDatabaseDatabaseExtensionRequest",
|
|
377
|
+
});
|
|
378
|
+
export const EnableHostingPrivateDatabaseDatabaseExtensionRequest =
|
|
379
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
380
|
+
serviceName: S.String.pipe(T.Label()),
|
|
381
|
+
databaseName: S.String.pipe(T.Label()),
|
|
382
|
+
extensionName: S.String.pipe(T.Label()),
|
|
383
|
+
}).pipe(T.Http({
|
|
384
|
+
method: "POST",
|
|
385
|
+
uri: "/hosting/privateDatabase/{serviceName}/database/{databaseName}/extension/{extensionName}/enable",
|
|
386
|
+
code: 200,
|
|
387
|
+
}))).annotate({
|
|
388
|
+
identifier: "EnableHostingPrivateDatabaseDatabaseExtensionRequest",
|
|
389
|
+
});
|
|
390
|
+
export const GenerateHostingPrivateDatabaseTemporaryLogsLinkRequest =
|
|
391
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
392
|
+
serviceName: S.String.pipe(T.Label()),
|
|
393
|
+
}).pipe(T.Http({
|
|
394
|
+
method: "POST",
|
|
395
|
+
uri: "/hosting/privateDatabase/{serviceName}/generateTemporaryLogsLink",
|
|
396
|
+
code: 200,
|
|
397
|
+
}))).annotate({
|
|
398
|
+
identifier: "GenerateHostingPrivateDatabaseTemporaryLogsLinkRequest",
|
|
399
|
+
});
|
|
400
|
+
export const HostingPrivateDatabaseTemporaryUrlInformations =
|
|
401
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
402
|
+
expirationDate: S.optional(S.String),
|
|
403
|
+
url: S.optional(S.String),
|
|
404
|
+
})).annotate({
|
|
405
|
+
identifier: "HostingPrivateDatabaseTemporaryUrlInformations",
|
|
406
|
+
});
|
|
407
|
+
export const GetHostingPrivateDatabaseRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
408
|
+
serviceName: S.String.pipe(T.Label()),
|
|
409
|
+
}).pipe(T.Http({
|
|
410
|
+
method: "GET",
|
|
411
|
+
uri: "/hosting/privateDatabase/{serviceName}",
|
|
412
|
+
code: 200,
|
|
413
|
+
}))).annotate({
|
|
414
|
+
identifier: "GetHostingPrivateDatabaseRequest",
|
|
415
|
+
});
|
|
416
|
+
export const HostingPrivateDatabaseCapability = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
417
|
+
create: S.optional(S.Boolean),
|
|
418
|
+
delete: S.optional(S.Boolean),
|
|
419
|
+
object: S.optional(S.String),
|
|
420
|
+
update: S.optional(S.Boolean),
|
|
421
|
+
})).annotate({
|
|
422
|
+
identifier: "HostingPrivateDatabaseCapability",
|
|
423
|
+
});
|
|
424
|
+
export const HostingPrivateDatabaseServiceWithIAMCapabilitiesList =
|
|
425
|
+
/*@__PURE__*/ S.Array(HostingPrivateDatabaseCapability);
|
|
426
|
+
export const HostingPrivateDatabaseDatacenterEnum = S.String;
|
|
427
|
+
export const HostingPrivateDatabaseGraphEndpoint = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
428
|
+
host: S.optional(S.NullOr(S.String)),
|
|
429
|
+
readToken: S.optional(S.NullOr(S.String)),
|
|
430
|
+
readTokenId: S.optional(S.NullOr(S.String)),
|
|
431
|
+
})).annotate({
|
|
432
|
+
identifier: "HostingPrivateDatabaseGraphEndpoint",
|
|
433
|
+
});
|
|
434
|
+
export const IamResourceMetadataTagsMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
435
|
+
export const IamResourceMetadata = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
436
|
+
displayName: S.optional(S.NullOr(S.String)),
|
|
437
|
+
id: S.optional(S.String),
|
|
438
|
+
tags: S.optional(S.NullOr(IamResourceMetadataTagsMap)),
|
|
439
|
+
urn: S.optional(S.String),
|
|
440
|
+
})).annotate({
|
|
441
|
+
identifier: "IamResourceMetadata",
|
|
442
|
+
});
|
|
443
|
+
export const HostingPrivateDatabaseInfrastructureEnum = S.String;
|
|
444
|
+
export const HostingPrivateDatabaseOfferEnum = S.String;
|
|
445
|
+
export const ComplexTypeUnitAndValueLong = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
446
|
+
unit: S.optional(S.String),
|
|
447
|
+
value: S.optional(S.Number),
|
|
448
|
+
})).annotate({
|
|
449
|
+
identifier: "ComplexTypeUnitAndValueLong",
|
|
450
|
+
});
|
|
451
|
+
export const HostingPrivateDatabaseStateEnum = S.String;
|
|
452
|
+
export const HostingPrivateDatabaseTypeEnum = S.String;
|
|
453
|
+
export const HostingPrivateDatabaseVersionEnum = S.String;
|
|
454
|
+
export const HostingPrivateDatabaseServiceWithIAM = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
455
|
+
capabilities: S.optional(HostingPrivateDatabaseServiceWithIAMCapabilitiesList),
|
|
456
|
+
cpu: S.optional(S.Number),
|
|
457
|
+
datacenter: S.optional(HostingPrivateDatabaseDatacenterEnum),
|
|
458
|
+
displayName: S.optional(S.NullOr(S.String)),
|
|
459
|
+
graphEndpoint: S.optional(S.NullOr(HostingPrivateDatabaseGraphEndpoint)),
|
|
460
|
+
guiURL: S.optional(S.NullOr(S.String)),
|
|
461
|
+
hostname: S.optional(S.String),
|
|
462
|
+
hostnameFtp: S.optional(S.NullOr(S.String)),
|
|
463
|
+
iam: S.optional(S.NullOr(IamResourceMetadata)),
|
|
464
|
+
infrastructure: S.optional(HostingPrivateDatabaseInfrastructureEnum),
|
|
465
|
+
ip: S.optional(S.NullOr(S.String)),
|
|
466
|
+
lastCheck: S.optional(S.String),
|
|
467
|
+
offer: S.optional(HostingPrivateDatabaseOfferEnum),
|
|
468
|
+
port: S.optional(S.Number),
|
|
469
|
+
portFtp: S.optional(S.NullOr(S.Number)),
|
|
470
|
+
quotaSize: S.optional(ComplexTypeUnitAndValueLong),
|
|
471
|
+
quotaUsed: S.optional(ComplexTypeUnitAndValueLong),
|
|
472
|
+
ram: S.optional(ComplexTypeUnitAndValueLong),
|
|
473
|
+
server: S.optional(S.String),
|
|
474
|
+
serviceName: S.optional(S.String),
|
|
475
|
+
state: S.optional(HostingPrivateDatabaseStateEnum),
|
|
476
|
+
tlsCa: S.optional(S.NullOr(S.String)),
|
|
477
|
+
type: S.optional(HostingPrivateDatabaseTypeEnum),
|
|
478
|
+
version: S.optional(HostingPrivateDatabaseVersionEnum),
|
|
479
|
+
versionLabel: S.optional(S.String),
|
|
480
|
+
versionNumber: S.optional(S.Number),
|
|
481
|
+
})).annotate({
|
|
482
|
+
identifier: "HostingPrivateDatabaseServiceWithIAM",
|
|
483
|
+
});
|
|
484
|
+
export const GetHostingPrivateDatabaseDatabaseRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
485
|
+
serviceName: S.String.pipe(T.Label()),
|
|
486
|
+
databaseName: S.String.pipe(T.Label()),
|
|
487
|
+
}).pipe(T.Http({
|
|
488
|
+
method: "GET",
|
|
489
|
+
uri: "/hosting/privateDatabase/{serviceName}/database/{databaseName}",
|
|
490
|
+
code: 200,
|
|
491
|
+
}))).annotate({
|
|
492
|
+
identifier: "GetHostingPrivateDatabaseDatabaseRequest",
|
|
493
|
+
});
|
|
494
|
+
export const HostingPrivateDatabaseDatabaseUser = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
495
|
+
grantId: S.optional(S.Number),
|
|
496
|
+
grantType: S.optional(HostingPrivateDatabaseGrantGrantEnum),
|
|
497
|
+
userName: S.optional(S.String),
|
|
498
|
+
})).annotate({
|
|
499
|
+
identifier: "HostingPrivateDatabaseDatabaseUser",
|
|
500
|
+
});
|
|
501
|
+
export const HostingPrivateDatabaseDatabaseUsersList = /*@__PURE__*/ S.Array(HostingPrivateDatabaseDatabaseUser);
|
|
502
|
+
export const HostingPrivateDatabaseDatabase = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
503
|
+
backupTime: S.optional(S.NullOr(S.String)),
|
|
504
|
+
creationDate: S.optional(S.String),
|
|
505
|
+
databaseName: S.optional(S.String),
|
|
506
|
+
quotaUsed: S.optional(ComplexTypeUnitAndValueLong),
|
|
507
|
+
users: S.optional(HostingPrivateDatabaseDatabaseUsersList),
|
|
508
|
+
})).annotate({
|
|
509
|
+
identifier: "HostingPrivateDatabaseDatabase",
|
|
510
|
+
});
|
|
511
|
+
export const GetHostingPrivateDatabaseDatabaseCopyRequest =
|
|
512
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
513
|
+
serviceName: S.String.pipe(T.Label()),
|
|
514
|
+
databaseName: S.String.pipe(T.Label()),
|
|
515
|
+
id: S.String.pipe(T.Label()),
|
|
516
|
+
}).pipe(T.Http({
|
|
517
|
+
method: "GET",
|
|
518
|
+
uri: "/hosting/privateDatabase/{serviceName}/database/{databaseName}/copy/{id}",
|
|
519
|
+
code: 200,
|
|
520
|
+
}))).annotate({
|
|
521
|
+
identifier: "GetHostingPrivateDatabaseDatabaseCopyRequest",
|
|
522
|
+
});
|
|
523
|
+
export const GetHostingPrivateDatabaseDatabaseDumpRequest =
|
|
524
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
525
|
+
serviceName: S.String.pipe(T.Label()),
|
|
526
|
+
databaseName: S.String.pipe(T.Label()),
|
|
527
|
+
id: S.Number.pipe(T.Label()),
|
|
528
|
+
}).pipe(T.Http({
|
|
529
|
+
method: "GET",
|
|
530
|
+
uri: "/hosting/privateDatabase/{serviceName}/database/{databaseName}/dump/{id}",
|
|
531
|
+
code: 200,
|
|
532
|
+
}))).annotate({
|
|
533
|
+
identifier: "GetHostingPrivateDatabaseDatabaseDumpRequest",
|
|
534
|
+
});
|
|
535
|
+
export const HostingPrivateDatabaseDatabaseDump = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
536
|
+
creationDate: S.optional(S.String),
|
|
537
|
+
databaseName: S.optional(S.String),
|
|
538
|
+
deletionDate: S.optional(S.String),
|
|
539
|
+
id: S.optional(S.Number),
|
|
540
|
+
url: S.optional(S.String),
|
|
541
|
+
})).annotate({
|
|
542
|
+
identifier: "HostingPrivateDatabaseDatabaseDump",
|
|
543
|
+
});
|
|
544
|
+
export const GetHostingPrivateDatabaseDatabaseExtensionRequest =
|
|
545
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
546
|
+
serviceName: S.String.pipe(T.Label()),
|
|
547
|
+
databaseName: S.String.pipe(T.Label()),
|
|
548
|
+
extensionName: S.String.pipe(T.Label()),
|
|
549
|
+
}).pipe(T.Http({
|
|
550
|
+
method: "GET",
|
|
551
|
+
uri: "/hosting/privateDatabase/{serviceName}/database/{databaseName}/extension/{extensionName}",
|
|
552
|
+
code: 200,
|
|
553
|
+
}))).annotate({
|
|
554
|
+
identifier: "GetHostingPrivateDatabaseDatabaseExtensionRequest",
|
|
555
|
+
});
|
|
556
|
+
export const HostingPrivateDatabaseExtensionRequiredExtensionsList =
|
|
557
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
558
|
+
export const HostingPrivateDatabaseExtensionStatusEnum = S.String;
|
|
559
|
+
export const HostingPrivateDatabaseExtension = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
560
|
+
description: S.optional(S.String),
|
|
561
|
+
extensionName: S.optional(S.String),
|
|
562
|
+
requiredExtensions: S.optional(HostingPrivateDatabaseExtensionRequiredExtensionsList),
|
|
563
|
+
status: S.optional(HostingPrivateDatabaseExtensionStatusEnum),
|
|
564
|
+
})).annotate({
|
|
565
|
+
identifier: "HostingPrivateDatabaseExtension",
|
|
566
|
+
});
|
|
567
|
+
export const GetHostingPrivateDatabaseDumpRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
568
|
+
serviceName: S.String.pipe(T.Label()),
|
|
569
|
+
dumpId: S.Number.pipe(T.Label()),
|
|
570
|
+
}).pipe(T.Http({
|
|
571
|
+
method: "GET",
|
|
572
|
+
uri: "/hosting/privateDatabase/{serviceName}/dump/{dumpId}",
|
|
573
|
+
code: 200,
|
|
574
|
+
}))).annotate({
|
|
575
|
+
identifier: "GetHostingPrivateDatabaseDumpRequest",
|
|
576
|
+
});
|
|
577
|
+
export const HostingPrivateDatabaseDump = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
578
|
+
creationDate: S.optional(S.String),
|
|
579
|
+
databaseName: S.optional(S.String),
|
|
580
|
+
deletionDate: S.optional(S.String),
|
|
581
|
+
dumpId: S.optional(S.Number),
|
|
582
|
+
orphan: S.optional(S.Boolean),
|
|
583
|
+
url: S.optional(S.String),
|
|
584
|
+
})).annotate({
|
|
585
|
+
identifier: "HostingPrivateDatabaseDump",
|
|
586
|
+
});
|
|
587
|
+
export const GetHostingPrivateDatabaseLogKindRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
588
|
+
serviceName: S.String.pipe(T.Label()),
|
|
589
|
+
name: S.String.pipe(T.Label()),
|
|
590
|
+
}).pipe(T.Http({
|
|
591
|
+
method: "GET",
|
|
592
|
+
uri: "/hosting/privateDatabase/{serviceName}/log/kind/{name}",
|
|
593
|
+
code: 200,
|
|
594
|
+
}))).annotate({
|
|
595
|
+
identifier: "GetHostingPrivateDatabaseLogKindRequest",
|
|
596
|
+
});
|
|
597
|
+
export const DbaasLogsLogKindAdditionalReturnedFieldsList =
|
|
598
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
599
|
+
export const DbaasLogsLogKind = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
600
|
+
additionalReturnedFields: S.optional(DbaasLogsLogKindAdditionalReturnedFieldsList),
|
|
601
|
+
createdAt: S.optional(S.String),
|
|
602
|
+
displayName: S.optional(S.String),
|
|
603
|
+
kindId: S.optional(S.String),
|
|
604
|
+
name: S.optional(S.String),
|
|
605
|
+
updatedAt: S.optional(S.String),
|
|
606
|
+
})).annotate({
|
|
607
|
+
identifier: "DbaasLogsLogKind",
|
|
608
|
+
});
|
|
609
|
+
export const GetHostingPrivateDatabaseLogSubscriptionRequest =
|
|
610
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
611
|
+
serviceName: S.String.pipe(T.Label()),
|
|
612
|
+
subscriptionId: S.String.pipe(T.Label()),
|
|
613
|
+
}).pipe(T.Http({
|
|
614
|
+
method: "GET",
|
|
615
|
+
uri: "/hosting/privateDatabase/{serviceName}/log/subscription/{subscriptionId}",
|
|
616
|
+
code: 200,
|
|
617
|
+
}))).annotate({
|
|
618
|
+
identifier: "GetHostingPrivateDatabaseLogSubscriptionRequest",
|
|
619
|
+
});
|
|
620
|
+
export const DbaasLogsLogSubscriptionResource = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
621
|
+
name: S.optional(S.String),
|
|
622
|
+
type: S.optional(S.String),
|
|
623
|
+
})).annotate({
|
|
624
|
+
identifier: "DbaasLogsLogSubscriptionResource",
|
|
625
|
+
});
|
|
626
|
+
export const DbaasLogsLogSubscription = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
627
|
+
createdAt: S.optional(S.String),
|
|
628
|
+
kind: S.optional(S.String),
|
|
629
|
+
resource: S.optional(DbaasLogsLogSubscriptionResource),
|
|
630
|
+
serviceName: S.optional(S.String),
|
|
631
|
+
streamId: S.optional(S.String),
|
|
632
|
+
subscriptionId: S.optional(S.String),
|
|
633
|
+
updatedAt: S.optional(S.String),
|
|
634
|
+
})).annotate({
|
|
635
|
+
identifier: "DbaasLogsLogSubscription",
|
|
636
|
+
});
|
|
637
|
+
export const GetHostingPrivateDatabaseMetricsTokenRequest =
|
|
638
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
639
|
+
serviceName: S.String.pipe(T.Label()),
|
|
640
|
+
}).pipe(T.Http({
|
|
641
|
+
method: "GET",
|
|
642
|
+
uri: "/hosting/privateDatabase/{serviceName}/metricsToken",
|
|
643
|
+
code: 200,
|
|
644
|
+
}))).annotate({
|
|
645
|
+
identifier: "GetHostingPrivateDatabaseMetricsTokenRequest",
|
|
646
|
+
});
|
|
647
|
+
export const HostingPrivateDatabaseMetricsToken = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
648
|
+
endpoint: S.optional(S.String),
|
|
649
|
+
token: S.optional(S.String),
|
|
650
|
+
})).annotate({
|
|
651
|
+
identifier: "HostingPrivateDatabaseMetricsToken",
|
|
652
|
+
});
|
|
653
|
+
export const GetHostingPrivateDatabaseServiceInfosRequest =
|
|
654
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
655
|
+
serviceName: S.String.pipe(T.Label()),
|
|
656
|
+
}).pipe(T.Http({
|
|
657
|
+
method: "GET",
|
|
658
|
+
uri: "/hosting/privateDatabase/{serviceName}/serviceInfos",
|
|
659
|
+
code: 200,
|
|
660
|
+
}))).annotate({
|
|
661
|
+
identifier: "GetHostingPrivateDatabaseServiceInfosRequest",
|
|
662
|
+
});
|
|
663
|
+
export const ServicesServicePossibleRenewPeriodList = /*@__PURE__*/ S.Array(S.Number);
|
|
664
|
+
export const ServiceRenewType = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
665
|
+
automatic: S.optional(S.Boolean),
|
|
666
|
+
deleteAtExpiration: S.optional(S.Boolean),
|
|
667
|
+
forced: S.optional(S.Boolean),
|
|
668
|
+
manualPayment: S.optional(S.NullOr(S.Boolean)),
|
|
669
|
+
period: S.optional(S.NullOr(S.Number)),
|
|
670
|
+
})).annotate({
|
|
671
|
+
identifier: "ServiceRenewType",
|
|
672
|
+
});
|
|
673
|
+
export const ServiceRenewalTypeEnum = S.String;
|
|
674
|
+
export const ServiceStateEnum = S.String;
|
|
675
|
+
export const ServicesService = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
676
|
+
canDeleteAtExpiration: S.optional(S.Boolean),
|
|
677
|
+
contactAdmin: S.optional(S.String),
|
|
678
|
+
contactBilling: S.optional(S.String),
|
|
679
|
+
contactTech: S.optional(S.String),
|
|
680
|
+
creation: S.optional(S.String),
|
|
681
|
+
domain: S.optional(S.String),
|
|
682
|
+
engagedUpTo: S.optional(S.NullOr(S.String)),
|
|
683
|
+
expiration: S.optional(S.String),
|
|
684
|
+
possibleRenewPeriod: S.optional(S.NullOr(ServicesServicePossibleRenewPeriodList)),
|
|
685
|
+
renew: S.optional(S.NullOr(ServiceRenewType)),
|
|
686
|
+
renewalType: S.optional(ServiceRenewalTypeEnum),
|
|
687
|
+
serviceId: S.optional(S.Number),
|
|
688
|
+
status: S.optional(ServiceStateEnum),
|
|
689
|
+
})).annotate({
|
|
690
|
+
identifier: "ServicesService",
|
|
691
|
+
});
|
|
692
|
+
export const GetHostingPrivateDatabaseTaskRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
693
|
+
serviceName: S.String.pipe(T.Label()),
|
|
694
|
+
id: S.Number.pipe(T.Label()),
|
|
695
|
+
}).pipe(T.Http({
|
|
696
|
+
method: "GET",
|
|
697
|
+
uri: "/hosting/privateDatabase/{serviceName}/tasks/{id}",
|
|
698
|
+
code: 200,
|
|
699
|
+
}))).annotate({
|
|
700
|
+
identifier: "GetHostingPrivateDatabaseTaskRequest",
|
|
701
|
+
});
|
|
702
|
+
export const GetHostingPrivateDatabaseUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
703
|
+
serviceName: S.String.pipe(T.Label()),
|
|
704
|
+
userName: S.String.pipe(T.Label()),
|
|
705
|
+
}).pipe(T.Http({
|
|
706
|
+
method: "GET",
|
|
707
|
+
uri: "/hosting/privateDatabase/{serviceName}/user/{userName}",
|
|
708
|
+
code: 200,
|
|
709
|
+
}))).annotate({
|
|
710
|
+
identifier: "GetHostingPrivateDatabaseUserRequest",
|
|
711
|
+
});
|
|
712
|
+
export const HostingPrivateDatabaseUserDatabase = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
713
|
+
databaseName: S.optional(S.String),
|
|
714
|
+
grantId: S.optional(S.Number),
|
|
715
|
+
grantType: S.optional(HostingPrivateDatabaseGrantGrantEnum),
|
|
716
|
+
})).annotate({
|
|
717
|
+
identifier: "HostingPrivateDatabaseUserDatabase",
|
|
718
|
+
});
|
|
719
|
+
export const HostingPrivateDatabaseUserDatabasesList = /*@__PURE__*/ S.Array(HostingPrivateDatabaseUserDatabase);
|
|
720
|
+
export const HostingPrivateDatabaseUser = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
721
|
+
creationDate: S.optional(S.String),
|
|
722
|
+
databases: S.optional(HostingPrivateDatabaseUserDatabasesList),
|
|
723
|
+
userName: S.optional(S.String),
|
|
724
|
+
})).annotate({
|
|
725
|
+
identifier: "HostingPrivateDatabaseUser",
|
|
726
|
+
});
|
|
727
|
+
export const GetHostingPrivateDatabaseUserGrantRequest =
|
|
728
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
729
|
+
serviceName: S.String.pipe(T.Label()),
|
|
730
|
+
userName: S.String.pipe(T.Label()),
|
|
731
|
+
databaseName: S.String.pipe(T.Label()),
|
|
732
|
+
}).pipe(T.Http({
|
|
733
|
+
method: "GET",
|
|
734
|
+
uri: "/hosting/privateDatabase/{serviceName}/user/{userName}/grant/{databaseName}",
|
|
735
|
+
code: 200,
|
|
736
|
+
}))).annotate({
|
|
737
|
+
identifier: "GetHostingPrivateDatabaseUserGrantRequest",
|
|
738
|
+
});
|
|
739
|
+
export const HostingPrivateDatabaseUserGrant = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
740
|
+
creationDate: S.optional(S.String),
|
|
741
|
+
databaseName: S.optional(S.String),
|
|
742
|
+
grant: S.optional(HostingPrivateDatabaseGrantGrantEnum),
|
|
743
|
+
})).annotate({
|
|
744
|
+
identifier: "HostingPrivateDatabaseUserGrant",
|
|
745
|
+
});
|
|
746
|
+
export const GetHostingPrivateDatabaseWebhostingNetworkRequest =
|
|
747
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
748
|
+
serviceName: S.String.pipe(T.Label()),
|
|
749
|
+
}).pipe(T.Http({
|
|
750
|
+
method: "GET",
|
|
751
|
+
uri: "/hosting/privateDatabase/{serviceName}/webhostingNetwork",
|
|
752
|
+
code: 200,
|
|
753
|
+
}))).annotate({
|
|
754
|
+
identifier: "GetHostingPrivateDatabaseWebhostingNetworkRequest",
|
|
755
|
+
});
|
|
756
|
+
export const HostingPrivateDatabaseWebhostingNetworkStatusEnum = S.String;
|
|
757
|
+
export const HostingPrivateDatabaseWebhostingNetwork = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
758
|
+
status: S.optional(HostingPrivateDatabaseWebhostingNetworkStatusEnum),
|
|
759
|
+
})).annotate({
|
|
760
|
+
identifier: "HostingPrivateDatabaseWebhostingNetwork",
|
|
761
|
+
});
|
|
762
|
+
export const GetHostingPrivateDatabaseWhitelistRequest =
|
|
763
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
764
|
+
serviceName: S.String.pipe(T.Label()),
|
|
765
|
+
ip: S.String.pipe(T.Label()),
|
|
766
|
+
}).pipe(T.Http({
|
|
767
|
+
method: "GET",
|
|
768
|
+
uri: "/hosting/privateDatabase/{serviceName}/whitelist/{ip}",
|
|
769
|
+
code: 200,
|
|
770
|
+
}))).annotate({
|
|
771
|
+
identifier: "GetHostingPrivateDatabaseWhitelistRequest",
|
|
772
|
+
});
|
|
773
|
+
export const HostingPrivateDatabaseWhitelistStatusEnum = S.String;
|
|
774
|
+
export const HostingPrivateDatabaseWhitelist = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
775
|
+
creationDate: S.optional(S.String),
|
|
776
|
+
ip: S.optional(S.String),
|
|
777
|
+
lastUpdate: S.optional(S.String),
|
|
778
|
+
name: S.optional(S.NullOr(S.String)),
|
|
779
|
+
service: S.optional(S.Boolean),
|
|
780
|
+
sftp: S.optional(S.Boolean),
|
|
781
|
+
status: S.optional(HostingPrivateDatabaseWhitelistStatusEnum),
|
|
782
|
+
taskId: S.optional(S.NullOr(S.Number)),
|
|
783
|
+
})).annotate({
|
|
784
|
+
identifier: "HostingPrivateDatabaseWhitelist",
|
|
785
|
+
});
|
|
786
|
+
export const ImportHostingPrivateDatabaseDatabaseRequest =
|
|
787
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
788
|
+
serviceName: S.String.pipe(T.Label()),
|
|
789
|
+
databaseName: S.String.pipe(T.Label()),
|
|
790
|
+
documentId: S.String,
|
|
791
|
+
flushDatabase: S.optional(S.Boolean),
|
|
792
|
+
sendEmail: S.optional(S.Boolean),
|
|
793
|
+
}).pipe(T.Http({
|
|
794
|
+
method: "POST",
|
|
795
|
+
uri: "/hosting/privateDatabase/{serviceName}/database/{databaseName}/import",
|
|
796
|
+
code: 200,
|
|
797
|
+
}))).annotate({
|
|
798
|
+
identifier: "ImportHostingPrivateDatabaseDatabaseRequest",
|
|
799
|
+
});
|
|
800
|
+
export const IamResourceTagFilterInput = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
801
|
+
identifier: "IamResourceTagFilterInput",
|
|
802
|
+
});
|
|
803
|
+
export const ListHostingPrivateDatabaseRequestIamTagsValueList =
|
|
804
|
+
/*@__PURE__*/ S.Array(IamResourceTagFilterInput);
|
|
805
|
+
export const ListHostingPrivateDatabaseRequestIamTagsMap =
|
|
806
|
+
/*@__PURE__*/ S.Record(S.String, ListHostingPrivateDatabaseRequestIamTagsValueList);
|
|
807
|
+
export const ListHostingPrivateDatabaseRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
808
|
+
iamTags: S.optional(ListHostingPrivateDatabaseRequestIamTagsMap.pipe(T.Query())),
|
|
809
|
+
}).pipe(T.Http({ method: "GET", uri: "/hosting/privateDatabase", code: 200 }))).annotate({
|
|
810
|
+
identifier: "ListHostingPrivateDatabaseRequest",
|
|
811
|
+
});
|
|
812
|
+
export const ListHostingPrivateDatabaseResponseBodyList = /*@__PURE__*/ S.Array(S.String);
|
|
813
|
+
export const ListHostingPrivateDatabaseResponse = /*@__PURE__*/ S.suspend(() => ListHostingPrivateDatabaseResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
814
|
+
identifier: "ListHostingPrivateDatabaseResponse",
|
|
815
|
+
});
|
|
816
|
+
export const ListHostingPrivateDatabaseAvailableOrderCapacitiesRequest =
|
|
817
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
818
|
+
offer: HostingPrivateDatabaseOfferEnum.pipe(T.Query()),
|
|
819
|
+
}).pipe(T.Http({
|
|
820
|
+
method: "GET",
|
|
821
|
+
uri: "/hosting/privateDatabase/availableOrderCapacities",
|
|
822
|
+
code: 200,
|
|
823
|
+
}))).annotate({
|
|
824
|
+
identifier: "ListHostingPrivateDatabaseAvailableOrderCapacitiesRequest",
|
|
825
|
+
});
|
|
826
|
+
export const HostingPrivateDatabaseAvailableOrderCapacitiesDatacenterList =
|
|
827
|
+
/*@__PURE__*/ S.Array(HostingPrivateDatabaseDatacenterEnum);
|
|
828
|
+
export const HostingPrivateDatabaseAvailableRamSizeEnum = S.String;
|
|
829
|
+
export const HostingPrivateDatabaseAvailableOrderCapacitiesRamList =
|
|
830
|
+
/*@__PURE__*/ S.Array(HostingPrivateDatabaseAvailableRamSizeEnum);
|
|
831
|
+
export const HostingPrivateDatabaseAvailableOrderCapacitiesVersionList =
|
|
832
|
+
/*@__PURE__*/ S.Array(HostingPrivateDatabaseAvailableVersionEnum);
|
|
833
|
+
export const HostingPrivateDatabaseAvailableOrderCapacities =
|
|
834
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
835
|
+
datacenter: S.optional(HostingPrivateDatabaseAvailableOrderCapacitiesDatacenterList),
|
|
836
|
+
offer: S.optional(HostingPrivateDatabaseOfferEnum),
|
|
837
|
+
ram: S.optional(HostingPrivateDatabaseAvailableOrderCapacitiesRamList),
|
|
838
|
+
version: S.optional(HostingPrivateDatabaseAvailableOrderCapacitiesVersionList),
|
|
839
|
+
})).annotate({
|
|
840
|
+
identifier: "HostingPrivateDatabaseAvailableOrderCapacities",
|
|
841
|
+
});
|
|
842
|
+
export const ListHostingPrivateDatabaseAvailableVersionsRequest =
|
|
843
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
844
|
+
serviceName: S.String.pipe(T.Label()),
|
|
845
|
+
}).pipe(T.Http({
|
|
846
|
+
method: "GET",
|
|
847
|
+
uri: "/hosting/privateDatabase/{serviceName}/availableVersions",
|
|
848
|
+
code: 200,
|
|
849
|
+
}))).annotate({
|
|
850
|
+
identifier: "ListHostingPrivateDatabaseAvailableVersionsRequest",
|
|
851
|
+
});
|
|
852
|
+
export const ListHostingPrivateDatabaseAvailableVersionsResponseBodyList =
|
|
853
|
+
/*@__PURE__*/ S.Array(HostingPrivateDatabaseAvailableVersionEnum);
|
|
854
|
+
export const ListHostingPrivateDatabaseAvailableVersionsResponse =
|
|
855
|
+
/*@__PURE__*/ S.suspend(() => ListHostingPrivateDatabaseAvailableVersionsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
856
|
+
identifier: "ListHostingPrivateDatabaseAvailableVersionsResponse",
|
|
857
|
+
});
|
|
858
|
+
export const ListHostingPrivateDatabaseConfigRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
859
|
+
serviceName: S.String.pipe(T.Label()),
|
|
860
|
+
}).pipe(T.Http({
|
|
861
|
+
method: "GET",
|
|
862
|
+
uri: "/hosting/privateDatabase/{serviceName}/config",
|
|
863
|
+
code: 200,
|
|
864
|
+
}))).annotate({
|
|
865
|
+
identifier: "ListHostingPrivateDatabaseConfigRequest",
|
|
866
|
+
});
|
|
867
|
+
export const HostingPrivateDatabaseConfigDetailAvailableValuesList =
|
|
868
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
869
|
+
export const HostingPrivateDatabaseConfigTypeEnum = S.String;
|
|
870
|
+
export const HostingPrivateDatabaseConfigDetail = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
871
|
+
availableValues: S.optional(HostingPrivateDatabaseConfigDetailAvailableValuesList),
|
|
872
|
+
defaultValue: S.optional(S.String),
|
|
873
|
+
description: S.optional(S.String),
|
|
874
|
+
key: S.optional(S.String),
|
|
875
|
+
lastUpdate: S.optional(S.String),
|
|
876
|
+
type: S.optional(HostingPrivateDatabaseConfigTypeEnum),
|
|
877
|
+
unit: S.optional(S.NullOr(S.String)),
|
|
878
|
+
value: S.optional(S.String),
|
|
879
|
+
})).annotate({
|
|
880
|
+
identifier: "HostingPrivateDatabaseConfigDetail",
|
|
881
|
+
});
|
|
882
|
+
export const HostingPrivateDatabaseConfigsDetailsList = /*@__PURE__*/ S.Array(HostingPrivateDatabaseConfigDetail);
|
|
883
|
+
export const HostingPrivateDatabaseConfigStatusEnum = S.String;
|
|
884
|
+
export const HostingPrivateDatabaseConfigs = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
885
|
+
details: S.optional(HostingPrivateDatabaseConfigsDetailsList),
|
|
886
|
+
lastUpdate: S.optional(S.String),
|
|
887
|
+
status: S.optional(HostingPrivateDatabaseConfigStatusEnum),
|
|
888
|
+
taskId: S.optional(S.NullOr(S.Number)),
|
|
889
|
+
})).annotate({
|
|
890
|
+
identifier: "HostingPrivateDatabaseConfigs",
|
|
891
|
+
});
|
|
892
|
+
export const ListHostingPrivateDatabaseCpuThrottleRequest =
|
|
893
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
894
|
+
serviceName: S.String.pipe(T.Label()),
|
|
895
|
+
}).pipe(T.Http({
|
|
896
|
+
method: "GET",
|
|
897
|
+
uri: "/hosting/privateDatabase/{serviceName}/cpuThrottle",
|
|
898
|
+
code: 200,
|
|
899
|
+
}))).annotate({
|
|
900
|
+
identifier: "ListHostingPrivateDatabaseCpuThrottleRequest",
|
|
901
|
+
});
|
|
902
|
+
export const HostingPrivateDatabaseCpuThrottle = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
903
|
+
endDate: S.optional(S.NullOr(S.String)),
|
|
904
|
+
startDate: S.optional(S.String),
|
|
905
|
+
})).annotate({
|
|
906
|
+
identifier: "HostingPrivateDatabaseCpuThrottle",
|
|
907
|
+
});
|
|
908
|
+
export const ListHostingPrivateDatabaseCpuThrottleResponseBodyList =
|
|
909
|
+
/*@__PURE__*/ S.Array(HostingPrivateDatabaseCpuThrottle);
|
|
910
|
+
export const ListHostingPrivateDatabaseCpuThrottleResponse =
|
|
911
|
+
/*@__PURE__*/ S.suspend(() => ListHostingPrivateDatabaseCpuThrottleResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
912
|
+
identifier: "ListHostingPrivateDatabaseCpuThrottleResponse",
|
|
913
|
+
});
|
|
914
|
+
export const ListHostingPrivateDatabaseDatabaseRequest =
|
|
915
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
916
|
+
serviceName: S.String.pipe(T.Label()),
|
|
917
|
+
}).pipe(T.Http({
|
|
918
|
+
method: "GET",
|
|
919
|
+
uri: "/hosting/privateDatabase/{serviceName}/database",
|
|
920
|
+
code: 200,
|
|
921
|
+
}))).annotate({
|
|
922
|
+
identifier: "ListHostingPrivateDatabaseDatabaseRequest",
|
|
923
|
+
});
|
|
924
|
+
export const ListHostingPrivateDatabaseDatabaseResponseBodyList =
|
|
925
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
926
|
+
export const ListHostingPrivateDatabaseDatabaseResponse =
|
|
927
|
+
/*@__PURE__*/ S.suspend(() => ListHostingPrivateDatabaseDatabaseResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
928
|
+
identifier: "ListHostingPrivateDatabaseDatabaseResponse",
|
|
929
|
+
});
|
|
930
|
+
export const ListHostingPrivateDatabaseDatabaseCopyRequest =
|
|
931
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
932
|
+
serviceName: S.String.pipe(T.Label()),
|
|
933
|
+
databaseName: S.String.pipe(T.Label()),
|
|
934
|
+
}).pipe(T.Http({
|
|
935
|
+
method: "GET",
|
|
936
|
+
uri: "/hosting/privateDatabase/{serviceName}/database/{databaseName}/copy",
|
|
937
|
+
code: 200,
|
|
938
|
+
}))).annotate({
|
|
939
|
+
identifier: "ListHostingPrivateDatabaseDatabaseCopyRequest",
|
|
940
|
+
});
|
|
941
|
+
export const ListHostingPrivateDatabaseDatabaseCopyResponseBodyList =
|
|
942
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
943
|
+
export const ListHostingPrivateDatabaseDatabaseCopyResponse =
|
|
944
|
+
/*@__PURE__*/ S.suspend(() => ListHostingPrivateDatabaseDatabaseCopyResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
945
|
+
identifier: "ListHostingPrivateDatabaseDatabaseCopyResponse",
|
|
946
|
+
});
|
|
947
|
+
export const ListHostingPrivateDatabaseDatabaseDumpRequest =
|
|
948
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
949
|
+
serviceName: S.String.pipe(T.Label()),
|
|
950
|
+
databaseName: S.String.pipe(T.Label()),
|
|
951
|
+
}).pipe(T.Http({
|
|
952
|
+
method: "GET",
|
|
953
|
+
uri: "/hosting/privateDatabase/{serviceName}/database/{databaseName}/dump",
|
|
954
|
+
code: 200,
|
|
955
|
+
}))).annotate({
|
|
956
|
+
identifier: "ListHostingPrivateDatabaseDatabaseDumpRequest",
|
|
957
|
+
});
|
|
958
|
+
export const ListHostingPrivateDatabaseDatabaseDumpResponseBodyList =
|
|
959
|
+
/*@__PURE__*/ S.Array(S.Number);
|
|
960
|
+
export const ListHostingPrivateDatabaseDatabaseDumpResponse =
|
|
961
|
+
/*@__PURE__*/ S.suspend(() => ListHostingPrivateDatabaseDatabaseDumpResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
962
|
+
identifier: "ListHostingPrivateDatabaseDatabaseDumpResponse",
|
|
963
|
+
});
|
|
964
|
+
export const ListHostingPrivateDatabaseDatabaseExtensionRequest =
|
|
965
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
966
|
+
serviceName: S.String.pipe(T.Label()),
|
|
967
|
+
databaseName: S.String.pipe(T.Label()),
|
|
968
|
+
extensionName: S.optional(S.String.pipe(T.Query())),
|
|
969
|
+
status: S.optional(HostingPrivateDatabaseExtensionStatusEnum.pipe(T.Query())),
|
|
970
|
+
}).pipe(T.Http({
|
|
971
|
+
method: "GET",
|
|
972
|
+
uri: "/hosting/privateDatabase/{serviceName}/database/{databaseName}/extension",
|
|
973
|
+
code: 200,
|
|
974
|
+
}))).annotate({
|
|
975
|
+
identifier: "ListHostingPrivateDatabaseDatabaseExtensionRequest",
|
|
976
|
+
});
|
|
977
|
+
export const ListHostingPrivateDatabaseDatabaseExtensionResponseBodyList =
|
|
978
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
979
|
+
export const ListHostingPrivateDatabaseDatabaseExtensionResponse =
|
|
980
|
+
/*@__PURE__*/ S.suspend(() => ListHostingPrivateDatabaseDatabaseExtensionResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
981
|
+
identifier: "ListHostingPrivateDatabaseDatabaseExtensionResponse",
|
|
982
|
+
});
|
|
983
|
+
export const ListHostingPrivateDatabaseDumpRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
984
|
+
serviceName: S.String.pipe(T.Label()),
|
|
985
|
+
databaseName: S.optional(S.String.pipe(T.Query())),
|
|
986
|
+
orphan: S.optional(S.Boolean.pipe(T.Query())),
|
|
987
|
+
}).pipe(T.Http({
|
|
988
|
+
method: "GET",
|
|
989
|
+
uri: "/hosting/privateDatabase/{serviceName}/dump",
|
|
990
|
+
code: 200,
|
|
991
|
+
}))).annotate({
|
|
992
|
+
identifier: "ListHostingPrivateDatabaseDumpRequest",
|
|
993
|
+
});
|
|
994
|
+
export const ListHostingPrivateDatabaseDumpResponseBodyList =
|
|
995
|
+
/*@__PURE__*/ S.Array(S.Number);
|
|
996
|
+
export const ListHostingPrivateDatabaseDumpResponse = /*@__PURE__*/ S.suspend(() => ListHostingPrivateDatabaseDumpResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
997
|
+
identifier: "ListHostingPrivateDatabaseDumpResponse",
|
|
998
|
+
});
|
|
999
|
+
export const ListHostingPrivateDatabaseLogKindRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1000
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1001
|
+
}).pipe(T.Http({
|
|
1002
|
+
method: "GET",
|
|
1003
|
+
uri: "/hosting/privateDatabase/{serviceName}/log/kind",
|
|
1004
|
+
code: 200,
|
|
1005
|
+
}))).annotate({
|
|
1006
|
+
identifier: "ListHostingPrivateDatabaseLogKindRequest",
|
|
1007
|
+
});
|
|
1008
|
+
export const ListHostingPrivateDatabaseLogKindResponseBodyList =
|
|
1009
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
1010
|
+
export const ListHostingPrivateDatabaseLogKindResponse =
|
|
1011
|
+
/*@__PURE__*/ S.suspend(() => ListHostingPrivateDatabaseLogKindResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1012
|
+
identifier: "ListHostingPrivateDatabaseLogKindResponse",
|
|
1013
|
+
});
|
|
1014
|
+
export const ListHostingPrivateDatabaseLogSubscriptionRequest =
|
|
1015
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1016
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1017
|
+
kind: S.optional(S.String.pipe(T.Query())),
|
|
1018
|
+
}).pipe(T.Http({
|
|
1019
|
+
method: "GET",
|
|
1020
|
+
uri: "/hosting/privateDatabase/{serviceName}/log/subscription",
|
|
1021
|
+
code: 200,
|
|
1022
|
+
}))).annotate({
|
|
1023
|
+
identifier: "ListHostingPrivateDatabaseLogSubscriptionRequest",
|
|
1024
|
+
});
|
|
1025
|
+
export const ListHostingPrivateDatabaseLogSubscriptionResponseBodyList =
|
|
1026
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
1027
|
+
export const ListHostingPrivateDatabaseLogSubscriptionResponse =
|
|
1028
|
+
/*@__PURE__*/ S.suspend(() => ListHostingPrivateDatabaseLogSubscriptionResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1029
|
+
identifier: "ListHostingPrivateDatabaseLogSubscriptionResponse",
|
|
1030
|
+
});
|
|
1031
|
+
export const ListHostingPrivateDatabaseOomRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1032
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1033
|
+
}).pipe(T.Http({
|
|
1034
|
+
method: "GET",
|
|
1035
|
+
uri: "/hosting/privateDatabase/{serviceName}/oom",
|
|
1036
|
+
code: 200,
|
|
1037
|
+
}))).annotate({
|
|
1038
|
+
identifier: "ListHostingPrivateDatabaseOomRequest",
|
|
1039
|
+
});
|
|
1040
|
+
export const HostingPrivateDatabaseOom = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1041
|
+
date: S.optional(S.String),
|
|
1042
|
+
sizeReached: S.optional(S.Number),
|
|
1043
|
+
})).annotate({
|
|
1044
|
+
identifier: "HostingPrivateDatabaseOom",
|
|
1045
|
+
});
|
|
1046
|
+
export const ListHostingPrivateDatabaseOomResponseBodyList =
|
|
1047
|
+
/*@__PURE__*/ S.Array(HostingPrivateDatabaseOom);
|
|
1048
|
+
export const ListHostingPrivateDatabaseOomResponse = /*@__PURE__*/ S.suspend(() => ListHostingPrivateDatabaseOomResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1049
|
+
identifier: "ListHostingPrivateDatabaseOomResponse",
|
|
1050
|
+
});
|
|
1051
|
+
export const ListHostingPrivateDatabaseTasksRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1052
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1053
|
+
function: S.optional(HostingPrivateDatabaseTaskFunctionEnum.pipe(T.Query())),
|
|
1054
|
+
status: S.optional(HostingPrivateDatabaseTaskStatusEnum.pipe(T.Query())),
|
|
1055
|
+
}).pipe(T.Http({
|
|
1056
|
+
method: "GET",
|
|
1057
|
+
uri: "/hosting/privateDatabase/{serviceName}/tasks",
|
|
1058
|
+
code: 200,
|
|
1059
|
+
}))).annotate({
|
|
1060
|
+
identifier: "ListHostingPrivateDatabaseTasksRequest",
|
|
1061
|
+
});
|
|
1062
|
+
export const ListHostingPrivateDatabaseTasksResponseBodyList =
|
|
1063
|
+
/*@__PURE__*/ S.Array(S.Number);
|
|
1064
|
+
export const ListHostingPrivateDatabaseTasksResponse = /*@__PURE__*/ S.suspend(() => ListHostingPrivateDatabaseTasksResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1065
|
+
identifier: "ListHostingPrivateDatabaseTasksResponse",
|
|
1066
|
+
});
|
|
1067
|
+
export const ListHostingPrivateDatabaseUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1068
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1069
|
+
}).pipe(T.Http({
|
|
1070
|
+
method: "GET",
|
|
1071
|
+
uri: "/hosting/privateDatabase/{serviceName}/user",
|
|
1072
|
+
code: 200,
|
|
1073
|
+
}))).annotate({
|
|
1074
|
+
identifier: "ListHostingPrivateDatabaseUserRequest",
|
|
1075
|
+
});
|
|
1076
|
+
export const ListHostingPrivateDatabaseUserResponseBodyList =
|
|
1077
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
1078
|
+
export const ListHostingPrivateDatabaseUserResponse = /*@__PURE__*/ S.suspend(() => ListHostingPrivateDatabaseUserResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1079
|
+
identifier: "ListHostingPrivateDatabaseUserResponse",
|
|
1080
|
+
});
|
|
1081
|
+
export const ListHostingPrivateDatabaseUserGrantRequest =
|
|
1082
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1083
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1084
|
+
userName: S.String.pipe(T.Label()),
|
|
1085
|
+
}).pipe(T.Http({
|
|
1086
|
+
method: "GET",
|
|
1087
|
+
uri: "/hosting/privateDatabase/{serviceName}/user/{userName}/grant",
|
|
1088
|
+
code: 200,
|
|
1089
|
+
}))).annotate({
|
|
1090
|
+
identifier: "ListHostingPrivateDatabaseUserGrantRequest",
|
|
1091
|
+
});
|
|
1092
|
+
export const ListHostingPrivateDatabaseUserGrantResponseBodyList =
|
|
1093
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
1094
|
+
export const ListHostingPrivateDatabaseUserGrantResponse =
|
|
1095
|
+
/*@__PURE__*/ S.suspend(() => ListHostingPrivateDatabaseUserGrantResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1096
|
+
identifier: "ListHostingPrivateDatabaseUserGrantResponse",
|
|
1097
|
+
});
|
|
1098
|
+
export const ListHostingPrivateDatabaseWebsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1099
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1100
|
+
}).pipe(T.Http({
|
|
1101
|
+
method: "GET",
|
|
1102
|
+
uri: "/hosting/privateDatabase/{serviceName}/webs",
|
|
1103
|
+
code: 200,
|
|
1104
|
+
}))).annotate({
|
|
1105
|
+
identifier: "ListHostingPrivateDatabaseWebsRequest",
|
|
1106
|
+
});
|
|
1107
|
+
export const ListHostingPrivateDatabaseWebsResponseBodyList =
|
|
1108
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
1109
|
+
export const ListHostingPrivateDatabaseWebsResponse = /*@__PURE__*/ S.suspend(() => ListHostingPrivateDatabaseWebsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1110
|
+
identifier: "ListHostingPrivateDatabaseWebsResponse",
|
|
1111
|
+
});
|
|
1112
|
+
export const ListHostingPrivateDatabaseWhitelistRequest =
|
|
1113
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1114
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1115
|
+
ip: S.optional(S.String.pipe(T.Query())),
|
|
1116
|
+
service: S.optional(S.Boolean.pipe(T.Query())),
|
|
1117
|
+
sftp: S.optional(S.Boolean.pipe(T.Query())),
|
|
1118
|
+
}).pipe(T.Http({
|
|
1119
|
+
method: "GET",
|
|
1120
|
+
uri: "/hosting/privateDatabase/{serviceName}/whitelist",
|
|
1121
|
+
code: 200,
|
|
1122
|
+
}))).annotate({
|
|
1123
|
+
identifier: "ListHostingPrivateDatabaseWhitelistRequest",
|
|
1124
|
+
});
|
|
1125
|
+
export const ListHostingPrivateDatabaseWhitelistResponseBodyList =
|
|
1126
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
1127
|
+
export const ListHostingPrivateDatabaseWhitelistResponse =
|
|
1128
|
+
/*@__PURE__*/ S.suspend(() => ListHostingPrivateDatabaseWhitelistResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1129
|
+
identifier: "ListHostingPrivateDatabaseWhitelistResponse",
|
|
1130
|
+
});
|
|
1131
|
+
export const PutHostingPrivateDatabaseRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1132
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1133
|
+
displayName: S.optional(S.NullOr(S.String)),
|
|
1134
|
+
}).pipe(T.Http({
|
|
1135
|
+
method: "PUT",
|
|
1136
|
+
uri: "/hosting/privateDatabase/{serviceName}",
|
|
1137
|
+
code: 200,
|
|
1138
|
+
}))).annotate({
|
|
1139
|
+
identifier: "PutHostingPrivateDatabaseRequest",
|
|
1140
|
+
});
|
|
1141
|
+
export const PutHostingPrivateDatabaseResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1142
|
+
identifier: "PutHostingPrivateDatabaseResponse",
|
|
1143
|
+
});
|
|
1144
|
+
export const PutHostingPrivateDatabaseServiceInfosRequest =
|
|
1145
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1146
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1147
|
+
renew: S.optional(S.NullOr(ServiceRenewType)),
|
|
1148
|
+
}).pipe(T.Http({
|
|
1149
|
+
method: "PUT",
|
|
1150
|
+
uri: "/hosting/privateDatabase/{serviceName}/serviceInfos",
|
|
1151
|
+
code: 200,
|
|
1152
|
+
}))).annotate({
|
|
1153
|
+
identifier: "PutHostingPrivateDatabaseServiceInfosRequest",
|
|
1154
|
+
});
|
|
1155
|
+
export const PutHostingPrivateDatabaseServiceInfosResponse =
|
|
1156
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1157
|
+
identifier: "PutHostingPrivateDatabaseServiceInfosResponse",
|
|
1158
|
+
});
|
|
1159
|
+
export const PutHostingPrivateDatabaseWhitelistRequest =
|
|
1160
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1161
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1162
|
+
ip: S.String.pipe(T.Label()),
|
|
1163
|
+
name: S.optional(S.NullOr(S.String)),
|
|
1164
|
+
service: S.optional(S.Boolean),
|
|
1165
|
+
sftp: S.optional(S.Boolean),
|
|
1166
|
+
}).pipe(T.Http({
|
|
1167
|
+
method: "PUT",
|
|
1168
|
+
uri: "/hosting/privateDatabase/{serviceName}/whitelist/{ip}",
|
|
1169
|
+
code: 200,
|
|
1170
|
+
}))).annotate({
|
|
1171
|
+
identifier: "PutHostingPrivateDatabaseWhitelistRequest",
|
|
1172
|
+
});
|
|
1173
|
+
export const PutHostingPrivateDatabaseWhitelistResponse =
|
|
1174
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1175
|
+
identifier: "PutHostingPrivateDatabaseWhitelistResponse",
|
|
1176
|
+
});
|
|
1177
|
+
export const RestartHostingPrivateDatabaseRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1178
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1179
|
+
}).pipe(T.Http({
|
|
1180
|
+
method: "POST",
|
|
1181
|
+
uri: "/hosting/privateDatabase/{serviceName}/restart",
|
|
1182
|
+
code: 200,
|
|
1183
|
+
}))).annotate({
|
|
1184
|
+
identifier: "RestartHostingPrivateDatabaseRequest",
|
|
1185
|
+
});
|
|
1186
|
+
export const RestoreHostingPrivateDatabaseDatabaseDumpRequest =
|
|
1187
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1188
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1189
|
+
databaseName: S.String.pipe(T.Label()),
|
|
1190
|
+
id: S.Number.pipe(T.Label()),
|
|
1191
|
+
}).pipe(T.Http({
|
|
1192
|
+
method: "POST",
|
|
1193
|
+
uri: "/hosting/privateDatabase/{serviceName}/database/{databaseName}/dump/{id}/restore",
|
|
1194
|
+
code: 200,
|
|
1195
|
+
}))).annotate({
|
|
1196
|
+
identifier: "RestoreHostingPrivateDatabaseDatabaseDumpRequest",
|
|
1197
|
+
});
|
|
1198
|
+
export const RestoreHostingPrivateDatabaseDumpRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1199
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1200
|
+
dumpId: S.Number.pipe(T.Label()),
|
|
1201
|
+
databaseName: S.optional(S.String),
|
|
1202
|
+
}).pipe(T.Http({
|
|
1203
|
+
method: "POST",
|
|
1204
|
+
uri: "/hosting/privateDatabase/{serviceName}/dump/{dumpId}/restore",
|
|
1205
|
+
code: 200,
|
|
1206
|
+
}))).annotate({
|
|
1207
|
+
identifier: "RestoreHostingPrivateDatabaseDumpRequest",
|
|
1208
|
+
});
|
|
1209
|
+
export const TerminateHostingPrivateDatabaseRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1210
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1211
|
+
}).pipe(T.Http({
|
|
1212
|
+
method: "POST",
|
|
1213
|
+
uri: "/hosting/privateDatabase/{serviceName}/terminate",
|
|
1214
|
+
code: 200,
|
|
1215
|
+
}))).annotate({
|
|
1216
|
+
identifier: "TerminateHostingPrivateDatabaseRequest",
|
|
1217
|
+
});
|
|
1218
|
+
export const TerminateHostingPrivateDatabaseResponse = /*@__PURE__*/ S.suspend(() => S.String.pipe(T.RawResponseRoot())).annotate({
|
|
1219
|
+
identifier: "TerminateHostingPrivateDatabaseResponse",
|
|
1220
|
+
});
|
|
1221
|
+
export const HostingPrivateDatabaseConfigKeyValue = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1222
|
+
key: S.String,
|
|
1223
|
+
value: S.String,
|
|
1224
|
+
})).annotate({
|
|
1225
|
+
identifier: "HostingPrivateDatabaseConfigKeyValue",
|
|
1226
|
+
});
|
|
1227
|
+
export const UpdateHostingPrivateDatabaseConfigRequestParametersList =
|
|
1228
|
+
/*@__PURE__*/ S.Array(HostingPrivateDatabaseConfigKeyValue);
|
|
1229
|
+
export const UpdateHostingPrivateDatabaseConfigRequest =
|
|
1230
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1231
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1232
|
+
parameters: UpdateHostingPrivateDatabaseConfigRequestParametersList,
|
|
1233
|
+
}).pipe(T.Http({
|
|
1234
|
+
method: "POST",
|
|
1235
|
+
uri: "/hosting/privateDatabase/{serviceName}/config/update",
|
|
1236
|
+
code: 200,
|
|
1237
|
+
}))).annotate({
|
|
1238
|
+
identifier: "UpdateHostingPrivateDatabaseConfigRequest",
|
|
1239
|
+
});
|
|
1240
|
+
export const UpdateHostingPrivateDatabaseUserGrantRequest =
|
|
1241
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1242
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1243
|
+
userName: S.String.pipe(T.Label()),
|
|
1244
|
+
databaseName: S.String.pipe(T.Label()),
|
|
1245
|
+
grant: HostingPrivateDatabaseGrantGrantEnum,
|
|
1246
|
+
}).pipe(T.Http({
|
|
1247
|
+
method: "POST",
|
|
1248
|
+
uri: "/hosting/privateDatabase/{serviceName}/user/{userName}/grant/{databaseName}/update",
|
|
1249
|
+
code: 200,
|
|
1250
|
+
}))).annotate({
|
|
1251
|
+
identifier: "UpdateHostingPrivateDatabaseUserGrantRequest",
|
|
1252
|
+
});
|
|
1253
|
+
/** Confirm service termination */
|
|
1254
|
+
export const confirmHostingPrivateDatabaseTermination = /*@__PURE__*/ API.make(() => ({
|
|
1255
|
+
input: ConfirmHostingPrivateDatabaseTerminationRequest,
|
|
1256
|
+
output: ConfirmHostingPrivateDatabaseTerminationResponse,
|
|
1257
|
+
errors: [UnknownOvhError],
|
|
1258
|
+
protocol: OvhProtocol,
|
|
1259
|
+
retry: Retry.Retry,
|
|
1260
|
+
}));
|
|
1261
|
+
/** Create a new database copy in a Web Cloud Database */
|
|
1262
|
+
export const copyHostingPrivateDatabaseDatabase = /*@__PURE__*/ API.make(() => ({
|
|
1263
|
+
input: CopyHostingPrivateDatabaseDatabaseRequest,
|
|
1264
|
+
output: HostingPrivateDatabaseDatabaseCopy,
|
|
1265
|
+
errors: [UnknownOvhError],
|
|
1266
|
+
protocol: OvhProtocol,
|
|
1267
|
+
retry: Retry.Retry,
|
|
1268
|
+
}));
|
|
1269
|
+
/** Request the copy into a Web Cloud Database */
|
|
1270
|
+
export const copyHostingPrivateDatabaseDatabaseRestore = /*@__PURE__*/ API.make(() => ({
|
|
1271
|
+
input: CopyHostingPrivateDatabaseDatabaseRestoreRequest,
|
|
1272
|
+
output: HostingPrivateDatabaseTask,
|
|
1273
|
+
errors: [UnknownOvhError],
|
|
1274
|
+
protocol: OvhProtocol,
|
|
1275
|
+
retry: Retry.Retry,
|
|
1276
|
+
}));
|
|
1277
|
+
/** Launch a contact change procedure */
|
|
1278
|
+
export const createHostingPrivateDatabaseChangeContact = /*@__PURE__*/ API.make(() => ({
|
|
1279
|
+
input: CreateHostingPrivateDatabaseChangeContactRequest,
|
|
1280
|
+
output: CreateHostingPrivateDatabaseChangeContactResponse,
|
|
1281
|
+
errors: [UnknownOvhError],
|
|
1282
|
+
protocol: OvhProtocol,
|
|
1283
|
+
retry: Retry.Retry,
|
|
1284
|
+
}));
|
|
1285
|
+
/** Change FTP password of your Web Cloud Database */
|
|
1286
|
+
export const createHostingPrivateDatabaseChangeFtpPassword = /*@__PURE__*/ API.make(() => ({
|
|
1287
|
+
input: CreateHostingPrivateDatabaseChangeFtpPasswordRequest,
|
|
1288
|
+
output: HostingPrivateDatabaseTask,
|
|
1289
|
+
errors: [UnknownOvhError],
|
|
1290
|
+
protocol: OvhProtocol,
|
|
1291
|
+
retry: Retry.Retry,
|
|
1292
|
+
}));
|
|
1293
|
+
/** Change DBMS version of your Web Cloud Database */
|
|
1294
|
+
export const createHostingPrivateDatabaseChangeVersion = /*@__PURE__*/ API.make(() => ({
|
|
1295
|
+
input: CreateHostingPrivateDatabaseChangeVersionRequest,
|
|
1296
|
+
output: HostingPrivateDatabaseTask,
|
|
1297
|
+
errors: [UnknownOvhError],
|
|
1298
|
+
protocol: OvhProtocol,
|
|
1299
|
+
retry: Retry.Retry,
|
|
1300
|
+
}));
|
|
1301
|
+
/** Create a new database in a Web Cloud Database */
|
|
1302
|
+
export const createHostingPrivateDatabaseDatabase = /*@__PURE__*/ API.make(() => ({
|
|
1303
|
+
input: CreateHostingPrivateDatabaseDatabaseRequest,
|
|
1304
|
+
output: HostingPrivateDatabaseTask,
|
|
1305
|
+
errors: [UnknownOvhError],
|
|
1306
|
+
protocol: OvhProtocol,
|
|
1307
|
+
retry: Retry.Retry,
|
|
1308
|
+
}));
|
|
1309
|
+
/** Request the dump of this database (an email will be sent with a link available 30 days) */
|
|
1310
|
+
export const createHostingPrivateDatabaseDatabaseDump = /*@__PURE__*/ API.make(() => ({
|
|
1311
|
+
input: CreateHostingPrivateDatabaseDatabaseDumpRequest,
|
|
1312
|
+
output: HostingPrivateDatabaseTask,
|
|
1313
|
+
errors: [UnknownOvhError],
|
|
1314
|
+
protocol: OvhProtocol,
|
|
1315
|
+
retry: Retry.Retry,
|
|
1316
|
+
}));
|
|
1317
|
+
/** Create a new database/user and grant it */
|
|
1318
|
+
export const createHostingPrivateDatabaseDatabaseWizard = /*@__PURE__*/ API.make(() => ({
|
|
1319
|
+
input: CreateHostingPrivateDatabaseDatabaseWizardRequest,
|
|
1320
|
+
output: HostingPrivateDatabaseTask,
|
|
1321
|
+
errors: [UnknownOvhError],
|
|
1322
|
+
protocol: OvhProtocol,
|
|
1323
|
+
retry: Retry.Retry,
|
|
1324
|
+
}));
|
|
1325
|
+
/** Create subscription to log to customer for a Web Cloud Database */
|
|
1326
|
+
export const createHostingPrivateDatabaseLogSubscription = /*@__PURE__*/ API.make(() => ({
|
|
1327
|
+
input: CreateHostingPrivateDatabaseLogSubscriptionRequest,
|
|
1328
|
+
output: DbaasLogsLogSubscriptionResponse,
|
|
1329
|
+
errors: [UnknownOvhError],
|
|
1330
|
+
protocol: OvhProtocol,
|
|
1331
|
+
retry: Retry.Retry,
|
|
1332
|
+
}));
|
|
1333
|
+
/** Generate a temporary URL to retrieve logs */
|
|
1334
|
+
export const createHostingPrivateDatabaseLogUrl = /*@__PURE__*/ API.make(() => ({
|
|
1335
|
+
input: CreateHostingPrivateDatabaseLogUrlRequest,
|
|
1336
|
+
output: DbaasLogsTemporaryLogsLink,
|
|
1337
|
+
errors: [UnknownOvhError],
|
|
1338
|
+
protocol: OvhProtocol,
|
|
1339
|
+
retry: Retry.Retry,
|
|
1340
|
+
}));
|
|
1341
|
+
/** Refresh the quota of your Web Cloud Database */
|
|
1342
|
+
export const createHostingPrivateDatabaseQuotaRefresh = /*@__PURE__*/ API.make(() => ({
|
|
1343
|
+
input: CreateHostingPrivateDatabaseQuotaRefreshRequest,
|
|
1344
|
+
output: HostingPrivateDatabaseTask,
|
|
1345
|
+
errors: [UnknownOvhError],
|
|
1346
|
+
protocol: OvhProtocol,
|
|
1347
|
+
retry: Retry.Retry,
|
|
1348
|
+
}));
|
|
1349
|
+
/** Create a user on a Web Cloud Database */
|
|
1350
|
+
export const createHostingPrivateDatabaseUser = /*@__PURE__*/ API.make(() => ({
|
|
1351
|
+
input: CreateHostingPrivateDatabaseUserRequest,
|
|
1352
|
+
output: HostingPrivateDatabaseTask,
|
|
1353
|
+
errors: [UnknownOvhError],
|
|
1354
|
+
protocol: OvhProtocol,
|
|
1355
|
+
retry: Retry.Retry,
|
|
1356
|
+
}));
|
|
1357
|
+
/** Change the password of a user on a Web Cloud Database */
|
|
1358
|
+
export const createHostingPrivateDatabaseUserChangePassword = /*@__PURE__*/ API.make(() => ({
|
|
1359
|
+
input: CreateHostingPrivateDatabaseUserChangePasswordRequest,
|
|
1360
|
+
output: HostingPrivateDatabaseTask,
|
|
1361
|
+
errors: [UnknownOvhError],
|
|
1362
|
+
protocol: OvhProtocol,
|
|
1363
|
+
retry: Retry.Retry,
|
|
1364
|
+
}));
|
|
1365
|
+
/** Add grant on a Web Cloud Database */
|
|
1366
|
+
export const createHostingPrivateDatabaseUserGrant = /*@__PURE__*/ API.make(() => ({
|
|
1367
|
+
input: CreateHostingPrivateDatabaseUserGrantRequest,
|
|
1368
|
+
output: HostingPrivateDatabaseTask,
|
|
1369
|
+
errors: [UnknownOvhError],
|
|
1370
|
+
protocol: OvhProtocol,
|
|
1371
|
+
retry: Retry.Retry,
|
|
1372
|
+
}));
|
|
1373
|
+
/** Permit access from the web hosting network on a Web Cloud Database */
|
|
1374
|
+
export const createHostingPrivateDatabaseWebhostingNetwork = /*@__PURE__*/ API.make(() => ({
|
|
1375
|
+
input: CreateHostingPrivateDatabaseWebhostingNetworkRequest,
|
|
1376
|
+
output: HostingPrivateDatabaseTask,
|
|
1377
|
+
errors: [UnknownOvhError],
|
|
1378
|
+
protocol: OvhProtocol,
|
|
1379
|
+
retry: Retry.Retry,
|
|
1380
|
+
}));
|
|
1381
|
+
/** Create a new IP whitelist in a Web Cloud Database */
|
|
1382
|
+
export const createHostingPrivateDatabaseWhitelist = /*@__PURE__*/ API.make(() => ({
|
|
1383
|
+
input: CreateHostingPrivateDatabaseWhitelistRequest,
|
|
1384
|
+
output: HostingPrivateDatabaseTask,
|
|
1385
|
+
errors: [UnknownOvhError],
|
|
1386
|
+
protocol: OvhProtocol,
|
|
1387
|
+
retry: Retry.Retry,
|
|
1388
|
+
}));
|
|
1389
|
+
/** Delete a database from a Web Cloud Database */
|
|
1390
|
+
export const deleteHostingPrivateDatabaseDatabase = /*@__PURE__*/ API.make(() => ({
|
|
1391
|
+
input: DeleteHostingPrivateDatabaseDatabaseRequest,
|
|
1392
|
+
output: HostingPrivateDatabaseTask,
|
|
1393
|
+
errors: [UnknownOvhError],
|
|
1394
|
+
protocol: OvhProtocol,
|
|
1395
|
+
retry: Retry.Retry,
|
|
1396
|
+
}));
|
|
1397
|
+
/** Delete the database copy of a Web Cloud Database */
|
|
1398
|
+
export const deleteHostingPrivateDatabaseDatabaseCopy = /*@__PURE__*/ API.make(() => ({
|
|
1399
|
+
input: DeleteHostingPrivateDatabaseDatabaseCopyRequest,
|
|
1400
|
+
output: DeleteHostingPrivateDatabaseDatabaseCopyResponse,
|
|
1401
|
+
errors: [UnknownOvhError],
|
|
1402
|
+
protocol: OvhProtocol,
|
|
1403
|
+
retry: Retry.Retry,
|
|
1404
|
+
}));
|
|
1405
|
+
/** Delete dump before expiration date */
|
|
1406
|
+
export const deleteHostingPrivateDatabaseDatabaseDump = /*@__PURE__*/ API.make(() => ({
|
|
1407
|
+
input: DeleteHostingPrivateDatabaseDatabaseDumpRequest,
|
|
1408
|
+
output: HostingPrivateDatabaseTask,
|
|
1409
|
+
errors: [UnknownOvhError],
|
|
1410
|
+
protocol: OvhProtocol,
|
|
1411
|
+
retry: Retry.Retry,
|
|
1412
|
+
}));
|
|
1413
|
+
/** Delete a database dump from a Web Cloud Database */
|
|
1414
|
+
export const deleteHostingPrivateDatabaseDump = /*@__PURE__*/ API.make(() => ({
|
|
1415
|
+
input: DeleteHostingPrivateDatabaseDumpRequest,
|
|
1416
|
+
output: HostingPrivateDatabaseTask,
|
|
1417
|
+
errors: [UnknownOvhError],
|
|
1418
|
+
protocol: OvhProtocol,
|
|
1419
|
+
retry: Retry.Retry,
|
|
1420
|
+
}));
|
|
1421
|
+
/** Delete a subscription */
|
|
1422
|
+
export const deleteHostingPrivateDatabaseLogSubscription = /*@__PURE__*/ API.make(() => ({
|
|
1423
|
+
input: DeleteHostingPrivateDatabaseLogSubscriptionRequest,
|
|
1424
|
+
output: DbaasLogsLogSubscriptionResponse,
|
|
1425
|
+
errors: [UnknownOvhError],
|
|
1426
|
+
protocol: OvhProtocol,
|
|
1427
|
+
retry: Retry.Retry,
|
|
1428
|
+
}));
|
|
1429
|
+
/** Delete a user on a Web Cloud Database */
|
|
1430
|
+
export const deleteHostingPrivateDatabaseUser = /*@__PURE__*/ API.make(() => ({
|
|
1431
|
+
input: DeleteHostingPrivateDatabaseUserRequest,
|
|
1432
|
+
output: HostingPrivateDatabaseTask,
|
|
1433
|
+
errors: [UnknownOvhError],
|
|
1434
|
+
protocol: OvhProtocol,
|
|
1435
|
+
retry: Retry.Retry,
|
|
1436
|
+
}));
|
|
1437
|
+
/** Delete a grant from a Web Cloud Database */
|
|
1438
|
+
export const deleteHostingPrivateDatabaseUserGrant = /*@__PURE__*/ API.make(() => ({
|
|
1439
|
+
input: DeleteHostingPrivateDatabaseUserGrantRequest,
|
|
1440
|
+
output: HostingPrivateDatabaseTask,
|
|
1441
|
+
errors: [UnknownOvhError],
|
|
1442
|
+
protocol: OvhProtocol,
|
|
1443
|
+
retry: Retry.Retry,
|
|
1444
|
+
}));
|
|
1445
|
+
/** Delete access from the web hosting network on a Web Cloud Database */
|
|
1446
|
+
export const deleteHostingPrivateDatabaseWebhostingNetwork = /*@__PURE__*/ API.make(() => ({
|
|
1447
|
+
input: DeleteHostingPrivateDatabaseWebhostingNetworkRequest,
|
|
1448
|
+
output: HostingPrivateDatabaseTask,
|
|
1449
|
+
errors: [UnknownOvhError],
|
|
1450
|
+
protocol: OvhProtocol,
|
|
1451
|
+
retry: Retry.Retry,
|
|
1452
|
+
}));
|
|
1453
|
+
/** Delete an IP whitelist from a Web Cloud Database */
|
|
1454
|
+
export const deleteHostingPrivateDatabaseWhitelist = /*@__PURE__*/ API.make(() => ({
|
|
1455
|
+
input: DeleteHostingPrivateDatabaseWhitelistRequest,
|
|
1456
|
+
output: HostingPrivateDatabaseTask,
|
|
1457
|
+
errors: [UnknownOvhError],
|
|
1458
|
+
protocol: OvhProtocol,
|
|
1459
|
+
retry: Retry.Retry,
|
|
1460
|
+
}));
|
|
1461
|
+
/** Disable an extension on a Web Cloud Database */
|
|
1462
|
+
export const disableHostingPrivateDatabaseDatabaseExtension = /*@__PURE__*/ API.make(() => ({
|
|
1463
|
+
input: DisableHostingPrivateDatabaseDatabaseExtensionRequest,
|
|
1464
|
+
output: HostingPrivateDatabaseTask,
|
|
1465
|
+
errors: [UnknownOvhError],
|
|
1466
|
+
protocol: OvhProtocol,
|
|
1467
|
+
retry: Retry.Retry,
|
|
1468
|
+
}));
|
|
1469
|
+
/** Enable an extension on a Web Cloud Database */
|
|
1470
|
+
export const enableHostingPrivateDatabaseDatabaseExtension = /*@__PURE__*/ API.make(() => ({
|
|
1471
|
+
input: EnableHostingPrivateDatabaseDatabaseExtensionRequest,
|
|
1472
|
+
output: HostingPrivateDatabaseTask,
|
|
1473
|
+
errors: [UnknownOvhError],
|
|
1474
|
+
protocol: OvhProtocol,
|
|
1475
|
+
retry: Retry.Retry,
|
|
1476
|
+
}));
|
|
1477
|
+
/** Generate a temporary link to access logs for a Web Cloud Database */
|
|
1478
|
+
export const generateHostingPrivateDatabaseTemporaryLogsLink = /*@__PURE__*/ API.make(() => ({
|
|
1479
|
+
input: GenerateHostingPrivateDatabaseTemporaryLogsLinkRequest,
|
|
1480
|
+
output: HostingPrivateDatabaseTemporaryUrlInformations,
|
|
1481
|
+
errors: [UnknownOvhError],
|
|
1482
|
+
protocol: OvhProtocol,
|
|
1483
|
+
retry: Retry.Retry,
|
|
1484
|
+
}));
|
|
1485
|
+
/** Get a Web Cloud Database properties */
|
|
1486
|
+
export const getHostingPrivateDatabase = /*@__PURE__*/ API.make(() => ({
|
|
1487
|
+
input: GetHostingPrivateDatabaseRequest,
|
|
1488
|
+
output: HostingPrivateDatabaseServiceWithIAM,
|
|
1489
|
+
errors: [UnknownOvhError],
|
|
1490
|
+
protocol: OvhProtocol,
|
|
1491
|
+
retry: Retry.Retry,
|
|
1492
|
+
}));
|
|
1493
|
+
/** Get database properties */
|
|
1494
|
+
export const getHostingPrivateDatabaseDatabase = /*@__PURE__*/ API.make(() => ({
|
|
1495
|
+
input: GetHostingPrivateDatabaseDatabaseRequest,
|
|
1496
|
+
output: HostingPrivateDatabaseDatabase,
|
|
1497
|
+
errors: [UnknownOvhError],
|
|
1498
|
+
protocol: OvhProtocol,
|
|
1499
|
+
retry: Retry.Retry,
|
|
1500
|
+
}));
|
|
1501
|
+
/** Get database copy properties */
|
|
1502
|
+
export const getHostingPrivateDatabaseDatabaseCopy = /*@__PURE__*/ API.make(() => ({
|
|
1503
|
+
input: GetHostingPrivateDatabaseDatabaseCopyRequest,
|
|
1504
|
+
output: HostingPrivateDatabaseDatabaseCopy,
|
|
1505
|
+
errors: [UnknownOvhError],
|
|
1506
|
+
protocol: OvhProtocol,
|
|
1507
|
+
retry: Retry.Retry,
|
|
1508
|
+
}));
|
|
1509
|
+
/** Get a database dump from a Web Cloud Database */
|
|
1510
|
+
export const getHostingPrivateDatabaseDatabaseDump = /*@__PURE__*/ API.make(() => ({
|
|
1511
|
+
input: GetHostingPrivateDatabaseDatabaseDumpRequest,
|
|
1512
|
+
output: HostingPrivateDatabaseDatabaseDump,
|
|
1513
|
+
errors: [UnknownOvhError],
|
|
1514
|
+
protocol: OvhProtocol,
|
|
1515
|
+
retry: Retry.Retry,
|
|
1516
|
+
}));
|
|
1517
|
+
/** Get properties of a Webcloud Database extension */
|
|
1518
|
+
export const getHostingPrivateDatabaseDatabaseExtension = /*@__PURE__*/ API.make(() => ({
|
|
1519
|
+
input: GetHostingPrivateDatabaseDatabaseExtensionRequest,
|
|
1520
|
+
output: HostingPrivateDatabaseExtension,
|
|
1521
|
+
errors: [UnknownOvhError],
|
|
1522
|
+
protocol: OvhProtocol,
|
|
1523
|
+
retry: Retry.Retry,
|
|
1524
|
+
}));
|
|
1525
|
+
/** Get a database dump from a Web Cloud Database */
|
|
1526
|
+
export const getHostingPrivateDatabaseDump = /*@__PURE__*/ API.make(() => ({
|
|
1527
|
+
input: GetHostingPrivateDatabaseDumpRequest,
|
|
1528
|
+
output: HostingPrivateDatabaseDump,
|
|
1529
|
+
errors: [UnknownOvhError],
|
|
1530
|
+
protocol: OvhProtocol,
|
|
1531
|
+
retry: Retry.Retry,
|
|
1532
|
+
}));
|
|
1533
|
+
/** Get a log kind */
|
|
1534
|
+
export const getHostingPrivateDatabaseLogKind = /*@__PURE__*/ API.make(() => ({
|
|
1535
|
+
input: GetHostingPrivateDatabaseLogKindRequest,
|
|
1536
|
+
output: DbaasLogsLogKind,
|
|
1537
|
+
errors: [UnknownOvhError],
|
|
1538
|
+
protocol: OvhProtocol,
|
|
1539
|
+
retry: Retry.Retry,
|
|
1540
|
+
}));
|
|
1541
|
+
/** Get subscription details */
|
|
1542
|
+
export const getHostingPrivateDatabaseLogSubscription = /*@__PURE__*/ API.make(() => ({
|
|
1543
|
+
input: GetHostingPrivateDatabaseLogSubscriptionRequest,
|
|
1544
|
+
output: DbaasLogsLogSubscription,
|
|
1545
|
+
errors: [UnknownOvhError],
|
|
1546
|
+
protocol: OvhProtocol,
|
|
1547
|
+
retry: Retry.Retry,
|
|
1548
|
+
}));
|
|
1549
|
+
/** Generate a metrics token */
|
|
1550
|
+
export const getHostingPrivateDatabaseMetricsToken = /*@__PURE__*/ API.make(() => ({
|
|
1551
|
+
input: GetHostingPrivateDatabaseMetricsTokenRequest,
|
|
1552
|
+
output: HostingPrivateDatabaseMetricsToken,
|
|
1553
|
+
errors: [UnknownOvhError],
|
|
1554
|
+
protocol: OvhProtocol,
|
|
1555
|
+
retry: Retry.Retry,
|
|
1556
|
+
}));
|
|
1557
|
+
/** Get service information */
|
|
1558
|
+
export const getHostingPrivateDatabaseServiceInfos = /*@__PURE__*/ API.make(() => ({
|
|
1559
|
+
input: GetHostingPrivateDatabaseServiceInfosRequest,
|
|
1560
|
+
output: ServicesService,
|
|
1561
|
+
errors: [UnknownOvhError],
|
|
1562
|
+
protocol: OvhProtocol,
|
|
1563
|
+
retry: Retry.Retry,
|
|
1564
|
+
}));
|
|
1565
|
+
/** Get task details */
|
|
1566
|
+
export const getHostingPrivateDatabaseTask = /*@__PURE__*/ API.make(() => ({
|
|
1567
|
+
input: GetHostingPrivateDatabaseTaskRequest,
|
|
1568
|
+
output: HostingPrivateDatabaseTask,
|
|
1569
|
+
errors: [UnknownOvhError],
|
|
1570
|
+
protocol: OvhProtocol,
|
|
1571
|
+
retry: Retry.Retry,
|
|
1572
|
+
}));
|
|
1573
|
+
/** Get user properties */
|
|
1574
|
+
export const getHostingPrivateDatabaseUser = /*@__PURE__*/ API.make(() => ({
|
|
1575
|
+
input: GetHostingPrivateDatabaseUserRequest,
|
|
1576
|
+
output: HostingPrivateDatabaseUser,
|
|
1577
|
+
errors: [UnknownOvhError],
|
|
1578
|
+
protocol: OvhProtocol,
|
|
1579
|
+
retry: Retry.Retry,
|
|
1580
|
+
}));
|
|
1581
|
+
/** Get information about the grants for a user in a Web Cloud Database */
|
|
1582
|
+
export const getHostingPrivateDatabaseUserGrant = /*@__PURE__*/ API.make(() => ({
|
|
1583
|
+
input: GetHostingPrivateDatabaseUserGrantRequest,
|
|
1584
|
+
output: HostingPrivateDatabaseUserGrant,
|
|
1585
|
+
errors: [UnknownOvhError],
|
|
1586
|
+
protocol: OvhProtocol,
|
|
1587
|
+
retry: Retry.Retry,
|
|
1588
|
+
}));
|
|
1589
|
+
/** Get Webhosting network status */
|
|
1590
|
+
export const getHostingPrivateDatabaseWebhostingNetwork = /*@__PURE__*/ API.make(() => ({
|
|
1591
|
+
input: GetHostingPrivateDatabaseWebhostingNetworkRequest,
|
|
1592
|
+
output: HostingPrivateDatabaseWebhostingNetwork,
|
|
1593
|
+
errors: [UnknownOvhError],
|
|
1594
|
+
protocol: OvhProtocol,
|
|
1595
|
+
retry: Retry.Retry,
|
|
1596
|
+
}));
|
|
1597
|
+
/** Get whitelist properties */
|
|
1598
|
+
export const getHostingPrivateDatabaseWhitelist = /*@__PURE__*/ API.make(() => ({
|
|
1599
|
+
input: GetHostingPrivateDatabaseWhitelistRequest,
|
|
1600
|
+
output: HostingPrivateDatabaseWhitelist,
|
|
1601
|
+
errors: [UnknownOvhError],
|
|
1602
|
+
protocol: OvhProtocol,
|
|
1603
|
+
retry: Retry.Retry,
|
|
1604
|
+
}));
|
|
1605
|
+
/** Import a database into a Web Cloud Database */
|
|
1606
|
+
export const importHostingPrivateDatabaseDatabase = /*@__PURE__*/ API.make(() => ({
|
|
1607
|
+
input: ImportHostingPrivateDatabaseDatabaseRequest,
|
|
1608
|
+
output: HostingPrivateDatabaseTask,
|
|
1609
|
+
errors: [UnknownOvhError],
|
|
1610
|
+
protocol: OvhProtocol,
|
|
1611
|
+
retry: Retry.Retry,
|
|
1612
|
+
}));
|
|
1613
|
+
/** List available Web Cloud Databases */
|
|
1614
|
+
export const listHostingPrivateDatabase = /*@__PURE__*/ API.make(() => ({
|
|
1615
|
+
input: ListHostingPrivateDatabaseRequest,
|
|
1616
|
+
output: ListHostingPrivateDatabaseResponse,
|
|
1617
|
+
errors: [UnknownOvhError],
|
|
1618
|
+
protocol: OvhProtocol,
|
|
1619
|
+
retry: Retry.Retry,
|
|
1620
|
+
}));
|
|
1621
|
+
/** Get available order capacities */
|
|
1622
|
+
export const listHostingPrivateDatabaseAvailableOrderCapacities = /*@__PURE__*/ API.make(() => ({
|
|
1623
|
+
input: ListHostingPrivateDatabaseAvailableOrderCapacitiesRequest,
|
|
1624
|
+
output: HostingPrivateDatabaseAvailableOrderCapacities,
|
|
1625
|
+
errors: [UnknownOvhError],
|
|
1626
|
+
protocol: OvhProtocol,
|
|
1627
|
+
retry: Retry.Retry,
|
|
1628
|
+
}));
|
|
1629
|
+
/** Get the availables versions for this private database */
|
|
1630
|
+
export const listHostingPrivateDatabaseAvailableVersions = /*@__PURE__*/ API.make(() => ({
|
|
1631
|
+
input: ListHostingPrivateDatabaseAvailableVersionsRequest,
|
|
1632
|
+
output: ListHostingPrivateDatabaseAvailableVersionsResponse,
|
|
1633
|
+
errors: [UnknownOvhError],
|
|
1634
|
+
protocol: OvhProtocol,
|
|
1635
|
+
retry: Retry.Retry,
|
|
1636
|
+
}));
|
|
1637
|
+
/** Get the current configuration for this Web Cloud Database */
|
|
1638
|
+
export const listHostingPrivateDatabaseConfig = /*@__PURE__*/ API.make(() => ({
|
|
1639
|
+
input: ListHostingPrivateDatabaseConfigRequest,
|
|
1640
|
+
output: HostingPrivateDatabaseConfigs,
|
|
1641
|
+
errors: [UnknownOvhError],
|
|
1642
|
+
protocol: OvhProtocol,
|
|
1643
|
+
retry: Retry.Retry,
|
|
1644
|
+
}));
|
|
1645
|
+
/** List of privatesql CPU throttle */
|
|
1646
|
+
export const listHostingPrivateDatabaseCpuThrottle = /*@__PURE__*/ API.make(() => ({
|
|
1647
|
+
input: ListHostingPrivateDatabaseCpuThrottleRequest,
|
|
1648
|
+
output: ListHostingPrivateDatabaseCpuThrottleResponse,
|
|
1649
|
+
errors: [UnknownOvhError],
|
|
1650
|
+
protocol: OvhProtocol,
|
|
1651
|
+
retry: Retry.Retry,
|
|
1652
|
+
}));
|
|
1653
|
+
/** List databases on a privateDatabase */
|
|
1654
|
+
export const listHostingPrivateDatabaseDatabase = /*@__PURE__*/ API.make(() => ({
|
|
1655
|
+
input: ListHostingPrivateDatabaseDatabaseRequest,
|
|
1656
|
+
output: ListHostingPrivateDatabaseDatabaseResponse,
|
|
1657
|
+
errors: [UnknownOvhError],
|
|
1658
|
+
protocol: OvhProtocol,
|
|
1659
|
+
retry: Retry.Retry,
|
|
1660
|
+
}));
|
|
1661
|
+
/** List database copy of a privateDatabase */
|
|
1662
|
+
export const listHostingPrivateDatabaseDatabaseCopy = /*@__PURE__*/ API.make(() => ({
|
|
1663
|
+
input: ListHostingPrivateDatabaseDatabaseCopyRequest,
|
|
1664
|
+
output: ListHostingPrivateDatabaseDatabaseCopyResponse,
|
|
1665
|
+
errors: [UnknownOvhError],
|
|
1666
|
+
protocol: OvhProtocol,
|
|
1667
|
+
retry: Retry.Retry,
|
|
1668
|
+
}));
|
|
1669
|
+
/** Get all database dump from a Web Cloud Database */
|
|
1670
|
+
export const listHostingPrivateDatabaseDatabaseDump = /*@__PURE__*/ API.make(() => ({
|
|
1671
|
+
input: ListHostingPrivateDatabaseDatabaseDumpRequest,
|
|
1672
|
+
output: ListHostingPrivateDatabaseDatabaseDumpResponse,
|
|
1673
|
+
errors: [UnknownOvhError],
|
|
1674
|
+
protocol: OvhProtocol,
|
|
1675
|
+
retry: Retry.Retry,
|
|
1676
|
+
}));
|
|
1677
|
+
/** List extensions available for a Webcloud Database */
|
|
1678
|
+
export const listHostingPrivateDatabaseDatabaseExtension = /*@__PURE__*/ API.make(() => ({
|
|
1679
|
+
input: ListHostingPrivateDatabaseDatabaseExtensionRequest,
|
|
1680
|
+
output: ListHostingPrivateDatabaseDatabaseExtensionResponse,
|
|
1681
|
+
errors: [UnknownOvhError],
|
|
1682
|
+
protocol: OvhProtocol,
|
|
1683
|
+
retry: Retry.Retry,
|
|
1684
|
+
}));
|
|
1685
|
+
/** Get all database dump from a Web Cloud Database */
|
|
1686
|
+
export const listHostingPrivateDatabaseDump = /*@__PURE__*/ API.make(() => ({
|
|
1687
|
+
input: ListHostingPrivateDatabaseDumpRequest,
|
|
1688
|
+
output: ListHostingPrivateDatabaseDumpResponse,
|
|
1689
|
+
errors: [UnknownOvhError],
|
|
1690
|
+
protocol: OvhProtocol,
|
|
1691
|
+
retry: Retry.Retry,
|
|
1692
|
+
}));
|
|
1693
|
+
/** List available log kinds */
|
|
1694
|
+
export const listHostingPrivateDatabaseLogKind = /*@__PURE__*/ API.make(() => ({
|
|
1695
|
+
input: ListHostingPrivateDatabaseLogKindRequest,
|
|
1696
|
+
output: ListHostingPrivateDatabaseLogKindResponse,
|
|
1697
|
+
errors: [UnknownOvhError],
|
|
1698
|
+
protocol: OvhProtocol,
|
|
1699
|
+
retry: Retry.Retry,
|
|
1700
|
+
}));
|
|
1701
|
+
/** List subscription IDs for Web Cloud Database */
|
|
1702
|
+
export const listHostingPrivateDatabaseLogSubscription = /*@__PURE__*/ API.make(() => ({
|
|
1703
|
+
input: ListHostingPrivateDatabaseLogSubscriptionRequest,
|
|
1704
|
+
output: ListHostingPrivateDatabaseLogSubscriptionResponse,
|
|
1705
|
+
errors: [UnknownOvhError],
|
|
1706
|
+
protocol: OvhProtocol,
|
|
1707
|
+
retry: Retry.Retry,
|
|
1708
|
+
}));
|
|
1709
|
+
/** List of privatesql OOM kill */
|
|
1710
|
+
export const listHostingPrivateDatabaseOom = /*@__PURE__*/ API.make(() => ({
|
|
1711
|
+
input: ListHostingPrivateDatabaseOomRequest,
|
|
1712
|
+
output: ListHostingPrivateDatabaseOomResponse,
|
|
1713
|
+
errors: [UnknownOvhError],
|
|
1714
|
+
protocol: OvhProtocol,
|
|
1715
|
+
retry: Retry.Retry,
|
|
1716
|
+
}));
|
|
1717
|
+
/** List tasks for a Webcloud Database */
|
|
1718
|
+
export const listHostingPrivateDatabaseTasks = /*@__PURE__*/ API.make(() => ({
|
|
1719
|
+
input: ListHostingPrivateDatabaseTasksRequest,
|
|
1720
|
+
output: ListHostingPrivateDatabaseTasksResponse,
|
|
1721
|
+
errors: [UnknownOvhError],
|
|
1722
|
+
protocol: OvhProtocol,
|
|
1723
|
+
retry: Retry.Retry,
|
|
1724
|
+
}));
|
|
1725
|
+
/** List users on a Web Cloud Database */
|
|
1726
|
+
export const listHostingPrivateDatabaseUser = /*@__PURE__*/ API.make(() => ({
|
|
1727
|
+
input: ListHostingPrivateDatabaseUserRequest,
|
|
1728
|
+
output: ListHostingPrivateDatabaseUserResponse,
|
|
1729
|
+
errors: [UnknownOvhError],
|
|
1730
|
+
protocol: OvhProtocol,
|
|
1731
|
+
retry: Retry.Retry,
|
|
1732
|
+
}));
|
|
1733
|
+
/** Get all information about the grants for a user in a Web Cloud Database */
|
|
1734
|
+
export const listHostingPrivateDatabaseUserGrant = /*@__PURE__*/ API.make(() => ({
|
|
1735
|
+
input: ListHostingPrivateDatabaseUserGrantRequest,
|
|
1736
|
+
output: ListHostingPrivateDatabaseUserGrantResponse,
|
|
1737
|
+
errors: [UnknownOvhError],
|
|
1738
|
+
protocol: OvhProtocol,
|
|
1739
|
+
retry: Retry.Retry,
|
|
1740
|
+
}));
|
|
1741
|
+
/** List linked webs */
|
|
1742
|
+
export const listHostingPrivateDatabaseWebs = /*@__PURE__*/ API.make(() => ({
|
|
1743
|
+
input: ListHostingPrivateDatabaseWebsRequest,
|
|
1744
|
+
output: ListHostingPrivateDatabaseWebsResponse,
|
|
1745
|
+
errors: [UnknownOvhError],
|
|
1746
|
+
protocol: OvhProtocol,
|
|
1747
|
+
retry: Retry.Retry,
|
|
1748
|
+
}));
|
|
1749
|
+
/** List whitelists on a Web Cloud Database */
|
|
1750
|
+
export const listHostingPrivateDatabaseWhitelist = /*@__PURE__*/ API.make(() => ({
|
|
1751
|
+
input: ListHostingPrivateDatabaseWhitelistRequest,
|
|
1752
|
+
output: ListHostingPrivateDatabaseWhitelistResponse,
|
|
1753
|
+
errors: [UnknownOvhError],
|
|
1754
|
+
protocol: OvhProtocol,
|
|
1755
|
+
retry: Retry.Retry,
|
|
1756
|
+
}));
|
|
1757
|
+
/** Alter a Web Cloud Database properties */
|
|
1758
|
+
export const putHostingPrivateDatabase = /*@__PURE__*/ API.make(() => ({
|
|
1759
|
+
input: PutHostingPrivateDatabaseRequest,
|
|
1760
|
+
output: PutHostingPrivateDatabaseResponse,
|
|
1761
|
+
errors: [UnknownOvhError],
|
|
1762
|
+
protocol: OvhProtocol,
|
|
1763
|
+
retry: Retry.Retry,
|
|
1764
|
+
}));
|
|
1765
|
+
/** Update service information */
|
|
1766
|
+
export const putHostingPrivateDatabaseServiceInfos = /*@__PURE__*/ API.make(() => ({
|
|
1767
|
+
input: PutHostingPrivateDatabaseServiceInfosRequest,
|
|
1768
|
+
output: PutHostingPrivateDatabaseServiceInfosResponse,
|
|
1769
|
+
errors: [UnknownOvhError],
|
|
1770
|
+
protocol: OvhProtocol,
|
|
1771
|
+
retry: Retry.Retry,
|
|
1772
|
+
}));
|
|
1773
|
+
/** Update an IP whitelist in a Web Cloud Database */
|
|
1774
|
+
export const putHostingPrivateDatabaseWhitelist = /*@__PURE__*/ API.make(() => ({
|
|
1775
|
+
input: PutHostingPrivateDatabaseWhitelistRequest,
|
|
1776
|
+
output: PutHostingPrivateDatabaseWhitelistResponse,
|
|
1777
|
+
errors: [UnknownOvhError],
|
|
1778
|
+
protocol: OvhProtocol,
|
|
1779
|
+
retry: Retry.Retry,
|
|
1780
|
+
}));
|
|
1781
|
+
/** Restart the Web Cloud Database */
|
|
1782
|
+
export const restartHostingPrivateDatabase = /*@__PURE__*/ API.make(() => ({
|
|
1783
|
+
input: RestartHostingPrivateDatabaseRequest,
|
|
1784
|
+
output: HostingPrivateDatabaseTask,
|
|
1785
|
+
errors: [UnknownOvhError],
|
|
1786
|
+
protocol: OvhProtocol,
|
|
1787
|
+
retry: Retry.Retry,
|
|
1788
|
+
}));
|
|
1789
|
+
/** Request the restore from this dump */
|
|
1790
|
+
export const restoreHostingPrivateDatabaseDatabaseDump = /*@__PURE__*/ API.make(() => ({
|
|
1791
|
+
input: RestoreHostingPrivateDatabaseDatabaseDumpRequest,
|
|
1792
|
+
output: HostingPrivateDatabaseTask,
|
|
1793
|
+
errors: [UnknownOvhError],
|
|
1794
|
+
protocol: OvhProtocol,
|
|
1795
|
+
retry: Retry.Retry,
|
|
1796
|
+
}));
|
|
1797
|
+
/** Restore a database dump into a Web Cloud Database */
|
|
1798
|
+
export const restoreHostingPrivateDatabaseDump = /*@__PURE__*/ API.make(() => ({
|
|
1799
|
+
input: RestoreHostingPrivateDatabaseDumpRequest,
|
|
1800
|
+
output: HostingPrivateDatabaseTask,
|
|
1801
|
+
errors: [UnknownOvhError],
|
|
1802
|
+
protocol: OvhProtocol,
|
|
1803
|
+
retry: Retry.Retry,
|
|
1804
|
+
}));
|
|
1805
|
+
/** Ask for the termination of your service */
|
|
1806
|
+
export const terminateHostingPrivateDatabase = /*@__PURE__*/ API.make(() => ({
|
|
1807
|
+
input: TerminateHostingPrivateDatabaseRequest,
|
|
1808
|
+
output: TerminateHostingPrivateDatabaseResponse,
|
|
1809
|
+
errors: [UnknownOvhError],
|
|
1810
|
+
protocol: OvhProtocol,
|
|
1811
|
+
retry: Retry.Retry,
|
|
1812
|
+
}));
|
|
1813
|
+
/** Update the configuration of this Web Cloud Database */
|
|
1814
|
+
export const updateHostingPrivateDatabaseConfig = /*@__PURE__*/ API.make(() => ({
|
|
1815
|
+
input: UpdateHostingPrivateDatabaseConfigRequest,
|
|
1816
|
+
output: HostingPrivateDatabaseConfigs,
|
|
1817
|
+
errors: [UnknownOvhError],
|
|
1818
|
+
protocol: OvhProtocol,
|
|
1819
|
+
retry: Retry.Retry,
|
|
1820
|
+
}));
|
|
1821
|
+
/** Update the permissions of a grant for a user on a Web Cloud Database */
|
|
1822
|
+
export const updateHostingPrivateDatabaseUserGrant = /*@__PURE__*/ API.make(() => ({
|
|
1823
|
+
input: UpdateHostingPrivateDatabaseUserGrantRequest,
|
|
1824
|
+
output: HostingPrivateDatabaseTask,
|
|
1825
|
+
errors: [UnknownOvhError],
|
|
1826
|
+
protocol: OvhProtocol,
|
|
1827
|
+
retry: Retry.Retry,
|
|
1828
|
+
}));
|
|
1829
|
+
//# sourceMappingURL=hostingprivatedatabase.js.map
|