@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.
Files changed (192) hide show
  1. package/LICENSE +201 -0
  2. package/lib/credentials.d.ts +38 -0
  3. package/lib/credentials.d.ts.map +1 -0
  4. package/lib/credentials.js +54 -0
  5. package/lib/credentials.js.map +1 -0
  6. package/lib/errors.d.ts +36 -0
  7. package/lib/errors.d.ts.map +1 -0
  8. package/lib/errors.js +26 -0
  9. package/lib/errors.js.map +1 -0
  10. package/lib/index.d.ts +22 -0
  11. package/lib/index.d.ts.map +1 -0
  12. package/lib/index.js +22 -0
  13. package/lib/index.js.map +1 -0
  14. package/lib/pagination.d.ts +8 -0
  15. package/lib/pagination.d.ts.map +1 -0
  16. package/lib/pagination.js +8 -0
  17. package/lib/pagination.js.map +1 -0
  18. package/lib/protocol.d.ts +18 -0
  19. package/lib/protocol.d.ts.map +1 -0
  20. package/lib/protocol.js +60 -0
  21. package/lib/protocol.js.map +1 -0
  22. package/lib/retry.d.ts +32 -0
  23. package/lib/retry.d.ts.map +1 -0
  24. package/lib/retry.js +32 -0
  25. package/lib/retry.js.map +1 -0
  26. package/lib/services/baremetal.d.ts +3551 -0
  27. package/lib/services/baremetal.d.ts.map +1 -0
  28. package/lib/services/baremetal.js +4187 -0
  29. package/lib/services/baremetal.js.map +1 -0
  30. package/lib/services/cloud.d.ts +26011 -0
  31. package/lib/services/cloud.d.ts.map +1 -0
  32. package/lib/services/cloud.js +31061 -0
  33. package/lib/services/cloud.js.map +1 -0
  34. package/lib/services/cloud_v2.d.ts +5642 -0
  35. package/lib/services/cloud_v2.d.ts.map +1 -0
  36. package/lib/services/cloud_v2.js +5733 -0
  37. package/lib/services/cloud_v2.js.map +1 -0
  38. package/lib/services/dedicatedceph.d.ts +747 -0
  39. package/lib/services/dedicatedceph.d.ts.map +1 -0
  40. package/lib/services/dedicatedceph.js +960 -0
  41. package/lib/services/dedicatedceph.js.map +1 -0
  42. package/lib/services/dedicatednasha.d.ts +755 -0
  43. package/lib/services/dedicatednasha.d.ts.map +1 -0
  44. package/lib/services/dedicatednasha.js +965 -0
  45. package/lib/services/dedicatednasha.js.map +1 -0
  46. package/lib/services/domain.d.ts +2995 -0
  47. package/lib/services/domain.d.ts.map +1 -0
  48. package/lib/services/domain.js +3078 -0
  49. package/lib/services/domain.js.map +1 -0
  50. package/lib/services/emaildomain.d.ts +1913 -0
  51. package/lib/services/emaildomain.d.ts.map +1 -0
  52. package/lib/services/emaildomain.js +2550 -0
  53. package/lib/services/emaildomain.js.map +1 -0
  54. package/lib/services/emailmxplan.d.ts +1012 -0
  55. package/lib/services/emailmxplan.d.ts.map +1 -0
  56. package/lib/services/emailmxplan.js +1155 -0
  57. package/lib/services/emailmxplan.js.map +1 -0
  58. package/lib/services/emailpro.d.ts +1287 -0
  59. package/lib/services/emailpro.d.ts.map +1 -0
  60. package/lib/services/emailpro.js +1471 -0
  61. package/lib/services/emailpro.js.map +1 -0
  62. package/lib/services/hostingprivatedatabase.d.ts +1402 -0
  63. package/lib/services/hostingprivatedatabase.d.ts.map +1 -0
  64. package/lib/services/hostingprivatedatabase.js +1829 -0
  65. package/lib/services/hostingprivatedatabase.js.map +1 -0
  66. package/lib/services/iam.d.ts +829 -0
  67. package/lib/services/iam.d.ts.map +1 -0
  68. package/lib/services/iam.js +793 -0
  69. package/lib/services/iam.js.map +1 -0
  70. package/lib/services/index.d.ts +31 -0
  71. package/lib/services/index.d.ts.map +1 -0
  72. package/lib/services/index.js +32 -0
  73. package/lib/services/index.js.map +1 -0
  74. package/lib/services/ip.d.ts +1417 -0
  75. package/lib/services/ip.d.ts.map +1 -0
  76. package/lib/services/ip.js +1690 -0
  77. package/lib/services/ip.js.map +1 -0
  78. package/lib/services/iploadbalancing.d.ts +3059 -0
  79. package/lib/services/iploadbalancing.d.ts.map +1 -0
  80. package/lib/services/iploadbalancing.js +3553 -0
  81. package/lib/services/iploadbalancing.js.map +1 -0
  82. package/lib/services/ldp.d.ts +2492 -0
  83. package/lib/services/ldp.d.ts.map +1 -0
  84. package/lib/services/ldp.js +3067 -0
  85. package/lib/services/ldp.js.map +1 -0
  86. package/lib/services/me.d.ts +7511 -0
  87. package/lib/services/me.d.ts.map +1 -0
  88. package/lib/services/me.js +8874 -0
  89. package/lib/services/me.js.map +1 -0
  90. package/lib/services/overthebox.d.ts +981 -0
  91. package/lib/services/overthebox.d.ts.map +1 -0
  92. package/lib/services/overthebox.js +1122 -0
  93. package/lib/services/overthebox.js.map +1 -0
  94. package/lib/services/ovhcloudconnect.d.ts +1123 -0
  95. package/lib/services/ovhcloudconnect.d.ts.map +1 -0
  96. package/lib/services/ovhcloudconnect.js +1351 -0
  97. package/lib/services/ovhcloudconnect.js.map +1 -0
  98. package/lib/services/packxdsl.d.ts +1583 -0
  99. package/lib/services/packxdsl.d.ts.map +1 -0
  100. package/lib/services/packxdsl.js +1787 -0
  101. package/lib/services/packxdsl.js.map +1 -0
  102. package/lib/services/sms.d.ts +2602 -0
  103. package/lib/services/sms.d.ts.map +1 -0
  104. package/lib/services/sms.js +2995 -0
  105. package/lib/services/sms.js.map +1 -0
  106. package/lib/services/sslgateway.d.ts +493 -0
  107. package/lib/services/sslgateway.d.ts.map +1 -0
  108. package/lib/services/sslgateway.js +569 -0
  109. package/lib/services/sslgateway.js.map +1 -0
  110. package/lib/services/storagenetapp.d.ts +859 -0
  111. package/lib/services/storagenetapp.d.ts.map +1 -0
  112. package/lib/services/storagenetapp.js +1020 -0
  113. package/lib/services/storagenetapp.js.map +1 -0
  114. package/lib/services/support.d.ts +233 -0
  115. package/lib/services/support.d.ts.map +1 -0
  116. package/lib/services/support.js +237 -0
  117. package/lib/services/support.js.map +1 -0
  118. package/lib/services/telephony.d.ts +10825 -0
  119. package/lib/services/telephony.d.ts.map +1 -0
  120. package/lib/services/telephony.js +14877 -0
  121. package/lib/services/telephony.js.map +1 -0
  122. package/lib/services/vmwareclouddirectorbackup.d.ts +784 -0
  123. package/lib/services/vmwareclouddirectorbackup.d.ts.map +1 -0
  124. package/lib/services/vmwareclouddirectorbackup.js +841 -0
  125. package/lib/services/vmwareclouddirectorbackup.js.map +1 -0
  126. package/lib/services/vmwareclouddirectororganization.d.ts +784 -0
  127. package/lib/services/vmwareclouddirectororganization.d.ts.map +1 -0
  128. package/lib/services/vmwareclouddirectororganization.js +841 -0
  129. package/lib/services/vmwareclouddirectororganization.js.map +1 -0
  130. package/lib/services/vps.d.ts +1579 -0
  131. package/lib/services/vps.d.ts.map +1 -0
  132. package/lib/services/vps.js +1914 -0
  133. package/lib/services/vps.js.map +1 -0
  134. package/lib/services/vrack.d.ts +1204 -0
  135. package/lib/services/vrack.d.ts.map +1 -0
  136. package/lib/services/vrack.js +1627 -0
  137. package/lib/services/vrack.js.map +1 -0
  138. package/lib/services/vrackservices.d.ts +394 -0
  139. package/lib/services/vrackservices.d.ts.map +1 -0
  140. package/lib/services/vrackservices.js +355 -0
  141. package/lib/services/vrackservices.js.map +1 -0
  142. package/lib/services/webhosting.d.ts +3986 -0
  143. package/lib/services/webhosting.d.ts.map +1 -0
  144. package/lib/services/webhosting.js +4522 -0
  145. package/lib/services/webhosting.js.map +1 -0
  146. package/lib/services/xdsl.d.ts +3433 -0
  147. package/lib/services/xdsl.d.ts.map +1 -0
  148. package/lib/services/xdsl.js +3681 -0
  149. package/lib/services/xdsl.js.map +1 -0
  150. package/lib/traits.d.ts +11 -0
  151. package/lib/traits.d.ts.map +1 -0
  152. package/lib/traits.js +11 -0
  153. package/lib/traits.js.map +1 -0
  154. package/package.json +77 -6
  155. package/src/credentials.ts +77 -0
  156. package/src/errors.ts +50 -0
  157. package/src/index.ts +21 -0
  158. package/src/pagination.ts +7 -0
  159. package/src/protocol.ts +86 -0
  160. package/src/retry.ts +54 -0
  161. package/src/services/baremetal.ts +10949 -0
  162. package/src/services/cloud.ts +75466 -0
  163. package/src/services/cloud_v2.ts +14725 -0
  164. package/src/services/dedicatedceph.ts +2231 -0
  165. package/src/services/dedicatednasha.ts +2268 -0
  166. package/src/services/domain.ts +7996 -0
  167. package/src/services/emaildomain.ts +5751 -0
  168. package/src/services/emailmxplan.ts +2764 -0
  169. package/src/services/emailpro.ts +3519 -0
  170. package/src/services/hostingprivatedatabase.ts +4214 -0
  171. package/src/services/iam.ts +2060 -0
  172. package/src/services/index.ts +31 -0
  173. package/src/services/ip.ts +4461 -0
  174. package/src/services/iploadbalancing.ts +8421 -0
  175. package/src/services/ldp.ts +7269 -0
  176. package/src/services/me.ts +21716 -0
  177. package/src/services/overthebox.ts +2693 -0
  178. package/src/services/ovhcloudconnect.ts +3224 -0
  179. package/src/services/packxdsl.ts +4619 -0
  180. package/src/services/sms.ts +7255 -0
  181. package/src/services/sslgateway.ts +1408 -0
  182. package/src/services/storagenetapp.ts +2431 -0
  183. package/src/services/support.ts +598 -0
  184. package/src/services/telephony.ts +32926 -0
  185. package/src/services/vmwareclouddirectorbackup.ts +2170 -0
  186. package/src/services/vmwareclouddirectororganization.ts +2170 -0
  187. package/src/services/vps.ts +5134 -0
  188. package/src/services/vrack.ts +3730 -0
  189. package/src/services/vrackservices.ts +939 -0
  190. package/src/services/webhosting.ts +11285 -0
  191. package/src/services/xdsl.ts +9277 -0
  192. package/src/traits.ts +44 -0
@@ -0,0 +1,3067 @@
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 C from "@distilled.cloud/core/category";
6
+ import * as T from "../traits.js";
7
+ import { OvhProtocol, } from "../protocol.js";
8
+ import { UnknownOvhError } from "../errors.js";
9
+ import * as Retry from "../retry.js";
10
+ export class Conflict extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
11
+ /*@__PURE__*/ S.TaggedError()("Conflict", {
12
+ code: S.Number,
13
+ message: S.String,
14
+ }).pipe(C.withConflictError), [{ status: 409 }]) {
15
+ }
16
+ export class Forbidden extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
17
+ /*@__PURE__*/ S.TaggedError()("Forbidden", {
18
+ code: S.Number,
19
+ message: S.String,
20
+ }).pipe(C.withAuthError), [{ status: 403 }]) {
21
+ }
22
+ export class NotFound extends /*@__PURE__*/ /*@__PURE__*/ T.applyErrorMatchers(
23
+ /*@__PURE__*/ S.TaggedError()("NotFound", {
24
+ code: S.Number,
25
+ message: S.String,
26
+ }).pipe(C.withBadRequestError), [{ status: 404 }]) {
27
+ }
28
+ export const CreateDbaasLogChangeContactRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
29
+ serviceName: S.String.pipe(T.Label()),
30
+ contactAdmin: S.optional(S.String),
31
+ contactBilling: S.optional(S.String),
32
+ contactTech: S.optional(S.String),
33
+ }).pipe(T.Http({
34
+ method: "POST",
35
+ uri: "/dbaas/logs/{serviceName}/changeContact",
36
+ code: 200,
37
+ }))).annotate({
38
+ identifier: "CreateDbaasLogChangeContactRequest",
39
+ });
40
+ export const CreateDbaasLogChangeContactResponseBodyList =
41
+ /*@__PURE__*/ S.Array(S.Number);
42
+ export const CreateDbaasLogChangeContactResponse = /*@__PURE__*/ S.suspend(() => CreateDbaasLogChangeContactResponseBodyList.pipe(T.RawResponseRoot())).annotate({
43
+ identifier: "CreateDbaasLogChangeContactResponse",
44
+ });
45
+ export const CreateDbaasLogEncryptionKeyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
46
+ serviceName: S.String.pipe(T.Label()),
47
+ content: S.String,
48
+ fingerprint: S.String,
49
+ title: S.String,
50
+ }).pipe(T.Http({
51
+ method: "POST",
52
+ uri: "/dbaas/logs/{serviceName}/encryptionKey",
53
+ code: 200,
54
+ }))).annotate({
55
+ identifier: "CreateDbaasLogEncryptionKeyRequest",
56
+ });
57
+ export const DbaasLogsOperationStateEnum = S.String;
58
+ export const DbaasLogsOperation = /*@__PURE__*/ S.suspend(() => S.Struct({
59
+ aliasId: S.optional(S.NullOr(S.String)),
60
+ createdAt: S.optional(S.String),
61
+ dashboardId: S.optional(S.NullOr(S.String)),
62
+ encryptionKeyId: S.optional(S.NullOr(S.String)),
63
+ indexId: S.optional(S.NullOr(S.String)),
64
+ inputId: S.optional(S.NullOr(S.String)),
65
+ operationId: S.optional(S.String),
66
+ osdId: S.optional(S.NullOr(S.String)),
67
+ roleId: S.optional(S.NullOr(S.String)),
68
+ serviceName: S.optional(S.String),
69
+ state: S.optional(DbaasLogsOperationStateEnum),
70
+ streamId: S.optional(S.NullOr(S.String)),
71
+ subscriptionId: S.optional(S.NullOr(S.String)),
72
+ tenantId: S.optional(S.NullOr(S.String)),
73
+ tokenId: S.optional(S.NullOr(S.String)),
74
+ updatedAt: S.optional(S.NullOr(S.String)),
75
+ })).annotate({
76
+ identifier: "DbaasLogsOperation",
77
+ });
78
+ export const CreateDbaasLogInputRequestAllowedNetworksList =
79
+ /*@__PURE__*/ S.Array(S.String);
80
+ export const CreateDbaasLogInputRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
81
+ serviceName: S.String.pipe(T.Label()),
82
+ allowedNetworks: S.optional(S.NullOr(CreateDbaasLogInputRequestAllowedNetworksList)),
83
+ autoscale: S.optional(S.NullOr(S.Boolean)),
84
+ description: S.String,
85
+ engineId: S.String,
86
+ exposedPort: S.optional(S.NullOr(S.String)),
87
+ maxScaleInstance: S.optional(S.NullOr(S.Number)),
88
+ minScaleInstance: S.optional(S.NullOr(S.Number)),
89
+ nbInstance: S.optional(S.NullOr(S.Number)),
90
+ scalingNotifyEnabled: S.optional(S.NullOr(S.Boolean)),
91
+ streamId: S.String,
92
+ title: S.String,
93
+ }).pipe(T.Http({
94
+ method: "POST",
95
+ uri: "/dbaas/logs/{serviceName}/input",
96
+ code: 200,
97
+ }))).annotate({
98
+ identifier: "CreateDbaasLogInputRequest",
99
+ });
100
+ export const CreateDbaasLogInputConfigtestRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
101
+ serviceName: S.String.pipe(T.Label()),
102
+ inputId: S.String.pipe(T.Label()),
103
+ }).pipe(T.Http({
104
+ method: "POST",
105
+ uri: "/dbaas/logs/{serviceName}/input/{inputId}/configtest",
106
+ code: 200,
107
+ }))).annotate({
108
+ identifier: "CreateDbaasLogInputConfigtestRequest",
109
+ });
110
+ export const CreateDbaasLogInputEndRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
111
+ serviceName: S.String.pipe(T.Label()),
112
+ inputId: S.String.pipe(T.Label()),
113
+ }).pipe(T.Http({
114
+ method: "POST",
115
+ uri: "/dbaas/logs/{serviceName}/input/{inputId}/end",
116
+ code: 200,
117
+ }))).annotate({
118
+ identifier: "CreateDbaasLogInputEndRequest",
119
+ });
120
+ export const CreateDbaasLogInputLogUrlRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
121
+ serviceName: S.String.pipe(T.Label()),
122
+ inputId: S.String.pipe(T.Label()),
123
+ }).pipe(T.Http({
124
+ method: "POST",
125
+ uri: "/dbaas/logs/{serviceName}/input/{inputId}/logs/url",
126
+ code: 200,
127
+ }))).annotate({
128
+ identifier: "CreateDbaasLogInputLogUrlRequest",
129
+ });
130
+ export const DbaasLogsTemporaryLogsLink = /*@__PURE__*/ S.suspend(() => S.Struct({
131
+ expirationDate: S.optional(S.String),
132
+ url: S.optional(S.String),
133
+ })).annotate({
134
+ identifier: "DbaasLogsTemporaryLogsLink",
135
+ });
136
+ export const CreateDbaasLogOutputGraylogDashboardRequest =
137
+ /*@__PURE__*/ S.suspend(() => S.Struct({
138
+ serviceName: S.String.pipe(T.Label()),
139
+ description: S.String,
140
+ title: S.String,
141
+ }).pipe(T.Http({
142
+ method: "POST",
143
+ uri: "/dbaas/logs/{serviceName}/output/graylog/dashboard",
144
+ code: 200,
145
+ }))).annotate({
146
+ identifier: "CreateDbaasLogOutputGraylogDashboardRequest",
147
+ });
148
+ export const DbaasLogsStreamColdStorageCompressionEnum = S.String;
149
+ export const DbaasLogsStreamColdStorageContentEnum = S.String;
150
+ export const CreateDbaasLogOutputGraylogStreamRequestEncryptionKeysIdsList =
151
+ /*@__PURE__*/ S.Array(S.String);
152
+ export const CreateDbaasLogOutputGraylogStreamRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
153
+ serviceName: S.String.pipe(T.Label()),
154
+ coldStorageCompression: S.optional(S.NullOr(DbaasLogsStreamColdStorageCompressionEnum)),
155
+ coldStorageContent: S.optional(S.NullOr(DbaasLogsStreamColdStorageContentEnum)),
156
+ coldStorageEnabled: S.optional(S.NullOr(S.Boolean)),
157
+ coldStorageNotifyEnabled: S.optional(S.NullOr(S.Boolean)),
158
+ coldStorageRetention: S.optional(S.NullOr(S.Number)),
159
+ description: S.String,
160
+ encryptionKeysIds: S.optional(S.NullOr(CreateDbaasLogOutputGraylogStreamRequestEncryptionKeysIdsList)),
161
+ indexingEnabled: S.optional(S.NullOr(S.Boolean)),
162
+ indexingMaxSize: S.optional(S.NullOr(S.Number)),
163
+ indexingNotifyEnabled: S.optional(S.NullOr(S.Boolean)),
164
+ parentStreamId: S.optional(S.NullOr(S.String)),
165
+ pauseIndexingOnMaxSize: S.optional(S.NullOr(S.Boolean)),
166
+ retentionId: S.optional(S.NullOr(S.String)),
167
+ title: S.String,
168
+ webSocketEnabled: S.optional(S.NullOr(S.Boolean)),
169
+ }).pipe(T.Http({
170
+ method: "POST",
171
+ uri: "/dbaas/logs/{serviceName}/output/graylog/stream",
172
+ code: 200,
173
+ }))).annotate({
174
+ identifier: "CreateDbaasLogOutputGraylogStreamRequest",
175
+ });
176
+ export const DbaasLogsStreamAlertConditionConditionTypeEnum = S.String;
177
+ export const DbaasLogsStreamAlertConditionConstraintTypeEnum = S.String;
178
+ export const DbaasLogsStreamAlertConditionThresholdTypeEnum = S.String;
179
+ export const CreateDbaasLogOutputGraylogStreamAlertRequest =
180
+ /*@__PURE__*/ S.suspend(() => S.Struct({
181
+ serviceName: S.String.pipe(T.Label()),
182
+ streamId: S.String.pipe(T.Label()),
183
+ backlog: S.Number,
184
+ conditionType: S.optional(S.NullOr(DbaasLogsStreamAlertConditionConditionTypeEnum)),
185
+ constraintType: S.optional(S.NullOr(DbaasLogsStreamAlertConditionConstraintTypeEnum)),
186
+ field: S.optional(S.NullOr(S.String)),
187
+ grace: S.Number,
188
+ queryFilter: S.optional(S.NullOr(S.String)),
189
+ repeatNotificationsEnabled: S.optional(S.NullOr(S.Boolean)),
190
+ threshold: S.optional(S.NullOr(S.Number)),
191
+ thresholdType: S.optional(S.NullOr(DbaasLogsStreamAlertConditionThresholdTypeEnum)),
192
+ time: S.optional(S.NullOr(S.Number)),
193
+ title: S.String,
194
+ value: S.optional(S.NullOr(S.String)),
195
+ }).pipe(T.Http({
196
+ method: "POST",
197
+ uri: "/dbaas/logs/{serviceName}/output/graylog/stream/{streamId}/alert",
198
+ code: 200,
199
+ }))).annotate({
200
+ identifier: "CreateDbaasLogOutputGraylogStreamAlertRequest",
201
+ });
202
+ export const CreateDbaasLogOutputGraylogStreamArchiveUrlRequest =
203
+ /*@__PURE__*/ S.suspend(() => S.Struct({
204
+ serviceName: S.String.pipe(T.Label()),
205
+ streamId: S.String.pipe(T.Label()),
206
+ archiveId: S.String.pipe(T.Label()),
207
+ }).pipe(T.Http({
208
+ method: "POST",
209
+ uri: "/dbaas/logs/{serviceName}/output/graylog/stream/{streamId}/archive/{archiveId}/url",
210
+ code: 200,
211
+ }))).annotate({
212
+ identifier: "CreateDbaasLogOutputGraylogStreamArchiveUrlRequest",
213
+ });
214
+ export const DbaasLogsArchiveUrl = /*@__PURE__*/ S.suspend(() => S.Struct({
215
+ expirationDate: S.optional(S.String),
216
+ url: S.optional(S.String),
217
+ })).annotate({
218
+ identifier: "DbaasLogsArchiveUrl",
219
+ });
220
+ export const DbaasLogsStreamRuleOperatorEnum = S.String;
221
+ export const CreateDbaasLogOutputGraylogStreamRuleRequest =
222
+ /*@__PURE__*/ S.suspend(() => S.Struct({
223
+ serviceName: S.String.pipe(T.Label()),
224
+ streamId: S.String.pipe(T.Label()),
225
+ field: S.String,
226
+ isInverted: S.optional(S.NullOr(S.Boolean)),
227
+ operator: DbaasLogsStreamRuleOperatorEnum,
228
+ value: S.String,
229
+ }).pipe(T.Http({
230
+ method: "POST",
231
+ uri: "/dbaas/logs/{serviceName}/output/graylog/stream/{streamId}/rule",
232
+ code: 200,
233
+ }))).annotate({
234
+ identifier: "CreateDbaasLogOutputGraylogStreamRuleRequest",
235
+ });
236
+ export const CreateDbaasLogOutputMetricTenantRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
237
+ serviceName: S.String.pipe(T.Label()),
238
+ description: S.String,
239
+ maxSeries: S.optional(S.Number),
240
+ retentionId: S.String,
241
+ title: S.String,
242
+ }).pipe(T.Http({
243
+ method: "POST",
244
+ uri: "/dbaas/logs/{serviceName}/output/metric/tenant",
245
+ code: 200,
246
+ }))).annotate({
247
+ identifier: "CreateDbaasLogOutputMetricTenantRequest",
248
+ });
249
+ export const CreateDbaasLogOutputOpensearchAliasRequest =
250
+ /*@__PURE__*/ S.suspend(() => S.Struct({
251
+ serviceName: S.String.pipe(T.Label()),
252
+ description: S.String,
253
+ suffix: S.String,
254
+ }).pipe(T.Http({
255
+ method: "POST",
256
+ uri: "/dbaas/logs/{serviceName}/output/opensearch/alias",
257
+ code: 200,
258
+ }))).annotate({
259
+ identifier: "CreateDbaasLogOutputOpensearchAliasRequest",
260
+ });
261
+ export const CreateDbaasLogOutputOpensearchAliasIndexRequest =
262
+ /*@__PURE__*/ S.suspend(() => S.Struct({
263
+ serviceName: S.String.pipe(T.Label()),
264
+ aliasId: S.String.pipe(T.Label()),
265
+ indexId: S.String,
266
+ }).pipe(T.Http({
267
+ method: "POST",
268
+ uri: "/dbaas/logs/{serviceName}/output/opensearch/alias/{aliasId}/index",
269
+ code: 200,
270
+ }))).annotate({
271
+ identifier: "CreateDbaasLogOutputOpensearchAliasIndexRequest",
272
+ });
273
+ export const CreateDbaasLogOutputOpensearchAliasStreamRequest =
274
+ /*@__PURE__*/ S.suspend(() => S.Struct({
275
+ serviceName: S.String.pipe(T.Label()),
276
+ aliasId: S.String.pipe(T.Label()),
277
+ streamId: S.String,
278
+ }).pipe(T.Http({
279
+ method: "POST",
280
+ uri: "/dbaas/logs/{serviceName}/output/opensearch/alias/{aliasId}/stream",
281
+ code: 200,
282
+ }))).annotate({
283
+ identifier: "CreateDbaasLogOutputOpensearchAliasStreamRequest",
284
+ });
285
+ export const CreateDbaasLogOutputOpensearchIndexRequest =
286
+ /*@__PURE__*/ S.suspend(() => S.Struct({
287
+ serviceName: S.String.pipe(T.Label()),
288
+ alertNotifyEnabled: S.optional(S.NullOr(S.Boolean)),
289
+ description: S.String,
290
+ nbShard: S.optional(S.NullOr(S.Number)),
291
+ suffix: S.String,
292
+ }).pipe(T.Http({
293
+ method: "POST",
294
+ uri: "/dbaas/logs/{serviceName}/output/opensearch/index",
295
+ code: 200,
296
+ }))).annotate({
297
+ identifier: "CreateDbaasLogOutputOpensearchIndexRequest",
298
+ });
299
+ export const CreateDbaasLogOutputOpensearchOsdRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
300
+ serviceName: S.String.pipe(T.Label()),
301
+ description: S.String,
302
+ }).pipe(T.Http({
303
+ method: "POST",
304
+ uri: "/dbaas/logs/{serviceName}/output/opensearch/osd",
305
+ code: 200,
306
+ }))).annotate({
307
+ identifier: "CreateDbaasLogOutputOpensearchOsdRequest",
308
+ });
309
+ export const CreateDbaasLogRoleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
310
+ serviceName: S.String.pipe(T.Label()),
311
+ description: S.String,
312
+ name: S.String,
313
+ }).pipe(T.Http({
314
+ method: "POST",
315
+ uri: "/dbaas/logs/{serviceName}/role",
316
+ code: 200,
317
+ }))).annotate({
318
+ identifier: "CreateDbaasLogRoleRequest",
319
+ });
320
+ export const CreateDbaasLogRoleMemberRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
321
+ serviceName: S.String.pipe(T.Label()),
322
+ roleId: S.String.pipe(T.Label()),
323
+ note: S.optional(S.NullOr(S.String)),
324
+ username: S.String,
325
+ }).pipe(T.Http({
326
+ method: "POST",
327
+ uri: "/dbaas/logs/{serviceName}/role/{roleId}/member",
328
+ code: 200,
329
+ }))).annotate({
330
+ identifier: "CreateDbaasLogRoleMemberRequest",
331
+ });
332
+ export const CreateDbaasLogRolePermissionAliasRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
333
+ serviceName: S.String.pipe(T.Label()),
334
+ roleId: S.String.pipe(T.Label()),
335
+ aliasId: S.String,
336
+ }).pipe(T.Http({
337
+ method: "POST",
338
+ uri: "/dbaas/logs/{serviceName}/role/{roleId}/permission/alias",
339
+ code: 200,
340
+ }))).annotate({
341
+ identifier: "CreateDbaasLogRolePermissionAliasRequest",
342
+ });
343
+ export const DbaasLogsPermissionTypeEnum = S.String;
344
+ export const CreateDbaasLogRolePermissionDashboardRequest =
345
+ /*@__PURE__*/ S.suspend(() => S.Struct({
346
+ serviceName: S.String.pipe(T.Label()),
347
+ roleId: S.String.pipe(T.Label()),
348
+ dashboardId: S.String,
349
+ permissionType: S.optional(S.NullOr(DbaasLogsPermissionTypeEnum)),
350
+ }).pipe(T.Http({
351
+ method: "POST",
352
+ uri: "/dbaas/logs/{serviceName}/role/{roleId}/permission/dashboard",
353
+ code: 200,
354
+ }))).annotate({
355
+ identifier: "CreateDbaasLogRolePermissionDashboardRequest",
356
+ });
357
+ export const CreateDbaasLogRolePermissionIndexRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
358
+ serviceName: S.String.pipe(T.Label()),
359
+ roleId: S.String.pipe(T.Label()),
360
+ indexId: S.String,
361
+ permissionType: S.optional(S.NullOr(DbaasLogsPermissionTypeEnum)),
362
+ }).pipe(T.Http({
363
+ method: "POST",
364
+ uri: "/dbaas/logs/{serviceName}/role/{roleId}/permission/index",
365
+ code: 200,
366
+ }))).annotate({
367
+ identifier: "CreateDbaasLogRolePermissionIndexRequest",
368
+ });
369
+ export const CreateDbaasLogRolePermissionOsdRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
370
+ serviceName: S.String.pipe(T.Label()),
371
+ roleId: S.String.pipe(T.Label()),
372
+ osdId: S.String,
373
+ permissionType: S.optional(S.NullOr(DbaasLogsPermissionTypeEnum)),
374
+ }).pipe(T.Http({
375
+ method: "POST",
376
+ uri: "/dbaas/logs/{serviceName}/role/{roleId}/permission/osd",
377
+ code: 200,
378
+ }))).annotate({
379
+ identifier: "CreateDbaasLogRolePermissionOsdRequest",
380
+ });
381
+ export const CreateDbaasLogRolePermissionStreamRequest =
382
+ /*@__PURE__*/ S.suspend(() => S.Struct({
383
+ serviceName: S.String.pipe(T.Label()),
384
+ roleId: S.String.pipe(T.Label()),
385
+ streamId: S.String,
386
+ }).pipe(T.Http({
387
+ method: "POST",
388
+ uri: "/dbaas/logs/{serviceName}/role/{roleId}/permission/stream",
389
+ code: 200,
390
+ }))).annotate({
391
+ identifier: "CreateDbaasLogRolePermissionStreamRequest",
392
+ });
393
+ export const CreateDbaasLogTokenRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
394
+ serviceName: S.String.pipe(T.Label()),
395
+ clusterId: S.optional(S.NullOr(S.String)),
396
+ name: S.String,
397
+ }).pipe(T.Http({
398
+ method: "POST",
399
+ uri: "/dbaas/logs/{serviceName}/token",
400
+ code: 200,
401
+ }))).annotate({
402
+ identifier: "CreateDbaasLogTokenRequest",
403
+ });
404
+ export const CreateDbaasLogUserChangePasswordRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
405
+ serviceName: S.String.pipe(T.Label()),
406
+ password: S.String.pipe(T.SensitiveValue({})),
407
+ }).pipe(T.Http({
408
+ method: "POST",
409
+ uri: "/dbaas/logs/{serviceName}/user/changePassword",
410
+ code: 200,
411
+ }))).annotate({
412
+ identifier: "CreateDbaasLogUserChangePasswordRequest",
413
+ });
414
+ export const DeleteDbaasLogEncryptionKeyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
415
+ serviceName: S.String.pipe(T.Label()),
416
+ encryptionKeyId: S.String.pipe(T.Label()),
417
+ }).pipe(T.Http({
418
+ method: "DELETE",
419
+ uri: "/dbaas/logs/{serviceName}/encryptionKey/{encryptionKeyId}",
420
+ code: 200,
421
+ }))).annotate({
422
+ identifier: "DeleteDbaasLogEncryptionKeyRequest",
423
+ });
424
+ export const DeleteDbaasLogInputRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
425
+ serviceName: S.String.pipe(T.Label()),
426
+ inputId: S.String.pipe(T.Label()),
427
+ }).pipe(T.Http({
428
+ method: "DELETE",
429
+ uri: "/dbaas/logs/{serviceName}/input/{inputId}",
430
+ code: 200,
431
+ }))).annotate({
432
+ identifier: "DeleteDbaasLogInputRequest",
433
+ });
434
+ export const DeleteDbaasLogOutputGraylogDashboardRequest =
435
+ /*@__PURE__*/ S.suspend(() => S.Struct({
436
+ serviceName: S.String.pipe(T.Label()),
437
+ dashboardId: S.String.pipe(T.Label()),
438
+ }).pipe(T.Http({
439
+ method: "DELETE",
440
+ uri: "/dbaas/logs/{serviceName}/output/graylog/dashboard/{dashboardId}",
441
+ code: 200,
442
+ }))).annotate({
443
+ identifier: "DeleteDbaasLogOutputGraylogDashboardRequest",
444
+ });
445
+ export const DeleteDbaasLogOutputGraylogStreamRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
446
+ serviceName: S.String.pipe(T.Label()),
447
+ streamId: S.String.pipe(T.Label()),
448
+ }).pipe(T.Http({
449
+ method: "DELETE",
450
+ uri: "/dbaas/logs/{serviceName}/output/graylog/stream/{streamId}",
451
+ code: 200,
452
+ }))).annotate({
453
+ identifier: "DeleteDbaasLogOutputGraylogStreamRequest",
454
+ });
455
+ export const DeleteDbaasLogOutputGraylogStreamAlertRequest =
456
+ /*@__PURE__*/ S.suspend(() => S.Struct({
457
+ serviceName: S.String.pipe(T.Label()),
458
+ streamId: S.String.pipe(T.Label()),
459
+ alertId: S.String.pipe(T.Label()),
460
+ }).pipe(T.Http({
461
+ method: "DELETE",
462
+ uri: "/dbaas/logs/{serviceName}/output/graylog/stream/{streamId}/alert/{alertId}",
463
+ code: 200,
464
+ }))).annotate({
465
+ identifier: "DeleteDbaasLogOutputGraylogStreamAlertRequest",
466
+ });
467
+ export const DeleteDbaasLogOutputGraylogStreamRuleRequest =
468
+ /*@__PURE__*/ S.suspend(() => S.Struct({
469
+ serviceName: S.String.pipe(T.Label()),
470
+ streamId: S.String.pipe(T.Label()),
471
+ ruleId: S.String.pipe(T.Label()),
472
+ }).pipe(T.Http({
473
+ method: "DELETE",
474
+ uri: "/dbaas/logs/{serviceName}/output/graylog/stream/{streamId}/rule/{ruleId}",
475
+ code: 200,
476
+ }))).annotate({
477
+ identifier: "DeleteDbaasLogOutputGraylogStreamRuleRequest",
478
+ });
479
+ export const DeleteDbaasLogOutputGraylogStreamSubscriptionRequest =
480
+ /*@__PURE__*/ S.suspend(() => S.Struct({
481
+ serviceName: S.String.pipe(T.Label()),
482
+ streamId: S.String.pipe(T.Label()),
483
+ subscriptionId: S.String.pipe(T.Label()),
484
+ }).pipe(T.Http({
485
+ method: "DELETE",
486
+ uri: "/dbaas/logs/{serviceName}/output/graylog/stream/{streamId}/subscription/{subscriptionId}",
487
+ code: 200,
488
+ }))).annotate({
489
+ identifier: "DeleteDbaasLogOutputGraylogStreamSubscriptionRequest",
490
+ });
491
+ export const DeleteDbaasLogOutputMetricTenantRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
492
+ serviceName: S.String.pipe(T.Label()),
493
+ tenantId: S.String.pipe(T.Label()),
494
+ }).pipe(T.Http({
495
+ method: "DELETE",
496
+ uri: "/dbaas/logs/{serviceName}/output/metric/tenant/{tenantId}",
497
+ code: 200,
498
+ }))).annotate({
499
+ identifier: "DeleteDbaasLogOutputMetricTenantRequest",
500
+ });
501
+ export const DeleteDbaasLogOutputMetricTenantSubscriptionRequest =
502
+ /*@__PURE__*/ S.suspend(() => S.Struct({
503
+ serviceName: S.String.pipe(T.Label()),
504
+ tenantId: S.String.pipe(T.Label()),
505
+ subscriptionId: S.String.pipe(T.Label()),
506
+ }).pipe(T.Http({
507
+ method: "DELETE",
508
+ uri: "/dbaas/logs/{serviceName}/output/metric/tenant/{tenantId}/subscription/{subscriptionId}",
509
+ code: 200,
510
+ }))).annotate({
511
+ identifier: "DeleteDbaasLogOutputMetricTenantSubscriptionRequest",
512
+ });
513
+ export const DeleteDbaasLogOutputOpensearchAliasRequest =
514
+ /*@__PURE__*/ S.suspend(() => S.Struct({
515
+ serviceName: S.String.pipe(T.Label()),
516
+ aliasId: S.String.pipe(T.Label()),
517
+ }).pipe(T.Http({
518
+ method: "DELETE",
519
+ uri: "/dbaas/logs/{serviceName}/output/opensearch/alias/{aliasId}",
520
+ code: 200,
521
+ }))).annotate({
522
+ identifier: "DeleteDbaasLogOutputOpensearchAliasRequest",
523
+ });
524
+ export const DeleteDbaasLogOutputOpensearchAliasIndexRequest =
525
+ /*@__PURE__*/ S.suspend(() => S.Struct({
526
+ serviceName: S.String.pipe(T.Label()),
527
+ aliasId: S.String.pipe(T.Label()),
528
+ indexId: S.String.pipe(T.Label()),
529
+ }).pipe(T.Http({
530
+ method: "DELETE",
531
+ uri: "/dbaas/logs/{serviceName}/output/opensearch/alias/{aliasId}/index/{indexId}",
532
+ code: 200,
533
+ }))).annotate({
534
+ identifier: "DeleteDbaasLogOutputOpensearchAliasIndexRequest",
535
+ });
536
+ export const DeleteDbaasLogOutputOpensearchAliasStreamRequest =
537
+ /*@__PURE__*/ S.suspend(() => S.Struct({
538
+ serviceName: S.String.pipe(T.Label()),
539
+ aliasId: S.String.pipe(T.Label()),
540
+ streamId: S.String.pipe(T.Label()),
541
+ }).pipe(T.Http({
542
+ method: "DELETE",
543
+ uri: "/dbaas/logs/{serviceName}/output/opensearch/alias/{aliasId}/stream/{streamId}",
544
+ code: 200,
545
+ }))).annotate({
546
+ identifier: "DeleteDbaasLogOutputOpensearchAliasStreamRequest",
547
+ });
548
+ export const DeleteDbaasLogOutputOpensearchIndexRequest =
549
+ /*@__PURE__*/ S.suspend(() => S.Struct({
550
+ serviceName: S.String.pipe(T.Label()),
551
+ indexId: S.String.pipe(T.Label()),
552
+ }).pipe(T.Http({
553
+ method: "DELETE",
554
+ uri: "/dbaas/logs/{serviceName}/output/opensearch/index/{indexId}",
555
+ code: 200,
556
+ }))).annotate({
557
+ identifier: "DeleteDbaasLogOutputOpensearchIndexRequest",
558
+ });
559
+ export const DeleteDbaasLogOutputOpensearchOsdRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
560
+ serviceName: S.String.pipe(T.Label()),
561
+ osdId: S.String.pipe(T.Label()),
562
+ }).pipe(T.Http({
563
+ method: "DELETE",
564
+ uri: "/dbaas/logs/{serviceName}/output/opensearch/osd/{osdId}",
565
+ code: 200,
566
+ }))).annotate({
567
+ identifier: "DeleteDbaasLogOutputOpensearchOsdRequest",
568
+ });
569
+ export const DeleteDbaasLogRoleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
570
+ serviceName: S.String.pipe(T.Label()),
571
+ roleId: S.String.pipe(T.Label()),
572
+ }).pipe(T.Http({
573
+ method: "DELETE",
574
+ uri: "/dbaas/logs/{serviceName}/role/{roleId}",
575
+ code: 200,
576
+ }))).annotate({
577
+ identifier: "DeleteDbaasLogRoleRequest",
578
+ });
579
+ export const DeleteDbaasLogRoleMemberRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
580
+ serviceName: S.String.pipe(T.Label()),
581
+ roleId: S.String.pipe(T.Label()),
582
+ username: S.String.pipe(T.Label()),
583
+ }).pipe(T.Http({
584
+ method: "DELETE",
585
+ uri: "/dbaas/logs/{serviceName}/role/{roleId}/member/{username}",
586
+ code: 200,
587
+ }))).annotate({
588
+ identifier: "DeleteDbaasLogRoleMemberRequest",
589
+ });
590
+ export const DeleteDbaasLogRolePermissionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
591
+ serviceName: S.String.pipe(T.Label()),
592
+ roleId: S.String.pipe(T.Label()),
593
+ permissionId: S.String.pipe(T.Label()),
594
+ }).pipe(T.Http({
595
+ method: "DELETE",
596
+ uri: "/dbaas/logs/{serviceName}/role/{roleId}/permission/{permissionId}",
597
+ code: 200,
598
+ }))).annotate({
599
+ identifier: "DeleteDbaasLogRolePermissionRequest",
600
+ });
601
+ export const DeleteDbaasLogTokenRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
602
+ serviceName: S.String.pipe(T.Label()),
603
+ tokenId: S.String.pipe(T.Label()),
604
+ }).pipe(T.Http({
605
+ method: "DELETE",
606
+ uri: "/dbaas/logs/{serviceName}/token/{tokenId}",
607
+ code: 200,
608
+ }))).annotate({
609
+ identifier: "DeleteDbaasLogTokenRequest",
610
+ });
611
+ export const DuplicateDbaasLogsOutputGraylogDashboardRequest =
612
+ /*@__PURE__*/ S.suspend(() => S.Struct({
613
+ serviceName: S.String.pipe(T.Label()),
614
+ dashboardId: S.String.pipe(T.Label()),
615
+ description: S.String,
616
+ streamId: S.optional(S.NullOr(S.String)),
617
+ title: S.String,
618
+ }).pipe(T.Http({
619
+ method: "POST",
620
+ uri: "/dbaas/logs/{serviceName}/output/graylog/dashboard/{dashboardId}/duplicate",
621
+ code: 200,
622
+ }))).annotate({
623
+ identifier: "DuplicateDbaasLogsOutputGraylogDashboardRequest",
624
+ });
625
+ export const GetDbaasLogRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
626
+ serviceName: S.String.pipe(T.Label()),
627
+ }).pipe(T.Http({ method: "GET", uri: "/dbaas/logs/{serviceName}", code: 200 }))).annotate({
628
+ identifier: "GetDbaasLogRequest",
629
+ });
630
+ export const IamResourceMetadataTagsMap = /*@__PURE__*/ S.Record(S.String, S.String);
631
+ export const IamResourceMetadata = /*@__PURE__*/ S.suspend(() => S.Struct({
632
+ displayName: S.optional(S.NullOr(S.String)),
633
+ id: S.optional(S.String),
634
+ tags: S.optional(S.NullOr(IamResourceMetadataTagsMap)),
635
+ urn: S.optional(S.String),
636
+ })).annotate({
637
+ identifier: "IamResourceMetadata",
638
+ });
639
+ export const DbaasLogsServicePlanEnum = S.String;
640
+ export const DbaasLogsServiceStateEnum = S.String;
641
+ export const DbaasLogsServiceWithIAM = /*@__PURE__*/ S.suspend(() => S.Struct({
642
+ createdAt: S.optional(S.String),
643
+ displayName: S.optional(S.NullOr(S.String)),
644
+ iam: S.optional(S.NullOr(IamResourceMetadata)),
645
+ isClusterOwner: S.optional(S.Boolean),
646
+ isIamEnabled: S.optional(S.Boolean),
647
+ plan: S.optional(DbaasLogsServicePlanEnum),
648
+ serviceName: S.optional(S.String),
649
+ state: S.optional(DbaasLogsServiceStateEnum),
650
+ updatedAt: S.optional(S.NullOr(S.String)),
651
+ username: S.optional(S.String),
652
+ })).annotate({
653
+ identifier: "DbaasLogsServiceWithIAM",
654
+ });
655
+ export const GetDbaasLogClusterRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
656
+ serviceName: S.String.pipe(T.Label()),
657
+ clusterId: S.String.pipe(T.Label()),
658
+ }).pipe(T.Http({
659
+ method: "GET",
660
+ uri: "/dbaas/logs/{serviceName}/cluster/{clusterId}",
661
+ code: 200,
662
+ }))).annotate({
663
+ identifier: "GetDbaasLogClusterRequest",
664
+ });
665
+ export const DbaasLogsClusterArchiveAllowedNetworksList = /*@__PURE__*/ S.Array(S.String);
666
+ export const DbaasLogsCertificationLevelEnum = S.String;
667
+ export const DbaasLogsClusterClusterTypeEnum = S.String;
668
+ export const DbaasLogsClusterDirectInputAllowedNetworksList =
669
+ /*@__PURE__*/ S.Array(S.String);
670
+ export const DbaasLogsClusterQueryAllowedNetworksList = /*@__PURE__*/ S.Array(S.String);
671
+ export const DbaasLogsClusterRegionEnum = S.String;
672
+ export const DbaasLogsCluster = /*@__PURE__*/ S.suspend(() => S.Struct({
673
+ archiveAllowedNetworks: S.optional(DbaasLogsClusterArchiveAllowedNetworksList),
674
+ certificationLevel: S.optional(DbaasLogsCertificationLevelEnum),
675
+ clusterId: S.optional(S.String),
676
+ clusterType: S.optional(DbaasLogsClusterClusterTypeEnum),
677
+ dedicatedInputPEM: S.optional(S.String),
678
+ defaultRetentionId: S.optional(S.String),
679
+ directInputAllowedNetworks: S.optional(DbaasLogsClusterDirectInputAllowedNetworksList),
680
+ directInputPEM: S.optional(S.String),
681
+ hostname: S.optional(S.String),
682
+ isDefault: S.optional(S.Boolean),
683
+ isUnlocked: S.optional(S.Boolean),
684
+ queryAllowedNetworks: S.optional(DbaasLogsClusterQueryAllowedNetworksList),
685
+ region: S.optional(DbaasLogsClusterRegionEnum),
686
+ })).annotate({
687
+ identifier: "DbaasLogsCluster",
688
+ });
689
+ export const GetDbaasLogClusterRetentionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
690
+ serviceName: S.String.pipe(T.Label()),
691
+ clusterId: S.String.pipe(T.Label()),
692
+ retentionId: S.String.pipe(T.Label()),
693
+ }).pipe(T.Http({
694
+ method: "GET",
695
+ uri: "/dbaas/logs/{serviceName}/cluster/{clusterId}/retention/{retentionId}",
696
+ code: 200,
697
+ }))).annotate({
698
+ identifier: "GetDbaasLogClusterRetentionRequest",
699
+ });
700
+ export const DbaasLogsRetentionTypeEnum = S.String;
701
+ export const DbaasLogsClusterRetention = /*@__PURE__*/ S.suspend(() => S.Struct({
702
+ duration: S.optional(S.NullOr(S.String)),
703
+ isSupported: S.optional(S.Boolean),
704
+ retentionId: S.optional(S.String),
705
+ retentionType: S.optional(DbaasLogsRetentionTypeEnum),
706
+ })).annotate({
707
+ identifier: "DbaasLogsClusterRetention",
708
+ });
709
+ export const GetDbaasLogEncryptionKeyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
710
+ serviceName: S.String.pipe(T.Label()),
711
+ encryptionKeyId: S.String.pipe(T.Label()),
712
+ }).pipe(T.Http({
713
+ method: "GET",
714
+ uri: "/dbaas/logs/{serviceName}/encryptionKey/{encryptionKeyId}",
715
+ code: 200,
716
+ }))).annotate({
717
+ identifier: "GetDbaasLogEncryptionKeyRequest",
718
+ });
719
+ export const DbaasLogsEncryptionKeyAlgorithmEnum = S.String;
720
+ export const DbaasLogsEncryptionKey = /*@__PURE__*/ S.suspend(() => S.Struct({
721
+ algorithm: S.optional(DbaasLogsEncryptionKeyAlgorithmEnum),
722
+ content: S.String,
723
+ createdAt: S.optional(S.String),
724
+ encryptionKeyId: S.optional(S.String),
725
+ fingerprint: S.String,
726
+ isEditable: S.optional(S.Boolean),
727
+ nbArchive: S.optional(S.NullOr(S.Number)),
728
+ title: S.String,
729
+ uid: S.optional(S.String),
730
+ })).annotate({
731
+ identifier: "DbaasLogsEncryptionKey",
732
+ });
733
+ export const GetDbaasLogInputRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
734
+ serviceName: S.String.pipe(T.Label()),
735
+ inputId: S.String.pipe(T.Label()),
736
+ }).pipe(T.Http({
737
+ method: "GET",
738
+ uri: "/dbaas/logs/{serviceName}/input/{inputId}",
739
+ code: 200,
740
+ }))).annotate({
741
+ identifier: "GetDbaasLogInputRequest",
742
+ });
743
+ export const DbaasLogsInputAllowedNetworksList = /*@__PURE__*/ S.Array(S.String);
744
+ export const DbaasLogsInputStatusEnum = S.String;
745
+ export const DbaasLogsInput = /*@__PURE__*/ S.suspend(() => S.Struct({
746
+ allowedNetworks: S.optional(S.NullOr(DbaasLogsInputAllowedNetworksList)),
747
+ autoscale: S.optional(S.NullOr(S.Boolean)),
748
+ createdAt: S.optional(S.String),
749
+ description: S.optional(S.String),
750
+ engineId: S.optional(S.String),
751
+ exposedPort: S.optional(S.NullOr(S.String)),
752
+ hostname: S.optional(S.String),
753
+ inputId: S.optional(S.String),
754
+ isRestartRequired: S.optional(S.Boolean),
755
+ maxScaleInstance: S.optional(S.NullOr(S.Number)),
756
+ minScaleInstance: S.optional(S.NullOr(S.Number)),
757
+ nbInstance: S.optional(S.NullOr(S.Number)),
758
+ publicAddress: S.optional(S.String),
759
+ scalingNotifyEnabled: S.optional(S.NullOr(S.Boolean)),
760
+ sslCertificate: S.optional(S.String),
761
+ status: S.optional(DbaasLogsInputStatusEnum),
762
+ streamId: S.optional(S.String),
763
+ title: S.optional(S.String),
764
+ updatedAt: S.optional(S.NullOr(S.String)),
765
+ })).annotate({ identifier: "DbaasLogsInput" });
766
+ export const GetDbaasLogInputConfigtestResultRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
767
+ serviceName: S.String.pipe(T.Label()),
768
+ inputId: S.String.pipe(T.Label()),
769
+ }).pipe(T.Http({
770
+ method: "GET",
771
+ uri: "/dbaas/logs/{serviceName}/input/{inputId}/configtest/result",
772
+ code: 200,
773
+ }))).annotate({
774
+ identifier: "GetDbaasLogInputConfigtestResultRequest",
775
+ });
776
+ export const DbaasLogsTestResult = /*@__PURE__*/ S.suspend(() => S.Struct({
777
+ isValid: S.optional(S.Boolean),
778
+ stderr: S.optional(S.NullOr(S.String)),
779
+ stdout: S.optional(S.NullOr(S.String)),
780
+ updatedAt: S.optional(S.NullOr(S.String)),
781
+ })).annotate({
782
+ identifier: "DbaasLogsTestResult",
783
+ });
784
+ export const GetDbaasLogInputConfigurationFlowggerRequest =
785
+ /*@__PURE__*/ S.suspend(() => S.Struct({
786
+ serviceName: S.String.pipe(T.Label()),
787
+ inputId: S.String.pipe(T.Label()),
788
+ }).pipe(T.Http({
789
+ method: "GET",
790
+ uri: "/dbaas/logs/{serviceName}/input/{inputId}/configuration/flowgger",
791
+ code: 200,
792
+ }))).annotate({
793
+ identifier: "GetDbaasLogInputConfigurationFlowggerRequest",
794
+ });
795
+ export const DbaasLogsFlowggerConfigurationLogFormatEnum = S.String;
796
+ export const DbaasLogsFlowggerConfigurationLogFramingEnum = S.String;
797
+ export const DbaasLogsFlowggerConfiguration = /*@__PURE__*/ S.suspend(() => S.Struct({
798
+ logFormat: S.optional(DbaasLogsFlowggerConfigurationLogFormatEnum),
799
+ logFraming: S.optional(DbaasLogsFlowggerConfigurationLogFramingEnum),
800
+ })).annotate({
801
+ identifier: "DbaasLogsFlowggerConfiguration",
802
+ });
803
+ export const GetDbaasLogInputConfigurationLogstashRequest =
804
+ /*@__PURE__*/ S.suspend(() => S.Struct({
805
+ serviceName: S.String.pipe(T.Label()),
806
+ inputId: S.String.pipe(T.Label()),
807
+ }).pipe(T.Http({
808
+ method: "GET",
809
+ uri: "/dbaas/logs/{serviceName}/input/{inputId}/configuration/logstash",
810
+ code: 200,
811
+ }))).annotate({
812
+ identifier: "GetDbaasLogInputConfigurationLogstashRequest",
813
+ });
814
+ export const DbaasLogsLogstashConfiguration = /*@__PURE__*/ S.suspend(() => S.Struct({
815
+ filterSection: S.optional(S.NullOr(S.String)),
816
+ inputSection: S.optional(S.String),
817
+ patternSection: S.optional(S.NullOr(S.String)),
818
+ })).annotate({
819
+ identifier: "DbaasLogsLogstashConfiguration",
820
+ });
821
+ export const GetDbaasLogInputEngineRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
822
+ serviceName: S.String.pipe(T.Label()),
823
+ engineId: S.String.pipe(T.Label()),
824
+ }).pipe(T.Http({
825
+ method: "GET",
826
+ uri: "/dbaas/logs/{serviceName}/input/engine/{engineId}",
827
+ code: 200,
828
+ }))).annotate({
829
+ identifier: "GetDbaasLogInputEngineRequest",
830
+ });
831
+ export const DbaasLogsEngineNameEnum = S.String;
832
+ export const DbaasLogsEngine = /*@__PURE__*/ S.suspend(() => S.Struct({
833
+ engineId: S.optional(S.String),
834
+ isDeprecated: S.optional(S.Boolean),
835
+ name: S.optional(DbaasLogsEngineNameEnum),
836
+ version: S.optional(S.String),
837
+ })).annotate({
838
+ identifier: "DbaasLogsEngine",
839
+ });
840
+ export const GetDbaasLogInputEngineHelperRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
841
+ serviceName: S.String.pipe(T.Label()),
842
+ engineId: S.String.pipe(T.Label()),
843
+ helperId: S.String.pipe(T.Label()),
844
+ }).pipe(T.Http({
845
+ method: "GET",
846
+ uri: "/dbaas/logs/{serviceName}/input/engine/{engineId}/helper/{helperId}",
847
+ code: 200,
848
+ }))).annotate({
849
+ identifier: "GetDbaasLogInputEngineHelperRequest",
850
+ });
851
+ export const DbaasLogsHelperSectionNameEnum = S.String;
852
+ export const DbaasLogsHelperSection = /*@__PURE__*/ S.suspend(() => S.Struct({
853
+ content: S.optional(S.String),
854
+ name: S.optional(DbaasLogsHelperSectionNameEnum),
855
+ })).annotate({
856
+ identifier: "DbaasLogsHelperSection",
857
+ });
858
+ export const DbaasLogsHelperSectionsList = /*@__PURE__*/ S.Array(DbaasLogsHelperSection);
859
+ export const DbaasLogsHelper = /*@__PURE__*/ S.suspend(() => S.Struct({
860
+ description: S.optional(S.String),
861
+ engineId: S.optional(S.String),
862
+ helperId: S.optional(S.String),
863
+ sections: S.optional(DbaasLogsHelperSectionsList),
864
+ title: S.optional(S.String),
865
+ })).annotate({
866
+ identifier: "DbaasLogsHelper",
867
+ });
868
+ export const GetDbaasLogMetricsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
869
+ serviceName: S.String.pipe(T.Label()),
870
+ }).pipe(T.Http({
871
+ method: "GET",
872
+ uri: "/dbaas/logs/{serviceName}/metrics",
873
+ code: 200,
874
+ }))).annotate({
875
+ identifier: "GetDbaasLogMetricsRequest",
876
+ });
877
+ export const DbaasLogsServiceMetric = /*@__PURE__*/ S.suspend(() => S.Struct({
878
+ host: S.optional(S.String),
879
+ token: S.optional(S.String),
880
+ })).annotate({
881
+ identifier: "DbaasLogsServiceMetric",
882
+ });
883
+ export const GetDbaasLogOperationRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
884
+ serviceName: S.String.pipe(T.Label()),
885
+ operationId: S.String.pipe(T.Label()),
886
+ }).pipe(T.Http({
887
+ method: "GET",
888
+ uri: "/dbaas/logs/{serviceName}/operation/{operationId}",
889
+ code: 200,
890
+ }))).annotate({
891
+ identifier: "GetDbaasLogOperationRequest",
892
+ });
893
+ export const GetDbaasLogOutputGraylogDashboardRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
894
+ serviceName: S.String.pipe(T.Label()),
895
+ dashboardId: S.String.pipe(T.Label()),
896
+ }).pipe(T.Http({
897
+ method: "GET",
898
+ uri: "/dbaas/logs/{serviceName}/output/graylog/dashboard/{dashboardId}",
899
+ code: 200,
900
+ }))).annotate({
901
+ identifier: "GetDbaasLogOutputGraylogDashboardRequest",
902
+ });
903
+ export const DbaasLogsDashboard = /*@__PURE__*/ S.suspend(() => S.Struct({
904
+ createdAt: S.optional(S.String),
905
+ dashboardId: S.optional(S.String),
906
+ description: S.optional(S.String),
907
+ isEditable: S.optional(S.Boolean),
908
+ title: S.optional(S.String),
909
+ updatedAt: S.optional(S.NullOr(S.String)),
910
+ })).annotate({
911
+ identifier: "DbaasLogsDashboard",
912
+ });
913
+ export const GetDbaasLogOutputGraylogStreamRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
914
+ serviceName: S.String.pipe(T.Label()),
915
+ streamId: S.String.pipe(T.Label()),
916
+ }).pipe(T.Http({
917
+ method: "GET",
918
+ uri: "/dbaas/logs/{serviceName}/output/graylog/stream/{streamId}",
919
+ code: 200,
920
+ }))).annotate({
921
+ identifier: "GetDbaasLogOutputGraylogStreamRequest",
922
+ });
923
+ export const DbaasLogsStreamEncryptionKeysIdsList = /*@__PURE__*/ S.Array(S.String);
924
+ export const DbaasLogsStream = /*@__PURE__*/ S.suspend(() => S.Struct({
925
+ canAlert: S.optional(S.Boolean),
926
+ clusterId: S.optional(S.String),
927
+ coldStorageCompression: S.optional(S.NullOr(DbaasLogsStreamColdStorageCompressionEnum)),
928
+ coldStorageContent: S.optional(S.NullOr(DbaasLogsStreamColdStorageContentEnum)),
929
+ coldStorageEnabled: S.optional(S.NullOr(S.Boolean)),
930
+ coldStorageNotifyEnabled: S.optional(S.NullOr(S.Boolean)),
931
+ coldStorageRetention: S.optional(S.NullOr(S.Number)),
932
+ createdAt: S.optional(S.String),
933
+ description: S.optional(S.String),
934
+ encryptionKeysIds: S.optional(S.NullOr(DbaasLogsStreamEncryptionKeysIdsList)),
935
+ indexingCurrentSize: S.optional(S.NullOr(S.Number)),
936
+ indexingEnabled: S.optional(S.NullOr(S.Boolean)),
937
+ indexingMaxSize: S.optional(S.NullOr(S.Number)),
938
+ indexingNotifyEnabled: S.optional(S.NullOr(S.Boolean)),
939
+ isEditable: S.optional(S.Boolean),
940
+ nbAlertCondition: S.optional(S.Number),
941
+ nbArchive: S.optional(S.Number),
942
+ nbSubscription: S.optional(S.Number),
943
+ parentStreamId: S.optional(S.NullOr(S.String)),
944
+ pauseIndexingOnMaxSize: S.optional(S.NullOr(S.Boolean)),
945
+ retentionId: S.optional(S.String),
946
+ streamId: S.optional(S.String),
947
+ title: S.optional(S.String),
948
+ updatedAt: S.optional(S.NullOr(S.String)),
949
+ webSocketEnabled: S.optional(S.NullOr(S.Boolean)),
950
+ })).annotate({
951
+ identifier: "DbaasLogsStream",
952
+ });
953
+ export const GetDbaasLogOutputGraylogStreamAlertRequest =
954
+ /*@__PURE__*/ S.suspend(() => S.Struct({
955
+ serviceName: S.String.pipe(T.Label()),
956
+ streamId: S.String.pipe(T.Label()),
957
+ alertId: S.String.pipe(T.Label()),
958
+ }).pipe(T.Http({
959
+ method: "GET",
960
+ uri: "/dbaas/logs/{serviceName}/output/graylog/stream/{streamId}/alert/{alertId}",
961
+ code: 200,
962
+ }))).annotate({
963
+ identifier: "GetDbaasLogOutputGraylogStreamAlertRequest",
964
+ });
965
+ export const DbaasLogsStreamAlertCondition = /*@__PURE__*/ S.suspend(() => S.Struct({
966
+ alertId: S.optional(S.String),
967
+ backlog: S.optional(S.Number),
968
+ conditionType: S.optional(S.NullOr(DbaasLogsStreamAlertConditionConditionTypeEnum)),
969
+ constraintType: S.optional(S.NullOr(DbaasLogsStreamAlertConditionConstraintTypeEnum)),
970
+ field: S.optional(S.NullOr(S.String)),
971
+ grace: S.optional(S.Number),
972
+ queryFilter: S.optional(S.NullOr(S.String)),
973
+ repeatNotificationsEnabled: S.optional(S.NullOr(S.Boolean)),
974
+ threshold: S.optional(S.NullOr(S.Number)),
975
+ thresholdType: S.optional(S.NullOr(DbaasLogsStreamAlertConditionThresholdTypeEnum)),
976
+ time: S.optional(S.NullOr(S.Number)),
977
+ title: S.optional(S.String),
978
+ value: S.optional(S.NullOr(S.String)),
979
+ })).annotate({
980
+ identifier: "DbaasLogsStreamAlertCondition",
981
+ });
982
+ export const GetDbaasLogOutputGraylogStreamArchiveRequest =
983
+ /*@__PURE__*/ S.suspend(() => S.Struct({
984
+ serviceName: S.String.pipe(T.Label()),
985
+ streamId: S.String.pipe(T.Label()),
986
+ archiveId: S.String.pipe(T.Label()),
987
+ }).pipe(T.Http({
988
+ method: "GET",
989
+ uri: "/dbaas/logs/{serviceName}/output/graylog/stream/{streamId}/archive/{archiveId}",
990
+ code: 200,
991
+ }))).annotate({
992
+ identifier: "GetDbaasLogOutputGraylogStreamArchiveRequest",
993
+ });
994
+ export const DbaasLogsArchiveRetrievalStateEnum = S.String;
995
+ export const DbaasLogsArchive = /*@__PURE__*/ S.suspend(() => S.Struct({
996
+ archiveId: S.optional(S.String),
997
+ createdAt: S.optional(S.NullOr(S.String)),
998
+ filename: S.optional(S.String),
999
+ md5: S.optional(S.String),
1000
+ retrievalDelay: S.optional(S.Number),
1001
+ retrievalState: S.optional(DbaasLogsArchiveRetrievalStateEnum),
1002
+ sha256: S.optional(S.String),
1003
+ size: S.optional(S.Number),
1004
+ })).annotate({
1005
+ identifier: "DbaasLogsArchive",
1006
+ });
1007
+ export const GetDbaasLogOutputGraylogStreamRuleRequest =
1008
+ /*@__PURE__*/ S.suspend(() => S.Struct({
1009
+ serviceName: S.String.pipe(T.Label()),
1010
+ streamId: S.String.pipe(T.Label()),
1011
+ ruleId: S.String.pipe(T.Label()),
1012
+ }).pipe(T.Http({
1013
+ method: "GET",
1014
+ uri: "/dbaas/logs/{serviceName}/output/graylog/stream/{streamId}/rule/{ruleId}",
1015
+ code: 200,
1016
+ }))).annotate({
1017
+ identifier: "GetDbaasLogOutputGraylogStreamRuleRequest",
1018
+ });
1019
+ export const DbaasLogsStreamRule = /*@__PURE__*/ S.suspend(() => S.Struct({
1020
+ field: S.optional(S.String),
1021
+ isInverted: S.optional(S.NullOr(S.Boolean)),
1022
+ operator: S.optional(S.NullOr(DbaasLogsStreamRuleOperatorEnum)),
1023
+ ruleId: S.optional(S.String),
1024
+ value: S.optional(S.String),
1025
+ })).annotate({
1026
+ identifier: "DbaasLogsStreamRule",
1027
+ });
1028
+ export const GetDbaasLogOutputGraylogStreamSubscriptionRequest =
1029
+ /*@__PURE__*/ S.suspend(() => S.Struct({
1030
+ serviceName: S.String.pipe(T.Label()),
1031
+ streamId: S.String.pipe(T.Label()),
1032
+ subscriptionId: S.String.pipe(T.Label()),
1033
+ }).pipe(T.Http({
1034
+ method: "GET",
1035
+ uri: "/dbaas/logs/{serviceName}/output/graylog/stream/{streamId}/subscription/{subscriptionId}",
1036
+ code: 200,
1037
+ }))).annotate({
1038
+ identifier: "GetDbaasLogOutputGraylogStreamSubscriptionRequest",
1039
+ });
1040
+ export const DbaasLogsLogSubscriptionResource = /*@__PURE__*/ S.suspend(() => S.Struct({
1041
+ name: S.optional(S.String),
1042
+ type: S.optional(S.String),
1043
+ })).annotate({
1044
+ identifier: "DbaasLogsLogSubscriptionResource",
1045
+ });
1046
+ export const DbaasLogsLogSubscription = /*@__PURE__*/ S.suspend(() => S.Struct({
1047
+ createdAt: S.optional(S.String),
1048
+ kind: S.optional(S.String),
1049
+ resource: S.optional(DbaasLogsLogSubscriptionResource),
1050
+ serviceName: S.optional(S.String),
1051
+ streamId: S.optional(S.String),
1052
+ subscriptionId: S.optional(S.String),
1053
+ updatedAt: S.optional(S.String),
1054
+ })).annotate({
1055
+ identifier: "DbaasLogsLogSubscription",
1056
+ });
1057
+ export const GetDbaasLogOutputMetricTenantRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1058
+ serviceName: S.String.pipe(T.Label()),
1059
+ tenantId: S.String.pipe(T.Label()),
1060
+ }).pipe(T.Http({
1061
+ method: "GET",
1062
+ uri: "/dbaas/logs/{serviceName}/output/metric/tenant/{tenantId}",
1063
+ code: 200,
1064
+ }))).annotate({
1065
+ identifier: "GetDbaasLogOutputMetricTenantRequest",
1066
+ });
1067
+ export const DbaasLogsDeliveryStatusEnum = S.String;
1068
+ export const DbaasLogsMetricTenant = /*@__PURE__*/ S.suspend(() => S.Struct({
1069
+ createdAt: S.optional(S.String),
1070
+ deliveryStatus: S.optional(DbaasLogsDeliveryStatusEnum),
1071
+ description: S.optional(S.String),
1072
+ maxSeries: S.optional(S.Number),
1073
+ retentionId: S.optional(S.String),
1074
+ tenantId: S.optional(S.String),
1075
+ title: S.optional(S.String),
1076
+ updatedAt: S.optional(S.NullOr(S.String)),
1077
+ })).annotate({
1078
+ identifier: "DbaasLogsMetricTenant",
1079
+ });
1080
+ export const GetDbaasLogOutputMetricTenantSubscriptionRequest =
1081
+ /*@__PURE__*/ S.suspend(() => S.Struct({
1082
+ serviceName: S.String.pipe(T.Label()),
1083
+ tenantId: S.String.pipe(T.Label()),
1084
+ subscriptionId: S.String.pipe(T.Label()),
1085
+ }).pipe(T.Http({
1086
+ method: "GET",
1087
+ uri: "/dbaas/logs/{serviceName}/output/metric/tenant/{tenantId}/subscription/{subscriptionId}",
1088
+ code: 200,
1089
+ }))).annotate({
1090
+ identifier: "GetDbaasLogOutputMetricTenantSubscriptionRequest",
1091
+ });
1092
+ export const DbaasLogsMetricSubscription = /*@__PURE__*/ S.suspend(() => S.Struct({
1093
+ createdAt: S.optional(S.String),
1094
+ kind: S.optional(S.String),
1095
+ resource: S.optional(DbaasLogsLogSubscriptionResource),
1096
+ serviceName: S.optional(S.String),
1097
+ subscriptionId: S.optional(S.String),
1098
+ tenantId: S.optional(S.String),
1099
+ updatedAt: S.optional(S.String),
1100
+ })).annotate({
1101
+ identifier: "DbaasLogsMetricSubscription",
1102
+ });
1103
+ export const GetDbaasLogOutputOpensearchAliasRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1104
+ serviceName: S.String.pipe(T.Label()),
1105
+ aliasId: S.String.pipe(T.Label()),
1106
+ }).pipe(T.Http({
1107
+ method: "GET",
1108
+ uri: "/dbaas/logs/{serviceName}/output/opensearch/alias/{aliasId}",
1109
+ code: 200,
1110
+ }))).annotate({
1111
+ identifier: "GetDbaasLogOutputOpensearchAliasRequest",
1112
+ });
1113
+ export const DbaasLogsAlias = /*@__PURE__*/ S.suspend(() => S.Struct({
1114
+ aliasId: S.optional(S.String),
1115
+ createdAt: S.optional(S.String),
1116
+ description: S.optional(S.NullOr(S.String)),
1117
+ isEditable: S.optional(S.Boolean),
1118
+ name: S.optional(S.String),
1119
+ nbIndex: S.optional(S.Number),
1120
+ nbStream: S.optional(S.Number),
1121
+ updatedAt: S.optional(S.NullOr(S.String)),
1122
+ })).annotate({ identifier: "DbaasLogsAlias" });
1123
+ export const GetDbaasLogOutputOpensearchIndexRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1124
+ serviceName: S.String.pipe(T.Label()),
1125
+ indexId: S.String.pipe(T.Label()),
1126
+ }).pipe(T.Http({
1127
+ method: "GET",
1128
+ uri: "/dbaas/logs/{serviceName}/output/opensearch/index/{indexId}",
1129
+ code: 200,
1130
+ }))).annotate({
1131
+ identifier: "GetDbaasLogOutputOpensearchIndexRequest",
1132
+ });
1133
+ export const DbaasLogsIndex = /*@__PURE__*/ S.suspend(() => S.Struct({
1134
+ alertNotifyEnabled: S.optional(S.NullOr(S.Boolean)),
1135
+ createdAt: S.optional(S.String),
1136
+ currentSize: S.optional(S.NullOr(S.Number)),
1137
+ description: S.optional(S.NullOr(S.String)),
1138
+ indexId: S.optional(S.String),
1139
+ isEditable: S.optional(S.Boolean),
1140
+ maxSize: S.optional(S.Number),
1141
+ name: S.optional(S.String),
1142
+ nbShard: S.optional(S.NullOr(S.Number)),
1143
+ updatedAt: S.optional(S.NullOr(S.String)),
1144
+ })).annotate({ identifier: "DbaasLogsIndex" });
1145
+ export const GetDbaasLogOutputOpensearchOsdRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1146
+ serviceName: S.String.pipe(T.Label()),
1147
+ osdId: S.String.pipe(T.Label()),
1148
+ }).pipe(T.Http({
1149
+ method: "GET",
1150
+ uri: "/dbaas/logs/{serviceName}/output/opensearch/osd/{osdId}",
1151
+ code: 200,
1152
+ }))).annotate({
1153
+ identifier: "GetDbaasLogOutputOpensearchOsdRequest",
1154
+ });
1155
+ export const DbaasLogsOsd = /*@__PURE__*/ S.suspend(() => S.Struct({
1156
+ createdAt: S.optional(S.String),
1157
+ deliveryStatus: S.optional(DbaasLogsDeliveryStatusEnum),
1158
+ description: S.optional(S.String),
1159
+ isEditable: S.optional(S.Boolean),
1160
+ name: S.optional(S.String),
1161
+ osdId: S.optional(S.String),
1162
+ updatedAt: S.optional(S.NullOr(S.String)),
1163
+ })).annotate({ identifier: "DbaasLogsOsd" });
1164
+ export const GetDbaasLogRoleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1165
+ serviceName: S.String.pipe(T.Label()),
1166
+ roleId: S.String.pipe(T.Label()),
1167
+ }).pipe(T.Http({
1168
+ method: "GET",
1169
+ uri: "/dbaas/logs/{serviceName}/role/{roleId}",
1170
+ code: 200,
1171
+ }))).annotate({
1172
+ identifier: "GetDbaasLogRoleRequest",
1173
+ });
1174
+ export const DbaasLogsRole = /*@__PURE__*/ S.suspend(() => S.Struct({
1175
+ createdAt: S.optional(S.String),
1176
+ description: S.optional(S.String),
1177
+ name: S.optional(S.String),
1178
+ nbMember: S.optional(S.Number),
1179
+ nbPermission: S.optional(S.Number),
1180
+ roleId: S.optional(S.String),
1181
+ updatedAt: S.optional(S.NullOr(S.String)),
1182
+ })).annotate({ identifier: "DbaasLogsRole" });
1183
+ export const GetDbaasLogRoleMemberRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1184
+ serviceName: S.String.pipe(T.Label()),
1185
+ roleId: S.String.pipe(T.Label()),
1186
+ username: S.String.pipe(T.Label()),
1187
+ }).pipe(T.Http({
1188
+ method: "GET",
1189
+ uri: "/dbaas/logs/{serviceName}/role/{roleId}/member/{username}",
1190
+ code: 200,
1191
+ }))).annotate({
1192
+ identifier: "GetDbaasLogRoleMemberRequest",
1193
+ });
1194
+ export const DbaasLogsMember = /*@__PURE__*/ S.suspend(() => S.Struct({
1195
+ createdAt: S.optional(S.String),
1196
+ note: S.optional(S.NullOr(S.String)),
1197
+ username: S.optional(S.String),
1198
+ })).annotate({
1199
+ identifier: "DbaasLogsMember",
1200
+ });
1201
+ export const GetDbaasLogRolePermissionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1202
+ serviceName: S.String.pipe(T.Label()),
1203
+ roleId: S.String.pipe(T.Label()),
1204
+ permissionId: S.String.pipe(T.Label()),
1205
+ }).pipe(T.Http({
1206
+ method: "GET",
1207
+ uri: "/dbaas/logs/{serviceName}/role/{roleId}/permission/{permissionId}",
1208
+ code: 200,
1209
+ }))).annotate({
1210
+ identifier: "GetDbaasLogRolePermissionRequest",
1211
+ });
1212
+ export const DbaasLogsPermission = /*@__PURE__*/ S.suspend(() => S.Struct({
1213
+ aliasId: S.optional(S.NullOr(S.String)),
1214
+ dashboardId: S.optional(S.NullOr(S.String)),
1215
+ indexId: S.optional(S.NullOr(S.String)),
1216
+ osdId: S.optional(S.NullOr(S.String)),
1217
+ permissionId: S.optional(S.String),
1218
+ permissionType: S.optional(S.NullOr(DbaasLogsPermissionTypeEnum)),
1219
+ streamId: S.optional(S.NullOr(S.String)),
1220
+ })).annotate({
1221
+ identifier: "DbaasLogsPermission",
1222
+ });
1223
+ export const GetDbaasLogServiceInfosRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1224
+ serviceName: S.String.pipe(T.Label()),
1225
+ }).pipe(T.Http({
1226
+ method: "GET",
1227
+ uri: "/dbaas/logs/{serviceName}/serviceInfos",
1228
+ code: 200,
1229
+ }))).annotate({
1230
+ identifier: "GetDbaasLogServiceInfosRequest",
1231
+ });
1232
+ export const ServicesServicePossibleRenewPeriodList = /*@__PURE__*/ S.Array(S.Number);
1233
+ export const ServiceRenewType = /*@__PURE__*/ S.suspend(() => S.Struct({
1234
+ automatic: S.optional(S.Boolean),
1235
+ deleteAtExpiration: S.optional(S.Boolean),
1236
+ forced: S.optional(S.Boolean),
1237
+ manualPayment: S.optional(S.NullOr(S.Boolean)),
1238
+ period: S.optional(S.NullOr(S.Number)),
1239
+ })).annotate({
1240
+ identifier: "ServiceRenewType",
1241
+ });
1242
+ export const ServiceRenewalTypeEnum = S.String;
1243
+ export const ServiceStateEnum = S.String;
1244
+ export const ServicesService = /*@__PURE__*/ S.suspend(() => S.Struct({
1245
+ canDeleteAtExpiration: S.optional(S.Boolean),
1246
+ contactAdmin: S.optional(S.String),
1247
+ contactBilling: S.optional(S.String),
1248
+ contactTech: S.optional(S.String),
1249
+ creation: S.optional(S.String),
1250
+ domain: S.optional(S.String),
1251
+ engagedUpTo: S.optional(S.NullOr(S.String)),
1252
+ expiration: S.optional(S.String),
1253
+ possibleRenewPeriod: S.optional(S.NullOr(ServicesServicePossibleRenewPeriodList)),
1254
+ renew: S.optional(S.NullOr(ServiceRenewType)),
1255
+ renewalType: S.optional(ServiceRenewalTypeEnum),
1256
+ serviceId: S.optional(S.Number),
1257
+ status: S.optional(ServiceStateEnum),
1258
+ })).annotate({
1259
+ identifier: "ServicesService",
1260
+ });
1261
+ export const GetDbaasLogTokenRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1262
+ serviceName: S.String.pipe(T.Label()),
1263
+ tokenId: S.String.pipe(T.Label()),
1264
+ }).pipe(T.Http({
1265
+ method: "GET",
1266
+ uri: "/dbaas/logs/{serviceName}/token/{tokenId}",
1267
+ code: 200,
1268
+ }))).annotate({
1269
+ identifier: "GetDbaasLogTokenRequest",
1270
+ });
1271
+ export const DbaasLogsToken = /*@__PURE__*/ S.suspend(() => S.Struct({
1272
+ clusterId: S.optional(S.NullOr(S.String)),
1273
+ createdAt: S.optional(S.String),
1274
+ name: S.optional(S.String),
1275
+ tokenId: S.optional(S.String),
1276
+ updatedAt: S.optional(S.NullOr(S.String)),
1277
+ value: S.optional(S.String),
1278
+ })).annotate({ identifier: "DbaasLogsToken" });
1279
+ export const ListDbaasLogClusterRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1280
+ serviceName: S.String.pipe(T.Label()),
1281
+ namePattern: S.optional(S.String.pipe(T.Query())),
1282
+ }).pipe(T.Http({
1283
+ method: "GET",
1284
+ uri: "/dbaas/logs/{serviceName}/cluster",
1285
+ code: 200,
1286
+ }))).annotate({
1287
+ identifier: "ListDbaasLogClusterRequest",
1288
+ });
1289
+ export const ListDbaasLogClusterResponseBodyList = /*@__PURE__*/ S.Array(S.String);
1290
+ export const ListDbaasLogClusterResponse = /*@__PURE__*/ S.suspend(() => ListDbaasLogClusterResponseBodyList.pipe(T.RawResponseRoot())).annotate({
1291
+ identifier: "ListDbaasLogClusterResponse",
1292
+ });
1293
+ export const ListDbaasLogClusterRetentionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1294
+ serviceName: S.String.pipe(T.Label()),
1295
+ clusterId: S.String.pipe(T.Label()),
1296
+ }).pipe(T.Http({
1297
+ method: "GET",
1298
+ uri: "/dbaas/logs/{serviceName}/cluster/{clusterId}/retention",
1299
+ code: 200,
1300
+ }))).annotate({
1301
+ identifier: "ListDbaasLogClusterRetentionRequest",
1302
+ });
1303
+ export const ListDbaasLogClusterRetentionResponseBodyList =
1304
+ /*@__PURE__*/ S.Array(S.String);
1305
+ export const ListDbaasLogClusterRetentionResponse = /*@__PURE__*/ S.suspend(() => ListDbaasLogClusterRetentionResponseBodyList.pipe(T.RawResponseRoot())).annotate({
1306
+ identifier: "ListDbaasLogClusterRetentionResponse",
1307
+ });
1308
+ export const ListDbaasLogEncryptionKeyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1309
+ serviceName: S.String.pipe(T.Label()),
1310
+ titlePattern: S.optional(S.String.pipe(T.Query())),
1311
+ }).pipe(T.Http({
1312
+ method: "GET",
1313
+ uri: "/dbaas/logs/{serviceName}/encryptionKey",
1314
+ code: 200,
1315
+ }))).annotate({
1316
+ identifier: "ListDbaasLogEncryptionKeyRequest",
1317
+ });
1318
+ export const ListDbaasLogEncryptionKeyResponseBodyList = /*@__PURE__*/ S.Array(S.String);
1319
+ export const ListDbaasLogEncryptionKeyResponse = /*@__PURE__*/ S.suspend(() => ListDbaasLogEncryptionKeyResponseBodyList.pipe(T.RawResponseRoot())).annotate({
1320
+ identifier: "ListDbaasLogEncryptionKeyResponse",
1321
+ });
1322
+ export const ListDbaasLogInputRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1323
+ serviceName: S.String.pipe(T.Label()),
1324
+ titlePattern: S.optional(S.String.pipe(T.Query())),
1325
+ }).pipe(T.Http({
1326
+ method: "GET",
1327
+ uri: "/dbaas/logs/{serviceName}/input",
1328
+ code: 200,
1329
+ }))).annotate({
1330
+ identifier: "ListDbaasLogInputRequest",
1331
+ });
1332
+ export const ListDbaasLogInputResponseBodyList = /*@__PURE__*/ S.Array(S.String);
1333
+ export const ListDbaasLogInputResponse = /*@__PURE__*/ S.suspend(() => ListDbaasLogInputResponseBodyList.pipe(T.RawResponseRoot())).annotate({
1334
+ identifier: "ListDbaasLogInputResponse",
1335
+ });
1336
+ export const ListDbaasLogInputActionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1337
+ serviceName: S.String.pipe(T.Label()),
1338
+ inputId: S.String.pipe(T.Label()),
1339
+ }).pipe(T.Http({
1340
+ method: "GET",
1341
+ uri: "/dbaas/logs/{serviceName}/input/{inputId}/action",
1342
+ code: 200,
1343
+ }))).annotate({
1344
+ identifier: "ListDbaasLogInputActionRequest",
1345
+ });
1346
+ export const DbaasLogsInputActionTypeEnum = S.String;
1347
+ export const DbaasLogsInputAction = /*@__PURE__*/ S.suspend(() => S.Struct({
1348
+ isAllowed: S.optional(S.Boolean),
1349
+ type: S.optional(DbaasLogsInputActionTypeEnum),
1350
+ })).annotate({
1351
+ identifier: "DbaasLogsInputAction",
1352
+ });
1353
+ export const ListDbaasLogInputActionResponseBodyList = /*@__PURE__*/ S.Array(DbaasLogsInputAction);
1354
+ export const ListDbaasLogInputActionResponse = /*@__PURE__*/ S.suspend(() => ListDbaasLogInputActionResponseBodyList.pipe(T.RawResponseRoot())).annotate({
1355
+ identifier: "ListDbaasLogInputActionResponse",
1356
+ });
1357
+ export const ListDbaasLogInputEngineRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1358
+ serviceName: S.String.pipe(T.Label()),
1359
+ }).pipe(T.Http({
1360
+ method: "GET",
1361
+ uri: "/dbaas/logs/{serviceName}/input/engine",
1362
+ code: 200,
1363
+ }))).annotate({
1364
+ identifier: "ListDbaasLogInputEngineRequest",
1365
+ });
1366
+ export const ListDbaasLogInputEngineResponseBodyList = /*@__PURE__*/ S.Array(S.String);
1367
+ export const ListDbaasLogInputEngineResponse = /*@__PURE__*/ S.suspend(() => ListDbaasLogInputEngineResponseBodyList.pipe(T.RawResponseRoot())).annotate({
1368
+ identifier: "ListDbaasLogInputEngineResponse",
1369
+ });
1370
+ export const ListDbaasLogInputEngineHelperRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1371
+ serviceName: S.String.pipe(T.Label()),
1372
+ engineId: S.String.pipe(T.Label()),
1373
+ }).pipe(T.Http({
1374
+ method: "GET",
1375
+ uri: "/dbaas/logs/{serviceName}/input/engine/{engineId}/helper",
1376
+ code: 200,
1377
+ }))).annotate({
1378
+ identifier: "ListDbaasLogInputEngineHelperRequest",
1379
+ });
1380
+ export const ListDbaasLogInputEngineHelperResponseBodyList =
1381
+ /*@__PURE__*/ S.Array(S.String);
1382
+ export const ListDbaasLogInputEngineHelperResponse = /*@__PURE__*/ S.suspend(() => ListDbaasLogInputEngineHelperResponseBodyList.pipe(T.RawResponseRoot())).annotate({
1383
+ identifier: "ListDbaasLogInputEngineHelperResponse",
1384
+ });
1385
+ export const ListDbaasLogInputUrlRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1386
+ serviceName: S.String.pipe(T.Label()),
1387
+ inputId: S.String.pipe(T.Label()),
1388
+ }).pipe(T.Http({
1389
+ method: "GET",
1390
+ uri: "/dbaas/logs/{serviceName}/input/{inputId}/url",
1391
+ code: 200,
1392
+ }))).annotate({
1393
+ identifier: "ListDbaasLogInputUrlRequest",
1394
+ });
1395
+ export const DbaasLogsUrlTypeEnum = S.String;
1396
+ export const DbaasLogsUrl = /*@__PURE__*/ S.suspend(() => S.Struct({
1397
+ address: S.optional(S.String),
1398
+ type: S.optional(DbaasLogsUrlTypeEnum),
1399
+ })).annotate({ identifier: "DbaasLogsUrl" });
1400
+ export const ListDbaasLogInputUrlResponseBodyList = /*@__PURE__*/ S.Array(DbaasLogsUrl);
1401
+ export const ListDbaasLogInputUrlResponse = /*@__PURE__*/ S.suspend(() => ListDbaasLogInputUrlResponseBodyList.pipe(T.RawResponseRoot())).annotate({
1402
+ identifier: "ListDbaasLogInputUrlResponse",
1403
+ });
1404
+ export const ListDbaasLogOperationRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1405
+ serviceName: S.String.pipe(T.Label()),
1406
+ }).pipe(T.Http({
1407
+ method: "GET",
1408
+ uri: "/dbaas/logs/{serviceName}/operation",
1409
+ code: 200,
1410
+ }))).annotate({
1411
+ identifier: "ListDbaasLogOperationRequest",
1412
+ });
1413
+ export const ListDbaasLogOperationResponseBodyList = /*@__PURE__*/ S.Array(S.String);
1414
+ export const ListDbaasLogOperationResponse = /*@__PURE__*/ S.suspend(() => ListDbaasLogOperationResponseBodyList.pipe(T.RawResponseRoot())).annotate({
1415
+ identifier: "ListDbaasLogOperationResponse",
1416
+ });
1417
+ export const ListDbaasLogOutputGraylogDashboardRequest =
1418
+ /*@__PURE__*/ S.suspend(() => S.Struct({
1419
+ serviceName: S.String.pipe(T.Label()),
1420
+ titlePattern: S.optional(S.String.pipe(T.Query())),
1421
+ }).pipe(T.Http({
1422
+ method: "GET",
1423
+ uri: "/dbaas/logs/{serviceName}/output/graylog/dashboard",
1424
+ code: 200,
1425
+ }))).annotate({
1426
+ identifier: "ListDbaasLogOutputGraylogDashboardRequest",
1427
+ });
1428
+ export const ListDbaasLogOutputGraylogDashboardResponseBodyList =
1429
+ /*@__PURE__*/ S.Array(S.String);
1430
+ export const ListDbaasLogOutputGraylogDashboardResponse =
1431
+ /*@__PURE__*/ S.suspend(() => ListDbaasLogOutputGraylogDashboardResponseBodyList.pipe(T.RawResponseRoot())).annotate({
1432
+ identifier: "ListDbaasLogOutputGraylogDashboardResponse",
1433
+ });
1434
+ export const ListDbaasLogOutputGraylogDashboardUrlRequest =
1435
+ /*@__PURE__*/ S.suspend(() => S.Struct({
1436
+ serviceName: S.String.pipe(T.Label()),
1437
+ dashboardId: S.String.pipe(T.Label()),
1438
+ }).pipe(T.Http({
1439
+ method: "GET",
1440
+ uri: "/dbaas/logs/{serviceName}/output/graylog/dashboard/{dashboardId}/url",
1441
+ code: 200,
1442
+ }))).annotate({
1443
+ identifier: "ListDbaasLogOutputGraylogDashboardUrlRequest",
1444
+ });
1445
+ export const ListDbaasLogOutputGraylogDashboardUrlResponseBodyList =
1446
+ /*@__PURE__*/ S.Array(DbaasLogsUrl);
1447
+ export const ListDbaasLogOutputGraylogDashboardUrlResponse =
1448
+ /*@__PURE__*/ S.suspend(() => ListDbaasLogOutputGraylogDashboardUrlResponseBodyList.pipe(T.RawResponseRoot())).annotate({
1449
+ identifier: "ListDbaasLogOutputGraylogDashboardUrlResponse",
1450
+ });
1451
+ export const ListDbaasLogOutputGraylogStreamRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1452
+ serviceName: S.String.pipe(T.Label()),
1453
+ titlePattern: S.optional(S.String.pipe(T.Query())),
1454
+ }).pipe(T.Http({
1455
+ method: "GET",
1456
+ uri: "/dbaas/logs/{serviceName}/output/graylog/stream",
1457
+ code: 200,
1458
+ }))).annotate({
1459
+ identifier: "ListDbaasLogOutputGraylogStreamRequest",
1460
+ });
1461
+ export const ListDbaasLogOutputGraylogStreamResponseBodyList =
1462
+ /*@__PURE__*/ S.Array(S.String);
1463
+ export const ListDbaasLogOutputGraylogStreamResponse = /*@__PURE__*/ S.suspend(() => ListDbaasLogOutputGraylogStreamResponseBodyList.pipe(T.RawResponseRoot())).annotate({
1464
+ identifier: "ListDbaasLogOutputGraylogStreamResponse",
1465
+ });
1466
+ export const ListDbaasLogOutputGraylogStreamAlertRequest =
1467
+ /*@__PURE__*/ S.suspend(() => S.Struct({
1468
+ serviceName: S.String.pipe(T.Label()),
1469
+ streamId: S.String.pipe(T.Label()),
1470
+ }).pipe(T.Http({
1471
+ method: "GET",
1472
+ uri: "/dbaas/logs/{serviceName}/output/graylog/stream/{streamId}/alert",
1473
+ code: 200,
1474
+ }))).annotate({
1475
+ identifier: "ListDbaasLogOutputGraylogStreamAlertRequest",
1476
+ });
1477
+ export const ListDbaasLogOutputGraylogStreamAlertResponseBodyList =
1478
+ /*@__PURE__*/ S.Array(S.String);
1479
+ export const ListDbaasLogOutputGraylogStreamAlertResponse =
1480
+ /*@__PURE__*/ S.suspend(() => ListDbaasLogOutputGraylogStreamAlertResponseBodyList.pipe(T.RawResponseRoot())).annotate({
1481
+ identifier: "ListDbaasLogOutputGraylogStreamAlertResponse",
1482
+ });
1483
+ export const ListDbaasLogOutputGraylogStreamArchiveRequest =
1484
+ /*@__PURE__*/ S.suspend(() => S.Struct({
1485
+ serviceName: S.String.pipe(T.Label()),
1486
+ streamId: S.String.pipe(T.Label()),
1487
+ }).pipe(T.Http({
1488
+ method: "GET",
1489
+ uri: "/dbaas/logs/{serviceName}/output/graylog/stream/{streamId}/archive",
1490
+ code: 200,
1491
+ }))).annotate({
1492
+ identifier: "ListDbaasLogOutputGraylogStreamArchiveRequest",
1493
+ });
1494
+ export const ListDbaasLogOutputGraylogStreamArchiveResponseBodyList =
1495
+ /*@__PURE__*/ S.Array(S.String);
1496
+ export const ListDbaasLogOutputGraylogStreamArchiveResponse =
1497
+ /*@__PURE__*/ S.suspend(() => ListDbaasLogOutputGraylogStreamArchiveResponseBodyList.pipe(T.RawResponseRoot())).annotate({
1498
+ identifier: "ListDbaasLogOutputGraylogStreamArchiveResponse",
1499
+ });
1500
+ export const ListDbaasLogOutputGraylogStreamArchiveEncryptionKeyRequest =
1501
+ /*@__PURE__*/ S.suspend(() => S.Struct({
1502
+ serviceName: S.String.pipe(T.Label()),
1503
+ streamId: S.String.pipe(T.Label()),
1504
+ archiveId: S.String.pipe(T.Label()),
1505
+ }).pipe(T.Http({
1506
+ method: "GET",
1507
+ uri: "/dbaas/logs/{serviceName}/output/graylog/stream/{streamId}/archive/{archiveId}/encryptionKey",
1508
+ code: 200,
1509
+ }))).annotate({
1510
+ identifier: "ListDbaasLogOutputGraylogStreamArchiveEncryptionKeyRequest",
1511
+ });
1512
+ export const ListDbaasLogOutputGraylogStreamArchiveEncryptionKeyResponseBodyList =
1513
+ /*@__PURE__*/ S.Array(S.String);
1514
+ export const ListDbaasLogOutputGraylogStreamArchiveEncryptionKeyResponse =
1515
+ /*@__PURE__*/ S.suspend(() => ListDbaasLogOutputGraylogStreamArchiveEncryptionKeyResponseBodyList.pipe(T.RawResponseRoot())).annotate({
1516
+ identifier: "ListDbaasLogOutputGraylogStreamArchiveEncryptionKeyResponse",
1517
+ });
1518
+ export const ListDbaasLogOutputGraylogStreamRuleRequest =
1519
+ /*@__PURE__*/ S.suspend(() => S.Struct({
1520
+ serviceName: S.String.pipe(T.Label()),
1521
+ streamId: S.String.pipe(T.Label()),
1522
+ }).pipe(T.Http({
1523
+ method: "GET",
1524
+ uri: "/dbaas/logs/{serviceName}/output/graylog/stream/{streamId}/rule",
1525
+ code: 200,
1526
+ }))).annotate({
1527
+ identifier: "ListDbaasLogOutputGraylogStreamRuleRequest",
1528
+ });
1529
+ export const ListDbaasLogOutputGraylogStreamRuleResponseBodyList =
1530
+ /*@__PURE__*/ S.Array(S.String);
1531
+ export const ListDbaasLogOutputGraylogStreamRuleResponse =
1532
+ /*@__PURE__*/ S.suspend(() => ListDbaasLogOutputGraylogStreamRuleResponseBodyList.pipe(T.RawResponseRoot())).annotate({
1533
+ identifier: "ListDbaasLogOutputGraylogStreamRuleResponse",
1534
+ });
1535
+ export const ListDbaasLogOutputGraylogStreamSubscriptionRequest =
1536
+ /*@__PURE__*/ S.suspend(() => S.Struct({
1537
+ serviceName: S.String.pipe(T.Label()),
1538
+ streamId: S.String.pipe(T.Label()),
1539
+ resourceName: S.optional(S.String.pipe(T.Query())),
1540
+ resourceType: S.optional(S.String.pipe(T.Query())),
1541
+ }).pipe(T.Http({
1542
+ method: "GET",
1543
+ uri: "/dbaas/logs/{serviceName}/output/graylog/stream/{streamId}/subscription",
1544
+ code: 200,
1545
+ }))).annotate({
1546
+ identifier: "ListDbaasLogOutputGraylogStreamSubscriptionRequest",
1547
+ });
1548
+ export const ListDbaasLogOutputGraylogStreamSubscriptionResponseBodyList =
1549
+ /*@__PURE__*/ S.Array(S.String);
1550
+ export const ListDbaasLogOutputGraylogStreamSubscriptionResponse =
1551
+ /*@__PURE__*/ S.suspend(() => ListDbaasLogOutputGraylogStreamSubscriptionResponseBodyList.pipe(T.RawResponseRoot())).annotate({
1552
+ identifier: "ListDbaasLogOutputGraylogStreamSubscriptionResponse",
1553
+ });
1554
+ export const ListDbaasLogOutputGraylogStreamUrlRequest =
1555
+ /*@__PURE__*/ S.suspend(() => S.Struct({
1556
+ serviceName: S.String.pipe(T.Label()),
1557
+ streamId: S.String.pipe(T.Label()),
1558
+ }).pipe(T.Http({
1559
+ method: "GET",
1560
+ uri: "/dbaas/logs/{serviceName}/output/graylog/stream/{streamId}/url",
1561
+ code: 200,
1562
+ }))).annotate({
1563
+ identifier: "ListDbaasLogOutputGraylogStreamUrlRequest",
1564
+ });
1565
+ export const ListDbaasLogOutputGraylogStreamUrlResponseBodyList =
1566
+ /*@__PURE__*/ S.Array(DbaasLogsUrl);
1567
+ export const ListDbaasLogOutputGraylogStreamUrlResponse =
1568
+ /*@__PURE__*/ S.suspend(() => ListDbaasLogOutputGraylogStreamUrlResponseBodyList.pipe(T.RawResponseRoot())).annotate({
1569
+ identifier: "ListDbaasLogOutputGraylogStreamUrlResponse",
1570
+ });
1571
+ export const ListDbaasLogOutputMetricTenantRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1572
+ serviceName: S.String.pipe(T.Label()),
1573
+ }).pipe(T.Http({
1574
+ method: "GET",
1575
+ uri: "/dbaas/logs/{serviceName}/output/metric/tenant",
1576
+ code: 200,
1577
+ }))).annotate({
1578
+ identifier: "ListDbaasLogOutputMetricTenantRequest",
1579
+ });
1580
+ export const ListDbaasLogOutputMetricTenantResponseBodyList =
1581
+ /*@__PURE__*/ S.Array(S.String);
1582
+ export const ListDbaasLogOutputMetricTenantResponse = /*@__PURE__*/ S.suspend(() => ListDbaasLogOutputMetricTenantResponseBodyList.pipe(T.RawResponseRoot())).annotate({
1583
+ identifier: "ListDbaasLogOutputMetricTenantResponse",
1584
+ });
1585
+ export const ListDbaasLogOutputMetricTenantSubscriptionRequest =
1586
+ /*@__PURE__*/ S.suspend(() => S.Struct({
1587
+ serviceName: S.String.pipe(T.Label()),
1588
+ tenantId: S.String.pipe(T.Label()),
1589
+ resourceName: S.optional(S.String.pipe(T.Query())),
1590
+ resourceType: S.optional(S.String.pipe(T.Query())),
1591
+ }).pipe(T.Http({
1592
+ method: "GET",
1593
+ uri: "/dbaas/logs/{serviceName}/output/metric/tenant/{tenantId}/subscription",
1594
+ code: 200,
1595
+ }))).annotate({
1596
+ identifier: "ListDbaasLogOutputMetricTenantSubscriptionRequest",
1597
+ });
1598
+ export const ListDbaasLogOutputMetricTenantSubscriptionResponseBodyList =
1599
+ /*@__PURE__*/ S.Array(S.String);
1600
+ export const ListDbaasLogOutputMetricTenantSubscriptionResponse =
1601
+ /*@__PURE__*/ S.suspend(() => ListDbaasLogOutputMetricTenantSubscriptionResponseBodyList.pipe(T.RawResponseRoot())).annotate({
1602
+ identifier: "ListDbaasLogOutputMetricTenantSubscriptionResponse",
1603
+ });
1604
+ export const ListDbaasLogOutputMetricTenantUrlRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1605
+ serviceName: S.String.pipe(T.Label()),
1606
+ tenantId: S.String.pipe(T.Label()),
1607
+ }).pipe(T.Http({
1608
+ method: "GET",
1609
+ uri: "/dbaas/logs/{serviceName}/output/metric/tenant/{tenantId}/url",
1610
+ code: 200,
1611
+ }))).annotate({
1612
+ identifier: "ListDbaasLogOutputMetricTenantUrlRequest",
1613
+ });
1614
+ export const ListDbaasLogOutputMetricTenantUrlResponseBodyList =
1615
+ /*@__PURE__*/ S.Array(DbaasLogsUrl);
1616
+ export const ListDbaasLogOutputMetricTenantUrlResponse =
1617
+ /*@__PURE__*/ S.suspend(() => ListDbaasLogOutputMetricTenantUrlResponseBodyList.pipe(T.RawResponseRoot())).annotate({
1618
+ identifier: "ListDbaasLogOutputMetricTenantUrlResponse",
1619
+ });
1620
+ export const ListDbaasLogOutputOpensearchAliasRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1621
+ serviceName: S.String.pipe(T.Label()),
1622
+ namePattern: S.optional(S.String.pipe(T.Query())),
1623
+ }).pipe(T.Http({
1624
+ method: "GET",
1625
+ uri: "/dbaas/logs/{serviceName}/output/opensearch/alias",
1626
+ code: 200,
1627
+ }))).annotate({
1628
+ identifier: "ListDbaasLogOutputOpensearchAliasRequest",
1629
+ });
1630
+ export const ListDbaasLogOutputOpensearchAliasResponseBodyList =
1631
+ /*@__PURE__*/ S.Array(S.String);
1632
+ export const ListDbaasLogOutputOpensearchAliasResponse =
1633
+ /*@__PURE__*/ S.suspend(() => ListDbaasLogOutputOpensearchAliasResponseBodyList.pipe(T.RawResponseRoot())).annotate({
1634
+ identifier: "ListDbaasLogOutputOpensearchAliasResponse",
1635
+ });
1636
+ export const ListDbaasLogOutputOpensearchAliasIndexRequest =
1637
+ /*@__PURE__*/ S.suspend(() => S.Struct({
1638
+ serviceName: S.String.pipe(T.Label()),
1639
+ aliasId: S.String.pipe(T.Label()),
1640
+ }).pipe(T.Http({
1641
+ method: "GET",
1642
+ uri: "/dbaas/logs/{serviceName}/output/opensearch/alias/{aliasId}/index",
1643
+ code: 200,
1644
+ }))).annotate({
1645
+ identifier: "ListDbaasLogOutputOpensearchAliasIndexRequest",
1646
+ });
1647
+ export const ListDbaasLogOutputOpensearchAliasIndexResponseBodyList =
1648
+ /*@__PURE__*/ S.Array(S.String);
1649
+ export const ListDbaasLogOutputOpensearchAliasIndexResponse =
1650
+ /*@__PURE__*/ S.suspend(() => ListDbaasLogOutputOpensearchAliasIndexResponseBodyList.pipe(T.RawResponseRoot())).annotate({
1651
+ identifier: "ListDbaasLogOutputOpensearchAliasIndexResponse",
1652
+ });
1653
+ export const ListDbaasLogOutputOpensearchAliasStreamRequest =
1654
+ /*@__PURE__*/ S.suspend(() => S.Struct({
1655
+ serviceName: S.String.pipe(T.Label()),
1656
+ aliasId: S.String.pipe(T.Label()),
1657
+ }).pipe(T.Http({
1658
+ method: "GET",
1659
+ uri: "/dbaas/logs/{serviceName}/output/opensearch/alias/{aliasId}/stream",
1660
+ code: 200,
1661
+ }))).annotate({
1662
+ identifier: "ListDbaasLogOutputOpensearchAliasStreamRequest",
1663
+ });
1664
+ export const ListDbaasLogOutputOpensearchAliasStreamResponseBodyList =
1665
+ /*@__PURE__*/ S.Array(S.String);
1666
+ export const ListDbaasLogOutputOpensearchAliasStreamResponse =
1667
+ /*@__PURE__*/ S.suspend(() => ListDbaasLogOutputOpensearchAliasStreamResponseBodyList.pipe(T.RawResponseRoot())).annotate({
1668
+ identifier: "ListDbaasLogOutputOpensearchAliasStreamResponse",
1669
+ });
1670
+ export const ListDbaasLogOutputOpensearchAliasUrlRequest =
1671
+ /*@__PURE__*/ S.suspend(() => S.Struct({
1672
+ serviceName: S.String.pipe(T.Label()),
1673
+ aliasId: S.String.pipe(T.Label()),
1674
+ }).pipe(T.Http({
1675
+ method: "GET",
1676
+ uri: "/dbaas/logs/{serviceName}/output/opensearch/alias/{aliasId}/url",
1677
+ code: 200,
1678
+ }))).annotate({
1679
+ identifier: "ListDbaasLogOutputOpensearchAliasUrlRequest",
1680
+ });
1681
+ export const ListDbaasLogOutputOpensearchAliasUrlResponseBodyList =
1682
+ /*@__PURE__*/ S.Array(DbaasLogsUrl);
1683
+ export const ListDbaasLogOutputOpensearchAliasUrlResponse =
1684
+ /*@__PURE__*/ S.suspend(() => ListDbaasLogOutputOpensearchAliasUrlResponseBodyList.pipe(T.RawResponseRoot())).annotate({
1685
+ identifier: "ListDbaasLogOutputOpensearchAliasUrlResponse",
1686
+ });
1687
+ export const ListDbaasLogOutputOpensearchIndexRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1688
+ serviceName: S.String.pipe(T.Label()),
1689
+ namePattern: S.optional(S.String.pipe(T.Query())),
1690
+ }).pipe(T.Http({
1691
+ method: "GET",
1692
+ uri: "/dbaas/logs/{serviceName}/output/opensearch/index",
1693
+ code: 200,
1694
+ }))).annotate({
1695
+ identifier: "ListDbaasLogOutputOpensearchIndexRequest",
1696
+ });
1697
+ export const ListDbaasLogOutputOpensearchIndexResponseBodyList =
1698
+ /*@__PURE__*/ S.Array(S.String);
1699
+ export const ListDbaasLogOutputOpensearchIndexResponse =
1700
+ /*@__PURE__*/ S.suspend(() => ListDbaasLogOutputOpensearchIndexResponseBodyList.pipe(T.RawResponseRoot())).annotate({
1701
+ identifier: "ListDbaasLogOutputOpensearchIndexResponse",
1702
+ });
1703
+ export const ListDbaasLogOutputOpensearchIndexUrlRequest =
1704
+ /*@__PURE__*/ S.suspend(() => S.Struct({
1705
+ serviceName: S.String.pipe(T.Label()),
1706
+ indexId: S.String.pipe(T.Label()),
1707
+ }).pipe(T.Http({
1708
+ method: "GET",
1709
+ uri: "/dbaas/logs/{serviceName}/output/opensearch/index/{indexId}/url",
1710
+ code: 200,
1711
+ }))).annotate({
1712
+ identifier: "ListDbaasLogOutputOpensearchIndexUrlRequest",
1713
+ });
1714
+ export const ListDbaasLogOutputOpensearchIndexUrlResponseBodyList =
1715
+ /*@__PURE__*/ S.Array(DbaasLogsUrl);
1716
+ export const ListDbaasLogOutputOpensearchIndexUrlResponse =
1717
+ /*@__PURE__*/ S.suspend(() => ListDbaasLogOutputOpensearchIndexUrlResponseBodyList.pipe(T.RawResponseRoot())).annotate({
1718
+ identifier: "ListDbaasLogOutputOpensearchIndexUrlResponse",
1719
+ });
1720
+ export const ListDbaasLogOutputOpensearchOsdRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1721
+ serviceName: S.String.pipe(T.Label()),
1722
+ }).pipe(T.Http({
1723
+ method: "GET",
1724
+ uri: "/dbaas/logs/{serviceName}/output/opensearch/osd",
1725
+ code: 200,
1726
+ }))).annotate({
1727
+ identifier: "ListDbaasLogOutputOpensearchOsdRequest",
1728
+ });
1729
+ export const ListDbaasLogOutputOpensearchOsdResponseBodyList =
1730
+ /*@__PURE__*/ S.Array(S.String);
1731
+ export const ListDbaasLogOutputOpensearchOsdResponse = /*@__PURE__*/ S.suspend(() => ListDbaasLogOutputOpensearchOsdResponseBodyList.pipe(T.RawResponseRoot())).annotate({
1732
+ identifier: "ListDbaasLogOutputOpensearchOsdResponse",
1733
+ });
1734
+ export const ListDbaasLogOutputOpensearchOsdUrlRequest =
1735
+ /*@__PURE__*/ S.suspend(() => S.Struct({
1736
+ serviceName: S.String.pipe(T.Label()),
1737
+ osdId: S.String.pipe(T.Label()),
1738
+ }).pipe(T.Http({
1739
+ method: "GET",
1740
+ uri: "/dbaas/logs/{serviceName}/output/opensearch/osd/{osdId}/url",
1741
+ code: 200,
1742
+ }))).annotate({
1743
+ identifier: "ListDbaasLogOutputOpensearchOsdUrlRequest",
1744
+ });
1745
+ export const ListDbaasLogOutputOpensearchOsdUrlResponseBodyList =
1746
+ /*@__PURE__*/ S.Array(DbaasLogsUrl);
1747
+ export const ListDbaasLogOutputOpensearchOsdUrlResponse =
1748
+ /*@__PURE__*/ S.suspend(() => ListDbaasLogOutputOpensearchOsdUrlResponseBodyList.pipe(T.RawResponseRoot())).annotate({
1749
+ identifier: "ListDbaasLogOutputOpensearchOsdUrlResponse",
1750
+ });
1751
+ export const ListDbaasLogRoleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1752
+ serviceName: S.String.pipe(T.Label()),
1753
+ namePattern: S.optional(S.String.pipe(T.Query())),
1754
+ }).pipe(T.Http({ method: "GET", uri: "/dbaas/logs/{serviceName}/role", code: 200 }))).annotate({
1755
+ identifier: "ListDbaasLogRoleRequest",
1756
+ });
1757
+ export const ListDbaasLogRoleResponseBodyList = /*@__PURE__*/ S.Array(S.String);
1758
+ export const ListDbaasLogRoleResponse = /*@__PURE__*/ S.suspend(() => ListDbaasLogRoleResponseBodyList.pipe(T.RawResponseRoot())).annotate({
1759
+ identifier: "ListDbaasLogRoleResponse",
1760
+ });
1761
+ export const ListDbaasLogRoleMemberRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1762
+ serviceName: S.String.pipe(T.Label()),
1763
+ roleId: S.String.pipe(T.Label()),
1764
+ }).pipe(T.Http({
1765
+ method: "GET",
1766
+ uri: "/dbaas/logs/{serviceName}/role/{roleId}/member",
1767
+ code: 200,
1768
+ }))).annotate({
1769
+ identifier: "ListDbaasLogRoleMemberRequest",
1770
+ });
1771
+ export const ListDbaasLogRoleMemberResponseBodyList = /*@__PURE__*/ S.Array(S.String);
1772
+ export const ListDbaasLogRoleMemberResponse = /*@__PURE__*/ S.suspend(() => ListDbaasLogRoleMemberResponseBodyList.pipe(T.RawResponseRoot())).annotate({
1773
+ identifier: "ListDbaasLogRoleMemberResponse",
1774
+ });
1775
+ export const ListDbaasLogRolePermissionRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1776
+ serviceName: S.String.pipe(T.Label()),
1777
+ roleId: S.String.pipe(T.Label()),
1778
+ }).pipe(T.Http({
1779
+ method: "GET",
1780
+ uri: "/dbaas/logs/{serviceName}/role/{roleId}/permission",
1781
+ code: 200,
1782
+ }))).annotate({
1783
+ identifier: "ListDbaasLogRolePermissionRequest",
1784
+ });
1785
+ export const ListDbaasLogRolePermissionResponseBodyList = /*@__PURE__*/ S.Array(S.String);
1786
+ export const ListDbaasLogRolePermissionResponse = /*@__PURE__*/ S.suspend(() => ListDbaasLogRolePermissionResponseBodyList.pipe(T.RawResponseRoot())).annotate({
1787
+ identifier: "ListDbaasLogRolePermissionResponse",
1788
+ });
1789
+ export const IamResourceTagFilterInput = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
1790
+ identifier: "IamResourceTagFilterInput",
1791
+ });
1792
+ export const ListDbaasLogsRequestIamTagsValueList = /*@__PURE__*/ S.Array(IamResourceTagFilterInput);
1793
+ export const ListDbaasLogsRequestIamTagsMap = /*@__PURE__*/ S.Record(S.String, ListDbaasLogsRequestIamTagsValueList);
1794
+ export const ListDbaasLogsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1795
+ iamTags: S.optional(ListDbaasLogsRequestIamTagsMap.pipe(T.Query())),
1796
+ }).pipe(T.Http({ method: "GET", uri: "/dbaas/logs", code: 200 }))).annotate({
1797
+ identifier: "ListDbaasLogsRequest",
1798
+ });
1799
+ export const ListDbaasLogsResponseBodyList = /*@__PURE__*/ S.Array(S.String);
1800
+ export const ListDbaasLogsResponse = /*@__PURE__*/ S.suspend(() => ListDbaasLogsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
1801
+ identifier: "ListDbaasLogsResponse",
1802
+ });
1803
+ export const ListDbaasLogTokenRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1804
+ serviceName: S.String.pipe(T.Label()),
1805
+ namePattern: S.optional(S.String.pipe(T.Query())),
1806
+ }).pipe(T.Http({
1807
+ method: "GET",
1808
+ uri: "/dbaas/logs/{serviceName}/token",
1809
+ code: 200,
1810
+ }))).annotate({
1811
+ identifier: "ListDbaasLogTokenRequest",
1812
+ });
1813
+ export const ListDbaasLogTokenResponseBodyList = /*@__PURE__*/ S.Array(S.String);
1814
+ export const ListDbaasLogTokenResponse = /*@__PURE__*/ S.suspend(() => ListDbaasLogTokenResponseBodyList.pipe(T.RawResponseRoot())).annotate({
1815
+ identifier: "ListDbaasLogTokenResponse",
1816
+ });
1817
+ export const ListDbaasLogUrlRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1818
+ serviceName: S.String.pipe(T.Label()),
1819
+ }).pipe(T.Http({ method: "GET", uri: "/dbaas/logs/{serviceName}/url", code: 200 }))).annotate({
1820
+ identifier: "ListDbaasLogUrlRequest",
1821
+ });
1822
+ export const ListDbaasLogUrlResponseBodyList = /*@__PURE__*/ S.Array(DbaasLogsUrl);
1823
+ export const ListDbaasLogUrlResponse = /*@__PURE__*/ S.suspend(() => ListDbaasLogUrlResponseBodyList.pipe(T.RawResponseRoot())).annotate({
1824
+ identifier: "ListDbaasLogUrlResponse",
1825
+ });
1826
+ export const PutDbaasLogRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1827
+ serviceName: S.String.pipe(T.Label()),
1828
+ displayName: S.optional(S.NullOr(S.String)),
1829
+ enableIam: S.optional(S.NullOr(S.Boolean)),
1830
+ }).pipe(T.Http({ method: "PUT", uri: "/dbaas/logs/{serviceName}", code: 200 }))).annotate({
1831
+ identifier: "PutDbaasLogRequest",
1832
+ });
1833
+ export const PutDbaasLogClusterRequestArchiveAllowedNetworksList =
1834
+ /*@__PURE__*/ S.Array(S.String);
1835
+ export const PutDbaasLogClusterRequestDirectInputAllowedNetworksList =
1836
+ /*@__PURE__*/ S.Array(S.String);
1837
+ export const PutDbaasLogClusterRequestQueryAllowedNetworksList =
1838
+ /*@__PURE__*/ S.Array(S.String);
1839
+ export const PutDbaasLogClusterRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1840
+ serviceName: S.String.pipe(T.Label()),
1841
+ clusterId: S.String.pipe(T.Label()),
1842
+ archiveAllowedNetworks: S.optional(S.NullOr(PutDbaasLogClusterRequestArchiveAllowedNetworksList)),
1843
+ directInputAllowedNetworks: S.optional(S.NullOr(PutDbaasLogClusterRequestDirectInputAllowedNetworksList)),
1844
+ queryAllowedNetworks: S.optional(S.NullOr(PutDbaasLogClusterRequestQueryAllowedNetworksList)),
1845
+ }).pipe(T.Http({
1846
+ method: "PUT",
1847
+ uri: "/dbaas/logs/{serviceName}/cluster/{clusterId}",
1848
+ code: 200,
1849
+ }))).annotate({
1850
+ identifier: "PutDbaasLogClusterRequest",
1851
+ });
1852
+ export const PutDbaasLogInputRequestAllowedNetworksList = /*@__PURE__*/ S.Array(S.String);
1853
+ export const PutDbaasLogInputRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1854
+ serviceName: S.String.pipe(T.Label()),
1855
+ inputId: S.String.pipe(T.Label()),
1856
+ allowedNetworks: S.optional(S.NullOr(PutDbaasLogInputRequestAllowedNetworksList)),
1857
+ autoscale: S.optional(S.NullOr(S.Boolean)),
1858
+ description: S.String,
1859
+ engineId: S.String,
1860
+ exposedPort: S.optional(S.NullOr(S.String)),
1861
+ maxScaleInstance: S.optional(S.NullOr(S.Number)),
1862
+ minScaleInstance: S.optional(S.NullOr(S.Number)),
1863
+ nbInstance: S.optional(S.NullOr(S.Number)),
1864
+ scalingNotifyEnabled: S.optional(S.NullOr(S.Boolean)),
1865
+ streamId: S.String,
1866
+ title: S.String,
1867
+ }).pipe(T.Http({
1868
+ method: "PUT",
1869
+ uri: "/dbaas/logs/{serviceName}/input/{inputId}",
1870
+ code: 200,
1871
+ }))).annotate({
1872
+ identifier: "PutDbaasLogInputRequest",
1873
+ });
1874
+ export const PutDbaasLogInputConfigurationFlowggerRequest =
1875
+ /*@__PURE__*/ S.suspend(() => S.Struct({
1876
+ serviceName: S.String.pipe(T.Label()),
1877
+ inputId: S.String.pipe(T.Label()),
1878
+ logFormat: DbaasLogsFlowggerConfigurationLogFormatEnum,
1879
+ logFraming: DbaasLogsFlowggerConfigurationLogFramingEnum,
1880
+ }).pipe(T.Http({
1881
+ method: "PUT",
1882
+ uri: "/dbaas/logs/{serviceName}/input/{inputId}/configuration/flowgger",
1883
+ code: 200,
1884
+ }))).annotate({
1885
+ identifier: "PutDbaasLogInputConfigurationFlowggerRequest",
1886
+ });
1887
+ export const PutDbaasLogInputConfigurationLogstashRequest =
1888
+ /*@__PURE__*/ S.suspend(() => S.Struct({
1889
+ serviceName: S.String.pipe(T.Label()),
1890
+ inputId: S.String.pipe(T.Label()),
1891
+ filterSection: S.optional(S.NullOr(S.String)),
1892
+ inputSection: S.String,
1893
+ patternSection: S.optional(S.NullOr(S.String)),
1894
+ }).pipe(T.Http({
1895
+ method: "PUT",
1896
+ uri: "/dbaas/logs/{serviceName}/input/{inputId}/configuration/logstash",
1897
+ code: 200,
1898
+ }))).annotate({
1899
+ identifier: "PutDbaasLogInputConfigurationLogstashRequest",
1900
+ });
1901
+ export const PutDbaasLogOutputGraylogDashboardRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1902
+ serviceName: S.String.pipe(T.Label()),
1903
+ dashboardId: S.String.pipe(T.Label()),
1904
+ description: S.String,
1905
+ title: S.String,
1906
+ }).pipe(T.Http({
1907
+ method: "PUT",
1908
+ uri: "/dbaas/logs/{serviceName}/output/graylog/dashboard/{dashboardId}",
1909
+ code: 200,
1910
+ }))).annotate({
1911
+ identifier: "PutDbaasLogOutputGraylogDashboardRequest",
1912
+ });
1913
+ export const PutDbaasLogOutputGraylogStreamRequestEncryptionKeysIdsList =
1914
+ /*@__PURE__*/ S.Array(S.String);
1915
+ export const PutDbaasLogOutputGraylogStreamRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1916
+ serviceName: S.String.pipe(T.Label()),
1917
+ streamId: S.String.pipe(T.Label()),
1918
+ coldStorageCompression: S.optional(S.NullOr(DbaasLogsStreamColdStorageCompressionEnum)),
1919
+ coldStorageContent: S.optional(S.NullOr(DbaasLogsStreamColdStorageContentEnum)),
1920
+ coldStorageEnabled: S.optional(S.NullOr(S.Boolean)),
1921
+ coldStorageNotifyEnabled: S.optional(S.NullOr(S.Boolean)),
1922
+ coldStorageRetention: S.optional(S.NullOr(S.Number)),
1923
+ description: S.String,
1924
+ encryptionKeysIds: S.optional(S.NullOr(PutDbaasLogOutputGraylogStreamRequestEncryptionKeysIdsList)),
1925
+ indexingEnabled: S.optional(S.NullOr(S.Boolean)),
1926
+ indexingMaxSize: S.optional(S.NullOr(S.Number)),
1927
+ indexingNotifyEnabled: S.optional(S.NullOr(S.Boolean)),
1928
+ pauseIndexingOnMaxSize: S.optional(S.NullOr(S.Boolean)),
1929
+ title: S.String,
1930
+ webSocketEnabled: S.optional(S.NullOr(S.Boolean)),
1931
+ }).pipe(T.Http({
1932
+ method: "PUT",
1933
+ uri: "/dbaas/logs/{serviceName}/output/graylog/stream/{streamId}",
1934
+ code: 200,
1935
+ }))).annotate({
1936
+ identifier: "PutDbaasLogOutputGraylogStreamRequest",
1937
+ });
1938
+ export const PutDbaasLogOutputGraylogStreamAlertRequest =
1939
+ /*@__PURE__*/ S.suspend(() => S.Struct({
1940
+ serviceName: S.String.pipe(T.Label()),
1941
+ streamId: S.String.pipe(T.Label()),
1942
+ alertId: S.String.pipe(T.Label()),
1943
+ backlog: S.Number,
1944
+ conditionType: S.optional(S.NullOr(DbaasLogsStreamAlertConditionConditionTypeEnum)),
1945
+ constraintType: S.optional(S.NullOr(DbaasLogsStreamAlertConditionConstraintTypeEnum)),
1946
+ field: S.optional(S.NullOr(S.String)),
1947
+ grace: S.Number,
1948
+ queryFilter: S.optional(S.NullOr(S.String)),
1949
+ repeatNotificationsEnabled: S.optional(S.NullOr(S.Boolean)),
1950
+ threshold: S.optional(S.NullOr(S.Number)),
1951
+ thresholdType: S.optional(S.NullOr(DbaasLogsStreamAlertConditionThresholdTypeEnum)),
1952
+ time: S.optional(S.NullOr(S.Number)),
1953
+ title: S.String,
1954
+ value: S.optional(S.NullOr(S.String)),
1955
+ }).pipe(T.Http({
1956
+ method: "PUT",
1957
+ uri: "/dbaas/logs/{serviceName}/output/graylog/stream/{streamId}/alert/{alertId}",
1958
+ code: 200,
1959
+ }))).annotate({
1960
+ identifier: "PutDbaasLogOutputGraylogStreamAlertRequest",
1961
+ });
1962
+ export const PutDbaasLogOutputMetricTenantRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1963
+ serviceName: S.String.pipe(T.Label()),
1964
+ tenantId: S.String.pipe(T.Label()),
1965
+ description: S.String,
1966
+ maxSeries: S.optional(S.Number),
1967
+ retentionId: S.String,
1968
+ title: S.String,
1969
+ }).pipe(T.Http({
1970
+ method: "PUT",
1971
+ uri: "/dbaas/logs/{serviceName}/output/metric/tenant/{tenantId}",
1972
+ code: 200,
1973
+ }))).annotate({
1974
+ identifier: "PutDbaasLogOutputMetricTenantRequest",
1975
+ });
1976
+ export const PutDbaasLogOutputOpensearchAliasRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1977
+ serviceName: S.String.pipe(T.Label()),
1978
+ aliasId: S.String.pipe(T.Label()),
1979
+ description: S.String,
1980
+ }).pipe(T.Http({
1981
+ method: "PUT",
1982
+ uri: "/dbaas/logs/{serviceName}/output/opensearch/alias/{aliasId}",
1983
+ code: 200,
1984
+ }))).annotate({
1985
+ identifier: "PutDbaasLogOutputOpensearchAliasRequest",
1986
+ });
1987
+ export const PutDbaasLogOutputOpensearchIndexRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
1988
+ serviceName: S.String.pipe(T.Label()),
1989
+ indexId: S.String.pipe(T.Label()),
1990
+ alertNotifyEnabled: S.optional(S.NullOr(S.Boolean)),
1991
+ description: S.String,
1992
+ }).pipe(T.Http({
1993
+ method: "PUT",
1994
+ uri: "/dbaas/logs/{serviceName}/output/opensearch/index/{indexId}",
1995
+ code: 200,
1996
+ }))).annotate({
1997
+ identifier: "PutDbaasLogOutputOpensearchIndexRequest",
1998
+ });
1999
+ export const PutDbaasLogOutputOpensearchOsdRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2000
+ serviceName: S.String.pipe(T.Label()),
2001
+ osdId: S.String.pipe(T.Label()),
2002
+ description: S.String,
2003
+ }).pipe(T.Http({
2004
+ method: "PUT",
2005
+ uri: "/dbaas/logs/{serviceName}/output/opensearch/osd/{osdId}",
2006
+ code: 200,
2007
+ }))).annotate({
2008
+ identifier: "PutDbaasLogOutputOpensearchOsdRequest",
2009
+ });
2010
+ export const PutDbaasLogRoleRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2011
+ serviceName: S.String.pipe(T.Label()),
2012
+ roleId: S.String.pipe(T.Label()),
2013
+ description: S.String,
2014
+ name: S.String,
2015
+ }).pipe(T.Http({
2016
+ method: "PUT",
2017
+ uri: "/dbaas/logs/{serviceName}/role/{roleId}",
2018
+ code: 200,
2019
+ }))).annotate({
2020
+ identifier: "PutDbaasLogRoleRequest",
2021
+ });
2022
+ export const PutDbaasLogRoleMemberRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2023
+ serviceName: S.String.pipe(T.Label()),
2024
+ roleId: S.String.pipe(T.Label()),
2025
+ username: S.String.pipe(T.Label()),
2026
+ note: S.optional(S.NullOr(S.String)),
2027
+ }).pipe(T.Http({
2028
+ method: "PUT",
2029
+ uri: "/dbaas/logs/{serviceName}/role/{roleId}/member/{username}",
2030
+ code: 200,
2031
+ }))).annotate({
2032
+ identifier: "PutDbaasLogRoleMemberRequest",
2033
+ });
2034
+ export const PutDbaasLogServiceInfosRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2035
+ serviceName: S.String.pipe(T.Label()),
2036
+ renew: S.optional(S.NullOr(ServiceRenewType)),
2037
+ }).pipe(T.Http({
2038
+ method: "PUT",
2039
+ uri: "/dbaas/logs/{serviceName}/serviceInfos",
2040
+ code: 200,
2041
+ }))).annotate({
2042
+ identifier: "PutDbaasLogServiceInfosRequest",
2043
+ });
2044
+ export const PutDbaasLogServiceInfosResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
2045
+ identifier: "PutDbaasLogServiceInfosResponse",
2046
+ });
2047
+ export const RestartDbaasLogsInputRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2048
+ serviceName: S.String.pipe(T.Label()),
2049
+ inputId: S.String.pipe(T.Label()),
2050
+ }).pipe(T.Http({
2051
+ method: "POST",
2052
+ uri: "/dbaas/logs/{serviceName}/input/{inputId}/restart",
2053
+ code: 200,
2054
+ }))).annotate({
2055
+ identifier: "RestartDbaasLogsInputRequest",
2056
+ });
2057
+ export const StartDbaasLogsInputRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
2058
+ serviceName: S.String.pipe(T.Label()),
2059
+ inputId: S.String.pipe(T.Label()),
2060
+ }).pipe(T.Http({
2061
+ method: "POST",
2062
+ uri: "/dbaas/logs/{serviceName}/input/{inputId}/start",
2063
+ code: 200,
2064
+ }))).annotate({
2065
+ identifier: "StartDbaasLogsInputRequest",
2066
+ });
2067
+ /** Launch a contact change procedure */
2068
+ export const createDbaasLogChangeContact = /*@__PURE__*/ API.make(() => ({
2069
+ input: CreateDbaasLogChangeContactRequest,
2070
+ output: CreateDbaasLogChangeContactResponse,
2071
+ errors: [UnknownOvhError],
2072
+ protocol: OvhProtocol,
2073
+ retry: Retry.Retry,
2074
+ }));
2075
+ /** Add a new encryption key */
2076
+ export const createDbaasLogEncryptionKey = /*@__PURE__*/ API.make(() => ({
2077
+ input: CreateDbaasLogEncryptionKeyRequest,
2078
+ output: DbaasLogsOperation,
2079
+ errors: [Forbidden, NotFound, Conflict, UnknownOvhError],
2080
+ protocol: OvhProtocol,
2081
+ retry: Retry.Retry,
2082
+ }));
2083
+ /** Register a new input object */
2084
+ export const createDbaasLogInput = /*@__PURE__*/ API.make(() => ({
2085
+ input: CreateDbaasLogInputRequest,
2086
+ output: DbaasLogsOperation,
2087
+ errors: [Forbidden, NotFound, Conflict, UnknownOvhError],
2088
+ protocol: OvhProtocol,
2089
+ retry: Retry.Retry,
2090
+ }));
2091
+ /** Validate configuration of specified input */
2092
+ export const createDbaasLogInputConfigtest = /*@__PURE__*/ API.make(() => ({
2093
+ input: CreateDbaasLogInputConfigtestRequest,
2094
+ output: DbaasLogsOperation,
2095
+ errors: [Forbidden, NotFound, UnknownOvhError],
2096
+ protocol: OvhProtocol,
2097
+ retry: Retry.Retry,
2098
+ }));
2099
+ /** Schedule the end of specified input */
2100
+ export const createDbaasLogInputEnd = /*@__PURE__*/ API.make(() => ({
2101
+ input: CreateDbaasLogInputEndRequest,
2102
+ output: DbaasLogsOperation,
2103
+ errors: [Forbidden, NotFound, UnknownOvhError],
2104
+ protocol: OvhProtocol,
2105
+ retry: Retry.Retry,
2106
+ }));
2107
+ /** Generate a temporary url to retrieve input logs */
2108
+ export const createDbaasLogInputLogUrl = /*@__PURE__*/ API.make(() => ({
2109
+ input: CreateDbaasLogInputLogUrlRequest,
2110
+ output: DbaasLogsTemporaryLogsLink,
2111
+ errors: [Forbidden, NotFound, UnknownOvhError],
2112
+ protocol: OvhProtocol,
2113
+ retry: Retry.Retry,
2114
+ }));
2115
+ /** Register a new graylog dashboard */
2116
+ export const createDbaasLogOutputGraylogDashboard = /*@__PURE__*/ API.make(() => ({
2117
+ input: CreateDbaasLogOutputGraylogDashboardRequest,
2118
+ output: DbaasLogsOperation,
2119
+ errors: [Forbidden, NotFound, UnknownOvhError],
2120
+ protocol: OvhProtocol,
2121
+ retry: Retry.Retry,
2122
+ }));
2123
+ /** Register a new graylog stream */
2124
+ export const createDbaasLogOutputGraylogStream = /*@__PURE__*/ API.make(() => ({
2125
+ input: CreateDbaasLogOutputGraylogStreamRequest,
2126
+ output: DbaasLogsOperation,
2127
+ errors: [Forbidden, NotFound, Conflict, UnknownOvhError],
2128
+ protocol: OvhProtocol,
2129
+ retry: Retry.Retry,
2130
+ }));
2131
+ /** Register a new alert on specified graylog stream */
2132
+ export const createDbaasLogOutputGraylogStreamAlert = /*@__PURE__*/ API.make(() => ({
2133
+ input: CreateDbaasLogOutputGraylogStreamAlertRequest,
2134
+ output: DbaasLogsOperation,
2135
+ errors: [Forbidden, NotFound, Conflict, UnknownOvhError],
2136
+ protocol: OvhProtocol,
2137
+ retry: Retry.Retry,
2138
+ }));
2139
+ /** Get a public temporary URL to access the archive */
2140
+ export const createDbaasLogOutputGraylogStreamArchiveUrl = /*@__PURE__*/ API.make(() => ({
2141
+ input: CreateDbaasLogOutputGraylogStreamArchiveUrlRequest,
2142
+ output: DbaasLogsArchiveUrl,
2143
+ errors: [NotFound, UnknownOvhError],
2144
+ protocol: OvhProtocol,
2145
+ retry: Retry.Retry,
2146
+ }));
2147
+ /** Register a new rule on specified graylog stream */
2148
+ export const createDbaasLogOutputGraylogStreamRule = /*@__PURE__*/ API.make(() => ({
2149
+ input: CreateDbaasLogOutputGraylogStreamRuleRequest,
2150
+ output: DbaasLogsOperation,
2151
+ errors: [Forbidden, NotFound, Conflict, UnknownOvhError],
2152
+ protocol: OvhProtocol,
2153
+ retry: Retry.Retry,
2154
+ }));
2155
+ /** Create a metric tenant */
2156
+ export const createDbaasLogOutputMetricTenant = /*@__PURE__*/ API.make(() => ({
2157
+ input: CreateDbaasLogOutputMetricTenantRequest,
2158
+ output: DbaasLogsOperation,
2159
+ errors: [Forbidden, Conflict, UnknownOvhError],
2160
+ protocol: OvhProtocol,
2161
+ retry: Retry.Retry,
2162
+ }));
2163
+ /** Register a new OpenSearch alias */
2164
+ export const createDbaasLogOutputOpensearchAlias = /*@__PURE__*/ API.make(() => ({
2165
+ input: CreateDbaasLogOutputOpensearchAliasRequest,
2166
+ output: DbaasLogsOperation,
2167
+ errors: [Forbidden, NotFound, Conflict, UnknownOvhError],
2168
+ protocol: OvhProtocol,
2169
+ retry: Retry.Retry,
2170
+ }));
2171
+ /** Attach a OpenSearch index to specified OpenSearch alias */
2172
+ export const createDbaasLogOutputOpensearchAliasIndex = /*@__PURE__*/ API.make(() => ({
2173
+ input: CreateDbaasLogOutputOpensearchAliasIndexRequest,
2174
+ output: DbaasLogsOperation,
2175
+ errors: [Forbidden, NotFound, Conflict, UnknownOvhError],
2176
+ protocol: OvhProtocol,
2177
+ retry: Retry.Retry,
2178
+ }));
2179
+ /** Attach a Graylog stream to specified OpenSearch alias */
2180
+ export const createDbaasLogOutputOpensearchAliasStream = /*@__PURE__*/ API.make(() => ({
2181
+ input: CreateDbaasLogOutputOpensearchAliasStreamRequest,
2182
+ output: DbaasLogsOperation,
2183
+ errors: [Forbidden, NotFound, UnknownOvhError],
2184
+ protocol: OvhProtocol,
2185
+ retry: Retry.Retry,
2186
+ }));
2187
+ /** Register a new OpenSearch index */
2188
+ export const createDbaasLogOutputOpensearchIndex = /*@__PURE__*/ API.make(() => ({
2189
+ input: CreateDbaasLogOutputOpensearchIndexRequest,
2190
+ output: DbaasLogsOperation,
2191
+ errors: [Forbidden, NotFound, Conflict, UnknownOvhError],
2192
+ protocol: OvhProtocol,
2193
+ retry: Retry.Retry,
2194
+ }));
2195
+ /** Register a new OpenSearch Dashboards instance */
2196
+ export const createDbaasLogOutputOpensearchOsd = /*@__PURE__*/ API.make(() => ({
2197
+ input: CreateDbaasLogOutputOpensearchOsdRequest,
2198
+ output: DbaasLogsOperation,
2199
+ errors: [Forbidden, NotFound, UnknownOvhError],
2200
+ protocol: OvhProtocol,
2201
+ retry: Retry.Retry,
2202
+ }));
2203
+ /** Register a new role */
2204
+ export const createDbaasLogRole = /*@__PURE__*/ API.make(() => ({
2205
+ input: CreateDbaasLogRoleRequest,
2206
+ output: DbaasLogsOperation,
2207
+ errors: [Forbidden, NotFound, Conflict, UnknownOvhError],
2208
+ protocol: OvhProtocol,
2209
+ retry: Retry.Retry,
2210
+ }));
2211
+ /** Append user into the member list of specified role */
2212
+ export const createDbaasLogRoleMember = /*@__PURE__*/ API.make(() => ({
2213
+ input: CreateDbaasLogRoleMemberRequest,
2214
+ output: DbaasLogsOperation,
2215
+ errors: [Forbidden, NotFound, UnknownOvhError],
2216
+ protocol: OvhProtocol,
2217
+ retry: Retry.Retry,
2218
+ }));
2219
+ /** Append a elasticsearch alias permission to role */
2220
+ export const createDbaasLogRolePermissionAlias = /*@__PURE__*/ API.make(() => ({
2221
+ input: CreateDbaasLogRolePermissionAliasRequest,
2222
+ output: DbaasLogsOperation,
2223
+ errors: [Forbidden, NotFound, Conflict, UnknownOvhError],
2224
+ protocol: OvhProtocol,
2225
+ retry: Retry.Retry,
2226
+ }));
2227
+ /** Append a graylog dashboard permission to role */
2228
+ export const createDbaasLogRolePermissionDashboard = /*@__PURE__*/ API.make(() => ({
2229
+ input: CreateDbaasLogRolePermissionDashboardRequest,
2230
+ output: DbaasLogsOperation,
2231
+ errors: [Forbidden, NotFound, Conflict, UnknownOvhError],
2232
+ protocol: OvhProtocol,
2233
+ retry: Retry.Retry,
2234
+ }));
2235
+ /** Append a elasticsearch index permission to role */
2236
+ export const createDbaasLogRolePermissionIndex = /*@__PURE__*/ API.make(() => ({
2237
+ input: CreateDbaasLogRolePermissionIndexRequest,
2238
+ output: DbaasLogsOperation,
2239
+ errors: [Forbidden, NotFound, Conflict, UnknownOvhError],
2240
+ protocol: OvhProtocol,
2241
+ retry: Retry.Retry,
2242
+ }));
2243
+ /** Append a OpenSearch Dashboards permission to role */
2244
+ export const createDbaasLogRolePermissionOsd = /*@__PURE__*/ API.make(() => ({
2245
+ input: CreateDbaasLogRolePermissionOsdRequest,
2246
+ output: DbaasLogsOperation,
2247
+ errors: [Forbidden, NotFound, Conflict, UnknownOvhError],
2248
+ protocol: OvhProtocol,
2249
+ retry: Retry.Retry,
2250
+ }));
2251
+ /** Append a graylog stream permission to role */
2252
+ export const createDbaasLogRolePermissionStream = /*@__PURE__*/ API.make(() => ({
2253
+ input: CreateDbaasLogRolePermissionStreamRequest,
2254
+ output: DbaasLogsOperation,
2255
+ errors: [Forbidden, NotFound, Conflict, UnknownOvhError],
2256
+ protocol: OvhProtocol,
2257
+ retry: Retry.Retry,
2258
+ }));
2259
+ /** Add a new token */
2260
+ export const createDbaasLogToken = /*@__PURE__*/ API.make(() => ({
2261
+ input: CreateDbaasLogTokenRequest,
2262
+ output: DbaasLogsOperation,
2263
+ errors: [Forbidden, NotFound, Conflict, UnknownOvhError],
2264
+ protocol: OvhProtocol,
2265
+ retry: Retry.Retry,
2266
+ }));
2267
+ /** Initiate a password change procedure. */
2268
+ export const createDbaasLogUserChangePassword = /*@__PURE__*/ API.make(() => ({
2269
+ input: CreateDbaasLogUserChangePasswordRequest,
2270
+ output: DbaasLogsOperation,
2271
+ errors: [Forbidden, NotFound, UnknownOvhError],
2272
+ protocol: OvhProtocol,
2273
+ retry: Retry.Retry,
2274
+ }));
2275
+ /** Delete the specified encryption key */
2276
+ export const deleteDbaasLogEncryptionKey = /*@__PURE__*/ API.make(() => ({
2277
+ input: DeleteDbaasLogEncryptionKeyRequest,
2278
+ output: DbaasLogsOperation,
2279
+ errors: [Forbidden, NotFound, UnknownOvhError],
2280
+ protocol: OvhProtocol,
2281
+ retry: Retry.Retry,
2282
+ }));
2283
+ /** Remove the specified input object */
2284
+ export const deleteDbaasLogInput = /*@__PURE__*/ API.make(() => ({
2285
+ input: DeleteDbaasLogInputRequest,
2286
+ output: DbaasLogsOperation,
2287
+ errors: [Forbidden, NotFound, UnknownOvhError],
2288
+ protocol: OvhProtocol,
2289
+ retry: Retry.Retry,
2290
+ }));
2291
+ /** Remove specified graylog dashboard */
2292
+ export const deleteDbaasLogOutputGraylogDashboard = /*@__PURE__*/ API.make(() => ({
2293
+ input: DeleteDbaasLogOutputGraylogDashboardRequest,
2294
+ output: DbaasLogsOperation,
2295
+ errors: [Forbidden, NotFound, UnknownOvhError],
2296
+ protocol: OvhProtocol,
2297
+ retry: Retry.Retry,
2298
+ }));
2299
+ /** Remove specified graylog stream */
2300
+ export const deleteDbaasLogOutputGraylogStream = /*@__PURE__*/ API.make(() => ({
2301
+ input: DeleteDbaasLogOutputGraylogStreamRequest,
2302
+ output: DbaasLogsOperation,
2303
+ errors: [Forbidden, NotFound, UnknownOvhError],
2304
+ protocol: OvhProtocol,
2305
+ retry: Retry.Retry,
2306
+ }));
2307
+ /** Remove alert from specified graylog stream */
2308
+ export const deleteDbaasLogOutputGraylogStreamAlert = /*@__PURE__*/ API.make(() => ({
2309
+ input: DeleteDbaasLogOutputGraylogStreamAlertRequest,
2310
+ output: DbaasLogsOperation,
2311
+ errors: [Forbidden, NotFound, UnknownOvhError],
2312
+ protocol: OvhProtocol,
2313
+ retry: Retry.Retry,
2314
+ }));
2315
+ /** Remove specified graylog stream rule */
2316
+ export const deleteDbaasLogOutputGraylogStreamRule = /*@__PURE__*/ API.make(() => ({
2317
+ input: DeleteDbaasLogOutputGraylogStreamRuleRequest,
2318
+ output: DbaasLogsOperation,
2319
+ errors: [Forbidden, NotFound, UnknownOvhError],
2320
+ protocol: OvhProtocol,
2321
+ retry: Retry.Retry,
2322
+ }));
2323
+ /** Delete a specified subscription targeting a specified graylog stream */
2324
+ export const deleteDbaasLogOutputGraylogStreamSubscription = /*@__PURE__*/ API.make(() => ({
2325
+ input: DeleteDbaasLogOutputGraylogStreamSubscriptionRequest,
2326
+ output: DbaasLogsOperation,
2327
+ errors: [NotFound, UnknownOvhError],
2328
+ protocol: OvhProtocol,
2329
+ retry: Retry.Retry,
2330
+ }));
2331
+ /** Delete a metric tenant */
2332
+ export const deleteDbaasLogOutputMetricTenant = /*@__PURE__*/ API.make(() => ({
2333
+ input: DeleteDbaasLogOutputMetricTenantRequest,
2334
+ output: DbaasLogsOperation,
2335
+ errors: [Forbidden, NotFound, UnknownOvhError],
2336
+ protocol: OvhProtocol,
2337
+ retry: Retry.Retry,
2338
+ }));
2339
+ /** Delete a specified subscription targeting a specified metric tenant */
2340
+ export const deleteDbaasLogOutputMetricTenantSubscription = /*@__PURE__*/ API.make(() => ({
2341
+ input: DeleteDbaasLogOutputMetricTenantSubscriptionRequest,
2342
+ output: DbaasLogsOperation,
2343
+ errors: [NotFound, UnknownOvhError],
2344
+ protocol: OvhProtocol,
2345
+ retry: Retry.Retry,
2346
+ }));
2347
+ /** Remove specified OpenSearch alias */
2348
+ export const deleteDbaasLogOutputOpensearchAlias = /*@__PURE__*/ API.make(() => ({
2349
+ input: DeleteDbaasLogOutputOpensearchAliasRequest,
2350
+ output: DbaasLogsOperation,
2351
+ errors: [Forbidden, NotFound, UnknownOvhError],
2352
+ protocol: OvhProtocol,
2353
+ retry: Retry.Retry,
2354
+ }));
2355
+ /** Detach a OpenSearch index from specified OpenSearch alias */
2356
+ export const deleteDbaasLogOutputOpensearchAliasIndex = /*@__PURE__*/ API.make(() => ({
2357
+ input: DeleteDbaasLogOutputOpensearchAliasIndexRequest,
2358
+ output: DbaasLogsOperation,
2359
+ errors: [Forbidden, NotFound, UnknownOvhError],
2360
+ protocol: OvhProtocol,
2361
+ retry: Retry.Retry,
2362
+ }));
2363
+ /** Detach a Graylog stream from specified OpenSearch alias */
2364
+ export const deleteDbaasLogOutputOpensearchAliasStream = /*@__PURE__*/ API.make(() => ({
2365
+ input: DeleteDbaasLogOutputOpensearchAliasStreamRequest,
2366
+ output: DbaasLogsOperation,
2367
+ errors: [Forbidden, NotFound, UnknownOvhError],
2368
+ protocol: OvhProtocol,
2369
+ retry: Retry.Retry,
2370
+ }));
2371
+ /** Remove specified OpenSearch index */
2372
+ export const deleteDbaasLogOutputOpensearchIndex = /*@__PURE__*/ API.make(() => ({
2373
+ input: DeleteDbaasLogOutputOpensearchIndexRequest,
2374
+ output: DbaasLogsOperation,
2375
+ errors: [Forbidden, NotFound, UnknownOvhError],
2376
+ protocol: OvhProtocol,
2377
+ retry: Retry.Retry,
2378
+ }));
2379
+ /** Remove specified OpenSearch Dashboards instance */
2380
+ export const deleteDbaasLogOutputOpensearchOsd = /*@__PURE__*/ API.make(() => ({
2381
+ input: DeleteDbaasLogOutputOpensearchOsdRequest,
2382
+ output: DbaasLogsOperation,
2383
+ errors: [Forbidden, NotFound, UnknownOvhError],
2384
+ protocol: OvhProtocol,
2385
+ retry: Retry.Retry,
2386
+ }));
2387
+ /** Remove specified role */
2388
+ export const deleteDbaasLogRole = /*@__PURE__*/ API.make(() => ({
2389
+ input: DeleteDbaasLogRoleRequest,
2390
+ output: DbaasLogsOperation,
2391
+ errors: [Forbidden, NotFound, UnknownOvhError],
2392
+ protocol: OvhProtocol,
2393
+ retry: Retry.Retry,
2394
+ }));
2395
+ /** Remove user from the member list of specified role */
2396
+ export const deleteDbaasLogRoleMember = /*@__PURE__*/ API.make(() => ({
2397
+ input: DeleteDbaasLogRoleMemberRequest,
2398
+ output: DbaasLogsOperation,
2399
+ errors: [Forbidden, NotFound, UnknownOvhError],
2400
+ protocol: OvhProtocol,
2401
+ retry: Retry.Retry,
2402
+ }));
2403
+ /** Remove specified permission */
2404
+ export const deleteDbaasLogRolePermission = /*@__PURE__*/ API.make(() => ({
2405
+ input: DeleteDbaasLogRolePermissionRequest,
2406
+ output: DbaasLogsOperation,
2407
+ errors: [Forbidden, NotFound, UnknownOvhError],
2408
+ protocol: OvhProtocol,
2409
+ retry: Retry.Retry,
2410
+ }));
2411
+ /** Delete the specified token */
2412
+ export const deleteDbaasLogToken = /*@__PURE__*/ API.make(() => ({
2413
+ input: DeleteDbaasLogTokenRequest,
2414
+ output: DbaasLogsOperation,
2415
+ errors: [Forbidden, NotFound, UnknownOvhError],
2416
+ protocol: OvhProtocol,
2417
+ retry: Retry.Retry,
2418
+ }));
2419
+ /** Copy all widgets from specified dashboard to a new one */
2420
+ export const duplicateDbaasLogsOutputGraylogDashboard = /*@__PURE__*/ API.make(() => ({
2421
+ input: DuplicateDbaasLogsOutputGraylogDashboardRequest,
2422
+ output: DbaasLogsOperation,
2423
+ errors: [Forbidden, NotFound, Conflict, UnknownOvhError],
2424
+ protocol: OvhProtocol,
2425
+ retry: Retry.Retry,
2426
+ }));
2427
+ /** Returns the service object of connected identity. */
2428
+ export const getDbaasLog = /*@__PURE__*/ API.make(() => ({
2429
+ input: GetDbaasLogRequest,
2430
+ output: DbaasLogsServiceWithIAM,
2431
+ errors: [NotFound, UnknownOvhError],
2432
+ protocol: OvhProtocol,
2433
+ retry: Retry.Retry,
2434
+ }));
2435
+ /** Returns details of an allowed cluster */
2436
+ export const getDbaasLogCluster = /*@__PURE__*/ API.make(() => ({
2437
+ input: GetDbaasLogClusterRequest,
2438
+ output: DbaasLogsCluster,
2439
+ errors: [NotFound, UnknownOvhError],
2440
+ protocol: OvhProtocol,
2441
+ retry: Retry.Retry,
2442
+ }));
2443
+ /** Returns details of a retention */
2444
+ export const getDbaasLogClusterRetention = /*@__PURE__*/ API.make(() => ({
2445
+ input: GetDbaasLogClusterRetentionRequest,
2446
+ output: DbaasLogsClusterRetention,
2447
+ errors: [Forbidden, NotFound, UnknownOvhError],
2448
+ protocol: OvhProtocol,
2449
+ retry: Retry.Retry,
2450
+ }));
2451
+ /** Return details of an encryption key */
2452
+ export const getDbaasLogEncryptionKey = /*@__PURE__*/ API.make(() => ({
2453
+ input: GetDbaasLogEncryptionKeyRequest,
2454
+ output: DbaasLogsEncryptionKey,
2455
+ errors: [Forbidden, NotFound, UnknownOvhError],
2456
+ protocol: OvhProtocol,
2457
+ retry: Retry.Retry,
2458
+ }));
2459
+ /** Returns details of specified input */
2460
+ export const getDbaasLogInput = /*@__PURE__*/ API.make(() => ({
2461
+ input: GetDbaasLogInputRequest,
2462
+ output: DbaasLogsInput,
2463
+ errors: [NotFound, UnknownOvhError],
2464
+ protocol: OvhProtocol,
2465
+ retry: Retry.Retry,
2466
+ }));
2467
+ /** Returns the config test operation result */
2468
+ export const getDbaasLogInputConfigtestResult = /*@__PURE__*/ API.make(() => ({
2469
+ input: GetDbaasLogInputConfigtestResultRequest,
2470
+ output: DbaasLogsTestResult,
2471
+ errors: [NotFound, UnknownOvhError],
2472
+ protocol: OvhProtocol,
2473
+ retry: Retry.Retry,
2474
+ }));
2475
+ /** Returns the flowgger configuration */
2476
+ export const getDbaasLogInputConfigurationFlowgger = /*@__PURE__*/ API.make(() => ({
2477
+ input: GetDbaasLogInputConfigurationFlowggerRequest,
2478
+ output: DbaasLogsFlowggerConfiguration,
2479
+ errors: [NotFound, UnknownOvhError],
2480
+ protocol: OvhProtocol,
2481
+ retry: Retry.Retry,
2482
+ }));
2483
+ /** Returns the logstash configuration */
2484
+ export const getDbaasLogInputConfigurationLogstash = /*@__PURE__*/ API.make(() => ({
2485
+ input: GetDbaasLogInputConfigurationLogstashRequest,
2486
+ output: DbaasLogsLogstashConfiguration,
2487
+ errors: [NotFound, UnknownOvhError],
2488
+ protocol: OvhProtocol,
2489
+ retry: Retry.Retry,
2490
+ }));
2491
+ /** Returns details of specified input engine */
2492
+ export const getDbaasLogInputEngine = /*@__PURE__*/ API.make(() => ({
2493
+ input: GetDbaasLogInputEngineRequest,
2494
+ output: DbaasLogsEngine,
2495
+ errors: [NotFound, UnknownOvhError],
2496
+ protocol: OvhProtocol,
2497
+ retry: Retry.Retry,
2498
+ }));
2499
+ /** Returns details of specified input engine helper */
2500
+ export const getDbaasLogInputEngineHelper = /*@__PURE__*/ API.make(() => ({
2501
+ input: GetDbaasLogInputEngineHelperRequest,
2502
+ output: DbaasLogsHelper,
2503
+ errors: [NotFound, UnknownOvhError],
2504
+ protocol: OvhProtocol,
2505
+ retry: Retry.Retry,
2506
+ }));
2507
+ /** Returns Metrics credentials */
2508
+ export const getDbaasLogMetrics = /*@__PURE__*/ API.make(() => ({
2509
+ input: GetDbaasLogMetricsRequest,
2510
+ output: DbaasLogsServiceMetric,
2511
+ errors: [NotFound, UnknownOvhError],
2512
+ protocol: OvhProtocol,
2513
+ retry: Retry.Retry,
2514
+ }));
2515
+ /** Returns details of specified operation */
2516
+ export const getDbaasLogOperation = /*@__PURE__*/ API.make(() => ({
2517
+ input: GetDbaasLogOperationRequest,
2518
+ output: DbaasLogsOperation,
2519
+ errors: [NotFound, UnknownOvhError],
2520
+ protocol: OvhProtocol,
2521
+ retry: Retry.Retry,
2522
+ }));
2523
+ /** Returns details of specified graylog dashboard */
2524
+ export const getDbaasLogOutputGraylogDashboard = /*@__PURE__*/ API.make(() => ({
2525
+ input: GetDbaasLogOutputGraylogDashboardRequest,
2526
+ output: DbaasLogsDashboard,
2527
+ errors: [NotFound, UnknownOvhError],
2528
+ protocol: OvhProtocol,
2529
+ retry: Retry.Retry,
2530
+ }));
2531
+ /** Returns details of specified graylog stream */
2532
+ export const getDbaasLogOutputGraylogStream = /*@__PURE__*/ API.make(() => ({
2533
+ input: GetDbaasLogOutputGraylogStreamRequest,
2534
+ output: DbaasLogsStream,
2535
+ errors: [NotFound, UnknownOvhError],
2536
+ protocol: OvhProtocol,
2537
+ retry: Retry.Retry,
2538
+ }));
2539
+ /** Returns details of specified graylog stream alert */
2540
+ export const getDbaasLogOutputGraylogStreamAlert = /*@__PURE__*/ API.make(() => ({
2541
+ input: GetDbaasLogOutputGraylogStreamAlertRequest,
2542
+ output: DbaasLogsStreamAlertCondition,
2543
+ errors: [NotFound, UnknownOvhError],
2544
+ protocol: OvhProtocol,
2545
+ retry: Retry.Retry,
2546
+ }));
2547
+ /** Returns details of specified archive */
2548
+ export const getDbaasLogOutputGraylogStreamArchive = /*@__PURE__*/ API.make(() => ({
2549
+ input: GetDbaasLogOutputGraylogStreamArchiveRequest,
2550
+ output: DbaasLogsArchive,
2551
+ errors: [NotFound, UnknownOvhError],
2552
+ protocol: OvhProtocol,
2553
+ retry: Retry.Retry,
2554
+ }));
2555
+ /** Returns details of specified graylog stream rule */
2556
+ export const getDbaasLogOutputGraylogStreamRule = /*@__PURE__*/ API.make(() => ({
2557
+ input: GetDbaasLogOutputGraylogStreamRuleRequest,
2558
+ output: DbaasLogsStreamRule,
2559
+ errors: [NotFound, UnknownOvhError],
2560
+ protocol: OvhProtocol,
2561
+ retry: Retry.Retry,
2562
+ }));
2563
+ /** Returns details of specified graylog stream subscription */
2564
+ export const getDbaasLogOutputGraylogStreamSubscription = /*@__PURE__*/ API.make(() => ({
2565
+ input: GetDbaasLogOutputGraylogStreamSubscriptionRequest,
2566
+ output: DbaasLogsLogSubscription,
2567
+ errors: [NotFound, UnknownOvhError],
2568
+ protocol: OvhProtocol,
2569
+ retry: Retry.Retry,
2570
+ }));
2571
+ /** Get the details about a metric tenant */
2572
+ export const getDbaasLogOutputMetricTenant = /*@__PURE__*/ API.make(() => ({
2573
+ input: GetDbaasLogOutputMetricTenantRequest,
2574
+ output: DbaasLogsMetricTenant,
2575
+ errors: [Forbidden, NotFound, UnknownOvhError],
2576
+ protocol: OvhProtocol,
2577
+ retry: Retry.Retry,
2578
+ }));
2579
+ /** Returns details of specified metric tenant subscription */
2580
+ export const getDbaasLogOutputMetricTenantSubscription = /*@__PURE__*/ API.make(() => ({
2581
+ input: GetDbaasLogOutputMetricTenantSubscriptionRequest,
2582
+ output: DbaasLogsMetricSubscription,
2583
+ errors: [NotFound, UnknownOvhError],
2584
+ protocol: OvhProtocol,
2585
+ retry: Retry.Retry,
2586
+ }));
2587
+ /** Returns specified OpenSearch alias */
2588
+ export const getDbaasLogOutputOpensearchAlias = /*@__PURE__*/ API.make(() => ({
2589
+ input: GetDbaasLogOutputOpensearchAliasRequest,
2590
+ output: DbaasLogsAlias,
2591
+ errors: [NotFound, UnknownOvhError],
2592
+ protocol: OvhProtocol,
2593
+ retry: Retry.Retry,
2594
+ }));
2595
+ /** Returns specified OpenSearch index */
2596
+ export const getDbaasLogOutputOpensearchIndex = /*@__PURE__*/ API.make(() => ({
2597
+ input: GetDbaasLogOutputOpensearchIndexRequest,
2598
+ output: DbaasLogsIndex,
2599
+ errors: [NotFound, UnknownOvhError],
2600
+ protocol: OvhProtocol,
2601
+ retry: Retry.Retry,
2602
+ }));
2603
+ /** Returns specified OpenSearch Dashboards instance */
2604
+ export const getDbaasLogOutputOpensearchOsd = /*@__PURE__*/ API.make(() => ({
2605
+ input: GetDbaasLogOutputOpensearchOsdRequest,
2606
+ output: DbaasLogsOsd,
2607
+ errors: [NotFound, UnknownOvhError],
2608
+ protocol: OvhProtocol,
2609
+ retry: Retry.Retry,
2610
+ }));
2611
+ /** Returns details of specified role */
2612
+ export const getDbaasLogRole = /*@__PURE__*/ API.make(() => ({
2613
+ input: GetDbaasLogRoleRequest,
2614
+ output: DbaasLogsRole,
2615
+ errors: [Forbidden, NotFound, UnknownOvhError],
2616
+ protocol: OvhProtocol,
2617
+ retry: Retry.Retry,
2618
+ }));
2619
+ /** Returns the member metadata */
2620
+ export const getDbaasLogRoleMember = /*@__PURE__*/ API.make(() => ({
2621
+ input: GetDbaasLogRoleMemberRequest,
2622
+ output: DbaasLogsMember,
2623
+ errors: [Forbidden, NotFound, UnknownOvhError],
2624
+ protocol: OvhProtocol,
2625
+ retry: Retry.Retry,
2626
+ }));
2627
+ /** Returns details of specified permission */
2628
+ export const getDbaasLogRolePermission = /*@__PURE__*/ API.make(() => ({
2629
+ input: GetDbaasLogRolePermissionRequest,
2630
+ output: DbaasLogsPermission,
2631
+ errors: [NotFound, UnknownOvhError],
2632
+ protocol: OvhProtocol,
2633
+ retry: Retry.Retry,
2634
+ }));
2635
+ /** Get service information */
2636
+ export const getDbaasLogServiceInfos = /*@__PURE__*/ API.make(() => ({
2637
+ input: GetDbaasLogServiceInfosRequest,
2638
+ output: ServicesService,
2639
+ errors: [UnknownOvhError],
2640
+ protocol: OvhProtocol,
2641
+ retry: Retry.Retry,
2642
+ }));
2643
+ /** Returns the specified token */
2644
+ export const getDbaasLogToken = /*@__PURE__*/ API.make(() => ({
2645
+ input: GetDbaasLogTokenRequest,
2646
+ output: DbaasLogsToken,
2647
+ errors: [Forbidden, NotFound, UnknownOvhError],
2648
+ protocol: OvhProtocol,
2649
+ retry: Retry.Retry,
2650
+ }));
2651
+ /** Returns the list of allowed cluster */
2652
+ export const listDbaasLogCluster = /*@__PURE__*/ API.make(() => ({
2653
+ input: ListDbaasLogClusterRequest,
2654
+ output: ListDbaasLogClusterResponse,
2655
+ errors: [NotFound, UnknownOvhError],
2656
+ protocol: OvhProtocol,
2657
+ retry: Retry.Retry,
2658
+ }));
2659
+ /** List all the retention ID available for a given cluster */
2660
+ export const listDbaasLogClusterRetention = /*@__PURE__*/ API.make(() => ({
2661
+ input: ListDbaasLogClusterRetentionRequest,
2662
+ output: ListDbaasLogClusterRetentionResponse,
2663
+ errors: [Forbidden, NotFound, UnknownOvhError],
2664
+ protocol: OvhProtocol,
2665
+ retry: Retry.Retry,
2666
+ }));
2667
+ /** Return the list of registred encryption keys */
2668
+ export const listDbaasLogEncryptionKey = /*@__PURE__*/ API.make(() => ({
2669
+ input: ListDbaasLogEncryptionKeyRequest,
2670
+ output: ListDbaasLogEncryptionKeyResponse,
2671
+ errors: [NotFound, UnknownOvhError],
2672
+ protocol: OvhProtocol,
2673
+ retry: Retry.Retry,
2674
+ }));
2675
+ /** Returns the list of registered input attached to the logged user */
2676
+ export const listDbaasLogInput = /*@__PURE__*/ API.make(() => ({
2677
+ input: ListDbaasLogInputRequest,
2678
+ output: ListDbaasLogInputResponse,
2679
+ errors: [NotFound, UnknownOvhError],
2680
+ protocol: OvhProtocol,
2681
+ retry: Retry.Retry,
2682
+ }));
2683
+ /** Returns actions of specified input */
2684
+ export const listDbaasLogInputAction = /*@__PURE__*/ API.make(() => ({
2685
+ input: ListDbaasLogInputActionRequest,
2686
+ output: ListDbaasLogInputActionResponse,
2687
+ errors: [NotFound, UnknownOvhError],
2688
+ protocol: OvhProtocol,
2689
+ retry: Retry.Retry,
2690
+ }));
2691
+ /** Returns the list of available input engines */
2692
+ export const listDbaasLogInputEngine = /*@__PURE__*/ API.make(() => ({
2693
+ input: ListDbaasLogInputEngineRequest,
2694
+ output: ListDbaasLogInputEngineResponse,
2695
+ errors: [UnknownOvhError],
2696
+ protocol: OvhProtocol,
2697
+ retry: Retry.Retry,
2698
+ }));
2699
+ /** Return the list of available helpers for the given input engine */
2700
+ export const listDbaasLogInputEngineHelper = /*@__PURE__*/ API.make(() => ({
2701
+ input: ListDbaasLogInputEngineHelperRequest,
2702
+ output: ListDbaasLogInputEngineHelperResponse,
2703
+ errors: [UnknownOvhError],
2704
+ protocol: OvhProtocol,
2705
+ retry: Retry.Retry,
2706
+ }));
2707
+ /** Returns the list of urls of specified input */
2708
+ export const listDbaasLogInputUrl = /*@__PURE__*/ API.make(() => ({
2709
+ input: ListDbaasLogInputUrlRequest,
2710
+ output: ListDbaasLogInputUrlResponse,
2711
+ errors: [NotFound, UnknownOvhError],
2712
+ protocol: OvhProtocol,
2713
+ retry: Retry.Retry,
2714
+ }));
2715
+ /** Latest operations */
2716
+ export const listDbaasLogOperation = /*@__PURE__*/ API.make(() => ({
2717
+ input: ListDbaasLogOperationRequest,
2718
+ output: ListDbaasLogOperationResponse,
2719
+ errors: [NotFound, UnknownOvhError],
2720
+ protocol: OvhProtocol,
2721
+ retry: Retry.Retry,
2722
+ }));
2723
+ /** Returns the list of graylog dashboards */
2724
+ export const listDbaasLogOutputGraylogDashboard = /*@__PURE__*/ API.make(() => ({
2725
+ input: ListDbaasLogOutputGraylogDashboardRequest,
2726
+ output: ListDbaasLogOutputGraylogDashboardResponse,
2727
+ errors: [NotFound, UnknownOvhError],
2728
+ protocol: OvhProtocol,
2729
+ retry: Retry.Retry,
2730
+ }));
2731
+ /** Returns the list of urls of specified graylog dashboard */
2732
+ export const listDbaasLogOutputGraylogDashboardUrl = /*@__PURE__*/ API.make(() => ({
2733
+ input: ListDbaasLogOutputGraylogDashboardUrlRequest,
2734
+ output: ListDbaasLogOutputGraylogDashboardUrlResponse,
2735
+ errors: [NotFound, UnknownOvhError],
2736
+ protocol: OvhProtocol,
2737
+ retry: Retry.Retry,
2738
+ }));
2739
+ /** Returns the list of graylog streams */
2740
+ export const listDbaasLogOutputGraylogStream = /*@__PURE__*/ API.make(() => ({
2741
+ input: ListDbaasLogOutputGraylogStreamRequest,
2742
+ output: ListDbaasLogOutputGraylogStreamResponse,
2743
+ errors: [NotFound, UnknownOvhError],
2744
+ protocol: OvhProtocol,
2745
+ retry: Retry.Retry,
2746
+ }));
2747
+ /** Returns the list of configured alerts of specified graylog stream */
2748
+ export const listDbaasLogOutputGraylogStreamAlert = /*@__PURE__*/ API.make(() => ({
2749
+ input: ListDbaasLogOutputGraylogStreamAlertRequest,
2750
+ output: ListDbaasLogOutputGraylogStreamAlertResponse,
2751
+ errors: [NotFound, UnknownOvhError],
2752
+ protocol: OvhProtocol,
2753
+ retry: Retry.Retry,
2754
+ }));
2755
+ /** Returns the list of archives */
2756
+ export const listDbaasLogOutputGraylogStreamArchive = /*@__PURE__*/ API.make(() => ({
2757
+ input: ListDbaasLogOutputGraylogStreamArchiveRequest,
2758
+ output: ListDbaasLogOutputGraylogStreamArchiveResponse,
2759
+ errors: [NotFound, UnknownOvhError],
2760
+ protocol: OvhProtocol,
2761
+ retry: Retry.Retry,
2762
+ }));
2763
+ /** Get the list of encryption keys used to encrypt the archive */
2764
+ export const listDbaasLogOutputGraylogStreamArchiveEncryptionKey = /*@__PURE__*/ API.make(() => ({
2765
+ input: ListDbaasLogOutputGraylogStreamArchiveEncryptionKeyRequest,
2766
+ output: ListDbaasLogOutputGraylogStreamArchiveEncryptionKeyResponse,
2767
+ errors: [NotFound, UnknownOvhError],
2768
+ protocol: OvhProtocol,
2769
+ retry: Retry.Retry,
2770
+ }));
2771
+ /** Returns the list of rules of specified graylog stream */
2772
+ export const listDbaasLogOutputGraylogStreamRule = /*@__PURE__*/ API.make(() => ({
2773
+ input: ListDbaasLogOutputGraylogStreamRuleRequest,
2774
+ output: ListDbaasLogOutputGraylogStreamRuleResponse,
2775
+ errors: [NotFound, UnknownOvhError],
2776
+ protocol: OvhProtocol,
2777
+ retry: Retry.Retry,
2778
+ }));
2779
+ /** Returns the list of subscriptions targeting a specified graylog stream */
2780
+ export const listDbaasLogOutputGraylogStreamSubscription = /*@__PURE__*/ API.make(() => ({
2781
+ input: ListDbaasLogOutputGraylogStreamSubscriptionRequest,
2782
+ output: ListDbaasLogOutputGraylogStreamSubscriptionResponse,
2783
+ errors: [NotFound, UnknownOvhError],
2784
+ protocol: OvhProtocol,
2785
+ retry: Retry.Retry,
2786
+ }));
2787
+ /** Returns the list of urls of specified graylog stream */
2788
+ export const listDbaasLogOutputGraylogStreamUrl = /*@__PURE__*/ API.make(() => ({
2789
+ input: ListDbaasLogOutputGraylogStreamUrlRequest,
2790
+ output: ListDbaasLogOutputGraylogStreamUrlResponse,
2791
+ errors: [NotFound, UnknownOvhError],
2792
+ protocol: OvhProtocol,
2793
+ retry: Retry.Retry,
2794
+ }));
2795
+ /** List service's metric tenants */
2796
+ export const listDbaasLogOutputMetricTenant = /*@__PURE__*/ API.make(() => ({
2797
+ input: ListDbaasLogOutputMetricTenantRequest,
2798
+ output: ListDbaasLogOutputMetricTenantResponse,
2799
+ errors: [NotFound, UnknownOvhError],
2800
+ protocol: OvhProtocol,
2801
+ retry: Retry.Retry,
2802
+ }));
2803
+ /** Returns the list of subscriptions targeting a specified metric tenant */
2804
+ export const listDbaasLogOutputMetricTenantSubscription = /*@__PURE__*/ API.make(() => ({
2805
+ input: ListDbaasLogOutputMetricTenantSubscriptionRequest,
2806
+ output: ListDbaasLogOutputMetricTenantSubscriptionResponse,
2807
+ errors: [NotFound, UnknownOvhError],
2808
+ protocol: OvhProtocol,
2809
+ retry: Retry.Retry,
2810
+ }));
2811
+ /** Returns the list of urls of specified metric tenant */
2812
+ export const listDbaasLogOutputMetricTenantUrl = /*@__PURE__*/ API.make(() => ({
2813
+ input: ListDbaasLogOutputMetricTenantUrlRequest,
2814
+ output: ListDbaasLogOutputMetricTenantUrlResponse,
2815
+ errors: [NotFound, UnknownOvhError],
2816
+ protocol: OvhProtocol,
2817
+ retry: Retry.Retry,
2818
+ }));
2819
+ /** Returns the list of alias for connected user */
2820
+ export const listDbaasLogOutputOpensearchAlias = /*@__PURE__*/ API.make(() => ({
2821
+ input: ListDbaasLogOutputOpensearchAliasRequest,
2822
+ output: ListDbaasLogOutputOpensearchAliasResponse,
2823
+ errors: [NotFound, UnknownOvhError],
2824
+ protocol: OvhProtocol,
2825
+ retry: Retry.Retry,
2826
+ }));
2827
+ /** Returns the list of OpenSearch indexes attached to specified OpenSearch alias */
2828
+ export const listDbaasLogOutputOpensearchAliasIndex = /*@__PURE__*/ API.make(() => ({
2829
+ input: ListDbaasLogOutputOpensearchAliasIndexRequest,
2830
+ output: ListDbaasLogOutputOpensearchAliasIndexResponse,
2831
+ errors: [NotFound, UnknownOvhError],
2832
+ protocol: OvhProtocol,
2833
+ retry: Retry.Retry,
2834
+ }));
2835
+ /** Returns the list of Graylog streams attached to specified OpenSearch alias */
2836
+ export const listDbaasLogOutputOpensearchAliasStream = /*@__PURE__*/ API.make(() => ({
2837
+ input: ListDbaasLogOutputOpensearchAliasStreamRequest,
2838
+ output: ListDbaasLogOutputOpensearchAliasStreamResponse,
2839
+ errors: [NotFound, UnknownOvhError],
2840
+ protocol: OvhProtocol,
2841
+ retry: Retry.Retry,
2842
+ }));
2843
+ /** Returns the list of urls of specified alias */
2844
+ export const listDbaasLogOutputOpensearchAliasUrl = /*@__PURE__*/ API.make(() => ({
2845
+ input: ListDbaasLogOutputOpensearchAliasUrlRequest,
2846
+ output: ListDbaasLogOutputOpensearchAliasUrlResponse,
2847
+ errors: [NotFound, UnknownOvhError],
2848
+ protocol: OvhProtocol,
2849
+ retry: Retry.Retry,
2850
+ }));
2851
+ /** Returns the list of OpenSearch indexes */
2852
+ export const listDbaasLogOutputOpensearchIndex = /*@__PURE__*/ API.make(() => ({
2853
+ input: ListDbaasLogOutputOpensearchIndexRequest,
2854
+ output: ListDbaasLogOutputOpensearchIndexResponse,
2855
+ errors: [NotFound, UnknownOvhError],
2856
+ protocol: OvhProtocol,
2857
+ retry: Retry.Retry,
2858
+ }));
2859
+ /** Returns the list of urls of specified index */
2860
+ export const listDbaasLogOutputOpensearchIndexUrl = /*@__PURE__*/ API.make(() => ({
2861
+ input: ListDbaasLogOutputOpensearchIndexUrlRequest,
2862
+ output: ListDbaasLogOutputOpensearchIndexUrlResponse,
2863
+ errors: [NotFound, UnknownOvhError],
2864
+ protocol: OvhProtocol,
2865
+ retry: Retry.Retry,
2866
+ }));
2867
+ /** Returns the list of OpenSearch Dashboards instances */
2868
+ export const listDbaasLogOutputOpensearchOsd = /*@__PURE__*/ API.make(() => ({
2869
+ input: ListDbaasLogOutputOpensearchOsdRequest,
2870
+ output: ListDbaasLogOutputOpensearchOsdResponse,
2871
+ errors: [NotFound, UnknownOvhError],
2872
+ protocol: OvhProtocol,
2873
+ retry: Retry.Retry,
2874
+ }));
2875
+ /** Returns the list of urls of specified OpenSearch Dashboards */
2876
+ export const listDbaasLogOutputOpensearchOsdUrl = /*@__PURE__*/ API.make(() => ({
2877
+ input: ListDbaasLogOutputOpensearchOsdUrlRequest,
2878
+ output: ListDbaasLogOutputOpensearchOsdUrlResponse,
2879
+ errors: [NotFound, UnknownOvhError],
2880
+ protocol: OvhProtocol,
2881
+ retry: Retry.Retry,
2882
+ }));
2883
+ /** Returns the list of roles */
2884
+ export const listDbaasLogRole = /*@__PURE__*/ API.make(() => ({
2885
+ input: ListDbaasLogRoleRequest,
2886
+ output: ListDbaasLogRoleResponse,
2887
+ errors: [Forbidden, NotFound, UnknownOvhError],
2888
+ protocol: OvhProtocol,
2889
+ retry: Retry.Retry,
2890
+ }));
2891
+ /** Returns the member list of specified role */
2892
+ export const listDbaasLogRoleMember = /*@__PURE__*/ API.make(() => ({
2893
+ input: ListDbaasLogRoleMemberRequest,
2894
+ output: ListDbaasLogRoleMemberResponse,
2895
+ errors: [Forbidden, NotFound, UnknownOvhError],
2896
+ protocol: OvhProtocol,
2897
+ retry: Retry.Retry,
2898
+ }));
2899
+ /** Returns the list of permissions of specified role */
2900
+ export const listDbaasLogRolePermission = /*@__PURE__*/ API.make(() => ({
2901
+ input: ListDbaasLogRolePermissionRequest,
2902
+ output: ListDbaasLogRolePermissionResponse,
2903
+ errors: [NotFound, UnknownOvhError],
2904
+ protocol: OvhProtocol,
2905
+ retry: Retry.Retry,
2906
+ }));
2907
+ /** List available services */
2908
+ export const listDbaasLogs = /*@__PURE__*/ API.make(() => ({
2909
+ input: ListDbaasLogsRequest,
2910
+ output: ListDbaasLogsResponse,
2911
+ errors: [UnknownOvhError],
2912
+ protocol: OvhProtocol,
2913
+ retry: Retry.Retry,
2914
+ }));
2915
+ /** Returns the list of service tokens */
2916
+ export const listDbaasLogToken = /*@__PURE__*/ API.make(() => ({
2917
+ input: ListDbaasLogTokenRequest,
2918
+ output: ListDbaasLogTokenResponse,
2919
+ errors: [Forbidden, NotFound, UnknownOvhError],
2920
+ protocol: OvhProtocol,
2921
+ retry: Retry.Retry,
2922
+ }));
2923
+ /** Returns platform useful urls */
2924
+ export const listDbaasLogUrl = /*@__PURE__*/ API.make(() => ({
2925
+ input: ListDbaasLogUrlRequest,
2926
+ output: ListDbaasLogUrlResponse,
2927
+ errors: [NotFound, UnknownOvhError],
2928
+ protocol: OvhProtocol,
2929
+ retry: Retry.Retry,
2930
+ }));
2931
+ /** Update the service properties */
2932
+ export const putDbaasLog = /*@__PURE__*/ API.make(() => ({
2933
+ input: PutDbaasLogRequest,
2934
+ output: DbaasLogsOperation,
2935
+ errors: [Forbidden, NotFound, Conflict, UnknownOvhError],
2936
+ protocol: OvhProtocol,
2937
+ retry: Retry.Retry,
2938
+ }));
2939
+ /** Update details of an allowed cluster */
2940
+ export const putDbaasLogCluster = /*@__PURE__*/ API.make(() => ({
2941
+ input: PutDbaasLogClusterRequest,
2942
+ output: DbaasLogsOperation,
2943
+ errors: [Forbidden, NotFound, UnknownOvhError],
2944
+ protocol: OvhProtocol,
2945
+ retry: Retry.Retry,
2946
+ }));
2947
+ /** Update information of specified input object */
2948
+ export const putDbaasLogInput = /*@__PURE__*/ API.make(() => ({
2949
+ input: PutDbaasLogInputRequest,
2950
+ output: DbaasLogsOperation,
2951
+ errors: [Forbidden, NotFound, Conflict, UnknownOvhError],
2952
+ protocol: OvhProtocol,
2953
+ retry: Retry.Retry,
2954
+ }));
2955
+ /** Update the flowgger configuration */
2956
+ export const putDbaasLogInputConfigurationFlowgger = /*@__PURE__*/ API.make(() => ({
2957
+ input: PutDbaasLogInputConfigurationFlowggerRequest,
2958
+ output: DbaasLogsOperation,
2959
+ errors: [Forbidden, NotFound, UnknownOvhError],
2960
+ protocol: OvhProtocol,
2961
+ retry: Retry.Retry,
2962
+ }));
2963
+ /** Update the logstash configuration */
2964
+ export const putDbaasLogInputConfigurationLogstash = /*@__PURE__*/ API.make(() => ({
2965
+ input: PutDbaasLogInputConfigurationLogstashRequest,
2966
+ output: DbaasLogsOperation,
2967
+ errors: [Forbidden, NotFound, UnknownOvhError],
2968
+ protocol: OvhProtocol,
2969
+ retry: Retry.Retry,
2970
+ }));
2971
+ /** Update information of specified graylog dashboard */
2972
+ export const putDbaasLogOutputGraylogDashboard = /*@__PURE__*/ API.make(() => ({
2973
+ input: PutDbaasLogOutputGraylogDashboardRequest,
2974
+ output: DbaasLogsOperation,
2975
+ errors: [Forbidden, NotFound, UnknownOvhError],
2976
+ protocol: OvhProtocol,
2977
+ retry: Retry.Retry,
2978
+ }));
2979
+ /** Update information of specified graylog stream */
2980
+ export const putDbaasLogOutputGraylogStream = /*@__PURE__*/ API.make(() => ({
2981
+ input: PutDbaasLogOutputGraylogStreamRequest,
2982
+ output: DbaasLogsOperation,
2983
+ errors: [Forbidden, NotFound, Conflict, UnknownOvhError],
2984
+ protocol: OvhProtocol,
2985
+ retry: Retry.Retry,
2986
+ }));
2987
+ /** Update alert information of specified graylog stream */
2988
+ export const putDbaasLogOutputGraylogStreamAlert = /*@__PURE__*/ API.make(() => ({
2989
+ input: PutDbaasLogOutputGraylogStreamAlertRequest,
2990
+ output: DbaasLogsOperation,
2991
+ errors: [Forbidden, NotFound, Conflict, UnknownOvhError],
2992
+ protocol: OvhProtocol,
2993
+ retry: Retry.Retry,
2994
+ }));
2995
+ /** Update a metric tenant */
2996
+ export const putDbaasLogOutputMetricTenant = /*@__PURE__*/ API.make(() => ({
2997
+ input: PutDbaasLogOutputMetricTenantRequest,
2998
+ output: DbaasLogsOperation,
2999
+ errors: [Forbidden, NotFound, Conflict, UnknownOvhError],
3000
+ protocol: OvhProtocol,
3001
+ retry: Retry.Retry,
3002
+ }));
3003
+ /** Update specified OpenSearch alias */
3004
+ export const putDbaasLogOutputOpensearchAlias = /*@__PURE__*/ API.make(() => ({
3005
+ input: PutDbaasLogOutputOpensearchAliasRequest,
3006
+ output: DbaasLogsOperation,
3007
+ errors: [Forbidden, NotFound, UnknownOvhError],
3008
+ protocol: OvhProtocol,
3009
+ retry: Retry.Retry,
3010
+ }));
3011
+ /** Update specified OpenSearch index */
3012
+ export const putDbaasLogOutputOpensearchIndex = /*@__PURE__*/ API.make(() => ({
3013
+ input: PutDbaasLogOutputOpensearchIndexRequest,
3014
+ output: DbaasLogsOperation,
3015
+ errors: [Forbidden, NotFound, UnknownOvhError],
3016
+ protocol: OvhProtocol,
3017
+ retry: Retry.Retry,
3018
+ }));
3019
+ /** Update specified OpenSearch Dashboards instance */
3020
+ export const putDbaasLogOutputOpensearchOsd = /*@__PURE__*/ API.make(() => ({
3021
+ input: PutDbaasLogOutputOpensearchOsdRequest,
3022
+ output: DbaasLogsOperation,
3023
+ errors: [Forbidden, NotFound, UnknownOvhError],
3024
+ protocol: OvhProtocol,
3025
+ retry: Retry.Retry,
3026
+ }));
3027
+ /** Update information of specified role */
3028
+ export const putDbaasLogRole = /*@__PURE__*/ API.make(() => ({
3029
+ input: PutDbaasLogRoleRequest,
3030
+ output: DbaasLogsOperation,
3031
+ errors: [Forbidden, NotFound, UnknownOvhError],
3032
+ protocol: OvhProtocol,
3033
+ retry: Retry.Retry,
3034
+ }));
3035
+ /** Update the member metadata */
3036
+ export const putDbaasLogRoleMember = /*@__PURE__*/ API.make(() => ({
3037
+ input: PutDbaasLogRoleMemberRequest,
3038
+ output: DbaasLogsOperation,
3039
+ errors: [Forbidden, NotFound, UnknownOvhError],
3040
+ protocol: OvhProtocol,
3041
+ retry: Retry.Retry,
3042
+ }));
3043
+ /** Update service information */
3044
+ export const putDbaasLogServiceInfos = /*@__PURE__*/ API.make(() => ({
3045
+ input: PutDbaasLogServiceInfosRequest,
3046
+ output: PutDbaasLogServiceInfosResponse,
3047
+ errors: [UnknownOvhError],
3048
+ protocol: OvhProtocol,
3049
+ retry: Retry.Retry,
3050
+ }));
3051
+ /** Schedule the restart of specified input */
3052
+ export const restartDbaasLogsInput = /*@__PURE__*/ API.make(() => ({
3053
+ input: RestartDbaasLogsInputRequest,
3054
+ output: DbaasLogsOperation,
3055
+ errors: [Forbidden, NotFound, UnknownOvhError],
3056
+ protocol: OvhProtocol,
3057
+ retry: Retry.Retry,
3058
+ }));
3059
+ /** Schedule the start of specified input */
3060
+ export const startDbaasLogsInput = /*@__PURE__*/ API.make(() => ({
3061
+ input: StartDbaasLogsInputRequest,
3062
+ output: DbaasLogsOperation,
3063
+ errors: [Forbidden, NotFound, UnknownOvhError],
3064
+ protocol: OvhProtocol,
3065
+ retry: Retry.Retry,
3066
+ }));
3067
+ //# sourceMappingURL=ldp.js.map