@distilled.cloud/ovh 0.0.0 → 1.0.0-rc.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/lib/credentials.d.ts +38 -0
- package/lib/credentials.d.ts.map +1 -0
- package/lib/credentials.js +54 -0
- package/lib/credentials.js.map +1 -0
- package/lib/errors.d.ts +36 -0
- package/lib/errors.d.ts.map +1 -0
- package/lib/errors.js +26 -0
- package/lib/errors.js.map +1 -0
- package/lib/index.d.ts +22 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +22 -0
- package/lib/index.js.map +1 -0
- package/lib/pagination.d.ts +8 -0
- package/lib/pagination.d.ts.map +1 -0
- package/lib/pagination.js +8 -0
- package/lib/pagination.js.map +1 -0
- package/lib/protocol.d.ts +18 -0
- package/lib/protocol.d.ts.map +1 -0
- package/lib/protocol.js +60 -0
- package/lib/protocol.js.map +1 -0
- package/lib/retry.d.ts +32 -0
- package/lib/retry.d.ts.map +1 -0
- package/lib/retry.js +32 -0
- package/lib/retry.js.map +1 -0
- package/lib/services/baremetal.d.ts +3551 -0
- package/lib/services/baremetal.d.ts.map +1 -0
- package/lib/services/baremetal.js +4200 -0
- package/lib/services/baremetal.js.map +1 -0
- package/lib/services/cloud.d.ts +26011 -0
- package/lib/services/cloud.d.ts.map +1 -0
- package/lib/services/cloud.js +31119 -0
- package/lib/services/cloud.js.map +1 -0
- package/lib/services/cloud_v2.d.ts +5642 -0
- package/lib/services/cloud_v2.d.ts.map +1 -0
- package/lib/services/cloud_v2.js +5760 -0
- package/lib/services/cloud_v2.js.map +1 -0
- package/lib/services/dedicatedceph.d.ts +747 -0
- package/lib/services/dedicatedceph.d.ts.map +1 -0
- package/lib/services/dedicatedceph.js +962 -0
- package/lib/services/dedicatedceph.js.map +1 -0
- package/lib/services/dedicatednasha.d.ts +755 -0
- package/lib/services/dedicatednasha.d.ts.map +1 -0
- package/lib/services/dedicatednasha.js +967 -0
- package/lib/services/dedicatednasha.js.map +1 -0
- package/lib/services/domain.d.ts +2995 -0
- package/lib/services/domain.d.ts.map +1 -0
- package/lib/services/domain.js +3080 -0
- package/lib/services/domain.js.map +1 -0
- package/lib/services/emaildomain.d.ts +1913 -0
- package/lib/services/emaildomain.d.ts.map +1 -0
- package/lib/services/emaildomain.js +2550 -0
- package/lib/services/emaildomain.js.map +1 -0
- package/lib/services/emailmxplan.d.ts +1012 -0
- package/lib/services/emailmxplan.d.ts.map +1 -0
- package/lib/services/emailmxplan.js +1155 -0
- package/lib/services/emailmxplan.js.map +1 -0
- package/lib/services/emailpro.d.ts +1287 -0
- package/lib/services/emailpro.d.ts.map +1 -0
- package/lib/services/emailpro.js +1471 -0
- package/lib/services/emailpro.js.map +1 -0
- package/lib/services/hostingprivatedatabase.d.ts +1402 -0
- package/lib/services/hostingprivatedatabase.d.ts.map +1 -0
- package/lib/services/hostingprivatedatabase.js +1833 -0
- package/lib/services/hostingprivatedatabase.js.map +1 -0
- package/lib/services/iam.d.ts +829 -0
- package/lib/services/iam.d.ts.map +1 -0
- package/lib/services/iam.js +793 -0
- package/lib/services/iam.js.map +1 -0
- package/lib/services/index.d.ts +31 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/index.js +32 -0
- package/lib/services/index.js.map +1 -0
- package/lib/services/ip.d.ts +1417 -0
- package/lib/services/ip.d.ts.map +1 -0
- package/lib/services/ip.js +1691 -0
- package/lib/services/ip.js.map +1 -0
- package/lib/services/iploadbalancing.d.ts +3059 -0
- package/lib/services/iploadbalancing.d.ts.map +1 -0
- package/lib/services/iploadbalancing.js +3554 -0
- package/lib/services/iploadbalancing.js.map +1 -0
- package/lib/services/ldp.d.ts +2492 -0
- package/lib/services/ldp.d.ts.map +1 -0
- package/lib/services/ldp.js +3072 -0
- package/lib/services/ldp.js.map +1 -0
- package/lib/services/me.d.ts +7511 -0
- package/lib/services/me.d.ts.map +1 -0
- package/lib/services/me.js +8878 -0
- package/lib/services/me.js.map +1 -0
- package/lib/services/overthebox.d.ts +981 -0
- package/lib/services/overthebox.d.ts.map +1 -0
- package/lib/services/overthebox.js +1122 -0
- package/lib/services/overthebox.js.map +1 -0
- package/lib/services/ovhcloudconnect.d.ts +1123 -0
- package/lib/services/ovhcloudconnect.d.ts.map +1 -0
- package/lib/services/ovhcloudconnect.js +1353 -0
- package/lib/services/ovhcloudconnect.js.map +1 -0
- package/lib/services/packxdsl.d.ts +1583 -0
- package/lib/services/packxdsl.d.ts.map +1 -0
- package/lib/services/packxdsl.js +1791 -0
- package/lib/services/packxdsl.js.map +1 -0
- package/lib/services/sms.d.ts +2602 -0
- package/lib/services/sms.d.ts.map +1 -0
- package/lib/services/sms.js +2995 -0
- package/lib/services/sms.js.map +1 -0
- package/lib/services/sslgateway.d.ts +493 -0
- package/lib/services/sslgateway.d.ts.map +1 -0
- package/lib/services/sslgateway.js +569 -0
- package/lib/services/sslgateway.js.map +1 -0
- package/lib/services/storagenetapp.d.ts +859 -0
- package/lib/services/storagenetapp.d.ts.map +1 -0
- package/lib/services/storagenetapp.js +1022 -0
- package/lib/services/storagenetapp.js.map +1 -0
- package/lib/services/support.d.ts +233 -0
- package/lib/services/support.d.ts.map +1 -0
- package/lib/services/support.js +237 -0
- package/lib/services/support.js.map +1 -0
- package/lib/services/telephony.d.ts +10825 -0
- package/lib/services/telephony.d.ts.map +1 -0
- package/lib/services/telephony.js +14894 -0
- package/lib/services/telephony.js.map +1 -0
- package/lib/services/vmwareclouddirectorbackup.d.ts +784 -0
- package/lib/services/vmwareclouddirectorbackup.d.ts.map +1 -0
- package/lib/services/vmwareclouddirectorbackup.js +842 -0
- package/lib/services/vmwareclouddirectorbackup.js.map +1 -0
- package/lib/services/vmwareclouddirectororganization.d.ts +784 -0
- package/lib/services/vmwareclouddirectororganization.d.ts.map +1 -0
- package/lib/services/vmwareclouddirectororganization.js +842 -0
- package/lib/services/vmwareclouddirectororganization.js.map +1 -0
- package/lib/services/vps.d.ts +1579 -0
- package/lib/services/vps.d.ts.map +1 -0
- package/lib/services/vps.js +1914 -0
- package/lib/services/vps.js.map +1 -0
- package/lib/services/vrack.d.ts +1204 -0
- package/lib/services/vrack.d.ts.map +1 -0
- package/lib/services/vrack.js +1627 -0
- package/lib/services/vrack.js.map +1 -0
- package/lib/services/vrackservices.d.ts +394 -0
- package/lib/services/vrackservices.d.ts.map +1 -0
- package/lib/services/vrackservices.js +355 -0
- package/lib/services/vrackservices.js.map +1 -0
- package/lib/services/webhosting.d.ts +3986 -0
- package/lib/services/webhosting.d.ts.map +1 -0
- package/lib/services/webhosting.js +4527 -0
- package/lib/services/webhosting.js.map +1 -0
- package/lib/services/xdsl.d.ts +3433 -0
- package/lib/services/xdsl.d.ts.map +1 -0
- package/lib/services/xdsl.js +3682 -0
- package/lib/services/xdsl.js.map +1 -0
- package/lib/traits.d.ts +11 -0
- package/lib/traits.d.ts.map +1 -0
- package/lib/traits.js +11 -0
- package/lib/traits.js.map +1 -0
- package/package.json +77 -6
- package/src/credentials.ts +77 -0
- package/src/errors.ts +50 -0
- package/src/index.ts +21 -0
- package/src/pagination.ts +7 -0
- package/src/protocol.ts +86 -0
- package/src/retry.ts +54 -0
- package/src/services/baremetal.ts +10954 -0
- package/src/services/cloud.ts +75508 -0
- package/src/services/cloud_v2.ts +14751 -0
- package/src/services/dedicatedceph.ts +2233 -0
- package/src/services/dedicatednasha.ts +2269 -0
- package/src/services/domain.ts +7998 -0
- package/src/services/emaildomain.ts +5751 -0
- package/src/services/emailmxplan.ts +2764 -0
- package/src/services/emailpro.ts +3519 -0
- package/src/services/hostingprivatedatabase.ts +4218 -0
- package/src/services/iam.ts +2060 -0
- package/src/services/index.ts +31 -0
- package/src/services/ip.ts +4462 -0
- package/src/services/iploadbalancing.ts +8422 -0
- package/src/services/ldp.ts +7274 -0
- package/src/services/me.ts +21720 -0
- package/src/services/overthebox.ts +2693 -0
- package/src/services/ovhcloudconnect.ts +3226 -0
- package/src/services/packxdsl.ts +4623 -0
- package/src/services/sms.ts +7255 -0
- package/src/services/sslgateway.ts +1408 -0
- package/src/services/storagenetapp.ts +2433 -0
- package/src/services/support.ts +598 -0
- package/src/services/telephony.ts +32941 -0
- package/src/services/vmwareclouddirectorbackup.ts +2171 -0
- package/src/services/vmwareclouddirectororganization.ts +2171 -0
- package/src/services/vps.ts +5134 -0
- package/src/services/vrack.ts +3730 -0
- package/src/services/vrackservices.ts +939 -0
- package/src/services/webhosting.ts +11290 -0
- package/src/services/xdsl.ts +9278 -0
- package/src/traits.ts +44 -0
|
@@ -0,0 +1,2269 @@
|
|
|
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 API from "@distilled.cloud/core/api";
|
|
4
|
+
import * as T from "../traits.ts";
|
|
5
|
+
import {
|
|
6
|
+
OvhProtocol,
|
|
7
|
+
type OvhOpError,
|
|
8
|
+
type OvhOpContext,
|
|
9
|
+
} from "../protocol.ts";
|
|
10
|
+
import { UnknownOvhError } from "../errors.ts";
|
|
11
|
+
import * as Retry from "../retry.ts";
|
|
12
|
+
|
|
13
|
+
export type { OvhOpError, OvhOpContext };
|
|
14
|
+
|
|
15
|
+
/** All future uses you can provide for a service termination */
|
|
16
|
+
export type ServiceTerminationFutureUseEnum =
|
|
17
|
+
| "NOT_REPLACING_SERVICE"
|
|
18
|
+
| "OTHER"
|
|
19
|
+
| "SUBSCRIBE_AN_OTHER_SERVICE"
|
|
20
|
+
| "SUBSCRIBE_OTHER_KIND_OF_SERVICE_WITH_COMPETITOR"
|
|
21
|
+
| "SUBSCRIBE_SIMILAR_SERVICE_WITH_COMPETITOR";
|
|
22
|
+
export const ServiceTerminationFutureUseEnum = /*@__PURE__*/ S.String;
|
|
23
|
+
|
|
24
|
+
/** All reasons you can provide for a service termination */
|
|
25
|
+
export type ServiceTerminationReasonEnum =
|
|
26
|
+
| "FEATURES_DONT_SUIT_ME"
|
|
27
|
+
| "LACK_OF_PERFORMANCES"
|
|
28
|
+
| "MIGRATED_TO_ANOTHER_OVH_PRODUCT"
|
|
29
|
+
| "MIGRATED_TO_COMPETITOR"
|
|
30
|
+
| "NOT_ENOUGH_RECOGNITION"
|
|
31
|
+
| "NOT_NEEDED_ANYMORE"
|
|
32
|
+
| "NOT_RELIABLE"
|
|
33
|
+
| "NO_ANSWER"
|
|
34
|
+
| "OTHER"
|
|
35
|
+
| "PRODUCT_DIMENSION_DONT_SUIT_ME"
|
|
36
|
+
| "PRODUCT_TOOLS_DONT_SUIT_ME"
|
|
37
|
+
| "TOO_EXPENSIVE"
|
|
38
|
+
| "TOO_HARD_TO_USE"
|
|
39
|
+
| "UNSATIFIED_BY_CUSTOMER_SUPPORT";
|
|
40
|
+
export const ServiceTerminationReasonEnum = /*@__PURE__*/ S.String;
|
|
41
|
+
|
|
42
|
+
export interface ConfirmDedicatedNashaTerminationRequest {
|
|
43
|
+
/** The internal name of your storage */
|
|
44
|
+
serviceName: string;
|
|
45
|
+
/** Commentary about your termination request */
|
|
46
|
+
commentary?: string;
|
|
47
|
+
/** What next after your termination request */
|
|
48
|
+
futureUse?: ServiceTerminationFutureUseEnum | (string & {});
|
|
49
|
+
/** Reason of your termination request */
|
|
50
|
+
reason?: ServiceTerminationReasonEnum | (string & {});
|
|
51
|
+
/** The termination token sent by email to the admin contact */
|
|
52
|
+
token: string;
|
|
53
|
+
}
|
|
54
|
+
export const ConfirmDedicatedNashaTerminationRequest = /*@__PURE__*/ S.suspend(
|
|
55
|
+
() =>
|
|
56
|
+
S.Struct({
|
|
57
|
+
serviceName: S.String.pipe(T.Label()),
|
|
58
|
+
commentary: S.optional(S.String),
|
|
59
|
+
futureUse: S.optional(ServiceTerminationFutureUseEnum),
|
|
60
|
+
reason: S.optional(ServiceTerminationReasonEnum),
|
|
61
|
+
token: S.String,
|
|
62
|
+
}).pipe(
|
|
63
|
+
T.Http({
|
|
64
|
+
method: "POST",
|
|
65
|
+
uri: "/dedicated/nasha/{serviceName}/confirmTermination",
|
|
66
|
+
code: 200,
|
|
67
|
+
}),
|
|
68
|
+
),
|
|
69
|
+
).annotate({
|
|
70
|
+
identifier: "ConfirmDedicatedNashaTerminationRequest",
|
|
71
|
+
}) as any as S.Schema<ConfirmDedicatedNashaTerminationRequest>;
|
|
72
|
+
|
|
73
|
+
export type ConfirmDedicatedNashaTerminationResponse = string;
|
|
74
|
+
export const ConfirmDedicatedNashaTerminationResponse = /*@__PURE__*/ S.suspend(
|
|
75
|
+
() => S.String.pipe(T.RawResponseRoot()),
|
|
76
|
+
).annotate({
|
|
77
|
+
identifier: "ConfirmDedicatedNashaTerminationResponse",
|
|
78
|
+
}) as any as S.Schema<ConfirmDedicatedNashaTerminationResponse>;
|
|
79
|
+
|
|
80
|
+
export interface CreateDedicatedNashaChangeContactRequest {
|
|
81
|
+
/** The internal name of your storage */
|
|
82
|
+
serviceName: string;
|
|
83
|
+
/** The contact to set as admin contact */
|
|
84
|
+
contactAdmin?: string;
|
|
85
|
+
/** The contact to set as billing contact */
|
|
86
|
+
contactBilling?: string;
|
|
87
|
+
/** The contact to set as tech contact */
|
|
88
|
+
contactTech?: string;
|
|
89
|
+
}
|
|
90
|
+
export const CreateDedicatedNashaChangeContactRequest = /*@__PURE__*/ S.suspend(
|
|
91
|
+
() =>
|
|
92
|
+
S.Struct({
|
|
93
|
+
serviceName: S.String.pipe(T.Label()),
|
|
94
|
+
contactAdmin: S.optional(S.String),
|
|
95
|
+
contactBilling: S.optional(S.String),
|
|
96
|
+
contactTech: S.optional(S.String),
|
|
97
|
+
}).pipe(
|
|
98
|
+
T.Http({
|
|
99
|
+
method: "POST",
|
|
100
|
+
uri: "/dedicated/nasha/{serviceName}/changeContact",
|
|
101
|
+
code: 200,
|
|
102
|
+
}),
|
|
103
|
+
),
|
|
104
|
+
).annotate({
|
|
105
|
+
identifier: "CreateDedicatedNashaChangeContactRequest",
|
|
106
|
+
}) as any as S.Schema<CreateDedicatedNashaChangeContactRequest>;
|
|
107
|
+
|
|
108
|
+
export type CreateDedicatedNashaChangeContactResponseBodyList = Array<number>;
|
|
109
|
+
export const CreateDedicatedNashaChangeContactResponseBodyList =
|
|
110
|
+
/*@__PURE__*/ S.Array(
|
|
111
|
+
S.Number,
|
|
112
|
+
) as any as S.Schema<CreateDedicatedNashaChangeContactResponseBodyList>;
|
|
113
|
+
|
|
114
|
+
export type CreateDedicatedNashaChangeContactResponse =
|
|
115
|
+
CreateDedicatedNashaChangeContactResponseBodyList;
|
|
116
|
+
export const CreateDedicatedNashaChangeContactResponse =
|
|
117
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
118
|
+
CreateDedicatedNashaChangeContactResponseBodyList.pipe(T.RawResponseRoot()),
|
|
119
|
+
).annotate({
|
|
120
|
+
identifier: "CreateDedicatedNashaChangeContactResponse",
|
|
121
|
+
}) as any as S.Schema<CreateDedicatedNashaChangeContactResponse>;
|
|
122
|
+
|
|
123
|
+
/** Partition Protocol */
|
|
124
|
+
export type DedicatedStorageProtocolEnum = "CIFS" | "NFS" | "NFS_CIFS";
|
|
125
|
+
export const DedicatedStorageProtocolEnum = /*@__PURE__*/ S.String;
|
|
126
|
+
|
|
127
|
+
export interface CreateDedicatedNashaPartitionRequest {
|
|
128
|
+
/** The internal name of your storage */
|
|
129
|
+
serviceName: string;
|
|
130
|
+
/** Partition description */
|
|
131
|
+
partitionDescription?: string;
|
|
132
|
+
/** Partition name */
|
|
133
|
+
partitionName: string;
|
|
134
|
+
/** NFS|CIFS|NFS_CIFS */
|
|
135
|
+
protocol: DedicatedStorageProtocolEnum | (string & {});
|
|
136
|
+
/** Partition size */
|
|
137
|
+
size: number;
|
|
138
|
+
}
|
|
139
|
+
export const CreateDedicatedNashaPartitionRequest = /*@__PURE__*/ S.suspend(
|
|
140
|
+
() =>
|
|
141
|
+
S.Struct({
|
|
142
|
+
serviceName: S.String.pipe(T.Label()),
|
|
143
|
+
partitionDescription: S.optional(S.String),
|
|
144
|
+
partitionName: S.String,
|
|
145
|
+
protocol: DedicatedStorageProtocolEnum,
|
|
146
|
+
size: S.Number,
|
|
147
|
+
}).pipe(
|
|
148
|
+
T.Http({
|
|
149
|
+
method: "POST",
|
|
150
|
+
uri: "/dedicated/nasha/{serviceName}/partition",
|
|
151
|
+
code: 200,
|
|
152
|
+
}),
|
|
153
|
+
),
|
|
154
|
+
).annotate({
|
|
155
|
+
identifier: "CreateDedicatedNashaPartitionRequest",
|
|
156
|
+
}) as any as S.Schema<CreateDedicatedNashaPartitionRequest>;
|
|
157
|
+
|
|
158
|
+
/** Distincts task */
|
|
159
|
+
export type DedicatedStorageTaskFunctionEnum =
|
|
160
|
+
| "backupRecursiveDestroy"
|
|
161
|
+
| "clusterLeclercAclUpdate"
|
|
162
|
+
| "clusterLeclercChangeServiceIp"
|
|
163
|
+
| "clusterLeclercCustomSnapCreate"
|
|
164
|
+
| "clusterLeclercCustomSnapDelete"
|
|
165
|
+
| "clusterLeclercDeleteSnapshotDirectory"
|
|
166
|
+
| "clusterLeclercDestroyNasContainer"
|
|
167
|
+
| "clusterLeclercPartitionAdd"
|
|
168
|
+
| "clusterLeclercPartitionDelete"
|
|
169
|
+
| "clusterLeclercPartitionUpdate"
|
|
170
|
+
| "clusterLeclercQuotaUpdate"
|
|
171
|
+
| "clusterLeclercSetupNasContainer"
|
|
172
|
+
| "clusterLeclercSnapshotUpdate"
|
|
173
|
+
| "clusterLeclercZfsOptions"
|
|
174
|
+
| "nasAclUpdate"
|
|
175
|
+
| "nasDeleteSnapshotDirectory"
|
|
176
|
+
| "nasPartitionAdd"
|
|
177
|
+
| "nasPartitionDelete"
|
|
178
|
+
| "nasPartitionUpdate"
|
|
179
|
+
| "nasQuotaUpdate"
|
|
180
|
+
| "remoteBackupRecursiveDestroy";
|
|
181
|
+
export const DedicatedStorageTaskFunctionEnum = /*@__PURE__*/ S.String;
|
|
182
|
+
|
|
183
|
+
/** different task status */
|
|
184
|
+
export type DedicatedTaskStatusEnum =
|
|
185
|
+
| "cancelled"
|
|
186
|
+
| "customerError"
|
|
187
|
+
| "doing"
|
|
188
|
+
| "done"
|
|
189
|
+
| "init"
|
|
190
|
+
| "ovhError"
|
|
191
|
+
| "todo";
|
|
192
|
+
export const DedicatedTaskStatusEnum = /*@__PURE__*/ S.String;
|
|
193
|
+
|
|
194
|
+
/** Storage task */
|
|
195
|
+
export interface DedicatedNasTaskTask {
|
|
196
|
+
/** information about operation */
|
|
197
|
+
details?: string | null;
|
|
198
|
+
/** the date when the task finished */
|
|
199
|
+
doneDate?: string | null;
|
|
200
|
+
/** last modification of task */
|
|
201
|
+
lastUpdate?: string | null;
|
|
202
|
+
/** Task type of operation */
|
|
203
|
+
operation?: DedicatedStorageTaskFunctionEnum;
|
|
204
|
+
/** name of the partition */
|
|
205
|
+
partitionName?: string | null;
|
|
206
|
+
/** The actual state of the task */
|
|
207
|
+
status?: DedicatedTaskStatusEnum;
|
|
208
|
+
/** the name of your service */
|
|
209
|
+
storageName?: string | null;
|
|
210
|
+
/** id of the task */
|
|
211
|
+
taskId?: number;
|
|
212
|
+
/** Insertion of task in the todo */
|
|
213
|
+
todoDate?: string | null;
|
|
214
|
+
}
|
|
215
|
+
export const DedicatedNasTaskTask = /*@__PURE__*/ S.suspend(() =>
|
|
216
|
+
S.Struct({
|
|
217
|
+
details: S.optional(S.NullOr(S.String)),
|
|
218
|
+
doneDate: S.optional(S.NullOr(S.String)),
|
|
219
|
+
lastUpdate: S.optional(S.NullOr(S.String)),
|
|
220
|
+
operation: S.optional(DedicatedStorageTaskFunctionEnum),
|
|
221
|
+
partitionName: S.optional(S.NullOr(S.String)),
|
|
222
|
+
status: S.optional(DedicatedTaskStatusEnum),
|
|
223
|
+
storageName: S.optional(S.NullOr(S.String)),
|
|
224
|
+
taskId: S.optional(S.Number),
|
|
225
|
+
todoDate: S.optional(S.NullOr(S.String)),
|
|
226
|
+
}),
|
|
227
|
+
).annotate({
|
|
228
|
+
identifier: "DedicatedNasTaskTask",
|
|
229
|
+
}) as any as S.Schema<DedicatedNasTaskTask>;
|
|
230
|
+
|
|
231
|
+
/** Acl Type */
|
|
232
|
+
export type DedicatedStorageAclTypeEnum = "readonly" | "readwrite";
|
|
233
|
+
export const DedicatedStorageAclTypeEnum = /*@__PURE__*/ S.String;
|
|
234
|
+
|
|
235
|
+
export interface CreateDedicatedNashaPartitionAccessRequest {
|
|
236
|
+
/** The internal name of your storage */
|
|
237
|
+
serviceName: string;
|
|
238
|
+
/** the given name of partition */
|
|
239
|
+
partitionName: string;
|
|
240
|
+
/** ACL description */
|
|
241
|
+
aclDescription?: string;
|
|
242
|
+
/** Ip or block to add */
|
|
243
|
+
ip: string;
|
|
244
|
+
/** ACL type */
|
|
245
|
+
type?: DedicatedStorageAclTypeEnum | (string & {});
|
|
246
|
+
}
|
|
247
|
+
export const CreateDedicatedNashaPartitionAccessRequest =
|
|
248
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
249
|
+
S.Struct({
|
|
250
|
+
serviceName: S.String.pipe(T.Label()),
|
|
251
|
+
partitionName: S.String.pipe(T.Label()),
|
|
252
|
+
aclDescription: S.optional(S.String),
|
|
253
|
+
ip: S.String,
|
|
254
|
+
type: S.optional(DedicatedStorageAclTypeEnum),
|
|
255
|
+
}).pipe(
|
|
256
|
+
T.Http({
|
|
257
|
+
method: "POST",
|
|
258
|
+
uri: "/dedicated/nasha/{serviceName}/partition/{partitionName}/access",
|
|
259
|
+
code: 200,
|
|
260
|
+
}),
|
|
261
|
+
),
|
|
262
|
+
).annotate({
|
|
263
|
+
identifier: "CreateDedicatedNashaPartitionAccessRequest",
|
|
264
|
+
}) as any as S.Schema<CreateDedicatedNashaPartitionAccessRequest>;
|
|
265
|
+
|
|
266
|
+
export interface CreateDedicatedNashaPartitionCustomSnapshotRequest {
|
|
267
|
+
/** The internal name of your storage */
|
|
268
|
+
serviceName: string;
|
|
269
|
+
/** the given name of partition */
|
|
270
|
+
partitionName: string;
|
|
271
|
+
/** optional expiration date/time, in iso8601 format */
|
|
272
|
+
expiration?: string;
|
|
273
|
+
/** the name of the snapshot */
|
|
274
|
+
name: string;
|
|
275
|
+
}
|
|
276
|
+
export const CreateDedicatedNashaPartitionCustomSnapshotRequest =
|
|
277
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
278
|
+
S.Struct({
|
|
279
|
+
serviceName: S.String.pipe(T.Label()),
|
|
280
|
+
partitionName: S.String.pipe(T.Label()),
|
|
281
|
+
expiration: S.optional(S.String),
|
|
282
|
+
name: S.String,
|
|
283
|
+
}).pipe(
|
|
284
|
+
T.Http({
|
|
285
|
+
method: "POST",
|
|
286
|
+
uri: "/dedicated/nasha/{serviceName}/partition/{partitionName}/customSnapshot",
|
|
287
|
+
code: 200,
|
|
288
|
+
}),
|
|
289
|
+
),
|
|
290
|
+
).annotate({
|
|
291
|
+
identifier: "CreateDedicatedNashaPartitionCustomSnapshotRequest",
|
|
292
|
+
}) as any as S.Schema<CreateDedicatedNashaPartitionCustomSnapshotRequest>;
|
|
293
|
+
|
|
294
|
+
/** Atime values */
|
|
295
|
+
export type DedicatedStorageAtimeEnum = "off" | "on";
|
|
296
|
+
export const DedicatedStorageAtimeEnum = /*@__PURE__*/ S.String;
|
|
297
|
+
|
|
298
|
+
/** Recordsize values */
|
|
299
|
+
export type DedicatedStorageRecordSizeEnum =
|
|
300
|
+
| "1048576"
|
|
301
|
+
| "131072"
|
|
302
|
+
| "16384"
|
|
303
|
+
| "32768"
|
|
304
|
+
| "4096"
|
|
305
|
+
| "65536"
|
|
306
|
+
| "8192";
|
|
307
|
+
export const DedicatedStorageRecordSizeEnum = /*@__PURE__*/ S.String;
|
|
308
|
+
|
|
309
|
+
/** Sync values */
|
|
310
|
+
export type DedicatedStorageSyncEnum = "always" | "disabled" | "standard";
|
|
311
|
+
export const DedicatedStorageSyncEnum = /*@__PURE__*/ S.String;
|
|
312
|
+
|
|
313
|
+
/** The template enumeration available for your partition. */
|
|
314
|
+
export type DedicatedStorageTemplateUsageOptionsEnum =
|
|
315
|
+
| "Databases"
|
|
316
|
+
| "Default"
|
|
317
|
+
| "File Systems (big files)"
|
|
318
|
+
| "Virtual machines";
|
|
319
|
+
export const DedicatedStorageTemplateUsageOptionsEnum = /*@__PURE__*/ S.String;
|
|
320
|
+
|
|
321
|
+
export interface CreateDedicatedNashaPartitionOptionRequest {
|
|
322
|
+
/** The internal name of your storage */
|
|
323
|
+
serviceName: string;
|
|
324
|
+
/** the given name of partition */
|
|
325
|
+
partitionName: string;
|
|
326
|
+
/** atime setting */
|
|
327
|
+
atime?: DedicatedStorageAtimeEnum | (string & {});
|
|
328
|
+
/** ZFS recordsize */
|
|
329
|
+
recordsize?: DedicatedStorageRecordSizeEnum | (string & {});
|
|
330
|
+
/** sync setting */
|
|
331
|
+
sync?: DedicatedStorageSyncEnum | (string & {});
|
|
332
|
+
/** The name of the usage template to apply for this partition. */
|
|
333
|
+
templateName?: DedicatedStorageTemplateUsageOptionsEnum | (string & {});
|
|
334
|
+
}
|
|
335
|
+
export const CreateDedicatedNashaPartitionOptionRequest =
|
|
336
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
337
|
+
S.Struct({
|
|
338
|
+
serviceName: S.String.pipe(T.Label()),
|
|
339
|
+
partitionName: S.String.pipe(T.Label()),
|
|
340
|
+
atime: S.optional(DedicatedStorageAtimeEnum),
|
|
341
|
+
recordsize: S.optional(DedicatedStorageRecordSizeEnum),
|
|
342
|
+
sync: S.optional(DedicatedStorageSyncEnum),
|
|
343
|
+
templateName: S.optional(DedicatedStorageTemplateUsageOptionsEnum),
|
|
344
|
+
}).pipe(
|
|
345
|
+
T.Http({
|
|
346
|
+
method: "POST",
|
|
347
|
+
uri: "/dedicated/nasha/{serviceName}/partition/{partitionName}/options",
|
|
348
|
+
code: 200,
|
|
349
|
+
}),
|
|
350
|
+
),
|
|
351
|
+
).annotate({
|
|
352
|
+
identifier: "CreateDedicatedNashaPartitionOptionRequest",
|
|
353
|
+
}) as any as S.Schema<CreateDedicatedNashaPartitionOptionRequest>;
|
|
354
|
+
|
|
355
|
+
export interface CreateDedicatedNashaPartitionQuotaRequest {
|
|
356
|
+
/** The internal name of your storage */
|
|
357
|
+
serviceName: string;
|
|
358
|
+
/** the given name of partition */
|
|
359
|
+
partitionName: string;
|
|
360
|
+
/** the size to set in MB */
|
|
361
|
+
size: number;
|
|
362
|
+
/** the uid to set quota on */
|
|
363
|
+
uid: number;
|
|
364
|
+
}
|
|
365
|
+
export const CreateDedicatedNashaPartitionQuotaRequest =
|
|
366
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
367
|
+
S.Struct({
|
|
368
|
+
serviceName: S.String.pipe(T.Label()),
|
|
369
|
+
partitionName: S.String.pipe(T.Label()),
|
|
370
|
+
size: S.Number,
|
|
371
|
+
uid: S.Number,
|
|
372
|
+
}).pipe(
|
|
373
|
+
T.Http({
|
|
374
|
+
method: "POST",
|
|
375
|
+
uri: "/dedicated/nasha/{serviceName}/partition/{partitionName}/quota",
|
|
376
|
+
code: 200,
|
|
377
|
+
}),
|
|
378
|
+
),
|
|
379
|
+
).annotate({
|
|
380
|
+
identifier: "CreateDedicatedNashaPartitionQuotaRequest",
|
|
381
|
+
}) as any as S.Schema<CreateDedicatedNashaPartitionQuotaRequest>;
|
|
382
|
+
|
|
383
|
+
/** Partition snapshot allowed */
|
|
384
|
+
export type DedicatedStorageSnapshotEnum =
|
|
385
|
+
| "day-1"
|
|
386
|
+
| "day-2"
|
|
387
|
+
| "day-3"
|
|
388
|
+
| "day-7"
|
|
389
|
+
| "hour-1"
|
|
390
|
+
| "hour-6";
|
|
391
|
+
export const DedicatedStorageSnapshotEnum = /*@__PURE__*/ S.String;
|
|
392
|
+
|
|
393
|
+
export interface CreateDedicatedNashaPartitionSnapshotRequest {
|
|
394
|
+
/** The internal name of your storage */
|
|
395
|
+
serviceName: string;
|
|
396
|
+
/** the given name of partition */
|
|
397
|
+
partitionName: string;
|
|
398
|
+
/** Snapshot interval to add */
|
|
399
|
+
snapshotType: DedicatedStorageSnapshotEnum | (string & {});
|
|
400
|
+
}
|
|
401
|
+
export const CreateDedicatedNashaPartitionSnapshotRequest =
|
|
402
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
403
|
+
S.Struct({
|
|
404
|
+
serviceName: S.String.pipe(T.Label()),
|
|
405
|
+
partitionName: S.String.pipe(T.Label()),
|
|
406
|
+
snapshotType: DedicatedStorageSnapshotEnum,
|
|
407
|
+
}).pipe(
|
|
408
|
+
T.Http({
|
|
409
|
+
method: "POST",
|
|
410
|
+
uri: "/dedicated/nasha/{serviceName}/partition/{partitionName}/snapshot",
|
|
411
|
+
code: 200,
|
|
412
|
+
}),
|
|
413
|
+
),
|
|
414
|
+
).annotate({
|
|
415
|
+
identifier: "CreateDedicatedNashaPartitionSnapshotRequest",
|
|
416
|
+
}) as any as S.Schema<CreateDedicatedNashaPartitionSnapshotRequest>;
|
|
417
|
+
|
|
418
|
+
export interface DeleteDedicatedNashaPartitionRequest {
|
|
419
|
+
/** The internal name of your storage */
|
|
420
|
+
serviceName: string;
|
|
421
|
+
/** the given name of partition */
|
|
422
|
+
partitionName: string;
|
|
423
|
+
}
|
|
424
|
+
export const DeleteDedicatedNashaPartitionRequest = /*@__PURE__*/ S.suspend(
|
|
425
|
+
() =>
|
|
426
|
+
S.Struct({
|
|
427
|
+
serviceName: S.String.pipe(T.Label()),
|
|
428
|
+
partitionName: S.String.pipe(T.Label()),
|
|
429
|
+
}).pipe(
|
|
430
|
+
T.Http({
|
|
431
|
+
method: "DELETE",
|
|
432
|
+
uri: "/dedicated/nasha/{serviceName}/partition/{partitionName}",
|
|
433
|
+
code: 200,
|
|
434
|
+
}),
|
|
435
|
+
),
|
|
436
|
+
).annotate({
|
|
437
|
+
identifier: "DeleteDedicatedNashaPartitionRequest",
|
|
438
|
+
}) as any as S.Schema<DeleteDedicatedNashaPartitionRequest>;
|
|
439
|
+
|
|
440
|
+
export interface DeleteDedicatedNashaPartitionAccessRequest {
|
|
441
|
+
/** The internal name of your storage */
|
|
442
|
+
serviceName: string;
|
|
443
|
+
/** the given name of partition */
|
|
444
|
+
partitionName: string;
|
|
445
|
+
/** the ip in root on storage */
|
|
446
|
+
ip: string;
|
|
447
|
+
}
|
|
448
|
+
export const DeleteDedicatedNashaPartitionAccessRequest =
|
|
449
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
450
|
+
S.Struct({
|
|
451
|
+
serviceName: S.String.pipe(T.Label()),
|
|
452
|
+
partitionName: S.String.pipe(T.Label()),
|
|
453
|
+
ip: S.String.pipe(T.Label()),
|
|
454
|
+
}).pipe(
|
|
455
|
+
T.Http({
|
|
456
|
+
method: "DELETE",
|
|
457
|
+
uri: "/dedicated/nasha/{serviceName}/partition/{partitionName}/access/{ip}",
|
|
458
|
+
code: 200,
|
|
459
|
+
}),
|
|
460
|
+
),
|
|
461
|
+
).annotate({
|
|
462
|
+
identifier: "DeleteDedicatedNashaPartitionAccessRequest",
|
|
463
|
+
}) as any as S.Schema<DeleteDedicatedNashaPartitionAccessRequest>;
|
|
464
|
+
|
|
465
|
+
export interface DeleteDedicatedNashaPartitionCustomSnapshotRequest {
|
|
466
|
+
/** The internal name of your storage */
|
|
467
|
+
serviceName: string;
|
|
468
|
+
/** the given name of partition */
|
|
469
|
+
partitionName: string;
|
|
470
|
+
/** name of the snapshot */
|
|
471
|
+
name: string;
|
|
472
|
+
}
|
|
473
|
+
export const DeleteDedicatedNashaPartitionCustomSnapshotRequest =
|
|
474
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
475
|
+
S.Struct({
|
|
476
|
+
serviceName: S.String.pipe(T.Label()),
|
|
477
|
+
partitionName: S.String.pipe(T.Label()),
|
|
478
|
+
name: S.String.pipe(T.Label()),
|
|
479
|
+
}).pipe(
|
|
480
|
+
T.Http({
|
|
481
|
+
method: "DELETE",
|
|
482
|
+
uri: "/dedicated/nasha/{serviceName}/partition/{partitionName}/customSnapshot/{name}",
|
|
483
|
+
code: 200,
|
|
484
|
+
}),
|
|
485
|
+
),
|
|
486
|
+
).annotate({
|
|
487
|
+
identifier: "DeleteDedicatedNashaPartitionCustomSnapshotRequest",
|
|
488
|
+
}) as any as S.Schema<DeleteDedicatedNashaPartitionCustomSnapshotRequest>;
|
|
489
|
+
|
|
490
|
+
export interface DeleteDedicatedNashaPartitionQuotaRequest {
|
|
491
|
+
/** The internal name of your storage */
|
|
492
|
+
serviceName: string;
|
|
493
|
+
/** the given name of partition */
|
|
494
|
+
partitionName: string;
|
|
495
|
+
/** the uid to set quota on */
|
|
496
|
+
uid: number;
|
|
497
|
+
}
|
|
498
|
+
export const DeleteDedicatedNashaPartitionQuotaRequest =
|
|
499
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
500
|
+
S.Struct({
|
|
501
|
+
serviceName: S.String.pipe(T.Label()),
|
|
502
|
+
partitionName: S.String.pipe(T.Label()),
|
|
503
|
+
uid: S.Number.pipe(T.Label()),
|
|
504
|
+
}).pipe(
|
|
505
|
+
T.Http({
|
|
506
|
+
method: "DELETE",
|
|
507
|
+
uri: "/dedicated/nasha/{serviceName}/partition/{partitionName}/quota/{uid}",
|
|
508
|
+
code: 200,
|
|
509
|
+
}),
|
|
510
|
+
),
|
|
511
|
+
).annotate({
|
|
512
|
+
identifier: "DeleteDedicatedNashaPartitionQuotaRequest",
|
|
513
|
+
}) as any as S.Schema<DeleteDedicatedNashaPartitionQuotaRequest>;
|
|
514
|
+
|
|
515
|
+
/** Partition snapshot allowed */
|
|
516
|
+
export type DeleteDedicatedNashaPartitionSnapshotRequestSnapshotType =
|
|
517
|
+
| "day-1"
|
|
518
|
+
| "day-2"
|
|
519
|
+
| "day-3"
|
|
520
|
+
| "day-7"
|
|
521
|
+
| "hour-1"
|
|
522
|
+
| "hour-6";
|
|
523
|
+
export const DeleteDedicatedNashaPartitionSnapshotRequestSnapshotType =
|
|
524
|
+
/*@__PURE__*/ S.String;
|
|
525
|
+
|
|
526
|
+
export interface DeleteDedicatedNashaPartitionSnapshotRequest {
|
|
527
|
+
/** The internal name of your storage */
|
|
528
|
+
serviceName: string;
|
|
529
|
+
/** the given name of partition */
|
|
530
|
+
partitionName: string;
|
|
531
|
+
/** the interval of snapshot */
|
|
532
|
+
snapshotType:
|
|
533
|
+
| DeleteDedicatedNashaPartitionSnapshotRequestSnapshotType
|
|
534
|
+
| (string & {});
|
|
535
|
+
}
|
|
536
|
+
export const DeleteDedicatedNashaPartitionSnapshotRequest =
|
|
537
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
538
|
+
S.Struct({
|
|
539
|
+
serviceName: S.String.pipe(T.Label()),
|
|
540
|
+
partitionName: S.String.pipe(T.Label()),
|
|
541
|
+
snapshotType:
|
|
542
|
+
DeleteDedicatedNashaPartitionSnapshotRequestSnapshotType.pipe(
|
|
543
|
+
T.Label(),
|
|
544
|
+
),
|
|
545
|
+
}).pipe(
|
|
546
|
+
T.Http({
|
|
547
|
+
method: "DELETE",
|
|
548
|
+
uri: "/dedicated/nasha/{serviceName}/partition/{partitionName}/snapshot/{snapshotType}",
|
|
549
|
+
code: 200,
|
|
550
|
+
}),
|
|
551
|
+
),
|
|
552
|
+
).annotate({
|
|
553
|
+
identifier: "DeleteDedicatedNashaPartitionSnapshotRequest",
|
|
554
|
+
}) as any as S.Schema<DeleteDedicatedNashaPartitionSnapshotRequest>;
|
|
555
|
+
|
|
556
|
+
export interface GetDedicatedNashaRequest {
|
|
557
|
+
/** The internal name of your storage */
|
|
558
|
+
serviceName: string;
|
|
559
|
+
}
|
|
560
|
+
export const GetDedicatedNashaRequest = /*@__PURE__*/ S.suspend(() =>
|
|
561
|
+
S.Struct({
|
|
562
|
+
serviceName: S.String.pipe(T.Label()),
|
|
563
|
+
}).pipe(
|
|
564
|
+
T.Http({ method: "GET", uri: "/dedicated/nasha/{serviceName}", code: 200 }),
|
|
565
|
+
),
|
|
566
|
+
).annotate({
|
|
567
|
+
identifier: "GetDedicatedNashaRequest",
|
|
568
|
+
}) as any as S.Schema<GetDedicatedNashaRequest>;
|
|
569
|
+
|
|
570
|
+
/** the disk type of the nasHa */
|
|
571
|
+
export type DedicatedStorageDiskTypeEnum = "hdd" | "nvme" | "ssd";
|
|
572
|
+
export const DedicatedStorageDiskTypeEnum = /*@__PURE__*/ S.String;
|
|
573
|
+
|
|
574
|
+
/** Resource tags. Tags that were internally computed are prefixed with ovh: */
|
|
575
|
+
export type IamResourceMetadataTagsMap = { [key: string]: string | undefined };
|
|
576
|
+
export const IamResourceMetadataTagsMap = /*@__PURE__*/ S.Record(
|
|
577
|
+
S.String,
|
|
578
|
+
S.String,
|
|
579
|
+
) as any as S.Schema<IamResourceMetadataTagsMap>;
|
|
580
|
+
|
|
581
|
+
/** IAM resource metadata embedded in services models */
|
|
582
|
+
export interface IamResourceMetadata {
|
|
583
|
+
/** Resource display name */
|
|
584
|
+
displayName?: string | null;
|
|
585
|
+
/** Unique identifier of the resource */
|
|
586
|
+
id?: string;
|
|
587
|
+
/** Resource tags. Tags that were internally computed are prefixed with ovh: */
|
|
588
|
+
tags?: IamResourceMetadataTagsMap | null;
|
|
589
|
+
/** Unique resource name used in policies */
|
|
590
|
+
urn?: string;
|
|
591
|
+
}
|
|
592
|
+
export const IamResourceMetadata = /*@__PURE__*/ S.suspend(() =>
|
|
593
|
+
S.Struct({
|
|
594
|
+
displayName: S.optional(S.NullOr(S.String)),
|
|
595
|
+
id: S.optional(S.String),
|
|
596
|
+
tags: S.optional(S.NullOr(IamResourceMetadataTagsMap)),
|
|
597
|
+
urn: S.optional(S.String),
|
|
598
|
+
}),
|
|
599
|
+
).annotate({
|
|
600
|
+
identifier: "IamResourceMetadata",
|
|
601
|
+
}) as any as S.Schema<IamResourceMetadata>;
|
|
602
|
+
|
|
603
|
+
/** Storage nas HA */
|
|
604
|
+
export interface DedicatedNashaStorageWithIAM {
|
|
605
|
+
/** True, if partition creation is allowed on this nas HA */
|
|
606
|
+
canCreatePartition?: boolean;
|
|
607
|
+
/** The name you give to the nas */
|
|
608
|
+
customName?: string | null;
|
|
609
|
+
/** area of nas */
|
|
610
|
+
datacenter?: string | null;
|
|
611
|
+
/** the disk type of the nasHa */
|
|
612
|
+
diskType?: DedicatedStorageDiskTypeEnum;
|
|
613
|
+
/** IAM resource metadata */
|
|
614
|
+
iam?: IamResourceMetadata | null;
|
|
615
|
+
/** Access ip of nas */
|
|
616
|
+
ip?: string | null;
|
|
617
|
+
/** Send an email to customer if any issue is detected */
|
|
618
|
+
monitored?: boolean;
|
|
619
|
+
/** The storage service name */
|
|
620
|
+
serviceName?: string;
|
|
621
|
+
/** percentage of nas space used in % */
|
|
622
|
+
zpoolCapacity?: number;
|
|
623
|
+
/** the size of the nas */
|
|
624
|
+
zpoolSize?: number;
|
|
625
|
+
}
|
|
626
|
+
export const DedicatedNashaStorageWithIAM = /*@__PURE__*/ S.suspend(() =>
|
|
627
|
+
S.Struct({
|
|
628
|
+
canCreatePartition: S.optional(S.Boolean),
|
|
629
|
+
customName: S.optional(S.NullOr(S.String)),
|
|
630
|
+
datacenter: S.optional(S.NullOr(S.String)),
|
|
631
|
+
diskType: S.optional(DedicatedStorageDiskTypeEnum),
|
|
632
|
+
iam: S.optional(S.NullOr(IamResourceMetadata)),
|
|
633
|
+
ip: S.optional(S.NullOr(S.String)),
|
|
634
|
+
monitored: S.optional(S.Boolean),
|
|
635
|
+
serviceName: S.optional(S.String),
|
|
636
|
+
zpoolCapacity: S.optional(S.Number),
|
|
637
|
+
zpoolSize: S.optional(S.Number),
|
|
638
|
+
}),
|
|
639
|
+
).annotate({
|
|
640
|
+
identifier: "DedicatedNashaStorageWithIAM",
|
|
641
|
+
}) as any as S.Schema<DedicatedNashaStorageWithIAM>;
|
|
642
|
+
|
|
643
|
+
export interface GetDedicatedNashaMetricsTokenRequest {
|
|
644
|
+
/** The internal name of your storage */
|
|
645
|
+
serviceName: string;
|
|
646
|
+
}
|
|
647
|
+
export const GetDedicatedNashaMetricsTokenRequest = /*@__PURE__*/ S.suspend(
|
|
648
|
+
() =>
|
|
649
|
+
S.Struct({
|
|
650
|
+
serviceName: S.String.pipe(T.Label()),
|
|
651
|
+
}).pipe(
|
|
652
|
+
T.Http({
|
|
653
|
+
method: "GET",
|
|
654
|
+
uri: "/dedicated/nasha/{serviceName}/metricsToken",
|
|
655
|
+
code: 200,
|
|
656
|
+
}),
|
|
657
|
+
),
|
|
658
|
+
).annotate({
|
|
659
|
+
identifier: "GetDedicatedNashaMetricsTokenRequest",
|
|
660
|
+
}) as any as S.Schema<GetDedicatedNashaMetricsTokenRequest>;
|
|
661
|
+
|
|
662
|
+
/** A structure describing the metrics token result */
|
|
663
|
+
export interface DedicatedStorageMetricsTokenResult {
|
|
664
|
+
/** The url of the endpoint */
|
|
665
|
+
endpoint?: string;
|
|
666
|
+
/** The token value */
|
|
667
|
+
token?: string;
|
|
668
|
+
}
|
|
669
|
+
export const DedicatedStorageMetricsTokenResult = /*@__PURE__*/ S.suspend(() =>
|
|
670
|
+
S.Struct({
|
|
671
|
+
endpoint: S.optional(S.String),
|
|
672
|
+
token: S.optional(S.String),
|
|
673
|
+
}),
|
|
674
|
+
).annotate({
|
|
675
|
+
identifier: "DedicatedStorageMetricsTokenResult",
|
|
676
|
+
}) as any as S.Schema<DedicatedStorageMetricsTokenResult>;
|
|
677
|
+
|
|
678
|
+
export interface GetDedicatedNashaPartitionRequest {
|
|
679
|
+
/** The internal name of your storage */
|
|
680
|
+
serviceName: string;
|
|
681
|
+
/** the given name of partition */
|
|
682
|
+
partitionName: string;
|
|
683
|
+
}
|
|
684
|
+
export const GetDedicatedNashaPartitionRequest = /*@__PURE__*/ S.suspend(() =>
|
|
685
|
+
S.Struct({
|
|
686
|
+
serviceName: S.String.pipe(T.Label()),
|
|
687
|
+
partitionName: S.String.pipe(T.Label()),
|
|
688
|
+
}).pipe(
|
|
689
|
+
T.Http({
|
|
690
|
+
method: "GET",
|
|
691
|
+
uri: "/dedicated/nasha/{serviceName}/partition/{partitionName}",
|
|
692
|
+
code: 200,
|
|
693
|
+
}),
|
|
694
|
+
),
|
|
695
|
+
).annotate({
|
|
696
|
+
identifier: "GetDedicatedNashaPartitionRequest",
|
|
697
|
+
}) as any as S.Schema<GetDedicatedNashaPartitionRequest>;
|
|
698
|
+
|
|
699
|
+
/** Storage zpool partition */
|
|
700
|
+
export interface DedicatedNashaPartition {
|
|
701
|
+
/** percentage of partition space used in % */
|
|
702
|
+
partitionCapacity?: number | null;
|
|
703
|
+
/** a brief description of the partition */
|
|
704
|
+
partitionDescription?: string | null;
|
|
705
|
+
/** the given name of partition */
|
|
706
|
+
partitionName?: string;
|
|
707
|
+
/** must be nfs cifs or both */
|
|
708
|
+
protocol?: DedicatedStorageProtocolEnum;
|
|
709
|
+
/** Partition size */
|
|
710
|
+
size?: number;
|
|
711
|
+
/** percentage of partition space used by snapshots, in % */
|
|
712
|
+
usedBySnapshots?: number | null;
|
|
713
|
+
}
|
|
714
|
+
export const DedicatedNashaPartition = /*@__PURE__*/ S.suspend(() =>
|
|
715
|
+
S.Struct({
|
|
716
|
+
partitionCapacity: S.optional(S.NullOr(S.Number)),
|
|
717
|
+
partitionDescription: S.optional(S.NullOr(S.String)),
|
|
718
|
+
partitionName: S.optional(S.String),
|
|
719
|
+
protocol: S.optional(DedicatedStorageProtocolEnum),
|
|
720
|
+
size: S.optional(S.Number),
|
|
721
|
+
usedBySnapshots: S.optional(S.NullOr(S.Number)),
|
|
722
|
+
}),
|
|
723
|
+
).annotate({
|
|
724
|
+
identifier: "DedicatedNashaPartition",
|
|
725
|
+
}) as any as S.Schema<DedicatedNashaPartition>;
|
|
726
|
+
|
|
727
|
+
export interface GetDedicatedNashaPartitionAccessRequest {
|
|
728
|
+
/** The internal name of your storage */
|
|
729
|
+
serviceName: string;
|
|
730
|
+
/** the given name of partition */
|
|
731
|
+
partitionName: string;
|
|
732
|
+
/** the ip in root on storage */
|
|
733
|
+
ip: string;
|
|
734
|
+
}
|
|
735
|
+
export const GetDedicatedNashaPartitionAccessRequest = /*@__PURE__*/ S.suspend(
|
|
736
|
+
() =>
|
|
737
|
+
S.Struct({
|
|
738
|
+
serviceName: S.String.pipe(T.Label()),
|
|
739
|
+
partitionName: S.String.pipe(T.Label()),
|
|
740
|
+
ip: S.String.pipe(T.Label()),
|
|
741
|
+
}).pipe(
|
|
742
|
+
T.Http({
|
|
743
|
+
method: "GET",
|
|
744
|
+
uri: "/dedicated/nasha/{serviceName}/partition/{partitionName}/access/{ip}",
|
|
745
|
+
code: 200,
|
|
746
|
+
}),
|
|
747
|
+
),
|
|
748
|
+
).annotate({
|
|
749
|
+
identifier: "GetDedicatedNashaPartitionAccessRequest",
|
|
750
|
+
}) as any as S.Schema<GetDedicatedNashaPartitionAccessRequest>;
|
|
751
|
+
|
|
752
|
+
/** Define Acl for partition */
|
|
753
|
+
export interface DedicatedNashaAccess {
|
|
754
|
+
/** the id of the access */
|
|
755
|
+
accessId?: number;
|
|
756
|
+
/** a brief description of the acl */
|
|
757
|
+
aclDescription?: string | null;
|
|
758
|
+
/** the ip in root on storage */
|
|
759
|
+
ip?: string;
|
|
760
|
+
/** ACL type */
|
|
761
|
+
type?: DedicatedStorageAclTypeEnum;
|
|
762
|
+
}
|
|
763
|
+
export const DedicatedNashaAccess = /*@__PURE__*/ S.suspend(() =>
|
|
764
|
+
S.Struct({
|
|
765
|
+
accessId: S.optional(S.Number),
|
|
766
|
+
aclDescription: S.optional(S.NullOr(S.String)),
|
|
767
|
+
ip: S.optional(S.String),
|
|
768
|
+
type: S.optional(DedicatedStorageAclTypeEnum),
|
|
769
|
+
}),
|
|
770
|
+
).annotate({
|
|
771
|
+
identifier: "DedicatedNashaAccess",
|
|
772
|
+
}) as any as S.Schema<DedicatedNashaAccess>;
|
|
773
|
+
|
|
774
|
+
export interface GetDedicatedNashaPartitionCustomSnapshotRequest {
|
|
775
|
+
/** The internal name of your storage */
|
|
776
|
+
serviceName: string;
|
|
777
|
+
/** the given name of partition */
|
|
778
|
+
partitionName: string;
|
|
779
|
+
/** name of the snapshot */
|
|
780
|
+
name: string;
|
|
781
|
+
}
|
|
782
|
+
export const GetDedicatedNashaPartitionCustomSnapshotRequest =
|
|
783
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
784
|
+
S.Struct({
|
|
785
|
+
serviceName: S.String.pipe(T.Label()),
|
|
786
|
+
partitionName: S.String.pipe(T.Label()),
|
|
787
|
+
name: S.String.pipe(T.Label()),
|
|
788
|
+
}).pipe(
|
|
789
|
+
T.Http({
|
|
790
|
+
method: "GET",
|
|
791
|
+
uri: "/dedicated/nasha/{serviceName}/partition/{partitionName}/customSnapshot/{name}",
|
|
792
|
+
code: 200,
|
|
793
|
+
}),
|
|
794
|
+
),
|
|
795
|
+
).annotate({
|
|
796
|
+
identifier: "GetDedicatedNashaPartitionCustomSnapshotRequest",
|
|
797
|
+
}) as any as S.Schema<GetDedicatedNashaPartitionCustomSnapshotRequest>;
|
|
798
|
+
|
|
799
|
+
/** Custom Snapshot */
|
|
800
|
+
export interface DedicatedNashaCustomSnap {
|
|
801
|
+
/** date and time at which snapshot will be automatically destroyed */
|
|
802
|
+
expiration?: string | null;
|
|
803
|
+
/** name of the snapshot */
|
|
804
|
+
name?: string;
|
|
805
|
+
}
|
|
806
|
+
export const DedicatedNashaCustomSnap = /*@__PURE__*/ S.suspend(() =>
|
|
807
|
+
S.Struct({
|
|
808
|
+
expiration: S.optional(S.NullOr(S.String)),
|
|
809
|
+
name: S.optional(S.String),
|
|
810
|
+
}),
|
|
811
|
+
).annotate({
|
|
812
|
+
identifier: "DedicatedNashaCustomSnap",
|
|
813
|
+
}) as any as S.Schema<DedicatedNashaCustomSnap>;
|
|
814
|
+
|
|
815
|
+
export interface GetDedicatedNashaPartitionOptionsRequest {
|
|
816
|
+
/** The internal name of your storage */
|
|
817
|
+
serviceName: string;
|
|
818
|
+
/** the given name of partition */
|
|
819
|
+
partitionName: string;
|
|
820
|
+
}
|
|
821
|
+
export const GetDedicatedNashaPartitionOptionsRequest = /*@__PURE__*/ S.suspend(
|
|
822
|
+
() =>
|
|
823
|
+
S.Struct({
|
|
824
|
+
serviceName: S.String.pipe(T.Label()),
|
|
825
|
+
partitionName: S.String.pipe(T.Label()),
|
|
826
|
+
}).pipe(
|
|
827
|
+
T.Http({
|
|
828
|
+
method: "GET",
|
|
829
|
+
uri: "/dedicated/nasha/{serviceName}/partition/{partitionName}/options",
|
|
830
|
+
code: 200,
|
|
831
|
+
}),
|
|
832
|
+
),
|
|
833
|
+
).annotate({
|
|
834
|
+
identifier: "GetDedicatedNashaPartitionOptionsRequest",
|
|
835
|
+
}) as any as S.Schema<GetDedicatedNashaPartitionOptionsRequest>;
|
|
836
|
+
|
|
837
|
+
/** Partition options */
|
|
838
|
+
export interface DedicatedNashaOptions {
|
|
839
|
+
/** atime setting */
|
|
840
|
+
atime?: string;
|
|
841
|
+
/** ID */
|
|
842
|
+
id?: number;
|
|
843
|
+
/** ZFS recordsize */
|
|
844
|
+
recordsize?: string;
|
|
845
|
+
/** sync setting */
|
|
846
|
+
sync?: string;
|
|
847
|
+
/** the template name */
|
|
848
|
+
templateName?: DedicatedStorageTemplateUsageOptionsEnum | null;
|
|
849
|
+
}
|
|
850
|
+
export const DedicatedNashaOptions = /*@__PURE__*/ S.suspend(() =>
|
|
851
|
+
S.Struct({
|
|
852
|
+
atime: S.optional(S.String),
|
|
853
|
+
id: S.optional(S.Number),
|
|
854
|
+
recordsize: S.optional(S.String),
|
|
855
|
+
sync: S.optional(S.String),
|
|
856
|
+
templateName: S.optional(
|
|
857
|
+
S.NullOr(DedicatedStorageTemplateUsageOptionsEnum),
|
|
858
|
+
),
|
|
859
|
+
}),
|
|
860
|
+
).annotate({
|
|
861
|
+
identifier: "DedicatedNashaOptions",
|
|
862
|
+
}) as any as S.Schema<DedicatedNashaOptions>;
|
|
863
|
+
|
|
864
|
+
export interface GetDedicatedNashaPartitionQuotaRequest {
|
|
865
|
+
/** The internal name of your storage */
|
|
866
|
+
serviceName: string;
|
|
867
|
+
/** the given name of partition */
|
|
868
|
+
partitionName: string;
|
|
869
|
+
/** the uid to set quota on */
|
|
870
|
+
uid: number;
|
|
871
|
+
}
|
|
872
|
+
export const GetDedicatedNashaPartitionQuotaRequest = /*@__PURE__*/ S.suspend(
|
|
873
|
+
() =>
|
|
874
|
+
S.Struct({
|
|
875
|
+
serviceName: S.String.pipe(T.Label()),
|
|
876
|
+
partitionName: S.String.pipe(T.Label()),
|
|
877
|
+
uid: S.Number.pipe(T.Label()),
|
|
878
|
+
}).pipe(
|
|
879
|
+
T.Http({
|
|
880
|
+
method: "GET",
|
|
881
|
+
uri: "/dedicated/nasha/{serviceName}/partition/{partitionName}/quota/{uid}",
|
|
882
|
+
code: 200,
|
|
883
|
+
}),
|
|
884
|
+
),
|
|
885
|
+
).annotate({
|
|
886
|
+
identifier: "GetDedicatedNashaPartitionQuotaRequest",
|
|
887
|
+
}) as any as S.Schema<GetDedicatedNashaPartitionQuotaRequest>;
|
|
888
|
+
|
|
889
|
+
/** Partition Quota */
|
|
890
|
+
export interface DedicatedNashaQuota {
|
|
891
|
+
/** the size to set in MB */
|
|
892
|
+
size?: number;
|
|
893
|
+
/** the uid to set quota on */
|
|
894
|
+
uid?: number;
|
|
895
|
+
}
|
|
896
|
+
export const DedicatedNashaQuota = /*@__PURE__*/ S.suspend(() =>
|
|
897
|
+
S.Struct({
|
|
898
|
+
size: S.optional(S.Number),
|
|
899
|
+
uid: S.optional(S.Number),
|
|
900
|
+
}),
|
|
901
|
+
).annotate({
|
|
902
|
+
identifier: "DedicatedNashaQuota",
|
|
903
|
+
}) as any as S.Schema<DedicatedNashaQuota>;
|
|
904
|
+
|
|
905
|
+
/** Partition snapshot allowed */
|
|
906
|
+
export type GetDedicatedNashaPartitionSnapshotRequestSnapshotType =
|
|
907
|
+
| "day-1"
|
|
908
|
+
| "day-2"
|
|
909
|
+
| "day-3"
|
|
910
|
+
| "day-7"
|
|
911
|
+
| "hour-1"
|
|
912
|
+
| "hour-6";
|
|
913
|
+
export const GetDedicatedNashaPartitionSnapshotRequestSnapshotType =
|
|
914
|
+
/*@__PURE__*/ S.String;
|
|
915
|
+
|
|
916
|
+
export interface GetDedicatedNashaPartitionSnapshotRequest {
|
|
917
|
+
/** The internal name of your storage */
|
|
918
|
+
serviceName: string;
|
|
919
|
+
/** the given name of partition */
|
|
920
|
+
partitionName: string;
|
|
921
|
+
/** the interval of snapshot */
|
|
922
|
+
snapshotType:
|
|
923
|
+
| GetDedicatedNashaPartitionSnapshotRequestSnapshotType
|
|
924
|
+
| (string & {});
|
|
925
|
+
}
|
|
926
|
+
export const GetDedicatedNashaPartitionSnapshotRequest =
|
|
927
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
928
|
+
S.Struct({
|
|
929
|
+
serviceName: S.String.pipe(T.Label()),
|
|
930
|
+
partitionName: S.String.pipe(T.Label()),
|
|
931
|
+
snapshotType: GetDedicatedNashaPartitionSnapshotRequestSnapshotType.pipe(
|
|
932
|
+
T.Label(),
|
|
933
|
+
),
|
|
934
|
+
}).pipe(
|
|
935
|
+
T.Http({
|
|
936
|
+
method: "GET",
|
|
937
|
+
uri: "/dedicated/nasha/{serviceName}/partition/{partitionName}/snapshot/{snapshotType}",
|
|
938
|
+
code: 200,
|
|
939
|
+
}),
|
|
940
|
+
),
|
|
941
|
+
).annotate({
|
|
942
|
+
identifier: "GetDedicatedNashaPartitionSnapshotRequest",
|
|
943
|
+
}) as any as S.Schema<GetDedicatedNashaPartitionSnapshotRequest>;
|
|
944
|
+
|
|
945
|
+
/** Partition Snapshot */
|
|
946
|
+
export interface DedicatedNashaSnapshot {
|
|
947
|
+
/** the interval of snapshot */
|
|
948
|
+
snapshotType?: DedicatedStorageSnapshotEnum;
|
|
949
|
+
}
|
|
950
|
+
export const DedicatedNashaSnapshot = /*@__PURE__*/ S.suspend(() =>
|
|
951
|
+
S.Struct({
|
|
952
|
+
snapshotType: S.optional(DedicatedStorageSnapshotEnum),
|
|
953
|
+
}),
|
|
954
|
+
).annotate({
|
|
955
|
+
identifier: "DedicatedNashaSnapshot",
|
|
956
|
+
}) as any as S.Schema<DedicatedNashaSnapshot>;
|
|
957
|
+
|
|
958
|
+
/** Available types for NAS partition usage */
|
|
959
|
+
export type DedicatedStoragePartitionUsageTypeEnum =
|
|
960
|
+
| "size"
|
|
961
|
+
| "used"
|
|
962
|
+
| "usedbysnapshots";
|
|
963
|
+
export const DedicatedStoragePartitionUsageTypeEnum = /*@__PURE__*/ S.String;
|
|
964
|
+
|
|
965
|
+
export interface GetDedicatedNashaPartitionUseRequest {
|
|
966
|
+
/** The internal name of your storage */
|
|
967
|
+
serviceName: string;
|
|
968
|
+
/** the given name of partition */
|
|
969
|
+
partitionName: string;
|
|
970
|
+
/** The type of statistic to be fetched */
|
|
971
|
+
type: DedicatedStoragePartitionUsageTypeEnum | (string & {});
|
|
972
|
+
}
|
|
973
|
+
export const GetDedicatedNashaPartitionUseRequest = /*@__PURE__*/ S.suspend(
|
|
974
|
+
() =>
|
|
975
|
+
S.Struct({
|
|
976
|
+
serviceName: S.String.pipe(T.Label()),
|
|
977
|
+
partitionName: S.String.pipe(T.Label()),
|
|
978
|
+
type: DedicatedStoragePartitionUsageTypeEnum.pipe(T.Query()),
|
|
979
|
+
}).pipe(
|
|
980
|
+
T.Http({
|
|
981
|
+
method: "GET",
|
|
982
|
+
uri: "/dedicated/nasha/{serviceName}/partition/{partitionName}/use",
|
|
983
|
+
code: 200,
|
|
984
|
+
}),
|
|
985
|
+
),
|
|
986
|
+
).annotate({
|
|
987
|
+
identifier: "GetDedicatedNashaPartitionUseRequest",
|
|
988
|
+
}) as any as S.Schema<GetDedicatedNashaPartitionUseRequest>;
|
|
989
|
+
|
|
990
|
+
/** A numeric value tagged with its unit */
|
|
991
|
+
export interface ComplexTypeUnitAndValueDouble {
|
|
992
|
+
unit?: string;
|
|
993
|
+
value?: number;
|
|
994
|
+
}
|
|
995
|
+
export const ComplexTypeUnitAndValueDouble = /*@__PURE__*/ S.suspend(() =>
|
|
996
|
+
S.Struct({
|
|
997
|
+
unit: S.optional(S.String),
|
|
998
|
+
value: S.optional(S.Number),
|
|
999
|
+
}),
|
|
1000
|
+
).annotate({
|
|
1001
|
+
identifier: "ComplexTypeUnitAndValueDouble",
|
|
1002
|
+
}) as any as S.Schema<ComplexTypeUnitAndValueDouble>;
|
|
1003
|
+
|
|
1004
|
+
export interface GetDedicatedNashaServiceInfosRequest {
|
|
1005
|
+
/** The internal name of your storage */
|
|
1006
|
+
serviceName: string;
|
|
1007
|
+
}
|
|
1008
|
+
export const GetDedicatedNashaServiceInfosRequest = /*@__PURE__*/ S.suspend(
|
|
1009
|
+
() =>
|
|
1010
|
+
S.Struct({
|
|
1011
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1012
|
+
}).pipe(
|
|
1013
|
+
T.Http({
|
|
1014
|
+
method: "GET",
|
|
1015
|
+
uri: "/dedicated/nasha/{serviceName}/serviceInfos",
|
|
1016
|
+
code: 200,
|
|
1017
|
+
}),
|
|
1018
|
+
),
|
|
1019
|
+
).annotate({
|
|
1020
|
+
identifier: "GetDedicatedNashaServiceInfosRequest",
|
|
1021
|
+
}) as any as S.Schema<GetDedicatedNashaServiceInfosRequest>;
|
|
1022
|
+
|
|
1023
|
+
/** All the possible renew period of your service in month */
|
|
1024
|
+
export type ServicesServicePossibleRenewPeriodList = Array<number>;
|
|
1025
|
+
export const ServicesServicePossibleRenewPeriodList = /*@__PURE__*/ S.Array(
|
|
1026
|
+
S.Number,
|
|
1027
|
+
) as any as S.Schema<ServicesServicePossibleRenewPeriodList>;
|
|
1028
|
+
|
|
1029
|
+
/** Map a possible renew for a specific service */
|
|
1030
|
+
export interface ServiceRenewType {
|
|
1031
|
+
/** The service is automatically renewed */
|
|
1032
|
+
automatic?: boolean;
|
|
1033
|
+
/** The service will be deleted at expiration */
|
|
1034
|
+
deleteAtExpiration?: boolean;
|
|
1035
|
+
/** The service forced to be renewed */
|
|
1036
|
+
forced?: boolean;
|
|
1037
|
+
/** The service needs to be manually renewed and paid */
|
|
1038
|
+
manualPayment?: boolean | null;
|
|
1039
|
+
/** period of renew in month */
|
|
1040
|
+
period?: number | null;
|
|
1041
|
+
}
|
|
1042
|
+
export const ServiceRenewType = /*@__PURE__*/ S.suspend(() =>
|
|
1043
|
+
S.Struct({
|
|
1044
|
+
automatic: S.optional(S.Boolean),
|
|
1045
|
+
deleteAtExpiration: S.optional(S.Boolean),
|
|
1046
|
+
forced: S.optional(S.Boolean),
|
|
1047
|
+
manualPayment: S.optional(S.NullOr(S.Boolean)),
|
|
1048
|
+
period: S.optional(S.NullOr(S.Number)),
|
|
1049
|
+
}),
|
|
1050
|
+
).annotate({
|
|
1051
|
+
identifier: "ServiceRenewType",
|
|
1052
|
+
}) as any as S.Schema<ServiceRenewType>;
|
|
1053
|
+
|
|
1054
|
+
/** Detailed renewal type of a service */
|
|
1055
|
+
export type ServiceRenewalTypeEnum =
|
|
1056
|
+
| "automaticForcedProduct"
|
|
1057
|
+
| "automaticV2012"
|
|
1058
|
+
| "automaticV2014"
|
|
1059
|
+
| "automaticV2016"
|
|
1060
|
+
| "automaticV2024"
|
|
1061
|
+
| "manual"
|
|
1062
|
+
| "oneShot"
|
|
1063
|
+
| "option";
|
|
1064
|
+
export const ServiceRenewalTypeEnum = /*@__PURE__*/ S.String;
|
|
1065
|
+
|
|
1066
|
+
export type ServiceStateEnum =
|
|
1067
|
+
| "autorenewInProgress"
|
|
1068
|
+
| "expired"
|
|
1069
|
+
| "inCreation"
|
|
1070
|
+
| "ok"
|
|
1071
|
+
| "pendingDebt"
|
|
1072
|
+
| "unPaid";
|
|
1073
|
+
export const ServiceStateEnum = /*@__PURE__*/ S.String;
|
|
1074
|
+
|
|
1075
|
+
/** Details about a Service */
|
|
1076
|
+
export interface ServicesService {
|
|
1077
|
+
/** Indicates that the service can be set up to be deleted at expiration */
|
|
1078
|
+
canDeleteAtExpiration?: boolean;
|
|
1079
|
+
contactAdmin?: string;
|
|
1080
|
+
contactBilling?: string;
|
|
1081
|
+
contactTech?: string;
|
|
1082
|
+
creation?: string;
|
|
1083
|
+
domain?: string;
|
|
1084
|
+
engagedUpTo?: string | null;
|
|
1085
|
+
expiration?: string;
|
|
1086
|
+
/** All the possible renew period of your service in month */
|
|
1087
|
+
possibleRenewPeriod?: ServicesServicePossibleRenewPeriodList | null;
|
|
1088
|
+
/** Way of handling the renew */
|
|
1089
|
+
renew?: ServiceRenewType | null;
|
|
1090
|
+
renewalType?: ServiceRenewalTypeEnum;
|
|
1091
|
+
serviceId?: number;
|
|
1092
|
+
status?: ServiceStateEnum;
|
|
1093
|
+
}
|
|
1094
|
+
export const ServicesService = /*@__PURE__*/ S.suspend(() =>
|
|
1095
|
+
S.Struct({
|
|
1096
|
+
canDeleteAtExpiration: S.optional(S.Boolean),
|
|
1097
|
+
contactAdmin: S.optional(S.String),
|
|
1098
|
+
contactBilling: S.optional(S.String),
|
|
1099
|
+
contactTech: S.optional(S.String),
|
|
1100
|
+
creation: S.optional(S.String),
|
|
1101
|
+
domain: S.optional(S.String),
|
|
1102
|
+
engagedUpTo: S.optional(S.NullOr(S.String)),
|
|
1103
|
+
expiration: S.optional(S.String),
|
|
1104
|
+
possibleRenewPeriod: S.optional(
|
|
1105
|
+
S.NullOr(ServicesServicePossibleRenewPeriodList),
|
|
1106
|
+
),
|
|
1107
|
+
renew: S.optional(S.NullOr(ServiceRenewType)),
|
|
1108
|
+
renewalType: S.optional(ServiceRenewalTypeEnum),
|
|
1109
|
+
serviceId: S.optional(S.Number),
|
|
1110
|
+
status: S.optional(ServiceStateEnum),
|
|
1111
|
+
}),
|
|
1112
|
+
).annotate({
|
|
1113
|
+
identifier: "ServicesService",
|
|
1114
|
+
}) as any as S.Schema<ServicesService>;
|
|
1115
|
+
|
|
1116
|
+
export interface GetDedicatedNashaTaskRequest {
|
|
1117
|
+
/** The internal name of your storage */
|
|
1118
|
+
serviceName: string;
|
|
1119
|
+
/** id of the task */
|
|
1120
|
+
taskId: number;
|
|
1121
|
+
}
|
|
1122
|
+
export const GetDedicatedNashaTaskRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1123
|
+
S.Struct({
|
|
1124
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1125
|
+
taskId: S.Number.pipe(T.Label()),
|
|
1126
|
+
}).pipe(
|
|
1127
|
+
T.Http({
|
|
1128
|
+
method: "GET",
|
|
1129
|
+
uri: "/dedicated/nasha/{serviceName}/task/{taskId}",
|
|
1130
|
+
code: 200,
|
|
1131
|
+
}),
|
|
1132
|
+
),
|
|
1133
|
+
).annotate({
|
|
1134
|
+
identifier: "GetDedicatedNashaTaskRequest",
|
|
1135
|
+
}) as any as S.Schema<GetDedicatedNashaTaskRequest>;
|
|
1136
|
+
|
|
1137
|
+
/** Available types for NAS usage */
|
|
1138
|
+
export type DedicatedStorageNasUsageTypeEnum =
|
|
1139
|
+
| "size"
|
|
1140
|
+
| "used"
|
|
1141
|
+
| "usedbysnapshots";
|
|
1142
|
+
export const DedicatedStorageNasUsageTypeEnum = /*@__PURE__*/ S.String;
|
|
1143
|
+
|
|
1144
|
+
export interface GetDedicatedNashaUseRequest {
|
|
1145
|
+
/** The internal name of your storage */
|
|
1146
|
+
serviceName: string;
|
|
1147
|
+
/** The type of statistic to be fetched */
|
|
1148
|
+
type: DedicatedStorageNasUsageTypeEnum | (string & {});
|
|
1149
|
+
}
|
|
1150
|
+
export const GetDedicatedNashaUseRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1151
|
+
S.Struct({
|
|
1152
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1153
|
+
type: DedicatedStorageNasUsageTypeEnum.pipe(T.Query()),
|
|
1154
|
+
}).pipe(
|
|
1155
|
+
T.Http({
|
|
1156
|
+
method: "GET",
|
|
1157
|
+
uri: "/dedicated/nasha/{serviceName}/use",
|
|
1158
|
+
code: 200,
|
|
1159
|
+
}),
|
|
1160
|
+
),
|
|
1161
|
+
).annotate({
|
|
1162
|
+
identifier: "GetDedicatedNashaUseRequest",
|
|
1163
|
+
}) as any as S.Schema<GetDedicatedNashaUseRequest>;
|
|
1164
|
+
|
|
1165
|
+
/** Resource tag filter */
|
|
1166
|
+
export interface IamResourceTagFilterInput {}
|
|
1167
|
+
export const IamResourceTagFilterInput = /*@__PURE__*/ S.suspend(() =>
|
|
1168
|
+
S.Struct({}),
|
|
1169
|
+
).annotate({
|
|
1170
|
+
identifier: "IamResourceTagFilterInput",
|
|
1171
|
+
}) as any as S.Schema<IamResourceTagFilterInput>;
|
|
1172
|
+
|
|
1173
|
+
export type ListDedicatedNashaRequestIamTagsValueList =
|
|
1174
|
+
Array<IamResourceTagFilterInput>;
|
|
1175
|
+
export const ListDedicatedNashaRequestIamTagsValueList = /*@__PURE__*/ S.Array(
|
|
1176
|
+
IamResourceTagFilterInput,
|
|
1177
|
+
) as any as S.Schema<ListDedicatedNashaRequestIamTagsValueList>;
|
|
1178
|
+
|
|
1179
|
+
export type ListDedicatedNashaRequestIamTagsMap = {
|
|
1180
|
+
[key: string]: ListDedicatedNashaRequestIamTagsValueList | undefined;
|
|
1181
|
+
};
|
|
1182
|
+
export const ListDedicatedNashaRequestIamTagsMap = /*@__PURE__*/ S.Record(
|
|
1183
|
+
S.String,
|
|
1184
|
+
ListDedicatedNashaRequestIamTagsValueList,
|
|
1185
|
+
) as any as S.Schema<ListDedicatedNashaRequestIamTagsMap>;
|
|
1186
|
+
|
|
1187
|
+
export interface ListDedicatedNashaRequest {
|
|
1188
|
+
/** Filter resources on IAM tags */
|
|
1189
|
+
iamTags?: ListDedicatedNashaRequestIamTagsMap;
|
|
1190
|
+
}
|
|
1191
|
+
export const ListDedicatedNashaRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1192
|
+
S.Struct({
|
|
1193
|
+
iamTags: S.optional(ListDedicatedNashaRequestIamTagsMap.pipe(T.Query())),
|
|
1194
|
+
}).pipe(T.Http({ method: "GET", uri: "/dedicated/nasha", code: 200 })),
|
|
1195
|
+
).annotate({
|
|
1196
|
+
identifier: "ListDedicatedNashaRequest",
|
|
1197
|
+
}) as any as S.Schema<ListDedicatedNashaRequest>;
|
|
1198
|
+
|
|
1199
|
+
export type ListDedicatedNashaResponseBodyList = Array<string>;
|
|
1200
|
+
export const ListDedicatedNashaResponseBodyList = /*@__PURE__*/ S.Array(
|
|
1201
|
+
S.String,
|
|
1202
|
+
) as any as S.Schema<ListDedicatedNashaResponseBodyList>;
|
|
1203
|
+
|
|
1204
|
+
export type ListDedicatedNashaResponse = ListDedicatedNashaResponseBodyList;
|
|
1205
|
+
export const ListDedicatedNashaResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1206
|
+
ListDedicatedNashaResponseBodyList.pipe(T.RawResponseRoot()),
|
|
1207
|
+
).annotate({
|
|
1208
|
+
identifier: "ListDedicatedNashaResponse",
|
|
1209
|
+
}) as any as S.Schema<ListDedicatedNashaResponse>;
|
|
1210
|
+
|
|
1211
|
+
export interface ListDedicatedNashaPartitionRequest {
|
|
1212
|
+
/** The internal name of your storage */
|
|
1213
|
+
serviceName: string;
|
|
1214
|
+
}
|
|
1215
|
+
export const ListDedicatedNashaPartitionRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1216
|
+
S.Struct({
|
|
1217
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1218
|
+
}).pipe(
|
|
1219
|
+
T.Http({
|
|
1220
|
+
method: "GET",
|
|
1221
|
+
uri: "/dedicated/nasha/{serviceName}/partition",
|
|
1222
|
+
code: 200,
|
|
1223
|
+
}),
|
|
1224
|
+
),
|
|
1225
|
+
).annotate({
|
|
1226
|
+
identifier: "ListDedicatedNashaPartitionRequest",
|
|
1227
|
+
}) as any as S.Schema<ListDedicatedNashaPartitionRequest>;
|
|
1228
|
+
|
|
1229
|
+
export type ListDedicatedNashaPartitionResponseBodyList = Array<string>;
|
|
1230
|
+
export const ListDedicatedNashaPartitionResponseBodyList =
|
|
1231
|
+
/*@__PURE__*/ S.Array(
|
|
1232
|
+
S.String,
|
|
1233
|
+
) as any as S.Schema<ListDedicatedNashaPartitionResponseBodyList>;
|
|
1234
|
+
|
|
1235
|
+
export type ListDedicatedNashaPartitionResponse =
|
|
1236
|
+
ListDedicatedNashaPartitionResponseBodyList;
|
|
1237
|
+
export const ListDedicatedNashaPartitionResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1238
|
+
ListDedicatedNashaPartitionResponseBodyList.pipe(T.RawResponseRoot()),
|
|
1239
|
+
).annotate({
|
|
1240
|
+
identifier: "ListDedicatedNashaPartitionResponse",
|
|
1241
|
+
}) as any as S.Schema<ListDedicatedNashaPartitionResponse>;
|
|
1242
|
+
|
|
1243
|
+
export interface ListDedicatedNashaPartitionAccessRequest {
|
|
1244
|
+
/** The internal name of your storage */
|
|
1245
|
+
serviceName: string;
|
|
1246
|
+
/** the given name of partition */
|
|
1247
|
+
partitionName: string;
|
|
1248
|
+
}
|
|
1249
|
+
export const ListDedicatedNashaPartitionAccessRequest = /*@__PURE__*/ S.suspend(
|
|
1250
|
+
() =>
|
|
1251
|
+
S.Struct({
|
|
1252
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1253
|
+
partitionName: S.String.pipe(T.Label()),
|
|
1254
|
+
}).pipe(
|
|
1255
|
+
T.Http({
|
|
1256
|
+
method: "GET",
|
|
1257
|
+
uri: "/dedicated/nasha/{serviceName}/partition/{partitionName}/access",
|
|
1258
|
+
code: 200,
|
|
1259
|
+
}),
|
|
1260
|
+
),
|
|
1261
|
+
).annotate({
|
|
1262
|
+
identifier: "ListDedicatedNashaPartitionAccessRequest",
|
|
1263
|
+
}) as any as S.Schema<ListDedicatedNashaPartitionAccessRequest>;
|
|
1264
|
+
|
|
1265
|
+
export type ListDedicatedNashaPartitionAccessResponseBodyList = Array<string>;
|
|
1266
|
+
export const ListDedicatedNashaPartitionAccessResponseBodyList =
|
|
1267
|
+
/*@__PURE__*/ S.Array(
|
|
1268
|
+
S.String,
|
|
1269
|
+
) as any as S.Schema<ListDedicatedNashaPartitionAccessResponseBodyList>;
|
|
1270
|
+
|
|
1271
|
+
export type ListDedicatedNashaPartitionAccessResponse =
|
|
1272
|
+
ListDedicatedNashaPartitionAccessResponseBodyList;
|
|
1273
|
+
export const ListDedicatedNashaPartitionAccessResponse =
|
|
1274
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1275
|
+
ListDedicatedNashaPartitionAccessResponseBodyList.pipe(T.RawResponseRoot()),
|
|
1276
|
+
).annotate({
|
|
1277
|
+
identifier: "ListDedicatedNashaPartitionAccessResponse",
|
|
1278
|
+
}) as any as S.Schema<ListDedicatedNashaPartitionAccessResponse>;
|
|
1279
|
+
|
|
1280
|
+
export interface ListDedicatedNashaPartitionAuthorizableBlocksRequest {
|
|
1281
|
+
/** The internal name of your storage */
|
|
1282
|
+
serviceName: string;
|
|
1283
|
+
/** the given name of partition */
|
|
1284
|
+
partitionName: string;
|
|
1285
|
+
}
|
|
1286
|
+
export const ListDedicatedNashaPartitionAuthorizableBlocksRequest =
|
|
1287
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1288
|
+
S.Struct({
|
|
1289
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1290
|
+
partitionName: S.String.pipe(T.Label()),
|
|
1291
|
+
}).pipe(
|
|
1292
|
+
T.Http({
|
|
1293
|
+
method: "GET",
|
|
1294
|
+
uri: "/dedicated/nasha/{serviceName}/partition/{partitionName}/authorizableBlocks",
|
|
1295
|
+
code: 200,
|
|
1296
|
+
}),
|
|
1297
|
+
),
|
|
1298
|
+
).annotate({
|
|
1299
|
+
identifier: "ListDedicatedNashaPartitionAuthorizableBlocksRequest",
|
|
1300
|
+
}) as any as S.Schema<ListDedicatedNashaPartitionAuthorizableBlocksRequest>;
|
|
1301
|
+
|
|
1302
|
+
export type ListDedicatedNashaPartitionAuthorizableBlocksResponseBodyList =
|
|
1303
|
+
Array<string>;
|
|
1304
|
+
export const ListDedicatedNashaPartitionAuthorizableBlocksResponseBodyList =
|
|
1305
|
+
/*@__PURE__*/ S.Array(
|
|
1306
|
+
S.String,
|
|
1307
|
+
) as any as S.Schema<ListDedicatedNashaPartitionAuthorizableBlocksResponseBodyList>;
|
|
1308
|
+
|
|
1309
|
+
export type ListDedicatedNashaPartitionAuthorizableBlocksResponse =
|
|
1310
|
+
ListDedicatedNashaPartitionAuthorizableBlocksResponseBodyList;
|
|
1311
|
+
export const ListDedicatedNashaPartitionAuthorizableBlocksResponse =
|
|
1312
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1313
|
+
ListDedicatedNashaPartitionAuthorizableBlocksResponseBodyList.pipe(
|
|
1314
|
+
T.RawResponseRoot(),
|
|
1315
|
+
),
|
|
1316
|
+
).annotate({
|
|
1317
|
+
identifier: "ListDedicatedNashaPartitionAuthorizableBlocksResponse",
|
|
1318
|
+
}) as any as S.Schema<ListDedicatedNashaPartitionAuthorizableBlocksResponse>;
|
|
1319
|
+
|
|
1320
|
+
export interface ListDedicatedNashaPartitionAuthorizableIpsRequest {
|
|
1321
|
+
/** The internal name of your storage */
|
|
1322
|
+
serviceName: string;
|
|
1323
|
+
/** the given name of partition */
|
|
1324
|
+
partitionName: string;
|
|
1325
|
+
}
|
|
1326
|
+
export const ListDedicatedNashaPartitionAuthorizableIpsRequest =
|
|
1327
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1328
|
+
S.Struct({
|
|
1329
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1330
|
+
partitionName: S.String.pipe(T.Label()),
|
|
1331
|
+
}).pipe(
|
|
1332
|
+
T.Http({
|
|
1333
|
+
method: "GET",
|
|
1334
|
+
uri: "/dedicated/nasha/{serviceName}/partition/{partitionName}/authorizableIps",
|
|
1335
|
+
code: 200,
|
|
1336
|
+
}),
|
|
1337
|
+
),
|
|
1338
|
+
).annotate({
|
|
1339
|
+
identifier: "ListDedicatedNashaPartitionAuthorizableIpsRequest",
|
|
1340
|
+
}) as any as S.Schema<ListDedicatedNashaPartitionAuthorizableIpsRequest>;
|
|
1341
|
+
|
|
1342
|
+
export type ListDedicatedNashaPartitionAuthorizableIpsResponseBodyList =
|
|
1343
|
+
Array<string>;
|
|
1344
|
+
export const ListDedicatedNashaPartitionAuthorizableIpsResponseBodyList =
|
|
1345
|
+
/*@__PURE__*/ S.Array(
|
|
1346
|
+
S.String,
|
|
1347
|
+
) as any as S.Schema<ListDedicatedNashaPartitionAuthorizableIpsResponseBodyList>;
|
|
1348
|
+
|
|
1349
|
+
export type ListDedicatedNashaPartitionAuthorizableIpsResponse =
|
|
1350
|
+
ListDedicatedNashaPartitionAuthorizableIpsResponseBodyList;
|
|
1351
|
+
export const ListDedicatedNashaPartitionAuthorizableIpsResponse =
|
|
1352
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1353
|
+
ListDedicatedNashaPartitionAuthorizableIpsResponseBodyList.pipe(
|
|
1354
|
+
T.RawResponseRoot(),
|
|
1355
|
+
),
|
|
1356
|
+
).annotate({
|
|
1357
|
+
identifier: "ListDedicatedNashaPartitionAuthorizableIpsResponse",
|
|
1358
|
+
}) as any as S.Schema<ListDedicatedNashaPartitionAuthorizableIpsResponse>;
|
|
1359
|
+
|
|
1360
|
+
export interface ListDedicatedNashaPartitionCustomSnapshotRequest {
|
|
1361
|
+
/** The internal name of your storage */
|
|
1362
|
+
serviceName: string;
|
|
1363
|
+
/** the given name of partition */
|
|
1364
|
+
partitionName: string;
|
|
1365
|
+
}
|
|
1366
|
+
export const ListDedicatedNashaPartitionCustomSnapshotRequest =
|
|
1367
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1368
|
+
S.Struct({
|
|
1369
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1370
|
+
partitionName: S.String.pipe(T.Label()),
|
|
1371
|
+
}).pipe(
|
|
1372
|
+
T.Http({
|
|
1373
|
+
method: "GET",
|
|
1374
|
+
uri: "/dedicated/nasha/{serviceName}/partition/{partitionName}/customSnapshot",
|
|
1375
|
+
code: 200,
|
|
1376
|
+
}),
|
|
1377
|
+
),
|
|
1378
|
+
).annotate({
|
|
1379
|
+
identifier: "ListDedicatedNashaPartitionCustomSnapshotRequest",
|
|
1380
|
+
}) as any as S.Schema<ListDedicatedNashaPartitionCustomSnapshotRequest>;
|
|
1381
|
+
|
|
1382
|
+
export type ListDedicatedNashaPartitionCustomSnapshotResponseBodyList =
|
|
1383
|
+
Array<string>;
|
|
1384
|
+
export const ListDedicatedNashaPartitionCustomSnapshotResponseBodyList =
|
|
1385
|
+
/*@__PURE__*/ S.Array(
|
|
1386
|
+
S.String,
|
|
1387
|
+
) as any as S.Schema<ListDedicatedNashaPartitionCustomSnapshotResponseBodyList>;
|
|
1388
|
+
|
|
1389
|
+
export type ListDedicatedNashaPartitionCustomSnapshotResponse =
|
|
1390
|
+
ListDedicatedNashaPartitionCustomSnapshotResponseBodyList;
|
|
1391
|
+
export const ListDedicatedNashaPartitionCustomSnapshotResponse =
|
|
1392
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1393
|
+
ListDedicatedNashaPartitionCustomSnapshotResponseBodyList.pipe(
|
|
1394
|
+
T.RawResponseRoot(),
|
|
1395
|
+
),
|
|
1396
|
+
).annotate({
|
|
1397
|
+
identifier: "ListDedicatedNashaPartitionCustomSnapshotResponse",
|
|
1398
|
+
}) as any as S.Schema<ListDedicatedNashaPartitionCustomSnapshotResponse>;
|
|
1399
|
+
|
|
1400
|
+
export interface ListDedicatedNashaPartitionQuotaRequest {
|
|
1401
|
+
/** The internal name of your storage */
|
|
1402
|
+
serviceName: string;
|
|
1403
|
+
/** the given name of partition */
|
|
1404
|
+
partitionName: string;
|
|
1405
|
+
}
|
|
1406
|
+
export const ListDedicatedNashaPartitionQuotaRequest = /*@__PURE__*/ S.suspend(
|
|
1407
|
+
() =>
|
|
1408
|
+
S.Struct({
|
|
1409
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1410
|
+
partitionName: S.String.pipe(T.Label()),
|
|
1411
|
+
}).pipe(
|
|
1412
|
+
T.Http({
|
|
1413
|
+
method: "GET",
|
|
1414
|
+
uri: "/dedicated/nasha/{serviceName}/partition/{partitionName}/quota",
|
|
1415
|
+
code: 200,
|
|
1416
|
+
}),
|
|
1417
|
+
),
|
|
1418
|
+
).annotate({
|
|
1419
|
+
identifier: "ListDedicatedNashaPartitionQuotaRequest",
|
|
1420
|
+
}) as any as S.Schema<ListDedicatedNashaPartitionQuotaRequest>;
|
|
1421
|
+
|
|
1422
|
+
export type ListDedicatedNashaPartitionQuotaResponseBodyList = Array<number>;
|
|
1423
|
+
export const ListDedicatedNashaPartitionQuotaResponseBodyList =
|
|
1424
|
+
/*@__PURE__*/ S.Array(
|
|
1425
|
+
S.Number,
|
|
1426
|
+
) as any as S.Schema<ListDedicatedNashaPartitionQuotaResponseBodyList>;
|
|
1427
|
+
|
|
1428
|
+
export type ListDedicatedNashaPartitionQuotaResponse =
|
|
1429
|
+
ListDedicatedNashaPartitionQuotaResponseBodyList;
|
|
1430
|
+
export const ListDedicatedNashaPartitionQuotaResponse = /*@__PURE__*/ S.suspend(
|
|
1431
|
+
() =>
|
|
1432
|
+
ListDedicatedNashaPartitionQuotaResponseBodyList.pipe(T.RawResponseRoot()),
|
|
1433
|
+
).annotate({
|
|
1434
|
+
identifier: "ListDedicatedNashaPartitionQuotaResponse",
|
|
1435
|
+
}) as any as S.Schema<ListDedicatedNashaPartitionQuotaResponse>;
|
|
1436
|
+
|
|
1437
|
+
export interface ListDedicatedNashaPartitionSnapshotRequest {
|
|
1438
|
+
/** The internal name of your storage */
|
|
1439
|
+
serviceName: string;
|
|
1440
|
+
/** the given name of partition */
|
|
1441
|
+
partitionName: string;
|
|
1442
|
+
}
|
|
1443
|
+
export const ListDedicatedNashaPartitionSnapshotRequest =
|
|
1444
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1445
|
+
S.Struct({
|
|
1446
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1447
|
+
partitionName: S.String.pipe(T.Label()),
|
|
1448
|
+
}).pipe(
|
|
1449
|
+
T.Http({
|
|
1450
|
+
method: "GET",
|
|
1451
|
+
uri: "/dedicated/nasha/{serviceName}/partition/{partitionName}/snapshot",
|
|
1452
|
+
code: 200,
|
|
1453
|
+
}),
|
|
1454
|
+
),
|
|
1455
|
+
).annotate({
|
|
1456
|
+
identifier: "ListDedicatedNashaPartitionSnapshotRequest",
|
|
1457
|
+
}) as any as S.Schema<ListDedicatedNashaPartitionSnapshotRequest>;
|
|
1458
|
+
|
|
1459
|
+
export type ListDedicatedNashaPartitionSnapshotResponseBodyList =
|
|
1460
|
+
Array<DedicatedStorageSnapshotEnum>;
|
|
1461
|
+
export const ListDedicatedNashaPartitionSnapshotResponseBodyList =
|
|
1462
|
+
/*@__PURE__*/ S.Array(
|
|
1463
|
+
DedicatedStorageSnapshotEnum,
|
|
1464
|
+
) as any as S.Schema<ListDedicatedNashaPartitionSnapshotResponseBodyList>;
|
|
1465
|
+
|
|
1466
|
+
export type ListDedicatedNashaPartitionSnapshotResponse =
|
|
1467
|
+
ListDedicatedNashaPartitionSnapshotResponseBodyList;
|
|
1468
|
+
export const ListDedicatedNashaPartitionSnapshotResponse =
|
|
1469
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1470
|
+
ListDedicatedNashaPartitionSnapshotResponseBodyList.pipe(
|
|
1471
|
+
T.RawResponseRoot(),
|
|
1472
|
+
),
|
|
1473
|
+
).annotate({
|
|
1474
|
+
identifier: "ListDedicatedNashaPartitionSnapshotResponse",
|
|
1475
|
+
}) as any as S.Schema<ListDedicatedNashaPartitionSnapshotResponse>;
|
|
1476
|
+
|
|
1477
|
+
export interface ListDedicatedNashaPartitionTemplateUsageRequest {
|
|
1478
|
+
/** The internal name of your storage */
|
|
1479
|
+
serviceName: string;
|
|
1480
|
+
/** the given name of partition */
|
|
1481
|
+
partitionName: string;
|
|
1482
|
+
}
|
|
1483
|
+
export const ListDedicatedNashaPartitionTemplateUsageRequest =
|
|
1484
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1485
|
+
S.Struct({
|
|
1486
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1487
|
+
partitionName: S.String.pipe(T.Label()),
|
|
1488
|
+
}).pipe(
|
|
1489
|
+
T.Http({
|
|
1490
|
+
method: "GET",
|
|
1491
|
+
uri: "/dedicated/nasha/{serviceName}/partition/{partitionName}/templateUsage",
|
|
1492
|
+
code: 200,
|
|
1493
|
+
}),
|
|
1494
|
+
),
|
|
1495
|
+
).annotate({
|
|
1496
|
+
identifier: "ListDedicatedNashaPartitionTemplateUsageRequest",
|
|
1497
|
+
}) as any as S.Schema<ListDedicatedNashaPartitionTemplateUsageRequest>;
|
|
1498
|
+
|
|
1499
|
+
/** A structure describing the template usage result */
|
|
1500
|
+
export interface DedicatedStorageTemplateUsageOptionsDetails {
|
|
1501
|
+
/** The description of the template. */
|
|
1502
|
+
description?: string;
|
|
1503
|
+
/** The name of the template */
|
|
1504
|
+
name?: string;
|
|
1505
|
+
}
|
|
1506
|
+
export const DedicatedStorageTemplateUsageOptionsDetails =
|
|
1507
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1508
|
+
S.Struct({
|
|
1509
|
+
description: S.optional(S.String),
|
|
1510
|
+
name: S.optional(S.String),
|
|
1511
|
+
}),
|
|
1512
|
+
).annotate({
|
|
1513
|
+
identifier: "DedicatedStorageTemplateUsageOptionsDetails",
|
|
1514
|
+
}) as any as S.Schema<DedicatedStorageTemplateUsageOptionsDetails>;
|
|
1515
|
+
|
|
1516
|
+
export type ListDedicatedNashaPartitionTemplateUsageResponseBodyList =
|
|
1517
|
+
Array<DedicatedStorageTemplateUsageOptionsDetails>;
|
|
1518
|
+
export const ListDedicatedNashaPartitionTemplateUsageResponseBodyList =
|
|
1519
|
+
/*@__PURE__*/ S.Array(
|
|
1520
|
+
DedicatedStorageTemplateUsageOptionsDetails,
|
|
1521
|
+
) as any as S.Schema<ListDedicatedNashaPartitionTemplateUsageResponseBodyList>;
|
|
1522
|
+
|
|
1523
|
+
export type ListDedicatedNashaPartitionTemplateUsageResponse =
|
|
1524
|
+
ListDedicatedNashaPartitionTemplateUsageResponseBodyList;
|
|
1525
|
+
export const ListDedicatedNashaPartitionTemplateUsageResponse =
|
|
1526
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1527
|
+
ListDedicatedNashaPartitionTemplateUsageResponseBodyList.pipe(
|
|
1528
|
+
T.RawResponseRoot(),
|
|
1529
|
+
),
|
|
1530
|
+
).annotate({
|
|
1531
|
+
identifier: "ListDedicatedNashaPartitionTemplateUsageResponse",
|
|
1532
|
+
}) as any as S.Schema<ListDedicatedNashaPartitionTemplateUsageResponse>;
|
|
1533
|
+
|
|
1534
|
+
export interface ListDedicatedNashaTaskRequest {
|
|
1535
|
+
/** The internal name of your storage */
|
|
1536
|
+
serviceName: string;
|
|
1537
|
+
/** Filter the value of operation property (=) */
|
|
1538
|
+
operation?: DedicatedStorageTaskFunctionEnum | (string & {});
|
|
1539
|
+
/** Filter the value of status property (=) */
|
|
1540
|
+
status?: DedicatedTaskStatusEnum | (string & {});
|
|
1541
|
+
}
|
|
1542
|
+
export const ListDedicatedNashaTaskRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1543
|
+
S.Struct({
|
|
1544
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1545
|
+
operation: S.optional(DedicatedStorageTaskFunctionEnum.pipe(T.Query())),
|
|
1546
|
+
status: S.optional(DedicatedTaskStatusEnum.pipe(T.Query())),
|
|
1547
|
+
}).pipe(
|
|
1548
|
+
T.Http({
|
|
1549
|
+
method: "GET",
|
|
1550
|
+
uri: "/dedicated/nasha/{serviceName}/task",
|
|
1551
|
+
code: 200,
|
|
1552
|
+
}),
|
|
1553
|
+
),
|
|
1554
|
+
).annotate({
|
|
1555
|
+
identifier: "ListDedicatedNashaTaskRequest",
|
|
1556
|
+
}) as any as S.Schema<ListDedicatedNashaTaskRequest>;
|
|
1557
|
+
|
|
1558
|
+
export type ListDedicatedNashaTaskResponseBodyList = Array<number>;
|
|
1559
|
+
export const ListDedicatedNashaTaskResponseBodyList = /*@__PURE__*/ S.Array(
|
|
1560
|
+
S.Number,
|
|
1561
|
+
) as any as S.Schema<ListDedicatedNashaTaskResponseBodyList>;
|
|
1562
|
+
|
|
1563
|
+
export type ListDedicatedNashaTaskResponse =
|
|
1564
|
+
ListDedicatedNashaTaskResponseBodyList;
|
|
1565
|
+
export const ListDedicatedNashaTaskResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1566
|
+
ListDedicatedNashaTaskResponseBodyList.pipe(T.RawResponseRoot()),
|
|
1567
|
+
).annotate({
|
|
1568
|
+
identifier: "ListDedicatedNashaTaskResponse",
|
|
1569
|
+
}) as any as S.Schema<ListDedicatedNashaTaskResponse>;
|
|
1570
|
+
|
|
1571
|
+
export interface PutDedicatedNashaRequest {
|
|
1572
|
+
/** The internal name of your storage */
|
|
1573
|
+
serviceName: string;
|
|
1574
|
+
/** The name you give to the nas */
|
|
1575
|
+
customName?: string | null;
|
|
1576
|
+
/** Send an email to customer if any issue is detected */
|
|
1577
|
+
monitored?: boolean;
|
|
1578
|
+
}
|
|
1579
|
+
export const PutDedicatedNashaRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1580
|
+
S.Struct({
|
|
1581
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1582
|
+
customName: S.optional(S.NullOr(S.String)),
|
|
1583
|
+
monitored: S.optional(S.Boolean),
|
|
1584
|
+
}).pipe(
|
|
1585
|
+
T.Http({ method: "PUT", uri: "/dedicated/nasha/{serviceName}", code: 200 }),
|
|
1586
|
+
),
|
|
1587
|
+
).annotate({
|
|
1588
|
+
identifier: "PutDedicatedNashaRequest",
|
|
1589
|
+
}) as any as S.Schema<PutDedicatedNashaRequest>;
|
|
1590
|
+
|
|
1591
|
+
export interface PutDedicatedNashaResponse {}
|
|
1592
|
+
export const PutDedicatedNashaResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1593
|
+
S.Struct({}),
|
|
1594
|
+
).annotate({
|
|
1595
|
+
identifier: "PutDedicatedNashaResponse",
|
|
1596
|
+
}) as any as S.Schema<PutDedicatedNashaResponse>;
|
|
1597
|
+
|
|
1598
|
+
export interface PutDedicatedNashaPartitionRequest {
|
|
1599
|
+
/** The internal name of your storage */
|
|
1600
|
+
serviceName: string;
|
|
1601
|
+
/** the given name of partition */
|
|
1602
|
+
partitionName: string;
|
|
1603
|
+
/** a brief description of the partition */
|
|
1604
|
+
partitionDescription?: string | null;
|
|
1605
|
+
/** Partition size */
|
|
1606
|
+
size?: number;
|
|
1607
|
+
}
|
|
1608
|
+
export const PutDedicatedNashaPartitionRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1609
|
+
S.Struct({
|
|
1610
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1611
|
+
partitionName: S.String.pipe(T.Label()),
|
|
1612
|
+
partitionDescription: S.optional(S.NullOr(S.String)),
|
|
1613
|
+
size: S.optional(S.Number),
|
|
1614
|
+
}).pipe(
|
|
1615
|
+
T.Http({
|
|
1616
|
+
method: "PUT",
|
|
1617
|
+
uri: "/dedicated/nasha/{serviceName}/partition/{partitionName}",
|
|
1618
|
+
code: 200,
|
|
1619
|
+
}),
|
|
1620
|
+
),
|
|
1621
|
+
).annotate({
|
|
1622
|
+
identifier: "PutDedicatedNashaPartitionRequest",
|
|
1623
|
+
}) as any as S.Schema<PutDedicatedNashaPartitionRequest>;
|
|
1624
|
+
|
|
1625
|
+
export interface PutDedicatedNashaPartitionResponse {}
|
|
1626
|
+
export const PutDedicatedNashaPartitionResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1627
|
+
S.Struct({}),
|
|
1628
|
+
).annotate({
|
|
1629
|
+
identifier: "PutDedicatedNashaPartitionResponse",
|
|
1630
|
+
}) as any as S.Schema<PutDedicatedNashaPartitionResponse>;
|
|
1631
|
+
|
|
1632
|
+
export interface PutDedicatedNashaServiceInfosRequest {
|
|
1633
|
+
/** The internal name of your storage */
|
|
1634
|
+
serviceName: string;
|
|
1635
|
+
/** Way of handling the renew */
|
|
1636
|
+
renew?: ServiceRenewType | null;
|
|
1637
|
+
}
|
|
1638
|
+
export const PutDedicatedNashaServiceInfosRequest = /*@__PURE__*/ S.suspend(
|
|
1639
|
+
() =>
|
|
1640
|
+
S.Struct({
|
|
1641
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1642
|
+
renew: S.optional(S.NullOr(ServiceRenewType)),
|
|
1643
|
+
}).pipe(
|
|
1644
|
+
T.Http({
|
|
1645
|
+
method: "PUT",
|
|
1646
|
+
uri: "/dedicated/nasha/{serviceName}/serviceInfos",
|
|
1647
|
+
code: 200,
|
|
1648
|
+
}),
|
|
1649
|
+
),
|
|
1650
|
+
).annotate({
|
|
1651
|
+
identifier: "PutDedicatedNashaServiceInfosRequest",
|
|
1652
|
+
}) as any as S.Schema<PutDedicatedNashaServiceInfosRequest>;
|
|
1653
|
+
|
|
1654
|
+
export interface PutDedicatedNashaServiceInfosResponse {}
|
|
1655
|
+
export const PutDedicatedNashaServiceInfosResponse = /*@__PURE__*/ S.suspend(
|
|
1656
|
+
() => S.Struct({}),
|
|
1657
|
+
).annotate({
|
|
1658
|
+
identifier: "PutDedicatedNashaServiceInfosResponse",
|
|
1659
|
+
}) as any as S.Schema<PutDedicatedNashaServiceInfosResponse>;
|
|
1660
|
+
|
|
1661
|
+
export interface TerminateDedicatedNashaRequest {
|
|
1662
|
+
/** The internal name of your storage */
|
|
1663
|
+
serviceName: string;
|
|
1664
|
+
}
|
|
1665
|
+
export const TerminateDedicatedNashaRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1666
|
+
S.Struct({
|
|
1667
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1668
|
+
}).pipe(
|
|
1669
|
+
T.Http({
|
|
1670
|
+
method: "POST",
|
|
1671
|
+
uri: "/dedicated/nasha/{serviceName}/terminate",
|
|
1672
|
+
code: 200,
|
|
1673
|
+
}),
|
|
1674
|
+
),
|
|
1675
|
+
).annotate({
|
|
1676
|
+
identifier: "TerminateDedicatedNashaRequest",
|
|
1677
|
+
}) as any as S.Schema<TerminateDedicatedNashaRequest>;
|
|
1678
|
+
|
|
1679
|
+
export type TerminateDedicatedNashaResponse = string;
|
|
1680
|
+
export const TerminateDedicatedNashaResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1681
|
+
S.String.pipe(T.RawResponseRoot()),
|
|
1682
|
+
).annotate({
|
|
1683
|
+
identifier: "TerminateDedicatedNashaResponse",
|
|
1684
|
+
}) as any as S.Schema<TerminateDedicatedNashaResponse>;
|
|
1685
|
+
|
|
1686
|
+
export type ConfirmDedicatedNashaTerminationError = OvhOpError;
|
|
1687
|
+
/** Confirm service termination */
|
|
1688
|
+
export const confirmDedicatedNashaTermination: API.OperationMethod<
|
|
1689
|
+
ConfirmDedicatedNashaTerminationRequest,
|
|
1690
|
+
ConfirmDedicatedNashaTerminationResponse,
|
|
1691
|
+
ConfirmDedicatedNashaTerminationError,
|
|
1692
|
+
OvhOpContext
|
|
1693
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1694
|
+
input: ConfirmDedicatedNashaTerminationRequest,
|
|
1695
|
+
output: ConfirmDedicatedNashaTerminationResponse,
|
|
1696
|
+
errors: [UnknownOvhError],
|
|
1697
|
+
protocol: OvhProtocol,
|
|
1698
|
+
retry: Retry.Retry,
|
|
1699
|
+
}));
|
|
1700
|
+
|
|
1701
|
+
export type CreateDedicatedNashaChangeContactError = OvhOpError;
|
|
1702
|
+
/** Launch a contact change procedure */
|
|
1703
|
+
export const createDedicatedNashaChangeContact: API.OperationMethod<
|
|
1704
|
+
CreateDedicatedNashaChangeContactRequest,
|
|
1705
|
+
CreateDedicatedNashaChangeContactResponse,
|
|
1706
|
+
CreateDedicatedNashaChangeContactError,
|
|
1707
|
+
OvhOpContext
|
|
1708
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1709
|
+
input: CreateDedicatedNashaChangeContactRequest,
|
|
1710
|
+
output: CreateDedicatedNashaChangeContactResponse,
|
|
1711
|
+
errors: [UnknownOvhError],
|
|
1712
|
+
protocol: OvhProtocol,
|
|
1713
|
+
retry: Retry.Retry,
|
|
1714
|
+
}));
|
|
1715
|
+
|
|
1716
|
+
export type CreateDedicatedNashaPartitionError = OvhOpError;
|
|
1717
|
+
/** Create a new partition */
|
|
1718
|
+
export const createDedicatedNashaPartition: API.OperationMethod<
|
|
1719
|
+
CreateDedicatedNashaPartitionRequest,
|
|
1720
|
+
DedicatedNasTaskTask,
|
|
1721
|
+
CreateDedicatedNashaPartitionError,
|
|
1722
|
+
OvhOpContext
|
|
1723
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1724
|
+
input: CreateDedicatedNashaPartitionRequest,
|
|
1725
|
+
output: DedicatedNasTaskTask,
|
|
1726
|
+
errors: [UnknownOvhError],
|
|
1727
|
+
protocol: OvhProtocol,
|
|
1728
|
+
retry: Retry.Retry,
|
|
1729
|
+
}));
|
|
1730
|
+
|
|
1731
|
+
export type CreateDedicatedNashaPartitionAccessError = OvhOpError;
|
|
1732
|
+
/** Add a new ACL entry */
|
|
1733
|
+
export const createDedicatedNashaPartitionAccess: API.OperationMethod<
|
|
1734
|
+
CreateDedicatedNashaPartitionAccessRequest,
|
|
1735
|
+
DedicatedNasTaskTask,
|
|
1736
|
+
CreateDedicatedNashaPartitionAccessError,
|
|
1737
|
+
OvhOpContext
|
|
1738
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1739
|
+
input: CreateDedicatedNashaPartitionAccessRequest,
|
|
1740
|
+
output: DedicatedNasTaskTask,
|
|
1741
|
+
errors: [UnknownOvhError],
|
|
1742
|
+
protocol: OvhProtocol,
|
|
1743
|
+
retry: Retry.Retry,
|
|
1744
|
+
}));
|
|
1745
|
+
|
|
1746
|
+
export type CreateDedicatedNashaPartitionCustomSnapshotError = OvhOpError;
|
|
1747
|
+
/** Create a new snapshot */
|
|
1748
|
+
export const createDedicatedNashaPartitionCustomSnapshot: API.OperationMethod<
|
|
1749
|
+
CreateDedicatedNashaPartitionCustomSnapshotRequest,
|
|
1750
|
+
DedicatedNasTaskTask,
|
|
1751
|
+
CreateDedicatedNashaPartitionCustomSnapshotError,
|
|
1752
|
+
OvhOpContext
|
|
1753
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1754
|
+
input: CreateDedicatedNashaPartitionCustomSnapshotRequest,
|
|
1755
|
+
output: DedicatedNasTaskTask,
|
|
1756
|
+
errors: [UnknownOvhError],
|
|
1757
|
+
protocol: OvhProtocol,
|
|
1758
|
+
retry: Retry.Retry,
|
|
1759
|
+
}));
|
|
1760
|
+
|
|
1761
|
+
export type CreateDedicatedNashaPartitionOptionError = OvhOpError;
|
|
1762
|
+
/** Setup options */
|
|
1763
|
+
export const createDedicatedNashaPartitionOption: API.OperationMethod<
|
|
1764
|
+
CreateDedicatedNashaPartitionOptionRequest,
|
|
1765
|
+
DedicatedNasTaskTask,
|
|
1766
|
+
CreateDedicatedNashaPartitionOptionError,
|
|
1767
|
+
OvhOpContext
|
|
1768
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1769
|
+
input: CreateDedicatedNashaPartitionOptionRequest,
|
|
1770
|
+
output: DedicatedNasTaskTask,
|
|
1771
|
+
errors: [UnknownOvhError],
|
|
1772
|
+
protocol: OvhProtocol,
|
|
1773
|
+
retry: Retry.Retry,
|
|
1774
|
+
}));
|
|
1775
|
+
|
|
1776
|
+
export type CreateDedicatedNashaPartitionQuotaError = OvhOpError;
|
|
1777
|
+
/** Set a new quota */
|
|
1778
|
+
export const createDedicatedNashaPartitionQuota: API.OperationMethod<
|
|
1779
|
+
CreateDedicatedNashaPartitionQuotaRequest,
|
|
1780
|
+
DedicatedNasTaskTask,
|
|
1781
|
+
CreateDedicatedNashaPartitionQuotaError,
|
|
1782
|
+
OvhOpContext
|
|
1783
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1784
|
+
input: CreateDedicatedNashaPartitionQuotaRequest,
|
|
1785
|
+
output: DedicatedNasTaskTask,
|
|
1786
|
+
errors: [UnknownOvhError],
|
|
1787
|
+
protocol: OvhProtocol,
|
|
1788
|
+
retry: Retry.Retry,
|
|
1789
|
+
}));
|
|
1790
|
+
|
|
1791
|
+
export type CreateDedicatedNashaPartitionSnapshotError = OvhOpError;
|
|
1792
|
+
/** Schedule a new snapshot type */
|
|
1793
|
+
export const createDedicatedNashaPartitionSnapshot: API.OperationMethod<
|
|
1794
|
+
CreateDedicatedNashaPartitionSnapshotRequest,
|
|
1795
|
+
DedicatedNasTaskTask,
|
|
1796
|
+
CreateDedicatedNashaPartitionSnapshotError,
|
|
1797
|
+
OvhOpContext
|
|
1798
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1799
|
+
input: CreateDedicatedNashaPartitionSnapshotRequest,
|
|
1800
|
+
output: DedicatedNasTaskTask,
|
|
1801
|
+
errors: [UnknownOvhError],
|
|
1802
|
+
protocol: OvhProtocol,
|
|
1803
|
+
retry: Retry.Retry,
|
|
1804
|
+
}));
|
|
1805
|
+
|
|
1806
|
+
export type DeleteDedicatedNashaPartitionError = OvhOpError;
|
|
1807
|
+
/** Delete this partition */
|
|
1808
|
+
export const deleteDedicatedNashaPartition: API.OperationMethod<
|
|
1809
|
+
DeleteDedicatedNashaPartitionRequest,
|
|
1810
|
+
DedicatedNasTaskTask,
|
|
1811
|
+
DeleteDedicatedNashaPartitionError,
|
|
1812
|
+
OvhOpContext
|
|
1813
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1814
|
+
input: DeleteDedicatedNashaPartitionRequest,
|
|
1815
|
+
output: DedicatedNasTaskTask,
|
|
1816
|
+
errors: [UnknownOvhError],
|
|
1817
|
+
protocol: OvhProtocol,
|
|
1818
|
+
retry: Retry.Retry,
|
|
1819
|
+
}));
|
|
1820
|
+
|
|
1821
|
+
export type DeleteDedicatedNashaPartitionAccessError = OvhOpError;
|
|
1822
|
+
/** Delete an ACL entry */
|
|
1823
|
+
export const deleteDedicatedNashaPartitionAccess: API.OperationMethod<
|
|
1824
|
+
DeleteDedicatedNashaPartitionAccessRequest,
|
|
1825
|
+
DedicatedNasTaskTask,
|
|
1826
|
+
DeleteDedicatedNashaPartitionAccessError,
|
|
1827
|
+
OvhOpContext
|
|
1828
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1829
|
+
input: DeleteDedicatedNashaPartitionAccessRequest,
|
|
1830
|
+
output: DedicatedNasTaskTask,
|
|
1831
|
+
errors: [UnknownOvhError],
|
|
1832
|
+
protocol: OvhProtocol,
|
|
1833
|
+
retry: Retry.Retry,
|
|
1834
|
+
}));
|
|
1835
|
+
|
|
1836
|
+
export type DeleteDedicatedNashaPartitionCustomSnapshotError = OvhOpError;
|
|
1837
|
+
/** Delete a given snapshot */
|
|
1838
|
+
export const deleteDedicatedNashaPartitionCustomSnapshot: API.OperationMethod<
|
|
1839
|
+
DeleteDedicatedNashaPartitionCustomSnapshotRequest,
|
|
1840
|
+
DedicatedNasTaskTask,
|
|
1841
|
+
DeleteDedicatedNashaPartitionCustomSnapshotError,
|
|
1842
|
+
OvhOpContext
|
|
1843
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1844
|
+
input: DeleteDedicatedNashaPartitionCustomSnapshotRequest,
|
|
1845
|
+
output: DedicatedNasTaskTask,
|
|
1846
|
+
errors: [UnknownOvhError],
|
|
1847
|
+
protocol: OvhProtocol,
|
|
1848
|
+
retry: Retry.Retry,
|
|
1849
|
+
}));
|
|
1850
|
+
|
|
1851
|
+
export type DeleteDedicatedNashaPartitionQuotaError = OvhOpError;
|
|
1852
|
+
/** Delete a given quota */
|
|
1853
|
+
export const deleteDedicatedNashaPartitionQuota: API.OperationMethod<
|
|
1854
|
+
DeleteDedicatedNashaPartitionQuotaRequest,
|
|
1855
|
+
DedicatedNasTaskTask,
|
|
1856
|
+
DeleteDedicatedNashaPartitionQuotaError,
|
|
1857
|
+
OvhOpContext
|
|
1858
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1859
|
+
input: DeleteDedicatedNashaPartitionQuotaRequest,
|
|
1860
|
+
output: DedicatedNasTaskTask,
|
|
1861
|
+
errors: [UnknownOvhError],
|
|
1862
|
+
protocol: OvhProtocol,
|
|
1863
|
+
retry: Retry.Retry,
|
|
1864
|
+
}));
|
|
1865
|
+
|
|
1866
|
+
export type DeleteDedicatedNashaPartitionSnapshotError = OvhOpError;
|
|
1867
|
+
/** Delete a given snapshot */
|
|
1868
|
+
export const deleteDedicatedNashaPartitionSnapshot: API.OperationMethod<
|
|
1869
|
+
DeleteDedicatedNashaPartitionSnapshotRequest,
|
|
1870
|
+
DedicatedNasTaskTask,
|
|
1871
|
+
DeleteDedicatedNashaPartitionSnapshotError,
|
|
1872
|
+
OvhOpContext
|
|
1873
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1874
|
+
input: DeleteDedicatedNashaPartitionSnapshotRequest,
|
|
1875
|
+
output: DedicatedNasTaskTask,
|
|
1876
|
+
errors: [UnknownOvhError],
|
|
1877
|
+
protocol: OvhProtocol,
|
|
1878
|
+
retry: Retry.Retry,
|
|
1879
|
+
}));
|
|
1880
|
+
|
|
1881
|
+
export type GetDedicatedNashaError = OvhOpError;
|
|
1882
|
+
/** Get this object properties */
|
|
1883
|
+
export const getDedicatedNasha: API.OperationMethod<
|
|
1884
|
+
GetDedicatedNashaRequest,
|
|
1885
|
+
DedicatedNashaStorageWithIAM,
|
|
1886
|
+
GetDedicatedNashaError,
|
|
1887
|
+
OvhOpContext
|
|
1888
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1889
|
+
input: GetDedicatedNashaRequest,
|
|
1890
|
+
output: DedicatedNashaStorageWithIAM,
|
|
1891
|
+
errors: [UnknownOvhError],
|
|
1892
|
+
protocol: OvhProtocol,
|
|
1893
|
+
retry: Retry.Retry,
|
|
1894
|
+
}));
|
|
1895
|
+
|
|
1896
|
+
export type GetDedicatedNashaMetricsTokenError = OvhOpError;
|
|
1897
|
+
/** Return a read token for manager mimir metrics */
|
|
1898
|
+
export const getDedicatedNashaMetricsToken: API.OperationMethod<
|
|
1899
|
+
GetDedicatedNashaMetricsTokenRequest,
|
|
1900
|
+
DedicatedStorageMetricsTokenResult,
|
|
1901
|
+
GetDedicatedNashaMetricsTokenError,
|
|
1902
|
+
OvhOpContext
|
|
1903
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1904
|
+
input: GetDedicatedNashaMetricsTokenRequest,
|
|
1905
|
+
output: DedicatedStorageMetricsTokenResult,
|
|
1906
|
+
errors: [UnknownOvhError],
|
|
1907
|
+
protocol: OvhProtocol,
|
|
1908
|
+
retry: Retry.Retry,
|
|
1909
|
+
}));
|
|
1910
|
+
|
|
1911
|
+
export type GetDedicatedNashaPartitionError = OvhOpError;
|
|
1912
|
+
/** Get this object properties */
|
|
1913
|
+
export const getDedicatedNashaPartition: API.OperationMethod<
|
|
1914
|
+
GetDedicatedNashaPartitionRequest,
|
|
1915
|
+
DedicatedNashaPartition,
|
|
1916
|
+
GetDedicatedNashaPartitionError,
|
|
1917
|
+
OvhOpContext
|
|
1918
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1919
|
+
input: GetDedicatedNashaPartitionRequest,
|
|
1920
|
+
output: DedicatedNashaPartition,
|
|
1921
|
+
errors: [UnknownOvhError],
|
|
1922
|
+
protocol: OvhProtocol,
|
|
1923
|
+
retry: Retry.Retry,
|
|
1924
|
+
}));
|
|
1925
|
+
|
|
1926
|
+
export type GetDedicatedNashaPartitionAccessError = OvhOpError;
|
|
1927
|
+
/** Get this object properties */
|
|
1928
|
+
export const getDedicatedNashaPartitionAccess: API.OperationMethod<
|
|
1929
|
+
GetDedicatedNashaPartitionAccessRequest,
|
|
1930
|
+
DedicatedNashaAccess,
|
|
1931
|
+
GetDedicatedNashaPartitionAccessError,
|
|
1932
|
+
OvhOpContext
|
|
1933
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1934
|
+
input: GetDedicatedNashaPartitionAccessRequest,
|
|
1935
|
+
output: DedicatedNashaAccess,
|
|
1936
|
+
errors: [UnknownOvhError],
|
|
1937
|
+
protocol: OvhProtocol,
|
|
1938
|
+
retry: Retry.Retry,
|
|
1939
|
+
}));
|
|
1940
|
+
|
|
1941
|
+
export type GetDedicatedNashaPartitionCustomSnapshotError = OvhOpError;
|
|
1942
|
+
/** Get this object properties */
|
|
1943
|
+
export const getDedicatedNashaPartitionCustomSnapshot: API.OperationMethod<
|
|
1944
|
+
GetDedicatedNashaPartitionCustomSnapshotRequest,
|
|
1945
|
+
DedicatedNashaCustomSnap,
|
|
1946
|
+
GetDedicatedNashaPartitionCustomSnapshotError,
|
|
1947
|
+
OvhOpContext
|
|
1948
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1949
|
+
input: GetDedicatedNashaPartitionCustomSnapshotRequest,
|
|
1950
|
+
output: DedicatedNashaCustomSnap,
|
|
1951
|
+
errors: [UnknownOvhError],
|
|
1952
|
+
protocol: OvhProtocol,
|
|
1953
|
+
retry: Retry.Retry,
|
|
1954
|
+
}));
|
|
1955
|
+
|
|
1956
|
+
export type GetDedicatedNashaPartitionOptionsError = OvhOpError;
|
|
1957
|
+
/** Get this object properties */
|
|
1958
|
+
export const getDedicatedNashaPartitionOptions: API.OperationMethod<
|
|
1959
|
+
GetDedicatedNashaPartitionOptionsRequest,
|
|
1960
|
+
DedicatedNashaOptions,
|
|
1961
|
+
GetDedicatedNashaPartitionOptionsError,
|
|
1962
|
+
OvhOpContext
|
|
1963
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1964
|
+
input: GetDedicatedNashaPartitionOptionsRequest,
|
|
1965
|
+
output: DedicatedNashaOptions,
|
|
1966
|
+
errors: [UnknownOvhError],
|
|
1967
|
+
protocol: OvhProtocol,
|
|
1968
|
+
retry: Retry.Retry,
|
|
1969
|
+
}));
|
|
1970
|
+
|
|
1971
|
+
export type GetDedicatedNashaPartitionQuotaError = OvhOpError;
|
|
1972
|
+
/** Get this object properties */
|
|
1973
|
+
export const getDedicatedNashaPartitionQuota: API.OperationMethod<
|
|
1974
|
+
GetDedicatedNashaPartitionQuotaRequest,
|
|
1975
|
+
DedicatedNashaQuota,
|
|
1976
|
+
GetDedicatedNashaPartitionQuotaError,
|
|
1977
|
+
OvhOpContext
|
|
1978
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1979
|
+
input: GetDedicatedNashaPartitionQuotaRequest,
|
|
1980
|
+
output: DedicatedNashaQuota,
|
|
1981
|
+
errors: [UnknownOvhError],
|
|
1982
|
+
protocol: OvhProtocol,
|
|
1983
|
+
retry: Retry.Retry,
|
|
1984
|
+
}));
|
|
1985
|
+
|
|
1986
|
+
export type GetDedicatedNashaPartitionSnapshotError = OvhOpError;
|
|
1987
|
+
/** Get this object properties */
|
|
1988
|
+
export const getDedicatedNashaPartitionSnapshot: API.OperationMethod<
|
|
1989
|
+
GetDedicatedNashaPartitionSnapshotRequest,
|
|
1990
|
+
DedicatedNashaSnapshot,
|
|
1991
|
+
GetDedicatedNashaPartitionSnapshotError,
|
|
1992
|
+
OvhOpContext
|
|
1993
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1994
|
+
input: GetDedicatedNashaPartitionSnapshotRequest,
|
|
1995
|
+
output: DedicatedNashaSnapshot,
|
|
1996
|
+
errors: [UnknownOvhError],
|
|
1997
|
+
protocol: OvhProtocol,
|
|
1998
|
+
retry: Retry.Retry,
|
|
1999
|
+
}));
|
|
2000
|
+
|
|
2001
|
+
export type GetDedicatedNashaPartitionUseError = OvhOpError;
|
|
2002
|
+
/** Return statistics about the partition */
|
|
2003
|
+
export const getDedicatedNashaPartitionUse: API.OperationMethod<
|
|
2004
|
+
GetDedicatedNashaPartitionUseRequest,
|
|
2005
|
+
ComplexTypeUnitAndValueDouble,
|
|
2006
|
+
GetDedicatedNashaPartitionUseError,
|
|
2007
|
+
OvhOpContext
|
|
2008
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2009
|
+
input: GetDedicatedNashaPartitionUseRequest,
|
|
2010
|
+
output: ComplexTypeUnitAndValueDouble,
|
|
2011
|
+
errors: [UnknownOvhError],
|
|
2012
|
+
protocol: OvhProtocol,
|
|
2013
|
+
retry: Retry.Retry,
|
|
2014
|
+
}));
|
|
2015
|
+
|
|
2016
|
+
export type GetDedicatedNashaServiceInfosError = OvhOpError;
|
|
2017
|
+
/** Get service information */
|
|
2018
|
+
export const getDedicatedNashaServiceInfos: API.OperationMethod<
|
|
2019
|
+
GetDedicatedNashaServiceInfosRequest,
|
|
2020
|
+
ServicesService,
|
|
2021
|
+
GetDedicatedNashaServiceInfosError,
|
|
2022
|
+
OvhOpContext
|
|
2023
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2024
|
+
input: GetDedicatedNashaServiceInfosRequest,
|
|
2025
|
+
output: ServicesService,
|
|
2026
|
+
errors: [UnknownOvhError],
|
|
2027
|
+
protocol: OvhProtocol,
|
|
2028
|
+
retry: Retry.Retry,
|
|
2029
|
+
}));
|
|
2030
|
+
|
|
2031
|
+
export type GetDedicatedNashaTaskError = OvhOpError;
|
|
2032
|
+
/** Get this object properties */
|
|
2033
|
+
export const getDedicatedNashaTask: API.OperationMethod<
|
|
2034
|
+
GetDedicatedNashaTaskRequest,
|
|
2035
|
+
DedicatedNasTaskTask,
|
|
2036
|
+
GetDedicatedNashaTaskError,
|
|
2037
|
+
OvhOpContext
|
|
2038
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2039
|
+
input: GetDedicatedNashaTaskRequest,
|
|
2040
|
+
output: DedicatedNasTaskTask,
|
|
2041
|
+
errors: [UnknownOvhError],
|
|
2042
|
+
protocol: OvhProtocol,
|
|
2043
|
+
retry: Retry.Retry,
|
|
2044
|
+
}));
|
|
2045
|
+
|
|
2046
|
+
export type GetDedicatedNashaUseError = OvhOpError;
|
|
2047
|
+
/** Return statistics about the nas */
|
|
2048
|
+
export const getDedicatedNashaUse: API.OperationMethod<
|
|
2049
|
+
GetDedicatedNashaUseRequest,
|
|
2050
|
+
ComplexTypeUnitAndValueDouble,
|
|
2051
|
+
GetDedicatedNashaUseError,
|
|
2052
|
+
OvhOpContext
|
|
2053
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2054
|
+
input: GetDedicatedNashaUseRequest,
|
|
2055
|
+
output: ComplexTypeUnitAndValueDouble,
|
|
2056
|
+
errors: [UnknownOvhError],
|
|
2057
|
+
protocol: OvhProtocol,
|
|
2058
|
+
retry: Retry.Retry,
|
|
2059
|
+
}));
|
|
2060
|
+
|
|
2061
|
+
export type ListDedicatedNashaError = OvhOpError;
|
|
2062
|
+
/** List available services */
|
|
2063
|
+
export const listDedicatedNasha: API.OperationMethod<
|
|
2064
|
+
ListDedicatedNashaRequest,
|
|
2065
|
+
ListDedicatedNashaResponse,
|
|
2066
|
+
ListDedicatedNashaError,
|
|
2067
|
+
OvhOpContext
|
|
2068
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2069
|
+
input: ListDedicatedNashaRequest,
|
|
2070
|
+
output: ListDedicatedNashaResponse,
|
|
2071
|
+
errors: [UnknownOvhError],
|
|
2072
|
+
protocol: OvhProtocol,
|
|
2073
|
+
retry: Retry.Retry,
|
|
2074
|
+
}));
|
|
2075
|
+
|
|
2076
|
+
export type ListDedicatedNashaPartitionError = OvhOpError;
|
|
2077
|
+
/** Get partition list */
|
|
2078
|
+
export const listDedicatedNashaPartition: API.OperationMethod<
|
|
2079
|
+
ListDedicatedNashaPartitionRequest,
|
|
2080
|
+
ListDedicatedNashaPartitionResponse,
|
|
2081
|
+
ListDedicatedNashaPartitionError,
|
|
2082
|
+
OvhOpContext
|
|
2083
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2084
|
+
input: ListDedicatedNashaPartitionRequest,
|
|
2085
|
+
output: ListDedicatedNashaPartitionResponse,
|
|
2086
|
+
errors: [UnknownOvhError],
|
|
2087
|
+
protocol: OvhProtocol,
|
|
2088
|
+
retry: Retry.Retry,
|
|
2089
|
+
}));
|
|
2090
|
+
|
|
2091
|
+
export type ListDedicatedNashaPartitionAccessError = OvhOpError;
|
|
2092
|
+
/** get ACL for this partition */
|
|
2093
|
+
export const listDedicatedNashaPartitionAccess: API.OperationMethod<
|
|
2094
|
+
ListDedicatedNashaPartitionAccessRequest,
|
|
2095
|
+
ListDedicatedNashaPartitionAccessResponse,
|
|
2096
|
+
ListDedicatedNashaPartitionAccessError,
|
|
2097
|
+
OvhOpContext
|
|
2098
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2099
|
+
input: ListDedicatedNashaPartitionAccessRequest,
|
|
2100
|
+
output: ListDedicatedNashaPartitionAccessResponse,
|
|
2101
|
+
errors: [UnknownOvhError],
|
|
2102
|
+
protocol: OvhProtocol,
|
|
2103
|
+
retry: Retry.Retry,
|
|
2104
|
+
}));
|
|
2105
|
+
|
|
2106
|
+
export type ListDedicatedNashaPartitionAuthorizableBlocksError = OvhOpError;
|
|
2107
|
+
/** Get all RIPE/ARIN blocks that can be used in the ACL */
|
|
2108
|
+
export const listDedicatedNashaPartitionAuthorizableBlocks: API.OperationMethod<
|
|
2109
|
+
ListDedicatedNashaPartitionAuthorizableBlocksRequest,
|
|
2110
|
+
ListDedicatedNashaPartitionAuthorizableBlocksResponse,
|
|
2111
|
+
ListDedicatedNashaPartitionAuthorizableBlocksError,
|
|
2112
|
+
OvhOpContext
|
|
2113
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2114
|
+
input: ListDedicatedNashaPartitionAuthorizableBlocksRequest,
|
|
2115
|
+
output: ListDedicatedNashaPartitionAuthorizableBlocksResponse,
|
|
2116
|
+
errors: [UnknownOvhError],
|
|
2117
|
+
protocol: OvhProtocol,
|
|
2118
|
+
retry: Retry.Retry,
|
|
2119
|
+
}));
|
|
2120
|
+
|
|
2121
|
+
export type ListDedicatedNashaPartitionAuthorizableIpsError = OvhOpError;
|
|
2122
|
+
/** Get all IPs that can be used in the ACL */
|
|
2123
|
+
export const listDedicatedNashaPartitionAuthorizableIps: API.OperationMethod<
|
|
2124
|
+
ListDedicatedNashaPartitionAuthorizableIpsRequest,
|
|
2125
|
+
ListDedicatedNashaPartitionAuthorizableIpsResponse,
|
|
2126
|
+
ListDedicatedNashaPartitionAuthorizableIpsError,
|
|
2127
|
+
OvhOpContext
|
|
2128
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2129
|
+
input: ListDedicatedNashaPartitionAuthorizableIpsRequest,
|
|
2130
|
+
output: ListDedicatedNashaPartitionAuthorizableIpsResponse,
|
|
2131
|
+
errors: [UnknownOvhError],
|
|
2132
|
+
protocol: OvhProtocol,
|
|
2133
|
+
retry: Retry.Retry,
|
|
2134
|
+
}));
|
|
2135
|
+
|
|
2136
|
+
export type ListDedicatedNashaPartitionCustomSnapshotError = OvhOpError;
|
|
2137
|
+
/** Get custom snapshots for this partition */
|
|
2138
|
+
export const listDedicatedNashaPartitionCustomSnapshot: API.OperationMethod<
|
|
2139
|
+
ListDedicatedNashaPartitionCustomSnapshotRequest,
|
|
2140
|
+
ListDedicatedNashaPartitionCustomSnapshotResponse,
|
|
2141
|
+
ListDedicatedNashaPartitionCustomSnapshotError,
|
|
2142
|
+
OvhOpContext
|
|
2143
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2144
|
+
input: ListDedicatedNashaPartitionCustomSnapshotRequest,
|
|
2145
|
+
output: ListDedicatedNashaPartitionCustomSnapshotResponse,
|
|
2146
|
+
errors: [UnknownOvhError],
|
|
2147
|
+
protocol: OvhProtocol,
|
|
2148
|
+
retry: Retry.Retry,
|
|
2149
|
+
}));
|
|
2150
|
+
|
|
2151
|
+
export type ListDedicatedNashaPartitionQuotaError = OvhOpError;
|
|
2152
|
+
/** Get quota for this partition */
|
|
2153
|
+
export const listDedicatedNashaPartitionQuota: API.OperationMethod<
|
|
2154
|
+
ListDedicatedNashaPartitionQuotaRequest,
|
|
2155
|
+
ListDedicatedNashaPartitionQuotaResponse,
|
|
2156
|
+
ListDedicatedNashaPartitionQuotaError,
|
|
2157
|
+
OvhOpContext
|
|
2158
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2159
|
+
input: ListDedicatedNashaPartitionQuotaRequest,
|
|
2160
|
+
output: ListDedicatedNashaPartitionQuotaResponse,
|
|
2161
|
+
errors: [UnknownOvhError],
|
|
2162
|
+
protocol: OvhProtocol,
|
|
2163
|
+
retry: Retry.Retry,
|
|
2164
|
+
}));
|
|
2165
|
+
|
|
2166
|
+
export type ListDedicatedNashaPartitionSnapshotError = OvhOpError;
|
|
2167
|
+
/** Get scheduled snapshot types for this partition */
|
|
2168
|
+
export const listDedicatedNashaPartitionSnapshot: API.OperationMethod<
|
|
2169
|
+
ListDedicatedNashaPartitionSnapshotRequest,
|
|
2170
|
+
ListDedicatedNashaPartitionSnapshotResponse,
|
|
2171
|
+
ListDedicatedNashaPartitionSnapshotError,
|
|
2172
|
+
OvhOpContext
|
|
2173
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2174
|
+
input: ListDedicatedNashaPartitionSnapshotRequest,
|
|
2175
|
+
output: ListDedicatedNashaPartitionSnapshotResponse,
|
|
2176
|
+
errors: [UnknownOvhError],
|
|
2177
|
+
protocol: OvhProtocol,
|
|
2178
|
+
retry: Retry.Retry,
|
|
2179
|
+
}));
|
|
2180
|
+
|
|
2181
|
+
export type ListDedicatedNashaPartitionTemplateUsageError = OvhOpError;
|
|
2182
|
+
/** Get all the template usages options applicable to this partition. */
|
|
2183
|
+
export const listDedicatedNashaPartitionTemplateUsage: API.OperationMethod<
|
|
2184
|
+
ListDedicatedNashaPartitionTemplateUsageRequest,
|
|
2185
|
+
ListDedicatedNashaPartitionTemplateUsageResponse,
|
|
2186
|
+
ListDedicatedNashaPartitionTemplateUsageError,
|
|
2187
|
+
OvhOpContext
|
|
2188
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2189
|
+
input: ListDedicatedNashaPartitionTemplateUsageRequest,
|
|
2190
|
+
output: ListDedicatedNashaPartitionTemplateUsageResponse,
|
|
2191
|
+
errors: [UnknownOvhError],
|
|
2192
|
+
protocol: OvhProtocol,
|
|
2193
|
+
retry: Retry.Retry,
|
|
2194
|
+
}));
|
|
2195
|
+
|
|
2196
|
+
export type ListDedicatedNashaTaskError = OvhOpError;
|
|
2197
|
+
/** View task list */
|
|
2198
|
+
export const listDedicatedNashaTask: API.OperationMethod<
|
|
2199
|
+
ListDedicatedNashaTaskRequest,
|
|
2200
|
+
ListDedicatedNashaTaskResponse,
|
|
2201
|
+
ListDedicatedNashaTaskError,
|
|
2202
|
+
OvhOpContext
|
|
2203
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2204
|
+
input: ListDedicatedNashaTaskRequest,
|
|
2205
|
+
output: ListDedicatedNashaTaskResponse,
|
|
2206
|
+
errors: [UnknownOvhError],
|
|
2207
|
+
protocol: OvhProtocol,
|
|
2208
|
+
retry: Retry.Retry,
|
|
2209
|
+
}));
|
|
2210
|
+
|
|
2211
|
+
export type PutDedicatedNashaError = OvhOpError;
|
|
2212
|
+
/** Alter this object properties */
|
|
2213
|
+
export const putDedicatedNasha: API.OperationMethod<
|
|
2214
|
+
PutDedicatedNashaRequest,
|
|
2215
|
+
PutDedicatedNashaResponse,
|
|
2216
|
+
PutDedicatedNashaError,
|
|
2217
|
+
OvhOpContext
|
|
2218
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2219
|
+
input: PutDedicatedNashaRequest,
|
|
2220
|
+
output: PutDedicatedNashaResponse,
|
|
2221
|
+
errors: [UnknownOvhError],
|
|
2222
|
+
protocol: OvhProtocol,
|
|
2223
|
+
retry: Retry.Retry,
|
|
2224
|
+
}));
|
|
2225
|
+
|
|
2226
|
+
export type PutDedicatedNashaPartitionError = OvhOpError;
|
|
2227
|
+
/** Alter this object properties */
|
|
2228
|
+
export const putDedicatedNashaPartition: API.OperationMethod<
|
|
2229
|
+
PutDedicatedNashaPartitionRequest,
|
|
2230
|
+
PutDedicatedNashaPartitionResponse,
|
|
2231
|
+
PutDedicatedNashaPartitionError,
|
|
2232
|
+
OvhOpContext
|
|
2233
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2234
|
+
input: PutDedicatedNashaPartitionRequest,
|
|
2235
|
+
output: PutDedicatedNashaPartitionResponse,
|
|
2236
|
+
errors: [UnknownOvhError],
|
|
2237
|
+
protocol: OvhProtocol,
|
|
2238
|
+
retry: Retry.Retry,
|
|
2239
|
+
}));
|
|
2240
|
+
|
|
2241
|
+
export type PutDedicatedNashaServiceInfosError = OvhOpError;
|
|
2242
|
+
/** Update service information */
|
|
2243
|
+
export const putDedicatedNashaServiceInfos: API.OperationMethod<
|
|
2244
|
+
PutDedicatedNashaServiceInfosRequest,
|
|
2245
|
+
PutDedicatedNashaServiceInfosResponse,
|
|
2246
|
+
PutDedicatedNashaServiceInfosError,
|
|
2247
|
+
OvhOpContext
|
|
2248
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2249
|
+
input: PutDedicatedNashaServiceInfosRequest,
|
|
2250
|
+
output: PutDedicatedNashaServiceInfosResponse,
|
|
2251
|
+
errors: [UnknownOvhError],
|
|
2252
|
+
protocol: OvhProtocol,
|
|
2253
|
+
retry: Retry.Retry,
|
|
2254
|
+
}));
|
|
2255
|
+
|
|
2256
|
+
export type TerminateDedicatedNashaError = OvhOpError;
|
|
2257
|
+
/** Ask for the termination of your service Ask for the termination of your service. Admin contact of this service will receive a termination token by email in order to confirm its termination with /confirmTermination endpoint. */
|
|
2258
|
+
export const terminateDedicatedNasha: API.OperationMethod<
|
|
2259
|
+
TerminateDedicatedNashaRequest,
|
|
2260
|
+
TerminateDedicatedNashaResponse,
|
|
2261
|
+
TerminateDedicatedNashaError,
|
|
2262
|
+
OvhOpContext
|
|
2263
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2264
|
+
input: TerminateDedicatedNashaRequest,
|
|
2265
|
+
output: TerminateDedicatedNashaResponse,
|
|
2266
|
+
errors: [UnknownOvhError],
|
|
2267
|
+
protocol: OvhProtocol,
|
|
2268
|
+
retry: Retry.Retry,
|
|
2269
|
+
}));
|