@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,2433 @@
|
|
|
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 ConfirmStorageNetappTerminationRequest {
|
|
43
|
+
/** Service name */
|
|
44
|
+
serviceName: string;
|
|
45
|
+
/** Commentary about your termination request */
|
|
46
|
+
commentary?: string;
|
|
47
|
+
/** All future uses you can provide for a service termination */
|
|
48
|
+
futureUse?: ServiceTerminationFutureUseEnum | (string & {});
|
|
49
|
+
/** All reasons you can provide for a service termination */
|
|
50
|
+
reason?: ServiceTerminationReasonEnum | (string & {});
|
|
51
|
+
/** The termination token sent by email to the admin contact */
|
|
52
|
+
token: string;
|
|
53
|
+
}
|
|
54
|
+
export const ConfirmStorageNetappTerminationRequest = /*@__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: "/storage/netapp/{serviceName}/confirmTermination",
|
|
66
|
+
code: 200,
|
|
67
|
+
}),
|
|
68
|
+
),
|
|
69
|
+
).annotate({
|
|
70
|
+
identifier: "ConfirmStorageNetappTerminationRequest",
|
|
71
|
+
}) as any as S.Schema<ConfirmStorageNetappTerminationRequest>;
|
|
72
|
+
|
|
73
|
+
export type ConfirmStorageNetappTerminationResponse = string;
|
|
74
|
+
export const ConfirmStorageNetappTerminationResponse = /*@__PURE__*/ S.suspend(
|
|
75
|
+
() => S.String.pipe(T.RawResponseRoot()),
|
|
76
|
+
).annotate({
|
|
77
|
+
identifier: "ConfirmStorageNetappTerminationResponse",
|
|
78
|
+
}) as any as S.Schema<ConfirmStorageNetappTerminationResponse>;
|
|
79
|
+
|
|
80
|
+
export interface CreateStorageNetappChangeContactRequest {
|
|
81
|
+
/** Service name */
|
|
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 CreateStorageNetappChangeContactRequest = /*@__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: "/storage/netapp/{serviceName}/changeContact",
|
|
101
|
+
code: 200,
|
|
102
|
+
}),
|
|
103
|
+
),
|
|
104
|
+
).annotate({
|
|
105
|
+
identifier: "CreateStorageNetappChangeContactRequest",
|
|
106
|
+
}) as any as S.Schema<CreateStorageNetappChangeContactRequest>;
|
|
107
|
+
|
|
108
|
+
export type CreateStorageNetappChangeContactResponseBodyList = Array<number>;
|
|
109
|
+
export const CreateStorageNetappChangeContactResponseBodyList =
|
|
110
|
+
/*@__PURE__*/ S.Array(
|
|
111
|
+
S.Number,
|
|
112
|
+
) as any as S.Schema<CreateStorageNetappChangeContactResponseBodyList>;
|
|
113
|
+
|
|
114
|
+
export type CreateStorageNetappChangeContactResponse =
|
|
115
|
+
CreateStorageNetappChangeContactResponseBodyList;
|
|
116
|
+
export const CreateStorageNetappChangeContactResponse = /*@__PURE__*/ S.suspend(
|
|
117
|
+
() =>
|
|
118
|
+
CreateStorageNetappChangeContactResponseBodyList.pipe(T.RawResponseRoot()),
|
|
119
|
+
).annotate({
|
|
120
|
+
identifier: "CreateStorageNetappChangeContactResponse",
|
|
121
|
+
}) as any as S.Schema<CreateStorageNetappChangeContactResponse>;
|
|
122
|
+
|
|
123
|
+
/** ACL permission */
|
|
124
|
+
export type StorageNetAppShareACLPermissionEnum = "ro" | "rw";
|
|
125
|
+
export const StorageNetAppShareACLPermissionEnum = /*@__PURE__*/ S.String;
|
|
126
|
+
|
|
127
|
+
export interface CreateStorageNetappShareAclRequest {
|
|
128
|
+
/** Service name */
|
|
129
|
+
serviceName: string;
|
|
130
|
+
/** Share ID */
|
|
131
|
+
shareId: string;
|
|
132
|
+
/** Rule access level */
|
|
133
|
+
accessLevel: StorageNetAppShareACLPermissionEnum | (string & {}) | null;
|
|
134
|
+
/** Rule destination */
|
|
135
|
+
accessTo: string | null;
|
|
136
|
+
}
|
|
137
|
+
export const CreateStorageNetappShareAclRequest = /*@__PURE__*/ S.suspend(() =>
|
|
138
|
+
S.Struct({
|
|
139
|
+
serviceName: S.String.pipe(T.Label()),
|
|
140
|
+
shareId: S.String.pipe(T.Label()),
|
|
141
|
+
accessLevel: S.NullOr(StorageNetAppShareACLPermissionEnum),
|
|
142
|
+
accessTo: S.NullOr(S.String),
|
|
143
|
+
}).pipe(
|
|
144
|
+
T.Http({
|
|
145
|
+
method: "POST",
|
|
146
|
+
uri: "/storage/netapp/{serviceName}/share/{shareId}/acl",
|
|
147
|
+
code: 200,
|
|
148
|
+
}),
|
|
149
|
+
),
|
|
150
|
+
).annotate({
|
|
151
|
+
identifier: "CreateStorageNetappShareAclRequest",
|
|
152
|
+
}) as any as S.Schema<CreateStorageNetappShareAclRequest>;
|
|
153
|
+
|
|
154
|
+
/** ACL type */
|
|
155
|
+
export type StorageNetAppShareACLTypeEnum = "ip";
|
|
156
|
+
export const StorageNetAppShareACLTypeEnum = /*@__PURE__*/ S.String;
|
|
157
|
+
|
|
158
|
+
/** ACL status */
|
|
159
|
+
export type StorageNetAppShareACLStatusEnum =
|
|
160
|
+
| "active"
|
|
161
|
+
| "applying"
|
|
162
|
+
| "denying"
|
|
163
|
+
| "error"
|
|
164
|
+
| "queued_to_apply"
|
|
165
|
+
| "queued_to_deny";
|
|
166
|
+
export const StorageNetAppShareACLStatusEnum = /*@__PURE__*/ S.String;
|
|
167
|
+
|
|
168
|
+
/** A share ACL rule */
|
|
169
|
+
export interface StorageNetAppShareACLRule {
|
|
170
|
+
/** Rule access level */
|
|
171
|
+
accessLevel: StorageNetAppShareACLPermissionEnum | null;
|
|
172
|
+
/** Rule destination */
|
|
173
|
+
accessTo: string | null;
|
|
174
|
+
/** Rule access type */
|
|
175
|
+
accessType?: StorageNetAppShareACLTypeEnum | null;
|
|
176
|
+
/** Rule creation date */
|
|
177
|
+
createdAt?: string | null;
|
|
178
|
+
/** Rule ID */
|
|
179
|
+
id?: string;
|
|
180
|
+
/** Rule status */
|
|
181
|
+
status?: StorageNetAppShareACLStatusEnum | null;
|
|
182
|
+
}
|
|
183
|
+
export const StorageNetAppShareACLRule = /*@__PURE__*/ S.suspend(() =>
|
|
184
|
+
S.Struct({
|
|
185
|
+
accessLevel: S.NullOr(StorageNetAppShareACLPermissionEnum),
|
|
186
|
+
accessTo: S.NullOr(S.String),
|
|
187
|
+
accessType: S.optional(S.NullOr(StorageNetAppShareACLTypeEnum)),
|
|
188
|
+
createdAt: S.optional(S.NullOr(S.String)),
|
|
189
|
+
id: S.optional(S.String),
|
|
190
|
+
status: S.optional(S.NullOr(StorageNetAppShareACLStatusEnum)),
|
|
191
|
+
}),
|
|
192
|
+
).annotate({
|
|
193
|
+
identifier: "StorageNetAppShareACLRule",
|
|
194
|
+
}) as any as S.Schema<StorageNetAppShareACLRule>;
|
|
195
|
+
|
|
196
|
+
export interface CreateStorageNetappShareRevertRequest {
|
|
197
|
+
/** Service name */
|
|
198
|
+
serviceName: string;
|
|
199
|
+
/** Share ID */
|
|
200
|
+
shareId: string;
|
|
201
|
+
/** Latest share snapshot */
|
|
202
|
+
snapshotID: string;
|
|
203
|
+
}
|
|
204
|
+
export const CreateStorageNetappShareRevertRequest = /*@__PURE__*/ S.suspend(
|
|
205
|
+
() =>
|
|
206
|
+
S.Struct({
|
|
207
|
+
serviceName: S.String.pipe(T.Label()),
|
|
208
|
+
shareId: S.String.pipe(T.Label()),
|
|
209
|
+
snapshotID: S.String,
|
|
210
|
+
}).pipe(
|
|
211
|
+
T.Http({
|
|
212
|
+
method: "POST",
|
|
213
|
+
uri: "/storage/netapp/{serviceName}/share/{shareId}/revert",
|
|
214
|
+
code: 200,
|
|
215
|
+
}),
|
|
216
|
+
),
|
|
217
|
+
).annotate({
|
|
218
|
+
identifier: "CreateStorageNetappShareRevertRequest",
|
|
219
|
+
}) as any as S.Schema<CreateStorageNetappShareRevertRequest>;
|
|
220
|
+
|
|
221
|
+
export interface CreateStorageNetappShareRevertResponse {}
|
|
222
|
+
export const CreateStorageNetappShareRevertResponse = /*@__PURE__*/ S.suspend(
|
|
223
|
+
() => S.Struct({}),
|
|
224
|
+
).annotate({
|
|
225
|
+
identifier: "CreateStorageNetappShareRevertResponse",
|
|
226
|
+
}) as any as S.Schema<CreateStorageNetappShareRevertResponse>;
|
|
227
|
+
|
|
228
|
+
export interface CreateStorageNetappShareShrinkRequest {
|
|
229
|
+
/** Service name */
|
|
230
|
+
serviceName: string;
|
|
231
|
+
/** Share ID */
|
|
232
|
+
shareId: string;
|
|
233
|
+
/** Share size in Gigabytes */
|
|
234
|
+
size: number | null;
|
|
235
|
+
}
|
|
236
|
+
export const CreateStorageNetappShareShrinkRequest = /*@__PURE__*/ S.suspend(
|
|
237
|
+
() =>
|
|
238
|
+
S.Struct({
|
|
239
|
+
serviceName: S.String.pipe(T.Label()),
|
|
240
|
+
shareId: S.String.pipe(T.Label()),
|
|
241
|
+
size: S.NullOr(S.Number),
|
|
242
|
+
}).pipe(
|
|
243
|
+
T.Http({
|
|
244
|
+
method: "POST",
|
|
245
|
+
uri: "/storage/netapp/{serviceName}/share/{shareId}/shrink",
|
|
246
|
+
code: 200,
|
|
247
|
+
}),
|
|
248
|
+
),
|
|
249
|
+
).annotate({
|
|
250
|
+
identifier: "CreateStorageNetappShareShrinkRequest",
|
|
251
|
+
}) as any as S.Schema<CreateStorageNetappShareShrinkRequest>;
|
|
252
|
+
|
|
253
|
+
export interface CreateStorageNetappShareShrinkResponse {}
|
|
254
|
+
export const CreateStorageNetappShareShrinkResponse = /*@__PURE__*/ S.suspend(
|
|
255
|
+
() => S.Struct({}),
|
|
256
|
+
).annotate({
|
|
257
|
+
identifier: "CreateStorageNetappShareShrinkResponse",
|
|
258
|
+
}) as any as S.Schema<CreateStorageNetappShareShrinkResponse>;
|
|
259
|
+
|
|
260
|
+
export interface CreateStorageNetappShareSnapshotRequest {
|
|
261
|
+
/** Service name */
|
|
262
|
+
serviceName: string;
|
|
263
|
+
/** Share ID */
|
|
264
|
+
shareId: string;
|
|
265
|
+
/** Snapshot description */
|
|
266
|
+
description?: string | null;
|
|
267
|
+
/** Snapshot name */
|
|
268
|
+
name?: string | null;
|
|
269
|
+
}
|
|
270
|
+
export const CreateStorageNetappShareSnapshotRequest = /*@__PURE__*/ S.suspend(
|
|
271
|
+
() =>
|
|
272
|
+
S.Struct({
|
|
273
|
+
serviceName: S.String.pipe(T.Label()),
|
|
274
|
+
shareId: S.String.pipe(T.Label()),
|
|
275
|
+
description: S.optional(S.NullOr(S.String)),
|
|
276
|
+
name: S.optional(S.NullOr(S.String)),
|
|
277
|
+
}).pipe(
|
|
278
|
+
T.Http({
|
|
279
|
+
method: "POST",
|
|
280
|
+
uri: "/storage/netapp/{serviceName}/share/{shareId}/snapshot",
|
|
281
|
+
code: 200,
|
|
282
|
+
}),
|
|
283
|
+
),
|
|
284
|
+
).annotate({
|
|
285
|
+
identifier: "CreateStorageNetappShareSnapshotRequest",
|
|
286
|
+
}) as any as S.Schema<CreateStorageNetappShareSnapshotRequest>;
|
|
287
|
+
|
|
288
|
+
/** Snapshot status */
|
|
289
|
+
export type StorageNetAppSnapshotStatusEnum =
|
|
290
|
+
| "available"
|
|
291
|
+
| "creating"
|
|
292
|
+
| "deleting"
|
|
293
|
+
| "error"
|
|
294
|
+
| "error_deleting"
|
|
295
|
+
| "manage_error"
|
|
296
|
+
| "manage_starting"
|
|
297
|
+
| "restoring"
|
|
298
|
+
| "unmanage_error"
|
|
299
|
+
| "unmanage_starting";
|
|
300
|
+
export const StorageNetAppSnapshotStatusEnum = /*@__PURE__*/ S.String;
|
|
301
|
+
|
|
302
|
+
/** Snapshot type */
|
|
303
|
+
export type StorageNetAppSnapshotTypeEnum = "automatic" | "manual" | "system";
|
|
304
|
+
export const StorageNetAppSnapshotTypeEnum = /*@__PURE__*/ S.String;
|
|
305
|
+
|
|
306
|
+
/** A share snapshot */
|
|
307
|
+
export interface StorageNetAppShareSnapshot {
|
|
308
|
+
/** Snapshot creation date */
|
|
309
|
+
createdAt?: string | null;
|
|
310
|
+
/** Snapshot description */
|
|
311
|
+
description?: string | null;
|
|
312
|
+
/** Snapshot ID */
|
|
313
|
+
id?: string;
|
|
314
|
+
/** Snapshot name */
|
|
315
|
+
name?: string | null;
|
|
316
|
+
/** Snapshot path */
|
|
317
|
+
path?: string | null;
|
|
318
|
+
/** Snapshot status */
|
|
319
|
+
status?: StorageNetAppSnapshotStatusEnum | null;
|
|
320
|
+
/** Snapshot type */
|
|
321
|
+
type?: StorageNetAppSnapshotTypeEnum | null;
|
|
322
|
+
}
|
|
323
|
+
export const StorageNetAppShareSnapshot = /*@__PURE__*/ S.suspend(() =>
|
|
324
|
+
S.Struct({
|
|
325
|
+
createdAt: S.optional(S.NullOr(S.String)),
|
|
326
|
+
description: S.optional(S.NullOr(S.String)),
|
|
327
|
+
id: S.optional(S.String),
|
|
328
|
+
name: S.optional(S.NullOr(S.String)),
|
|
329
|
+
path: S.optional(S.NullOr(S.String)),
|
|
330
|
+
status: S.optional(S.NullOr(StorageNetAppSnapshotStatusEnum)),
|
|
331
|
+
type: S.optional(S.NullOr(StorageNetAppSnapshotTypeEnum)),
|
|
332
|
+
}),
|
|
333
|
+
).annotate({
|
|
334
|
+
identifier: "StorageNetAppShareSnapshot",
|
|
335
|
+
}) as any as S.Schema<StorageNetAppShareSnapshot>;
|
|
336
|
+
|
|
337
|
+
export interface CreateStorageNetappShareSnapshotHoldRequest {
|
|
338
|
+
/** Service name */
|
|
339
|
+
serviceName: string;
|
|
340
|
+
/** Share ID */
|
|
341
|
+
shareId: string;
|
|
342
|
+
/** Snapshot ID */
|
|
343
|
+
snapshotId: string;
|
|
344
|
+
}
|
|
345
|
+
export const CreateStorageNetappShareSnapshotHoldRequest =
|
|
346
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
347
|
+
S.Struct({
|
|
348
|
+
serviceName: S.String.pipe(T.Label()),
|
|
349
|
+
shareId: S.String.pipe(T.Label()),
|
|
350
|
+
snapshotId: S.String.pipe(T.Label()),
|
|
351
|
+
}).pipe(
|
|
352
|
+
T.Http({
|
|
353
|
+
method: "POST",
|
|
354
|
+
uri: "/storage/netapp/{serviceName}/share/{shareId}/snapshot/{snapshotId}/hold",
|
|
355
|
+
code: 200,
|
|
356
|
+
}),
|
|
357
|
+
),
|
|
358
|
+
).annotate({
|
|
359
|
+
identifier: "CreateStorageNetappShareSnapshotHoldRequest",
|
|
360
|
+
}) as any as S.Schema<CreateStorageNetappShareSnapshotHoldRequest>;
|
|
361
|
+
|
|
362
|
+
/** The days of the month the schedule runs (1 through 31). Empty for all. */
|
|
363
|
+
export type StorageNetAppSnapshotPolicyScheduleDaysList = Array<number>;
|
|
364
|
+
export const StorageNetAppSnapshotPolicyScheduleDaysList =
|
|
365
|
+
/*@__PURE__*/ S.Array(
|
|
366
|
+
S.Number,
|
|
367
|
+
) as any as S.Schema<StorageNetAppSnapshotPolicyScheduleDaysList>;
|
|
368
|
+
|
|
369
|
+
/** The hours of the day the schedule runs (0 through 23). Empty for all. */
|
|
370
|
+
export type StorageNetAppSnapshotPolicyScheduleHoursList = Array<number>;
|
|
371
|
+
export const StorageNetAppSnapshotPolicyScheduleHoursList =
|
|
372
|
+
/*@__PURE__*/ S.Array(
|
|
373
|
+
S.Number,
|
|
374
|
+
) as any as S.Schema<StorageNetAppSnapshotPolicyScheduleHoursList>;
|
|
375
|
+
|
|
376
|
+
/** The minutes the schedule runs (0 through 59). Required to have at least one value. */
|
|
377
|
+
export type StorageNetAppSnapshotPolicyScheduleMinutesList = Array<number>;
|
|
378
|
+
export const StorageNetAppSnapshotPolicyScheduleMinutesList =
|
|
379
|
+
/*@__PURE__*/ S.Array(
|
|
380
|
+
S.Number,
|
|
381
|
+
) as any as S.Schema<StorageNetAppSnapshotPolicyScheduleMinutesList>;
|
|
382
|
+
|
|
383
|
+
/** The months of the year the schedule runs (1 through 12). Empty for all. */
|
|
384
|
+
export type StorageNetAppSnapshotPolicyScheduleMonthsList = Array<number>;
|
|
385
|
+
export const StorageNetAppSnapshotPolicyScheduleMonthsList =
|
|
386
|
+
/*@__PURE__*/ S.Array(
|
|
387
|
+
S.Number,
|
|
388
|
+
) as any as S.Schema<StorageNetAppSnapshotPolicyScheduleMonthsList>;
|
|
389
|
+
|
|
390
|
+
/** The days of the week the schedule runs (0 through 6, where 0 is Sunday and 6 is Saturday). Empty for all. */
|
|
391
|
+
export type StorageNetAppSnapshotPolicyScheduleWeekdaysList = Array<number>;
|
|
392
|
+
export const StorageNetAppSnapshotPolicyScheduleWeekdaysList =
|
|
393
|
+
/*@__PURE__*/ S.Array(
|
|
394
|
+
S.Number,
|
|
395
|
+
) as any as S.Schema<StorageNetAppSnapshotPolicyScheduleWeekdaysList>;
|
|
396
|
+
|
|
397
|
+
/** A snapshot policy schedule */
|
|
398
|
+
export interface StorageNetAppSnapshotPolicySchedule {
|
|
399
|
+
/** The days of the month the schedule runs (1 through 31). Empty for all. */
|
|
400
|
+
days?: StorageNetAppSnapshotPolicyScheduleDaysList | null;
|
|
401
|
+
/** The hours of the day the schedule runs (0 through 23). Empty for all. */
|
|
402
|
+
hours?: StorageNetAppSnapshotPolicyScheduleHoursList | null;
|
|
403
|
+
/** The minutes the schedule runs (0 through 59). Required to have at least one value. */
|
|
404
|
+
minutes: StorageNetAppSnapshotPolicyScheduleMinutesList;
|
|
405
|
+
/** The months of the year the schedule runs (1 through 12). Empty for all. */
|
|
406
|
+
months?: StorageNetAppSnapshotPolicyScheduleMonthsList | null;
|
|
407
|
+
/** The days of the week the schedule runs (0 through 6, where 0 is Sunday and 6 is Saturday). Empty for all. */
|
|
408
|
+
weekdays?: StorageNetAppSnapshotPolicyScheduleWeekdaysList | null;
|
|
409
|
+
}
|
|
410
|
+
export const StorageNetAppSnapshotPolicySchedule = /*@__PURE__*/ S.suspend(() =>
|
|
411
|
+
S.Struct({
|
|
412
|
+
days: S.optional(S.NullOr(StorageNetAppSnapshotPolicyScheduleDaysList)),
|
|
413
|
+
hours: S.optional(S.NullOr(StorageNetAppSnapshotPolicyScheduleHoursList)),
|
|
414
|
+
minutes: StorageNetAppSnapshotPolicyScheduleMinutesList,
|
|
415
|
+
months: S.optional(S.NullOr(StorageNetAppSnapshotPolicyScheduleMonthsList)),
|
|
416
|
+
weekdays: S.optional(
|
|
417
|
+
S.NullOr(StorageNetAppSnapshotPolicyScheduleWeekdaysList),
|
|
418
|
+
),
|
|
419
|
+
}),
|
|
420
|
+
).annotate({
|
|
421
|
+
identifier: "StorageNetAppSnapshotPolicySchedule",
|
|
422
|
+
}) as any as S.Schema<StorageNetAppSnapshotPolicySchedule>;
|
|
423
|
+
|
|
424
|
+
/** A snapshot policy rule */
|
|
425
|
+
export interface StorageNetAppSnapshotPolicyRule {
|
|
426
|
+
/** Number of snapshot copies to keep */
|
|
427
|
+
copies: number | null;
|
|
428
|
+
/** Prefix to use for snapshots */
|
|
429
|
+
prefix: string | null;
|
|
430
|
+
/** Snapshot policy schedule */
|
|
431
|
+
schedule: StorageNetAppSnapshotPolicySchedule | null;
|
|
432
|
+
}
|
|
433
|
+
export const StorageNetAppSnapshotPolicyRule = /*@__PURE__*/ S.suspend(() =>
|
|
434
|
+
S.Struct({
|
|
435
|
+
copies: S.NullOr(S.Number),
|
|
436
|
+
prefix: S.NullOr(S.String),
|
|
437
|
+
schedule: S.NullOr(StorageNetAppSnapshotPolicySchedule),
|
|
438
|
+
}),
|
|
439
|
+
).annotate({
|
|
440
|
+
identifier: "StorageNetAppSnapshotPolicyRule",
|
|
441
|
+
}) as any as S.Schema<StorageNetAppSnapshotPolicyRule>;
|
|
442
|
+
|
|
443
|
+
/** Snapshot policy rules */
|
|
444
|
+
export type CreateStorageNetappSnapshotPolicyRequestRulesList =
|
|
445
|
+
Array<StorageNetAppSnapshotPolicyRule>;
|
|
446
|
+
export const CreateStorageNetappSnapshotPolicyRequestRulesList =
|
|
447
|
+
/*@__PURE__*/ S.Array(
|
|
448
|
+
StorageNetAppSnapshotPolicyRule,
|
|
449
|
+
) as any as S.Schema<CreateStorageNetappSnapshotPolicyRequestRulesList>;
|
|
450
|
+
|
|
451
|
+
export interface CreateStorageNetappSnapshotPolicyRequest {
|
|
452
|
+
/** Service name */
|
|
453
|
+
serviceName: string;
|
|
454
|
+
/** Snapshot policy description */
|
|
455
|
+
description?: string | null;
|
|
456
|
+
/** Snapshot policy name */
|
|
457
|
+
name?: string | null;
|
|
458
|
+
/** Snapshot policy rules */
|
|
459
|
+
rules: CreateStorageNetappSnapshotPolicyRequestRulesList | null;
|
|
460
|
+
}
|
|
461
|
+
export const CreateStorageNetappSnapshotPolicyRequest = /*@__PURE__*/ S.suspend(
|
|
462
|
+
() =>
|
|
463
|
+
S.Struct({
|
|
464
|
+
serviceName: S.String.pipe(T.Label()),
|
|
465
|
+
description: S.optional(S.NullOr(S.String)),
|
|
466
|
+
name: S.optional(S.NullOr(S.String)),
|
|
467
|
+
rules: S.NullOr(CreateStorageNetappSnapshotPolicyRequestRulesList),
|
|
468
|
+
}).pipe(
|
|
469
|
+
T.Http({
|
|
470
|
+
method: "POST",
|
|
471
|
+
uri: "/storage/netapp/{serviceName}/snapshotPolicy",
|
|
472
|
+
code: 200,
|
|
473
|
+
}),
|
|
474
|
+
),
|
|
475
|
+
).annotate({
|
|
476
|
+
identifier: "CreateStorageNetappSnapshotPolicyRequest",
|
|
477
|
+
}) as any as S.Schema<CreateStorageNetappSnapshotPolicyRequest>;
|
|
478
|
+
|
|
479
|
+
/** Snapshot policy rules */
|
|
480
|
+
export type StorageNetAppSnapshotPolicyRulesList =
|
|
481
|
+
Array<StorageNetAppSnapshotPolicyRule>;
|
|
482
|
+
export const StorageNetAppSnapshotPolicyRulesList = /*@__PURE__*/ S.Array(
|
|
483
|
+
StorageNetAppSnapshotPolicyRule,
|
|
484
|
+
) as any as S.Schema<StorageNetAppSnapshotPolicyRulesList>;
|
|
485
|
+
|
|
486
|
+
/** Snapshot policy status */
|
|
487
|
+
export type StorageNetAppSnapshotPolicyStatusEnum =
|
|
488
|
+
| "available"
|
|
489
|
+
| "creating"
|
|
490
|
+
| "deleting"
|
|
491
|
+
| "error"
|
|
492
|
+
| "updating";
|
|
493
|
+
export const StorageNetAppSnapshotPolicyStatusEnum = /*@__PURE__*/ S.String;
|
|
494
|
+
|
|
495
|
+
/** A snapshot policy */
|
|
496
|
+
export interface StorageNetAppSnapshotPolicy {
|
|
497
|
+
/** Snapshot policy creation date */
|
|
498
|
+
createdAt?: string | null;
|
|
499
|
+
/** Snapshot policy description */
|
|
500
|
+
description?: string | null;
|
|
501
|
+
/** Snapshot policy ID */
|
|
502
|
+
id?: string;
|
|
503
|
+
/** Is this the default snapshot policy? */
|
|
504
|
+
isDefault?: boolean | null;
|
|
505
|
+
/** Snapshot policy name */
|
|
506
|
+
name?: string | null;
|
|
507
|
+
/** Snapshot policy rules */
|
|
508
|
+
rules: StorageNetAppSnapshotPolicyRulesList | null;
|
|
509
|
+
/** Snapshot policy status */
|
|
510
|
+
status?: StorageNetAppSnapshotPolicyStatusEnum | null;
|
|
511
|
+
}
|
|
512
|
+
export const StorageNetAppSnapshotPolicy = /*@__PURE__*/ S.suspend(() =>
|
|
513
|
+
S.Struct({
|
|
514
|
+
createdAt: S.optional(S.NullOr(S.String)),
|
|
515
|
+
description: S.optional(S.NullOr(S.String)),
|
|
516
|
+
id: S.optional(S.String),
|
|
517
|
+
isDefault: S.optional(S.NullOr(S.Boolean)),
|
|
518
|
+
name: S.optional(S.NullOr(S.String)),
|
|
519
|
+
rules: S.NullOr(StorageNetAppSnapshotPolicyRulesList),
|
|
520
|
+
status: S.optional(S.NullOr(StorageNetAppSnapshotPolicyStatusEnum)),
|
|
521
|
+
}),
|
|
522
|
+
).annotate({
|
|
523
|
+
identifier: "StorageNetAppSnapshotPolicy",
|
|
524
|
+
}) as any as S.Schema<StorageNetAppSnapshotPolicy>;
|
|
525
|
+
|
|
526
|
+
export interface DeleteStorageNetappShareRequest {
|
|
527
|
+
/** Service name */
|
|
528
|
+
serviceName: string;
|
|
529
|
+
/** Share ID */
|
|
530
|
+
shareId: string;
|
|
531
|
+
}
|
|
532
|
+
export const DeleteStorageNetappShareRequest = /*@__PURE__*/ S.suspend(() =>
|
|
533
|
+
S.Struct({
|
|
534
|
+
serviceName: S.String.pipe(T.Label()),
|
|
535
|
+
shareId: S.String.pipe(T.Label()),
|
|
536
|
+
}).pipe(
|
|
537
|
+
T.Http({
|
|
538
|
+
method: "DELETE",
|
|
539
|
+
uri: "/storage/netapp/{serviceName}/share/{shareId}",
|
|
540
|
+
code: 200,
|
|
541
|
+
}),
|
|
542
|
+
),
|
|
543
|
+
).annotate({
|
|
544
|
+
identifier: "DeleteStorageNetappShareRequest",
|
|
545
|
+
}) as any as S.Schema<DeleteStorageNetappShareRequest>;
|
|
546
|
+
|
|
547
|
+
export interface DeleteStorageNetappShareResponse {}
|
|
548
|
+
export const DeleteStorageNetappShareResponse = /*@__PURE__*/ S.suspend(() =>
|
|
549
|
+
S.Struct({}),
|
|
550
|
+
).annotate({
|
|
551
|
+
identifier: "DeleteStorageNetappShareResponse",
|
|
552
|
+
}) as any as S.Schema<DeleteStorageNetappShareResponse>;
|
|
553
|
+
|
|
554
|
+
export interface DeleteStorageNetappShareAclRequest {
|
|
555
|
+
/** Service name */
|
|
556
|
+
serviceName: string;
|
|
557
|
+
/** Share ID */
|
|
558
|
+
shareId: string;
|
|
559
|
+
/** Acl rule ID */
|
|
560
|
+
aclRuleId: string;
|
|
561
|
+
}
|
|
562
|
+
export const DeleteStorageNetappShareAclRequest = /*@__PURE__*/ S.suspend(() =>
|
|
563
|
+
S.Struct({
|
|
564
|
+
serviceName: S.String.pipe(T.Label()),
|
|
565
|
+
shareId: S.String.pipe(T.Label()),
|
|
566
|
+
aclRuleId: S.String.pipe(T.Label()),
|
|
567
|
+
}).pipe(
|
|
568
|
+
T.Http({
|
|
569
|
+
method: "DELETE",
|
|
570
|
+
uri: "/storage/netapp/{serviceName}/share/{shareId}/acl/{aclRuleId}",
|
|
571
|
+
code: 200,
|
|
572
|
+
}),
|
|
573
|
+
),
|
|
574
|
+
).annotate({
|
|
575
|
+
identifier: "DeleteStorageNetappShareAclRequest",
|
|
576
|
+
}) as any as S.Schema<DeleteStorageNetappShareAclRequest>;
|
|
577
|
+
|
|
578
|
+
export interface DeleteStorageNetappShareAclResponse {}
|
|
579
|
+
export const DeleteStorageNetappShareAclResponse = /*@__PURE__*/ S.suspend(() =>
|
|
580
|
+
S.Struct({}),
|
|
581
|
+
).annotate({
|
|
582
|
+
identifier: "DeleteStorageNetappShareAclResponse",
|
|
583
|
+
}) as any as S.Schema<DeleteStorageNetappShareAclResponse>;
|
|
584
|
+
|
|
585
|
+
export interface DeleteStorageNetappShareSnapshotRequest {
|
|
586
|
+
/** Service name */
|
|
587
|
+
serviceName: string;
|
|
588
|
+
/** Share ID */
|
|
589
|
+
shareId: string;
|
|
590
|
+
/** Snapshot ID */
|
|
591
|
+
snapshotId: string;
|
|
592
|
+
}
|
|
593
|
+
export const DeleteStorageNetappShareSnapshotRequest = /*@__PURE__*/ S.suspend(
|
|
594
|
+
() =>
|
|
595
|
+
S.Struct({
|
|
596
|
+
serviceName: S.String.pipe(T.Label()),
|
|
597
|
+
shareId: S.String.pipe(T.Label()),
|
|
598
|
+
snapshotId: S.String.pipe(T.Label()),
|
|
599
|
+
}).pipe(
|
|
600
|
+
T.Http({
|
|
601
|
+
method: "DELETE",
|
|
602
|
+
uri: "/storage/netapp/{serviceName}/share/{shareId}/snapshot/{snapshotId}",
|
|
603
|
+
code: 200,
|
|
604
|
+
}),
|
|
605
|
+
),
|
|
606
|
+
).annotate({
|
|
607
|
+
identifier: "DeleteStorageNetappShareSnapshotRequest",
|
|
608
|
+
}) as any as S.Schema<DeleteStorageNetappShareSnapshotRequest>;
|
|
609
|
+
|
|
610
|
+
export interface DeleteStorageNetappShareSnapshotResponse {}
|
|
611
|
+
export const DeleteStorageNetappShareSnapshotResponse = /*@__PURE__*/ S.suspend(
|
|
612
|
+
() => S.Struct({}),
|
|
613
|
+
).annotate({
|
|
614
|
+
identifier: "DeleteStorageNetappShareSnapshotResponse",
|
|
615
|
+
}) as any as S.Schema<DeleteStorageNetappShareSnapshotResponse>;
|
|
616
|
+
|
|
617
|
+
export interface DeleteStorageNetappSnapshotPolicyRequest {
|
|
618
|
+
/** Service name */
|
|
619
|
+
serviceName: string;
|
|
620
|
+
/** Snapshot policy ID */
|
|
621
|
+
snapshotPolicyId: string;
|
|
622
|
+
}
|
|
623
|
+
export const DeleteStorageNetappSnapshotPolicyRequest = /*@__PURE__*/ S.suspend(
|
|
624
|
+
() =>
|
|
625
|
+
S.Struct({
|
|
626
|
+
serviceName: S.String.pipe(T.Label()),
|
|
627
|
+
snapshotPolicyId: S.String.pipe(T.Label()),
|
|
628
|
+
}).pipe(
|
|
629
|
+
T.Http({
|
|
630
|
+
method: "DELETE",
|
|
631
|
+
uri: "/storage/netapp/{serviceName}/snapshotPolicy/{snapshotPolicyId}",
|
|
632
|
+
code: 200,
|
|
633
|
+
}),
|
|
634
|
+
),
|
|
635
|
+
).annotate({
|
|
636
|
+
identifier: "DeleteStorageNetappSnapshotPolicyRequest",
|
|
637
|
+
}) as any as S.Schema<DeleteStorageNetappSnapshotPolicyRequest>;
|
|
638
|
+
|
|
639
|
+
export interface DeleteStorageNetappSnapshotPolicyResponse {}
|
|
640
|
+
export const DeleteStorageNetappSnapshotPolicyResponse =
|
|
641
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
642
|
+
identifier: "DeleteStorageNetappSnapshotPolicyResponse",
|
|
643
|
+
}) as any as S.Schema<DeleteStorageNetappSnapshotPolicyResponse>;
|
|
644
|
+
|
|
645
|
+
export interface ExtendStorageNetappShareRequest {
|
|
646
|
+
/** Service name */
|
|
647
|
+
serviceName: string;
|
|
648
|
+
/** Share ID */
|
|
649
|
+
shareId: string;
|
|
650
|
+
/** Share size in Gigabytes */
|
|
651
|
+
size: number | null;
|
|
652
|
+
}
|
|
653
|
+
export const ExtendStorageNetappShareRequest = /*@__PURE__*/ S.suspend(() =>
|
|
654
|
+
S.Struct({
|
|
655
|
+
serviceName: S.String.pipe(T.Label()),
|
|
656
|
+
shareId: S.String.pipe(T.Label()),
|
|
657
|
+
size: S.NullOr(S.Number),
|
|
658
|
+
}).pipe(
|
|
659
|
+
T.Http({
|
|
660
|
+
method: "POST",
|
|
661
|
+
uri: "/storage/netapp/{serviceName}/share/{shareId}/extend",
|
|
662
|
+
code: 200,
|
|
663
|
+
}),
|
|
664
|
+
),
|
|
665
|
+
).annotate({
|
|
666
|
+
identifier: "ExtendStorageNetappShareRequest",
|
|
667
|
+
}) as any as S.Schema<ExtendStorageNetappShareRequest>;
|
|
668
|
+
|
|
669
|
+
export interface ExtendStorageNetappShareResponse {}
|
|
670
|
+
export const ExtendStorageNetappShareResponse = /*@__PURE__*/ S.suspend(() =>
|
|
671
|
+
S.Struct({}),
|
|
672
|
+
).annotate({
|
|
673
|
+
identifier: "ExtendStorageNetappShareResponse",
|
|
674
|
+
}) as any as S.Schema<ExtendStorageNetappShareResponse>;
|
|
675
|
+
|
|
676
|
+
export interface GetStorageNetappRequest {
|
|
677
|
+
/** Service name */
|
|
678
|
+
serviceName: string;
|
|
679
|
+
}
|
|
680
|
+
export const GetStorageNetappRequest = /*@__PURE__*/ S.suspend(() =>
|
|
681
|
+
S.Struct({
|
|
682
|
+
serviceName: S.String.pipe(T.Label()),
|
|
683
|
+
}).pipe(
|
|
684
|
+
T.Http({ method: "GET", uri: "/storage/netapp/{serviceName}", code: 200 }),
|
|
685
|
+
),
|
|
686
|
+
).annotate({
|
|
687
|
+
identifier: "GetStorageNetappRequest",
|
|
688
|
+
}) as any as S.Schema<GetStorageNetappRequest>;
|
|
689
|
+
|
|
690
|
+
/** Resource tags. Tags that were internally computed are prefixed with ovh: */
|
|
691
|
+
export type IamResourceMetadataTagsMap = { [key: string]: string | undefined };
|
|
692
|
+
export const IamResourceMetadataTagsMap = /*@__PURE__*/ S.Record(
|
|
693
|
+
S.String,
|
|
694
|
+
S.String,
|
|
695
|
+
) as any as S.Schema<IamResourceMetadataTagsMap>;
|
|
696
|
+
|
|
697
|
+
/** IAM resource metadata embedded in services models */
|
|
698
|
+
export interface IamResourceMetadata {
|
|
699
|
+
/** Resource display name */
|
|
700
|
+
displayName?: string | null;
|
|
701
|
+
/** Unique identifier of the resource */
|
|
702
|
+
id?: string;
|
|
703
|
+
/** Resource tags. Tags that were internally computed are prefixed with ovh: */
|
|
704
|
+
tags?: IamResourceMetadataTagsMap | null;
|
|
705
|
+
/** Unique resource name used in policies */
|
|
706
|
+
urn?: string;
|
|
707
|
+
}
|
|
708
|
+
export const IamResourceMetadata = /*@__PURE__*/ S.suspend(() =>
|
|
709
|
+
S.Struct({
|
|
710
|
+
displayName: S.optional(S.NullOr(S.String)),
|
|
711
|
+
id: S.optional(S.String),
|
|
712
|
+
tags: S.optional(S.NullOr(IamResourceMetadataTagsMap)),
|
|
713
|
+
urn: S.optional(S.String),
|
|
714
|
+
}),
|
|
715
|
+
).annotate({
|
|
716
|
+
identifier: "IamResourceMetadata",
|
|
717
|
+
}) as any as S.Schema<IamResourceMetadata>;
|
|
718
|
+
|
|
719
|
+
/** Service performance level */
|
|
720
|
+
export type StorageNetAppServicePerformanceLevelEnum = "premium";
|
|
721
|
+
export const StorageNetAppServicePerformanceLevelEnum = /*@__PURE__*/ S.String;
|
|
722
|
+
|
|
723
|
+
/** Region of customer's service */
|
|
724
|
+
export type StorageRegionEnum =
|
|
725
|
+
| "ca-east-bhs"
|
|
726
|
+
| "eu-west-gra"
|
|
727
|
+
| "eu-west-lim"
|
|
728
|
+
| "eu-west-rbx"
|
|
729
|
+
| "eu-west-sbg";
|
|
730
|
+
export const StorageRegionEnum = /*@__PURE__*/ S.String;
|
|
731
|
+
|
|
732
|
+
/** Service status */
|
|
733
|
+
export type StorageNetAppServiceStatusEnum =
|
|
734
|
+
| "creating"
|
|
735
|
+
| "deleted"
|
|
736
|
+
| "deleting"
|
|
737
|
+
| "reopening"
|
|
738
|
+
| "running"
|
|
739
|
+
| "suspended"
|
|
740
|
+
| "suspending";
|
|
741
|
+
export const StorageNetAppServiceStatusEnum = /*@__PURE__*/ S.String;
|
|
742
|
+
|
|
743
|
+
/** A service */
|
|
744
|
+
export interface StorageNetAppServiceWithIAM {
|
|
745
|
+
/** Service creation date */
|
|
746
|
+
createdAt?: string;
|
|
747
|
+
/** IAM resource metadata */
|
|
748
|
+
iam?: IamResourceMetadata | null;
|
|
749
|
+
/** Service ID */
|
|
750
|
+
id?: string;
|
|
751
|
+
/** Service name */
|
|
752
|
+
name?: string;
|
|
753
|
+
/** Service performance level */
|
|
754
|
+
performanceLevel?: StorageNetAppServicePerformanceLevelEnum;
|
|
755
|
+
/** Product name */
|
|
756
|
+
product?: string;
|
|
757
|
+
/** Service quota */
|
|
758
|
+
quota?: number;
|
|
759
|
+
/** Service region */
|
|
760
|
+
region?: StorageRegionEnum;
|
|
761
|
+
/** Service status */
|
|
762
|
+
status?: StorageNetAppServiceStatusEnum;
|
|
763
|
+
}
|
|
764
|
+
export const StorageNetAppServiceWithIAM = /*@__PURE__*/ S.suspend(() =>
|
|
765
|
+
S.Struct({
|
|
766
|
+
createdAt: S.optional(S.String),
|
|
767
|
+
iam: S.optional(S.NullOr(IamResourceMetadata)),
|
|
768
|
+
id: S.optional(S.String),
|
|
769
|
+
name: S.optional(S.String),
|
|
770
|
+
performanceLevel: S.optional(StorageNetAppServicePerformanceLevelEnum),
|
|
771
|
+
product: S.optional(S.String),
|
|
772
|
+
quota: S.optional(S.Number),
|
|
773
|
+
region: S.optional(StorageRegionEnum),
|
|
774
|
+
status: S.optional(StorageNetAppServiceStatusEnum),
|
|
775
|
+
}),
|
|
776
|
+
).annotate({
|
|
777
|
+
identifier: "StorageNetAppServiceWithIAM",
|
|
778
|
+
}) as any as S.Schema<StorageNetAppServiceWithIAM>;
|
|
779
|
+
|
|
780
|
+
export interface GetStorageNetappMetricsTokenRequest {
|
|
781
|
+
/** Service name */
|
|
782
|
+
serviceName: string;
|
|
783
|
+
}
|
|
784
|
+
export const GetStorageNetappMetricsTokenRequest = /*@__PURE__*/ S.suspend(() =>
|
|
785
|
+
S.Struct({
|
|
786
|
+
serviceName: S.String.pipe(T.Label()),
|
|
787
|
+
}).pipe(
|
|
788
|
+
T.Http({
|
|
789
|
+
method: "GET",
|
|
790
|
+
uri: "/storage/netapp/{serviceName}/metricsToken",
|
|
791
|
+
code: 200,
|
|
792
|
+
}),
|
|
793
|
+
),
|
|
794
|
+
).annotate({
|
|
795
|
+
identifier: "GetStorageNetappMetricsTokenRequest",
|
|
796
|
+
}) as any as S.Schema<GetStorageNetappMetricsTokenRequest>;
|
|
797
|
+
|
|
798
|
+
/** Metrics token */
|
|
799
|
+
export interface StorageMetricsToken {
|
|
800
|
+
/** Backend url */
|
|
801
|
+
endpoint?: string;
|
|
802
|
+
/** Token expiration date */
|
|
803
|
+
expiry?: string;
|
|
804
|
+
/** Generated token */
|
|
805
|
+
token?: string;
|
|
806
|
+
}
|
|
807
|
+
export const StorageMetricsToken = /*@__PURE__*/ S.suspend(() =>
|
|
808
|
+
S.Struct({
|
|
809
|
+
endpoint: S.optional(S.String),
|
|
810
|
+
expiry: S.optional(S.String),
|
|
811
|
+
token: S.optional(S.String),
|
|
812
|
+
}),
|
|
813
|
+
).annotate({
|
|
814
|
+
identifier: "StorageMetricsToken",
|
|
815
|
+
}) as any as S.Schema<StorageMetricsToken>;
|
|
816
|
+
|
|
817
|
+
export interface GetStorageNetappNetworkRequest {
|
|
818
|
+
/** Service name */
|
|
819
|
+
serviceName: string;
|
|
820
|
+
/** Network ID */
|
|
821
|
+
networkId: string;
|
|
822
|
+
}
|
|
823
|
+
export const GetStorageNetappNetworkRequest = /*@__PURE__*/ S.suspend(() =>
|
|
824
|
+
S.Struct({
|
|
825
|
+
serviceName: S.String.pipe(T.Label()),
|
|
826
|
+
networkId: S.String.pipe(T.Label()),
|
|
827
|
+
}).pipe(
|
|
828
|
+
T.Http({
|
|
829
|
+
method: "GET",
|
|
830
|
+
uri: "/storage/netapp/{serviceName}/network/{networkId}",
|
|
831
|
+
code: 200,
|
|
832
|
+
}),
|
|
833
|
+
),
|
|
834
|
+
).annotate({
|
|
835
|
+
identifier: "GetStorageNetappNetworkRequest",
|
|
836
|
+
}) as any as S.Schema<GetStorageNetappNetworkRequest>;
|
|
837
|
+
|
|
838
|
+
/** Network status */
|
|
839
|
+
export type StorageNetAppNetworkStatusEnum =
|
|
840
|
+
| "associated"
|
|
841
|
+
| "associating"
|
|
842
|
+
| "dissociating"
|
|
843
|
+
| "to_configure";
|
|
844
|
+
export const StorageNetAppNetworkStatusEnum = /*@__PURE__*/ S.String;
|
|
845
|
+
|
|
846
|
+
/** A network */
|
|
847
|
+
export interface StorageNetAppNetwork {
|
|
848
|
+
/** Network ID */
|
|
849
|
+
id?: string;
|
|
850
|
+
/** Network status */
|
|
851
|
+
status?: StorageNetAppNetworkStatusEnum | null;
|
|
852
|
+
/** vRack Services URN the network is attached to */
|
|
853
|
+
vRackServicesURN?: string | null;
|
|
854
|
+
}
|
|
855
|
+
export const StorageNetAppNetwork = /*@__PURE__*/ S.suspend(() =>
|
|
856
|
+
S.Struct({
|
|
857
|
+
id: S.optional(S.String),
|
|
858
|
+
status: S.optional(S.NullOr(StorageNetAppNetworkStatusEnum)),
|
|
859
|
+
vRackServicesURN: S.optional(S.NullOr(S.String)),
|
|
860
|
+
}),
|
|
861
|
+
).annotate({
|
|
862
|
+
identifier: "StorageNetAppNetwork",
|
|
863
|
+
}) as any as S.Schema<StorageNetAppNetwork>;
|
|
864
|
+
|
|
865
|
+
export interface GetStorageNetappServiceInfosRequest {
|
|
866
|
+
/** Service name */
|
|
867
|
+
serviceName: string;
|
|
868
|
+
}
|
|
869
|
+
export const GetStorageNetappServiceInfosRequest = /*@__PURE__*/ S.suspend(() =>
|
|
870
|
+
S.Struct({
|
|
871
|
+
serviceName: S.String.pipe(T.Label()),
|
|
872
|
+
}).pipe(
|
|
873
|
+
T.Http({
|
|
874
|
+
method: "GET",
|
|
875
|
+
uri: "/storage/netapp/{serviceName}/serviceInfos",
|
|
876
|
+
code: 200,
|
|
877
|
+
}),
|
|
878
|
+
),
|
|
879
|
+
).annotate({
|
|
880
|
+
identifier: "GetStorageNetappServiceInfosRequest",
|
|
881
|
+
}) as any as S.Schema<GetStorageNetappServiceInfosRequest>;
|
|
882
|
+
|
|
883
|
+
/** All the possible renew period of your service in month */
|
|
884
|
+
export type ServicesServicePossibleRenewPeriodList = Array<number>;
|
|
885
|
+
export const ServicesServicePossibleRenewPeriodList = /*@__PURE__*/ S.Array(
|
|
886
|
+
S.Number,
|
|
887
|
+
) as any as S.Schema<ServicesServicePossibleRenewPeriodList>;
|
|
888
|
+
|
|
889
|
+
/** Map a possible renew for a specific service */
|
|
890
|
+
export interface ServiceRenewType {
|
|
891
|
+
/** The service is automatically renewed */
|
|
892
|
+
automatic?: boolean;
|
|
893
|
+
/** The service will be deleted at expiration */
|
|
894
|
+
deleteAtExpiration?: boolean;
|
|
895
|
+
/** The service forced to be renewed */
|
|
896
|
+
forced?: boolean;
|
|
897
|
+
/** The service needs to be manually renewed and paid */
|
|
898
|
+
manualPayment?: boolean | null;
|
|
899
|
+
/** period of renew in month */
|
|
900
|
+
period?: number | null;
|
|
901
|
+
}
|
|
902
|
+
export const ServiceRenewType = /*@__PURE__*/ S.suspend(() =>
|
|
903
|
+
S.Struct({
|
|
904
|
+
automatic: S.optional(S.Boolean),
|
|
905
|
+
deleteAtExpiration: S.optional(S.Boolean),
|
|
906
|
+
forced: S.optional(S.Boolean),
|
|
907
|
+
manualPayment: S.optional(S.NullOr(S.Boolean)),
|
|
908
|
+
period: S.optional(S.NullOr(S.Number)),
|
|
909
|
+
}),
|
|
910
|
+
).annotate({
|
|
911
|
+
identifier: "ServiceRenewType",
|
|
912
|
+
}) as any as S.Schema<ServiceRenewType>;
|
|
913
|
+
|
|
914
|
+
/** Detailed renewal type of a service */
|
|
915
|
+
export type ServiceRenewalTypeEnum =
|
|
916
|
+
| "automaticForcedProduct"
|
|
917
|
+
| "automaticV2012"
|
|
918
|
+
| "automaticV2014"
|
|
919
|
+
| "automaticV2016"
|
|
920
|
+
| "manual"
|
|
921
|
+
| "oneShot"
|
|
922
|
+
| "option";
|
|
923
|
+
export const ServiceRenewalTypeEnum = /*@__PURE__*/ S.String;
|
|
924
|
+
|
|
925
|
+
/** service.StateEnum */
|
|
926
|
+
export type ServiceStateEnum =
|
|
927
|
+
| "autorenewInProgress"
|
|
928
|
+
| "expired"
|
|
929
|
+
| "inCreation"
|
|
930
|
+
| "ok"
|
|
931
|
+
| "pendingDebt"
|
|
932
|
+
| "unPaid";
|
|
933
|
+
export const ServiceStateEnum = /*@__PURE__*/ S.String;
|
|
934
|
+
|
|
935
|
+
/** Details about a Service */
|
|
936
|
+
export interface ServicesService {
|
|
937
|
+
/** Indicates that the service can be set up to be deleted at expiration */
|
|
938
|
+
canDeleteAtExpiration?: boolean;
|
|
939
|
+
contactAdmin?: string;
|
|
940
|
+
contactBilling?: string;
|
|
941
|
+
contactTech?: string;
|
|
942
|
+
creation?: string;
|
|
943
|
+
domain?: string;
|
|
944
|
+
engagedUpTo?: string | null;
|
|
945
|
+
expiration?: string;
|
|
946
|
+
/** All the possible renew period of your service in month */
|
|
947
|
+
possibleRenewPeriod?: ServicesServicePossibleRenewPeriodList | null;
|
|
948
|
+
/** Way of handling the renew */
|
|
949
|
+
renew?: ServiceRenewType | null;
|
|
950
|
+
renewalType?: ServiceRenewalTypeEnum;
|
|
951
|
+
serviceId?: number;
|
|
952
|
+
status?: ServiceStateEnum;
|
|
953
|
+
}
|
|
954
|
+
export const ServicesService = /*@__PURE__*/ S.suspend(() =>
|
|
955
|
+
S.Struct({
|
|
956
|
+
canDeleteAtExpiration: S.optional(S.Boolean),
|
|
957
|
+
contactAdmin: S.optional(S.String),
|
|
958
|
+
contactBilling: S.optional(S.String),
|
|
959
|
+
contactTech: S.optional(S.String),
|
|
960
|
+
creation: S.optional(S.String),
|
|
961
|
+
domain: S.optional(S.String),
|
|
962
|
+
engagedUpTo: S.optional(S.NullOr(S.String)),
|
|
963
|
+
expiration: S.optional(S.String),
|
|
964
|
+
possibleRenewPeriod: S.optional(
|
|
965
|
+
S.NullOr(ServicesServicePossibleRenewPeriodList),
|
|
966
|
+
),
|
|
967
|
+
renew: S.optional(S.NullOr(ServiceRenewType)),
|
|
968
|
+
renewalType: S.optional(ServiceRenewalTypeEnum),
|
|
969
|
+
serviceId: S.optional(S.Number),
|
|
970
|
+
status: S.optional(ServiceStateEnum),
|
|
971
|
+
}),
|
|
972
|
+
).annotate({
|
|
973
|
+
identifier: "ServicesService",
|
|
974
|
+
}) as any as S.Schema<ServicesService>;
|
|
975
|
+
|
|
976
|
+
export interface GetStorageNetappShareRequest {
|
|
977
|
+
/** Service name */
|
|
978
|
+
serviceName: string;
|
|
979
|
+
/** Share ID */
|
|
980
|
+
shareId: string;
|
|
981
|
+
}
|
|
982
|
+
export const GetStorageNetappShareRequest = /*@__PURE__*/ S.suspend(() =>
|
|
983
|
+
S.Struct({
|
|
984
|
+
serviceName: S.String.pipe(T.Label()),
|
|
985
|
+
shareId: S.String.pipe(T.Label()),
|
|
986
|
+
}).pipe(
|
|
987
|
+
T.Http({
|
|
988
|
+
method: "GET",
|
|
989
|
+
uri: "/storage/netapp/{serviceName}/share/{shareId}",
|
|
990
|
+
code: 200,
|
|
991
|
+
}),
|
|
992
|
+
),
|
|
993
|
+
).annotate({
|
|
994
|
+
identifier: "GetStorageNetappShareRequest",
|
|
995
|
+
}) as any as S.Schema<GetStorageNetappShareRequest>;
|
|
996
|
+
|
|
997
|
+
/** Storage protocol */
|
|
998
|
+
export type StorageProtocolEnum = "NFS";
|
|
999
|
+
export const StorageProtocolEnum = /*@__PURE__*/ S.String;
|
|
1000
|
+
|
|
1001
|
+
/** Share status */
|
|
1002
|
+
export type StorageNetAppShareStatusEnum =
|
|
1003
|
+
| "available"
|
|
1004
|
+
| "creating"
|
|
1005
|
+
| "creating_from_snapshot"
|
|
1006
|
+
| "deleted"
|
|
1007
|
+
| "deleting"
|
|
1008
|
+
| "error"
|
|
1009
|
+
| "error_deleting"
|
|
1010
|
+
| "extending"
|
|
1011
|
+
| "extending_error"
|
|
1012
|
+
| "inactive"
|
|
1013
|
+
| "manage_error"
|
|
1014
|
+
| "manage_starting"
|
|
1015
|
+
| "migrating"
|
|
1016
|
+
| "migrating_to"
|
|
1017
|
+
| "replication_change"
|
|
1018
|
+
| "reverting"
|
|
1019
|
+
| "reverting_error"
|
|
1020
|
+
| "shrinking"
|
|
1021
|
+
| "shrinking_error"
|
|
1022
|
+
| "shrinking_possible_data_loss_error"
|
|
1023
|
+
| "unmanage_error"
|
|
1024
|
+
| "unmanage_starting"
|
|
1025
|
+
| "unmanaged";
|
|
1026
|
+
export const StorageNetAppShareStatusEnum = /*@__PURE__*/ S.String;
|
|
1027
|
+
|
|
1028
|
+
/** A share */
|
|
1029
|
+
export interface StorageNetAppShare {
|
|
1030
|
+
/** Share creation date */
|
|
1031
|
+
createdAt?: string | null;
|
|
1032
|
+
/** Share description */
|
|
1033
|
+
description?: string | null;
|
|
1034
|
+
/** Share ID */
|
|
1035
|
+
id?: string;
|
|
1036
|
+
/** User-defined name used to generate human readable access path for the share */
|
|
1037
|
+
mountPointName?: string | null;
|
|
1038
|
+
/** Share name */
|
|
1039
|
+
name?: string | null;
|
|
1040
|
+
/** Share protocol */
|
|
1041
|
+
protocol: StorageProtocolEnum | null;
|
|
1042
|
+
/** Share size in Gigabytes */
|
|
1043
|
+
size: number | null;
|
|
1044
|
+
/** Snapshot ID used to create the share */
|
|
1045
|
+
snapshotID?: string | null;
|
|
1046
|
+
/** Share status */
|
|
1047
|
+
status?: StorageNetAppShareStatusEnum | null;
|
|
1048
|
+
}
|
|
1049
|
+
export const StorageNetAppShare = /*@__PURE__*/ S.suspend(() =>
|
|
1050
|
+
S.Struct({
|
|
1051
|
+
createdAt: S.optional(S.NullOr(S.String)),
|
|
1052
|
+
description: S.optional(S.NullOr(S.String)),
|
|
1053
|
+
id: S.optional(S.String),
|
|
1054
|
+
mountPointName: S.optional(S.NullOr(S.String)),
|
|
1055
|
+
name: S.optional(S.NullOr(S.String)),
|
|
1056
|
+
protocol: S.NullOr(StorageProtocolEnum),
|
|
1057
|
+
size: S.NullOr(S.Number),
|
|
1058
|
+
snapshotID: S.optional(S.NullOr(S.String)),
|
|
1059
|
+
status: S.optional(S.NullOr(StorageNetAppShareStatusEnum)),
|
|
1060
|
+
}),
|
|
1061
|
+
).annotate({
|
|
1062
|
+
identifier: "StorageNetAppShare",
|
|
1063
|
+
}) as any as S.Schema<StorageNetAppShare>;
|
|
1064
|
+
|
|
1065
|
+
export interface GetStorageNetappShareAccessPathRequest {
|
|
1066
|
+
/** Service name */
|
|
1067
|
+
serviceName: string;
|
|
1068
|
+
/** Share ID */
|
|
1069
|
+
shareId: string;
|
|
1070
|
+
/** Access path ID */
|
|
1071
|
+
accessPathId: string;
|
|
1072
|
+
}
|
|
1073
|
+
export const GetStorageNetappShareAccessPathRequest = /*@__PURE__*/ S.suspend(
|
|
1074
|
+
() =>
|
|
1075
|
+
S.Struct({
|
|
1076
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1077
|
+
shareId: S.String.pipe(T.Label()),
|
|
1078
|
+
accessPathId: S.String.pipe(T.Label()),
|
|
1079
|
+
}).pipe(
|
|
1080
|
+
T.Http({
|
|
1081
|
+
method: "GET",
|
|
1082
|
+
uri: "/storage/netapp/{serviceName}/share/{shareId}/accessPath/{accessPathId}",
|
|
1083
|
+
code: 200,
|
|
1084
|
+
}),
|
|
1085
|
+
),
|
|
1086
|
+
).annotate({
|
|
1087
|
+
identifier: "GetStorageNetappShareAccessPathRequest",
|
|
1088
|
+
}) as any as S.Schema<GetStorageNetappShareAccessPathRequest>;
|
|
1089
|
+
|
|
1090
|
+
/** A share access path */
|
|
1091
|
+
export interface StorageNetAppShareAccessPath {
|
|
1092
|
+
/** Access path ID */
|
|
1093
|
+
id?: string;
|
|
1094
|
+
/** Access path */
|
|
1095
|
+
path?: string;
|
|
1096
|
+
/** Is this the preferred access path? */
|
|
1097
|
+
preferred?: boolean;
|
|
1098
|
+
}
|
|
1099
|
+
export const StorageNetAppShareAccessPath = /*@__PURE__*/ S.suspend(() =>
|
|
1100
|
+
S.Struct({
|
|
1101
|
+
id: S.optional(S.String),
|
|
1102
|
+
path: S.optional(S.String),
|
|
1103
|
+
preferred: S.optional(S.Boolean),
|
|
1104
|
+
}),
|
|
1105
|
+
).annotate({
|
|
1106
|
+
identifier: "StorageNetAppShareAccessPath",
|
|
1107
|
+
}) as any as S.Schema<StorageNetAppShareAccessPath>;
|
|
1108
|
+
|
|
1109
|
+
export interface GetStorageNetappShareAclRequest {
|
|
1110
|
+
/** Service name */
|
|
1111
|
+
serviceName: string;
|
|
1112
|
+
/** Share ID */
|
|
1113
|
+
shareId: string;
|
|
1114
|
+
/** Acl rule ID */
|
|
1115
|
+
aclRuleId: string;
|
|
1116
|
+
}
|
|
1117
|
+
export const GetStorageNetappShareAclRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1118
|
+
S.Struct({
|
|
1119
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1120
|
+
shareId: S.String.pipe(T.Label()),
|
|
1121
|
+
aclRuleId: S.String.pipe(T.Label()),
|
|
1122
|
+
}).pipe(
|
|
1123
|
+
T.Http({
|
|
1124
|
+
method: "GET",
|
|
1125
|
+
uri: "/storage/netapp/{serviceName}/share/{shareId}/acl/{aclRuleId}",
|
|
1126
|
+
code: 200,
|
|
1127
|
+
}),
|
|
1128
|
+
),
|
|
1129
|
+
).annotate({
|
|
1130
|
+
identifier: "GetStorageNetappShareAclRequest",
|
|
1131
|
+
}) as any as S.Schema<GetStorageNetappShareAclRequest>;
|
|
1132
|
+
|
|
1133
|
+
export interface GetStorageNetappShareSnapshotRequest {
|
|
1134
|
+
/** Service name */
|
|
1135
|
+
serviceName: string;
|
|
1136
|
+
/** Share ID */
|
|
1137
|
+
shareId: string;
|
|
1138
|
+
/** Snapshot ID */
|
|
1139
|
+
snapshotId: string;
|
|
1140
|
+
}
|
|
1141
|
+
export const GetStorageNetappShareSnapshotRequest = /*@__PURE__*/ S.suspend(
|
|
1142
|
+
() =>
|
|
1143
|
+
S.Struct({
|
|
1144
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1145
|
+
shareId: S.String.pipe(T.Label()),
|
|
1146
|
+
snapshotId: S.String.pipe(T.Label()),
|
|
1147
|
+
}).pipe(
|
|
1148
|
+
T.Http({
|
|
1149
|
+
method: "GET",
|
|
1150
|
+
uri: "/storage/netapp/{serviceName}/share/{shareId}/snapshot/{snapshotId}",
|
|
1151
|
+
code: 200,
|
|
1152
|
+
}),
|
|
1153
|
+
),
|
|
1154
|
+
).annotate({
|
|
1155
|
+
identifier: "GetStorageNetappShareSnapshotRequest",
|
|
1156
|
+
}) as any as S.Schema<GetStorageNetappShareSnapshotRequest>;
|
|
1157
|
+
|
|
1158
|
+
export interface GetStorageNetappShareSnapshotPolicyRequest {
|
|
1159
|
+
/** Service name */
|
|
1160
|
+
serviceName: string;
|
|
1161
|
+
/** Share ID */
|
|
1162
|
+
shareId: string;
|
|
1163
|
+
}
|
|
1164
|
+
export const GetStorageNetappShareSnapshotPolicyRequest =
|
|
1165
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1166
|
+
S.Struct({
|
|
1167
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1168
|
+
shareId: S.String.pipe(T.Label()),
|
|
1169
|
+
}).pipe(
|
|
1170
|
+
T.Http({
|
|
1171
|
+
method: "GET",
|
|
1172
|
+
uri: "/storage/netapp/{serviceName}/share/{shareId}/snapshotPolicy",
|
|
1173
|
+
code: 200,
|
|
1174
|
+
}),
|
|
1175
|
+
),
|
|
1176
|
+
).annotate({
|
|
1177
|
+
identifier: "GetStorageNetappShareSnapshotPolicyRequest",
|
|
1178
|
+
}) as any as S.Schema<GetStorageNetappShareSnapshotPolicyRequest>;
|
|
1179
|
+
|
|
1180
|
+
/** Association status between the share and the snapshot policy */
|
|
1181
|
+
export type StorageNetAppShareSnapshotPolicyStatusEnum =
|
|
1182
|
+
| "active"
|
|
1183
|
+
| "error"
|
|
1184
|
+
| "updating";
|
|
1185
|
+
export const StorageNetAppShareSnapshotPolicyStatusEnum =
|
|
1186
|
+
/*@__PURE__*/ S.String;
|
|
1187
|
+
|
|
1188
|
+
/** A snapshot policy */
|
|
1189
|
+
export interface StorageNetAppShareSnapshotPolicy {
|
|
1190
|
+
/** Snapshot policy ID */
|
|
1191
|
+
id?: string;
|
|
1192
|
+
/** Association status between the share and the snapshot policy */
|
|
1193
|
+
status?: StorageNetAppShareSnapshotPolicyStatusEnum;
|
|
1194
|
+
}
|
|
1195
|
+
export const StorageNetAppShareSnapshotPolicy = /*@__PURE__*/ S.suspend(() =>
|
|
1196
|
+
S.Struct({
|
|
1197
|
+
id: S.optional(S.String),
|
|
1198
|
+
status: S.optional(StorageNetAppShareSnapshotPolicyStatusEnum),
|
|
1199
|
+
}),
|
|
1200
|
+
).annotate({
|
|
1201
|
+
identifier: "StorageNetAppShareSnapshotPolicy",
|
|
1202
|
+
}) as any as S.Schema<StorageNetAppShareSnapshotPolicy>;
|
|
1203
|
+
|
|
1204
|
+
export interface GetStorageNetappShareSnapshotReserveRequest {
|
|
1205
|
+
/** Service name */
|
|
1206
|
+
serviceName: string;
|
|
1207
|
+
/** Share ID */
|
|
1208
|
+
shareId: string;
|
|
1209
|
+
}
|
|
1210
|
+
export const GetStorageNetappShareSnapshotReserveRequest =
|
|
1211
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1212
|
+
S.Struct({
|
|
1213
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1214
|
+
shareId: S.String.pipe(T.Label()),
|
|
1215
|
+
}).pipe(
|
|
1216
|
+
T.Http({
|
|
1217
|
+
method: "GET",
|
|
1218
|
+
uri: "/storage/netapp/{serviceName}/share/{shareId}/snapshotReserve",
|
|
1219
|
+
code: 200,
|
|
1220
|
+
}),
|
|
1221
|
+
),
|
|
1222
|
+
).annotate({
|
|
1223
|
+
identifier: "GetStorageNetappShareSnapshotReserveRequest",
|
|
1224
|
+
}) as any as S.Schema<GetStorageNetappShareSnapshotReserveRequest>;
|
|
1225
|
+
|
|
1226
|
+
/** Snapshot reserve properties status */
|
|
1227
|
+
export type StorageNetAppShareSnapshotReserveStatusEnum =
|
|
1228
|
+
| "active"
|
|
1229
|
+
| "error"
|
|
1230
|
+
| "updating";
|
|
1231
|
+
export const StorageNetAppShareSnapshotReserveStatusEnum =
|
|
1232
|
+
/*@__PURE__*/ S.String;
|
|
1233
|
+
|
|
1234
|
+
/** Snapshot reserve properties */
|
|
1235
|
+
export interface StorageNetAppShareSnapshotReserve {
|
|
1236
|
+
/** Share space percentage reserved for snapshots */
|
|
1237
|
+
percent?: number;
|
|
1238
|
+
/** Status */
|
|
1239
|
+
status?: StorageNetAppShareSnapshotReserveStatusEnum;
|
|
1240
|
+
}
|
|
1241
|
+
export const StorageNetAppShareSnapshotReserve = /*@__PURE__*/ S.suspend(() =>
|
|
1242
|
+
S.Struct({
|
|
1243
|
+
percent: S.optional(S.Number),
|
|
1244
|
+
status: S.optional(StorageNetAppShareSnapshotReserveStatusEnum),
|
|
1245
|
+
}),
|
|
1246
|
+
).annotate({
|
|
1247
|
+
identifier: "StorageNetAppShareSnapshotReserve",
|
|
1248
|
+
}) as any as S.Schema<StorageNetAppShareSnapshotReserve>;
|
|
1249
|
+
|
|
1250
|
+
export interface GetStorageNetappSnapshotPolicyRequest {
|
|
1251
|
+
/** Service name */
|
|
1252
|
+
serviceName: string;
|
|
1253
|
+
/** Snapshot policy ID */
|
|
1254
|
+
snapshotPolicyId: string;
|
|
1255
|
+
}
|
|
1256
|
+
export const GetStorageNetappSnapshotPolicyRequest = /*@__PURE__*/ S.suspend(
|
|
1257
|
+
() =>
|
|
1258
|
+
S.Struct({
|
|
1259
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1260
|
+
snapshotPolicyId: S.String.pipe(T.Label()),
|
|
1261
|
+
}).pipe(
|
|
1262
|
+
T.Http({
|
|
1263
|
+
method: "GET",
|
|
1264
|
+
uri: "/storage/netapp/{serviceName}/snapshotPolicy/{snapshotPolicyId}",
|
|
1265
|
+
code: 200,
|
|
1266
|
+
}),
|
|
1267
|
+
),
|
|
1268
|
+
).annotate({
|
|
1269
|
+
identifier: "GetStorageNetappSnapshotPolicyRequest",
|
|
1270
|
+
}) as any as S.Schema<GetStorageNetappSnapshotPolicyRequest>;
|
|
1271
|
+
|
|
1272
|
+
/** Resource tag filter */
|
|
1273
|
+
export interface IamResourceTagFilterInput {}
|
|
1274
|
+
export const IamResourceTagFilterInput = /*@__PURE__*/ S.suspend(() =>
|
|
1275
|
+
S.Struct({}),
|
|
1276
|
+
).annotate({
|
|
1277
|
+
identifier: "IamResourceTagFilterInput",
|
|
1278
|
+
}) as any as S.Schema<IamResourceTagFilterInput>;
|
|
1279
|
+
|
|
1280
|
+
export type ListStorageNetappRequestIamTagsValueList =
|
|
1281
|
+
Array<IamResourceTagFilterInput>;
|
|
1282
|
+
export const ListStorageNetappRequestIamTagsValueList = /*@__PURE__*/ S.Array(
|
|
1283
|
+
IamResourceTagFilterInput,
|
|
1284
|
+
) as any as S.Schema<ListStorageNetappRequestIamTagsValueList>;
|
|
1285
|
+
|
|
1286
|
+
export type ListStorageNetappRequestIamTagsMap = {
|
|
1287
|
+
[key: string]: ListStorageNetappRequestIamTagsValueList | undefined;
|
|
1288
|
+
};
|
|
1289
|
+
export const ListStorageNetappRequestIamTagsMap = /*@__PURE__*/ S.Record(
|
|
1290
|
+
S.String,
|
|
1291
|
+
ListStorageNetappRequestIamTagsValueList,
|
|
1292
|
+
) as any as S.Schema<ListStorageNetappRequestIamTagsMap>;
|
|
1293
|
+
|
|
1294
|
+
export interface ListStorageNetappRequest {
|
|
1295
|
+
/** Filter resources on IAM tags */
|
|
1296
|
+
iamTags?: ListStorageNetappRequestIamTagsMap;
|
|
1297
|
+
}
|
|
1298
|
+
export const ListStorageNetappRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1299
|
+
S.Struct({
|
|
1300
|
+
iamTags: S.optional(ListStorageNetappRequestIamTagsMap.pipe(T.Query())),
|
|
1301
|
+
}).pipe(T.Http({ method: "GET", uri: "/storage/netapp", code: 200 })),
|
|
1302
|
+
).annotate({
|
|
1303
|
+
identifier: "ListStorageNetappRequest",
|
|
1304
|
+
}) as any as S.Schema<ListStorageNetappRequest>;
|
|
1305
|
+
|
|
1306
|
+
export type ListStorageNetappResponseBodyList =
|
|
1307
|
+
Array<StorageNetAppServiceWithIAM>;
|
|
1308
|
+
export const ListStorageNetappResponseBodyList = /*@__PURE__*/ S.Array(
|
|
1309
|
+
StorageNetAppServiceWithIAM,
|
|
1310
|
+
) as any as S.Schema<ListStorageNetappResponseBodyList>;
|
|
1311
|
+
|
|
1312
|
+
export type ListStorageNetappResponse = ListStorageNetappResponseBodyList;
|
|
1313
|
+
export const ListStorageNetappResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1314
|
+
ListStorageNetappResponseBodyList.pipe(T.RawResponseRoot()),
|
|
1315
|
+
).annotate({
|
|
1316
|
+
identifier: "ListStorageNetappResponse",
|
|
1317
|
+
}) as any as S.Schema<ListStorageNetappResponse>;
|
|
1318
|
+
|
|
1319
|
+
export interface ListStorageNetappNetworkRequest {
|
|
1320
|
+
/** Service name */
|
|
1321
|
+
serviceName: string;
|
|
1322
|
+
/** Get detailed information about each network */
|
|
1323
|
+
detail?: boolean;
|
|
1324
|
+
}
|
|
1325
|
+
export const ListStorageNetappNetworkRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1326
|
+
S.Struct({
|
|
1327
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1328
|
+
detail: S.optional(S.Boolean.pipe(T.Query())),
|
|
1329
|
+
}).pipe(
|
|
1330
|
+
T.Http({
|
|
1331
|
+
method: "GET",
|
|
1332
|
+
uri: "/storage/netapp/{serviceName}/network",
|
|
1333
|
+
code: 200,
|
|
1334
|
+
}),
|
|
1335
|
+
),
|
|
1336
|
+
).annotate({
|
|
1337
|
+
identifier: "ListStorageNetappNetworkRequest",
|
|
1338
|
+
}) as any as S.Schema<ListStorageNetappNetworkRequest>;
|
|
1339
|
+
|
|
1340
|
+
export type ListStorageNetappNetworkResponseBodyList =
|
|
1341
|
+
Array<StorageNetAppNetwork>;
|
|
1342
|
+
export const ListStorageNetappNetworkResponseBodyList = /*@__PURE__*/ S.Array(
|
|
1343
|
+
StorageNetAppNetwork,
|
|
1344
|
+
) as any as S.Schema<ListStorageNetappNetworkResponseBodyList>;
|
|
1345
|
+
|
|
1346
|
+
export type ListStorageNetappNetworkResponse =
|
|
1347
|
+
ListStorageNetappNetworkResponseBodyList;
|
|
1348
|
+
export const ListStorageNetappNetworkResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1349
|
+
ListStorageNetappNetworkResponseBodyList.pipe(T.RawResponseRoot()),
|
|
1350
|
+
).annotate({
|
|
1351
|
+
identifier: "ListStorageNetappNetworkResponse",
|
|
1352
|
+
}) as any as S.Schema<ListStorageNetappNetworkResponse>;
|
|
1353
|
+
|
|
1354
|
+
export interface ListStorageNetappShareRequest {
|
|
1355
|
+
/** Service name */
|
|
1356
|
+
serviceName: string;
|
|
1357
|
+
/** Get detailed information about each share */
|
|
1358
|
+
detail?: boolean;
|
|
1359
|
+
/** If specified, returns only shares with given mount point name */
|
|
1360
|
+
mountPointName?: string;
|
|
1361
|
+
}
|
|
1362
|
+
export const ListStorageNetappShareRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1363
|
+
S.Struct({
|
|
1364
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1365
|
+
detail: S.optional(S.Boolean.pipe(T.Query())),
|
|
1366
|
+
mountPointName: S.optional(S.String.pipe(T.Query())),
|
|
1367
|
+
}).pipe(
|
|
1368
|
+
T.Http({
|
|
1369
|
+
method: "GET",
|
|
1370
|
+
uri: "/storage/netapp/{serviceName}/share",
|
|
1371
|
+
code: 200,
|
|
1372
|
+
}),
|
|
1373
|
+
),
|
|
1374
|
+
).annotate({
|
|
1375
|
+
identifier: "ListStorageNetappShareRequest",
|
|
1376
|
+
}) as any as S.Schema<ListStorageNetappShareRequest>;
|
|
1377
|
+
|
|
1378
|
+
export type ListStorageNetappShareResponseBodyList = Array<StorageNetAppShare>;
|
|
1379
|
+
export const ListStorageNetappShareResponseBodyList = /*@__PURE__*/ S.Array(
|
|
1380
|
+
StorageNetAppShare,
|
|
1381
|
+
) as any as S.Schema<ListStorageNetappShareResponseBodyList>;
|
|
1382
|
+
|
|
1383
|
+
export type ListStorageNetappShareResponse =
|
|
1384
|
+
ListStorageNetappShareResponseBodyList;
|
|
1385
|
+
export const ListStorageNetappShareResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1386
|
+
ListStorageNetappShareResponseBodyList.pipe(T.RawResponseRoot()),
|
|
1387
|
+
).annotate({
|
|
1388
|
+
identifier: "ListStorageNetappShareResponse",
|
|
1389
|
+
}) as any as S.Schema<ListStorageNetappShareResponse>;
|
|
1390
|
+
|
|
1391
|
+
export interface ListStorageNetappShareAccessPathRequest {
|
|
1392
|
+
/** Service name */
|
|
1393
|
+
serviceName: string;
|
|
1394
|
+
/** Share ID */
|
|
1395
|
+
shareId: string;
|
|
1396
|
+
}
|
|
1397
|
+
export const ListStorageNetappShareAccessPathRequest = /*@__PURE__*/ S.suspend(
|
|
1398
|
+
() =>
|
|
1399
|
+
S.Struct({
|
|
1400
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1401
|
+
shareId: S.String.pipe(T.Label()),
|
|
1402
|
+
}).pipe(
|
|
1403
|
+
T.Http({
|
|
1404
|
+
method: "GET",
|
|
1405
|
+
uri: "/storage/netapp/{serviceName}/share/{shareId}/accessPath",
|
|
1406
|
+
code: 200,
|
|
1407
|
+
}),
|
|
1408
|
+
),
|
|
1409
|
+
).annotate({
|
|
1410
|
+
identifier: "ListStorageNetappShareAccessPathRequest",
|
|
1411
|
+
}) as any as S.Schema<ListStorageNetappShareAccessPathRequest>;
|
|
1412
|
+
|
|
1413
|
+
export type ListStorageNetappShareAccessPathResponseBodyList =
|
|
1414
|
+
Array<StorageNetAppShareAccessPath>;
|
|
1415
|
+
export const ListStorageNetappShareAccessPathResponseBodyList =
|
|
1416
|
+
/*@__PURE__*/ S.Array(
|
|
1417
|
+
StorageNetAppShareAccessPath,
|
|
1418
|
+
) as any as S.Schema<ListStorageNetappShareAccessPathResponseBodyList>;
|
|
1419
|
+
|
|
1420
|
+
export type ListStorageNetappShareAccessPathResponse =
|
|
1421
|
+
ListStorageNetappShareAccessPathResponseBodyList;
|
|
1422
|
+
export const ListStorageNetappShareAccessPathResponse = /*@__PURE__*/ S.suspend(
|
|
1423
|
+
() =>
|
|
1424
|
+
ListStorageNetappShareAccessPathResponseBodyList.pipe(T.RawResponseRoot()),
|
|
1425
|
+
).annotate({
|
|
1426
|
+
identifier: "ListStorageNetappShareAccessPathResponse",
|
|
1427
|
+
}) as any as S.Schema<ListStorageNetappShareAccessPathResponse>;
|
|
1428
|
+
|
|
1429
|
+
export interface ListStorageNetappShareAclRequest {
|
|
1430
|
+
/** Service name */
|
|
1431
|
+
serviceName: string;
|
|
1432
|
+
/** Share ID */
|
|
1433
|
+
shareId: string;
|
|
1434
|
+
}
|
|
1435
|
+
export const ListStorageNetappShareAclRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1436
|
+
S.Struct({
|
|
1437
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1438
|
+
shareId: S.String.pipe(T.Label()),
|
|
1439
|
+
}).pipe(
|
|
1440
|
+
T.Http({
|
|
1441
|
+
method: "GET",
|
|
1442
|
+
uri: "/storage/netapp/{serviceName}/share/{shareId}/acl",
|
|
1443
|
+
code: 200,
|
|
1444
|
+
}),
|
|
1445
|
+
),
|
|
1446
|
+
).annotate({
|
|
1447
|
+
identifier: "ListStorageNetappShareAclRequest",
|
|
1448
|
+
}) as any as S.Schema<ListStorageNetappShareAclRequest>;
|
|
1449
|
+
|
|
1450
|
+
export type ListStorageNetappShareAclResponseBodyList =
|
|
1451
|
+
Array<StorageNetAppShareACLRule>;
|
|
1452
|
+
export const ListStorageNetappShareAclResponseBodyList = /*@__PURE__*/ S.Array(
|
|
1453
|
+
StorageNetAppShareACLRule,
|
|
1454
|
+
) as any as S.Schema<ListStorageNetappShareAclResponseBodyList>;
|
|
1455
|
+
|
|
1456
|
+
export type ListStorageNetappShareAclResponse =
|
|
1457
|
+
ListStorageNetappShareAclResponseBodyList;
|
|
1458
|
+
export const ListStorageNetappShareAclResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1459
|
+
ListStorageNetappShareAclResponseBodyList.pipe(T.RawResponseRoot()),
|
|
1460
|
+
).annotate({
|
|
1461
|
+
identifier: "ListStorageNetappShareAclResponse",
|
|
1462
|
+
}) as any as S.Schema<ListStorageNetappShareAclResponse>;
|
|
1463
|
+
|
|
1464
|
+
export interface ListStorageNetappShareSnapshotRequest {
|
|
1465
|
+
/** Service name */
|
|
1466
|
+
serviceName: string;
|
|
1467
|
+
/** Share ID */
|
|
1468
|
+
shareId: string;
|
|
1469
|
+
/** Get detailed information about each snapshot */
|
|
1470
|
+
detail?: boolean;
|
|
1471
|
+
}
|
|
1472
|
+
export const ListStorageNetappShareSnapshotRequest = /*@__PURE__*/ S.suspend(
|
|
1473
|
+
() =>
|
|
1474
|
+
S.Struct({
|
|
1475
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1476
|
+
shareId: S.String.pipe(T.Label()),
|
|
1477
|
+
detail: S.optional(S.Boolean.pipe(T.Query())),
|
|
1478
|
+
}).pipe(
|
|
1479
|
+
T.Http({
|
|
1480
|
+
method: "GET",
|
|
1481
|
+
uri: "/storage/netapp/{serviceName}/share/{shareId}/snapshot",
|
|
1482
|
+
code: 200,
|
|
1483
|
+
}),
|
|
1484
|
+
),
|
|
1485
|
+
).annotate({
|
|
1486
|
+
identifier: "ListStorageNetappShareSnapshotRequest",
|
|
1487
|
+
}) as any as S.Schema<ListStorageNetappShareSnapshotRequest>;
|
|
1488
|
+
|
|
1489
|
+
export type ListStorageNetappShareSnapshotResponseBodyList =
|
|
1490
|
+
Array<StorageNetAppShareSnapshot>;
|
|
1491
|
+
export const ListStorageNetappShareSnapshotResponseBodyList =
|
|
1492
|
+
/*@__PURE__*/ S.Array(
|
|
1493
|
+
StorageNetAppShareSnapshot,
|
|
1494
|
+
) as any as S.Schema<ListStorageNetappShareSnapshotResponseBodyList>;
|
|
1495
|
+
|
|
1496
|
+
export type ListStorageNetappShareSnapshotResponse =
|
|
1497
|
+
ListStorageNetappShareSnapshotResponseBodyList;
|
|
1498
|
+
export const ListStorageNetappShareSnapshotResponse = /*@__PURE__*/ S.suspend(
|
|
1499
|
+
() =>
|
|
1500
|
+
ListStorageNetappShareSnapshotResponseBodyList.pipe(T.RawResponseRoot()),
|
|
1501
|
+
).annotate({
|
|
1502
|
+
identifier: "ListStorageNetappShareSnapshotResponse",
|
|
1503
|
+
}) as any as S.Schema<ListStorageNetappShareSnapshotResponse>;
|
|
1504
|
+
|
|
1505
|
+
export interface ListStorageNetappSnapshotPolicyRequest {
|
|
1506
|
+
/** Service name */
|
|
1507
|
+
serviceName: string;
|
|
1508
|
+
}
|
|
1509
|
+
export const ListStorageNetappSnapshotPolicyRequest = /*@__PURE__*/ S.suspend(
|
|
1510
|
+
() =>
|
|
1511
|
+
S.Struct({
|
|
1512
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1513
|
+
}).pipe(
|
|
1514
|
+
T.Http({
|
|
1515
|
+
method: "GET",
|
|
1516
|
+
uri: "/storage/netapp/{serviceName}/snapshotPolicy",
|
|
1517
|
+
code: 200,
|
|
1518
|
+
}),
|
|
1519
|
+
),
|
|
1520
|
+
).annotate({
|
|
1521
|
+
identifier: "ListStorageNetappSnapshotPolicyRequest",
|
|
1522
|
+
}) as any as S.Schema<ListStorageNetappSnapshotPolicyRequest>;
|
|
1523
|
+
|
|
1524
|
+
export type ListStorageNetappSnapshotPolicyResponseBodyList =
|
|
1525
|
+
Array<StorageNetAppSnapshotPolicy>;
|
|
1526
|
+
export const ListStorageNetappSnapshotPolicyResponseBodyList =
|
|
1527
|
+
/*@__PURE__*/ S.Array(
|
|
1528
|
+
StorageNetAppSnapshotPolicy,
|
|
1529
|
+
) as any as S.Schema<ListStorageNetappSnapshotPolicyResponseBodyList>;
|
|
1530
|
+
|
|
1531
|
+
export type ListStorageNetappSnapshotPolicyResponse =
|
|
1532
|
+
ListStorageNetappSnapshotPolicyResponseBodyList;
|
|
1533
|
+
export const ListStorageNetappSnapshotPolicyResponse = /*@__PURE__*/ S.suspend(
|
|
1534
|
+
() =>
|
|
1535
|
+
ListStorageNetappSnapshotPolicyResponseBodyList.pipe(T.RawResponseRoot()),
|
|
1536
|
+
).annotate({
|
|
1537
|
+
identifier: "ListStorageNetappSnapshotPolicyResponse",
|
|
1538
|
+
}) as any as S.Schema<ListStorageNetappSnapshotPolicyResponse>;
|
|
1539
|
+
|
|
1540
|
+
export interface PutStorageNetappRequest {
|
|
1541
|
+
/** Service name */
|
|
1542
|
+
serviceName: string;
|
|
1543
|
+
/** New service name */
|
|
1544
|
+
name: string;
|
|
1545
|
+
}
|
|
1546
|
+
export const PutStorageNetappRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1547
|
+
S.Struct({
|
|
1548
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1549
|
+
name: S.String,
|
|
1550
|
+
}).pipe(
|
|
1551
|
+
T.Http({ method: "PUT", uri: "/storage/netapp/{serviceName}", code: 200 }),
|
|
1552
|
+
),
|
|
1553
|
+
).annotate({
|
|
1554
|
+
identifier: "PutStorageNetappRequest",
|
|
1555
|
+
}) as any as S.Schema<PutStorageNetappRequest>;
|
|
1556
|
+
|
|
1557
|
+
/** A service */
|
|
1558
|
+
export interface StorageNetAppService {
|
|
1559
|
+
/** Service creation date */
|
|
1560
|
+
createdAt?: string;
|
|
1561
|
+
/** Service ID */
|
|
1562
|
+
id?: string;
|
|
1563
|
+
/** Service name */
|
|
1564
|
+
name?: string;
|
|
1565
|
+
/** Service performance level */
|
|
1566
|
+
performanceLevel?: StorageNetAppServicePerformanceLevelEnum;
|
|
1567
|
+
/** Product name */
|
|
1568
|
+
product?: string;
|
|
1569
|
+
/** Service quota */
|
|
1570
|
+
quota?: number;
|
|
1571
|
+
/** Service region */
|
|
1572
|
+
region?: StorageRegionEnum;
|
|
1573
|
+
/** Service status */
|
|
1574
|
+
status?: StorageNetAppServiceStatusEnum;
|
|
1575
|
+
}
|
|
1576
|
+
export const StorageNetAppService = /*@__PURE__*/ S.suspend(() =>
|
|
1577
|
+
S.Struct({
|
|
1578
|
+
createdAt: S.optional(S.String),
|
|
1579
|
+
id: S.optional(S.String),
|
|
1580
|
+
name: S.optional(S.String),
|
|
1581
|
+
performanceLevel: S.optional(StorageNetAppServicePerformanceLevelEnum),
|
|
1582
|
+
product: S.optional(S.String),
|
|
1583
|
+
quota: S.optional(S.Number),
|
|
1584
|
+
region: S.optional(StorageRegionEnum),
|
|
1585
|
+
status: S.optional(StorageNetAppServiceStatusEnum),
|
|
1586
|
+
}),
|
|
1587
|
+
).annotate({
|
|
1588
|
+
identifier: "StorageNetAppService",
|
|
1589
|
+
}) as any as S.Schema<StorageNetAppService>;
|
|
1590
|
+
|
|
1591
|
+
export interface PutStorageNetappServiceInfosRequest {
|
|
1592
|
+
/** Service name */
|
|
1593
|
+
serviceName: string;
|
|
1594
|
+
/** Way of handling the renew */
|
|
1595
|
+
renew?: ServiceRenewType | null;
|
|
1596
|
+
}
|
|
1597
|
+
export const PutStorageNetappServiceInfosRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1598
|
+
S.Struct({
|
|
1599
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1600
|
+
renew: S.optional(S.NullOr(ServiceRenewType)),
|
|
1601
|
+
}).pipe(
|
|
1602
|
+
T.Http({
|
|
1603
|
+
method: "PUT",
|
|
1604
|
+
uri: "/storage/netapp/{serviceName}/serviceInfos",
|
|
1605
|
+
code: 200,
|
|
1606
|
+
}),
|
|
1607
|
+
),
|
|
1608
|
+
).annotate({
|
|
1609
|
+
identifier: "PutStorageNetappServiceInfosRequest",
|
|
1610
|
+
}) as any as S.Schema<PutStorageNetappServiceInfosRequest>;
|
|
1611
|
+
|
|
1612
|
+
export interface PutStorageNetappServiceInfosResponse {}
|
|
1613
|
+
export const PutStorageNetappServiceInfosResponse = /*@__PURE__*/ S.suspend(
|
|
1614
|
+
() => S.Struct({}),
|
|
1615
|
+
).annotate({
|
|
1616
|
+
identifier: "PutStorageNetappServiceInfosResponse",
|
|
1617
|
+
}) as any as S.Schema<PutStorageNetappServiceInfosResponse>;
|
|
1618
|
+
|
|
1619
|
+
export interface PutStorageNetappShareRequest {
|
|
1620
|
+
/** Service name */
|
|
1621
|
+
serviceName: string;
|
|
1622
|
+
/** Share ID */
|
|
1623
|
+
shareId: string;
|
|
1624
|
+
/** New share description */
|
|
1625
|
+
description?: string | null;
|
|
1626
|
+
/** New share name */
|
|
1627
|
+
name?: string | null;
|
|
1628
|
+
}
|
|
1629
|
+
export const PutStorageNetappShareRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1630
|
+
S.Struct({
|
|
1631
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1632
|
+
shareId: S.String.pipe(T.Label()),
|
|
1633
|
+
description: S.optional(S.NullOr(S.String)),
|
|
1634
|
+
name: S.optional(S.NullOr(S.String)),
|
|
1635
|
+
}).pipe(
|
|
1636
|
+
T.Http({
|
|
1637
|
+
method: "PUT",
|
|
1638
|
+
uri: "/storage/netapp/{serviceName}/share/{shareId}",
|
|
1639
|
+
code: 200,
|
|
1640
|
+
}),
|
|
1641
|
+
),
|
|
1642
|
+
).annotate({
|
|
1643
|
+
identifier: "PutStorageNetappShareRequest",
|
|
1644
|
+
}) as any as S.Schema<PutStorageNetappShareRequest>;
|
|
1645
|
+
|
|
1646
|
+
export interface PutStorageNetappShareSnapshotRequest {
|
|
1647
|
+
/** Service name */
|
|
1648
|
+
serviceName: string;
|
|
1649
|
+
/** Share ID */
|
|
1650
|
+
shareId: string;
|
|
1651
|
+
/** Snapshot ID */
|
|
1652
|
+
snapshotId: string;
|
|
1653
|
+
/** New snapshot description */
|
|
1654
|
+
description?: string | null;
|
|
1655
|
+
/** New snapshot name */
|
|
1656
|
+
name?: string | null;
|
|
1657
|
+
}
|
|
1658
|
+
export const PutStorageNetappShareSnapshotRequest = /*@__PURE__*/ S.suspend(
|
|
1659
|
+
() =>
|
|
1660
|
+
S.Struct({
|
|
1661
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1662
|
+
shareId: S.String.pipe(T.Label()),
|
|
1663
|
+
snapshotId: S.String.pipe(T.Label()),
|
|
1664
|
+
description: S.optional(S.NullOr(S.String)),
|
|
1665
|
+
name: S.optional(S.NullOr(S.String)),
|
|
1666
|
+
}).pipe(
|
|
1667
|
+
T.Http({
|
|
1668
|
+
method: "PUT",
|
|
1669
|
+
uri: "/storage/netapp/{serviceName}/share/{shareId}/snapshot/{snapshotId}",
|
|
1670
|
+
code: 200,
|
|
1671
|
+
}),
|
|
1672
|
+
),
|
|
1673
|
+
).annotate({
|
|
1674
|
+
identifier: "PutStorageNetappShareSnapshotRequest",
|
|
1675
|
+
}) as any as S.Schema<PutStorageNetappShareSnapshotRequest>;
|
|
1676
|
+
|
|
1677
|
+
export interface PutStorageNetappShareSnapshotPolicyRequest {
|
|
1678
|
+
/** Service name */
|
|
1679
|
+
serviceName: string;
|
|
1680
|
+
/** Share ID */
|
|
1681
|
+
shareId: string;
|
|
1682
|
+
/** Snapshot policy ID */
|
|
1683
|
+
snapshotPolicyID: string;
|
|
1684
|
+
}
|
|
1685
|
+
export const PutStorageNetappShareSnapshotPolicyRequest =
|
|
1686
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1687
|
+
S.Struct({
|
|
1688
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1689
|
+
shareId: S.String.pipe(T.Label()),
|
|
1690
|
+
snapshotPolicyID: S.String,
|
|
1691
|
+
}).pipe(
|
|
1692
|
+
T.Http({
|
|
1693
|
+
method: "PUT",
|
|
1694
|
+
uri: "/storage/netapp/{serviceName}/share/{shareId}/snapshotPolicy",
|
|
1695
|
+
code: 200,
|
|
1696
|
+
}),
|
|
1697
|
+
),
|
|
1698
|
+
).annotate({
|
|
1699
|
+
identifier: "PutStorageNetappShareSnapshotPolicyRequest",
|
|
1700
|
+
}) as any as S.Schema<PutStorageNetappShareSnapshotPolicyRequest>;
|
|
1701
|
+
|
|
1702
|
+
export interface PutStorageNetappShareSnapshotPolicyResponse {}
|
|
1703
|
+
export const PutStorageNetappShareSnapshotPolicyResponse =
|
|
1704
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1705
|
+
identifier: "PutStorageNetappShareSnapshotPolicyResponse",
|
|
1706
|
+
}) as any as S.Schema<PutStorageNetappShareSnapshotPolicyResponse>;
|
|
1707
|
+
|
|
1708
|
+
export interface PutStorageNetappShareSnapshotReserveRequest {
|
|
1709
|
+
/** Service name */
|
|
1710
|
+
serviceName: string;
|
|
1711
|
+
/** Share ID */
|
|
1712
|
+
shareId: string;
|
|
1713
|
+
/** Share space percentage reserved for snapshots */
|
|
1714
|
+
percent: number;
|
|
1715
|
+
}
|
|
1716
|
+
export const PutStorageNetappShareSnapshotReserveRequest =
|
|
1717
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1718
|
+
S.Struct({
|
|
1719
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1720
|
+
shareId: S.String.pipe(T.Label()),
|
|
1721
|
+
percent: S.Number,
|
|
1722
|
+
}).pipe(
|
|
1723
|
+
T.Http({
|
|
1724
|
+
method: "PUT",
|
|
1725
|
+
uri: "/storage/netapp/{serviceName}/share/{shareId}/snapshotReserve",
|
|
1726
|
+
code: 200,
|
|
1727
|
+
}),
|
|
1728
|
+
),
|
|
1729
|
+
).annotate({
|
|
1730
|
+
identifier: "PutStorageNetappShareSnapshotReserveRequest",
|
|
1731
|
+
}) as any as S.Schema<PutStorageNetappShareSnapshotReserveRequest>;
|
|
1732
|
+
|
|
1733
|
+
export interface PutStorageNetappShareSnapshotReserveResponse {}
|
|
1734
|
+
export const PutStorageNetappShareSnapshotReserveResponse =
|
|
1735
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1736
|
+
identifier: "PutStorageNetappShareSnapshotReserveResponse",
|
|
1737
|
+
}) as any as S.Schema<PutStorageNetappShareSnapshotReserveResponse>;
|
|
1738
|
+
|
|
1739
|
+
export interface PutStorageNetappSnapshotPolicyRequest {
|
|
1740
|
+
/** Service name */
|
|
1741
|
+
serviceName: string;
|
|
1742
|
+
/** Snapshot policy ID */
|
|
1743
|
+
snapshotPolicyId: string;
|
|
1744
|
+
/** New snapshot policy description */
|
|
1745
|
+
description?: string | null;
|
|
1746
|
+
/** New snapshot policy name */
|
|
1747
|
+
name?: string | null;
|
|
1748
|
+
}
|
|
1749
|
+
export const PutStorageNetappSnapshotPolicyRequest = /*@__PURE__*/ S.suspend(
|
|
1750
|
+
() =>
|
|
1751
|
+
S.Struct({
|
|
1752
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1753
|
+
snapshotPolicyId: S.String.pipe(T.Label()),
|
|
1754
|
+
description: S.optional(S.NullOr(S.String)),
|
|
1755
|
+
name: S.optional(S.NullOr(S.String)),
|
|
1756
|
+
}).pipe(
|
|
1757
|
+
T.Http({
|
|
1758
|
+
method: "PUT",
|
|
1759
|
+
uri: "/storage/netapp/{serviceName}/snapshotPolicy/{snapshotPolicyId}",
|
|
1760
|
+
code: 200,
|
|
1761
|
+
}),
|
|
1762
|
+
),
|
|
1763
|
+
).annotate({
|
|
1764
|
+
identifier: "PutStorageNetappSnapshotPolicyRequest",
|
|
1765
|
+
}) as any as S.Schema<PutStorageNetappSnapshotPolicyRequest>;
|
|
1766
|
+
|
|
1767
|
+
export interface PutStorageNetappSnapshotPolicyResponse {}
|
|
1768
|
+
export const PutStorageNetappSnapshotPolicyResponse = /*@__PURE__*/ S.suspend(
|
|
1769
|
+
() => S.Struct({}),
|
|
1770
|
+
).annotate({
|
|
1771
|
+
identifier: "PutStorageNetappSnapshotPolicyResponse",
|
|
1772
|
+
}) as any as S.Schema<PutStorageNetappSnapshotPolicyResponse>;
|
|
1773
|
+
|
|
1774
|
+
export interface ShareStorageNetappRequest {
|
|
1775
|
+
/** Service name */
|
|
1776
|
+
serviceName: string;
|
|
1777
|
+
/** Share description */
|
|
1778
|
+
description?: string | null;
|
|
1779
|
+
/** User-defined name used to generate human readable access path for the share */
|
|
1780
|
+
mountPointName?: string | null;
|
|
1781
|
+
/** Share name */
|
|
1782
|
+
name?: string | null;
|
|
1783
|
+
/** Share protocol */
|
|
1784
|
+
protocol: StorageProtocolEnum | (string & {}) | null;
|
|
1785
|
+
/** Share size in Gigabytes */
|
|
1786
|
+
size: number | null;
|
|
1787
|
+
/** Snapshot ID used to create the share */
|
|
1788
|
+
snapshotID?: string | null;
|
|
1789
|
+
}
|
|
1790
|
+
export const ShareStorageNetappRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1791
|
+
S.Struct({
|
|
1792
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1793
|
+
description: S.optional(S.NullOr(S.String)),
|
|
1794
|
+
mountPointName: S.optional(S.NullOr(S.String)),
|
|
1795
|
+
name: S.optional(S.NullOr(S.String)),
|
|
1796
|
+
protocol: S.NullOr(StorageProtocolEnum),
|
|
1797
|
+
size: S.NullOr(S.Number),
|
|
1798
|
+
snapshotID: S.optional(S.NullOr(S.String)),
|
|
1799
|
+
}).pipe(
|
|
1800
|
+
T.Http({
|
|
1801
|
+
method: "POST",
|
|
1802
|
+
uri: "/storage/netapp/{serviceName}/share",
|
|
1803
|
+
code: 200,
|
|
1804
|
+
}),
|
|
1805
|
+
),
|
|
1806
|
+
).annotate({
|
|
1807
|
+
identifier: "ShareStorageNetappRequest",
|
|
1808
|
+
}) as any as S.Schema<ShareStorageNetappRequest>;
|
|
1809
|
+
|
|
1810
|
+
export interface TerminateStorageNetappRequest {
|
|
1811
|
+
/** Service name */
|
|
1812
|
+
serviceName: string;
|
|
1813
|
+
}
|
|
1814
|
+
export const TerminateStorageNetappRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1815
|
+
S.Struct({
|
|
1816
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1817
|
+
}).pipe(
|
|
1818
|
+
T.Http({
|
|
1819
|
+
method: "POST",
|
|
1820
|
+
uri: "/storage/netapp/{serviceName}/terminate",
|
|
1821
|
+
code: 200,
|
|
1822
|
+
}),
|
|
1823
|
+
),
|
|
1824
|
+
).annotate({
|
|
1825
|
+
identifier: "TerminateStorageNetappRequest",
|
|
1826
|
+
}) as any as S.Schema<TerminateStorageNetappRequest>;
|
|
1827
|
+
|
|
1828
|
+
export type TerminateStorageNetappResponse = string;
|
|
1829
|
+
export const TerminateStorageNetappResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1830
|
+
S.String.pipe(T.RawResponseRoot()),
|
|
1831
|
+
).annotate({
|
|
1832
|
+
identifier: "TerminateStorageNetappResponse",
|
|
1833
|
+
}) as any as S.Schema<TerminateStorageNetappResponse>;
|
|
1834
|
+
|
|
1835
|
+
export type ConfirmStorageNetappTerminationError = OvhOpError;
|
|
1836
|
+
/** Confirm service termination */
|
|
1837
|
+
export const confirmStorageNetappTermination: API.OperationMethod<
|
|
1838
|
+
ConfirmStorageNetappTerminationRequest,
|
|
1839
|
+
ConfirmStorageNetappTerminationResponse,
|
|
1840
|
+
ConfirmStorageNetappTerminationError,
|
|
1841
|
+
OvhOpContext
|
|
1842
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1843
|
+
input: ConfirmStorageNetappTerminationRequest,
|
|
1844
|
+
output: ConfirmStorageNetappTerminationResponse,
|
|
1845
|
+
errors: [UnknownOvhError],
|
|
1846
|
+
protocol: OvhProtocol,
|
|
1847
|
+
retry: Retry.Retry,
|
|
1848
|
+
}));
|
|
1849
|
+
|
|
1850
|
+
export type CreateStorageNetappChangeContactError = OvhOpError;
|
|
1851
|
+
/** Launch a contact change procedure */
|
|
1852
|
+
export const createStorageNetappChangeContact: API.OperationMethod<
|
|
1853
|
+
CreateStorageNetappChangeContactRequest,
|
|
1854
|
+
CreateStorageNetappChangeContactResponse,
|
|
1855
|
+
CreateStorageNetappChangeContactError,
|
|
1856
|
+
OvhOpContext
|
|
1857
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1858
|
+
input: CreateStorageNetappChangeContactRequest,
|
|
1859
|
+
output: CreateStorageNetappChangeContactResponse,
|
|
1860
|
+
errors: [UnknownOvhError],
|
|
1861
|
+
protocol: OvhProtocol,
|
|
1862
|
+
retry: Retry.Retry,
|
|
1863
|
+
}));
|
|
1864
|
+
|
|
1865
|
+
export type CreateStorageNetappShareAclError = OvhOpError;
|
|
1866
|
+
/** Create an ACL */
|
|
1867
|
+
export const createStorageNetappShareAcl: API.OperationMethod<
|
|
1868
|
+
CreateStorageNetappShareAclRequest,
|
|
1869
|
+
StorageNetAppShareACLRule,
|
|
1870
|
+
CreateStorageNetappShareAclError,
|
|
1871
|
+
OvhOpContext
|
|
1872
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1873
|
+
input: CreateStorageNetappShareAclRequest,
|
|
1874
|
+
output: StorageNetAppShareACLRule,
|
|
1875
|
+
errors: [UnknownOvhError],
|
|
1876
|
+
protocol: OvhProtocol,
|
|
1877
|
+
retry: Retry.Retry,
|
|
1878
|
+
}));
|
|
1879
|
+
|
|
1880
|
+
export type CreateStorageNetappShareRevertError = OvhOpError;
|
|
1881
|
+
/** Revert a share to it's latest snapshot */
|
|
1882
|
+
export const createStorageNetappShareRevert: API.OperationMethod<
|
|
1883
|
+
CreateStorageNetappShareRevertRequest,
|
|
1884
|
+
CreateStorageNetappShareRevertResponse,
|
|
1885
|
+
CreateStorageNetappShareRevertError,
|
|
1886
|
+
OvhOpContext
|
|
1887
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1888
|
+
input: CreateStorageNetappShareRevertRequest,
|
|
1889
|
+
output: CreateStorageNetappShareRevertResponse,
|
|
1890
|
+
errors: [UnknownOvhError],
|
|
1891
|
+
protocol: OvhProtocol,
|
|
1892
|
+
retry: Retry.Retry,
|
|
1893
|
+
}));
|
|
1894
|
+
|
|
1895
|
+
export type CreateStorageNetappShareShrinkError = OvhOpError;
|
|
1896
|
+
/** Shrink share size */
|
|
1897
|
+
export const createStorageNetappShareShrink: API.OperationMethod<
|
|
1898
|
+
CreateStorageNetappShareShrinkRequest,
|
|
1899
|
+
CreateStorageNetappShareShrinkResponse,
|
|
1900
|
+
CreateStorageNetappShareShrinkError,
|
|
1901
|
+
OvhOpContext
|
|
1902
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1903
|
+
input: CreateStorageNetappShareShrinkRequest,
|
|
1904
|
+
output: CreateStorageNetappShareShrinkResponse,
|
|
1905
|
+
errors: [UnknownOvhError],
|
|
1906
|
+
protocol: OvhProtocol,
|
|
1907
|
+
retry: Retry.Retry,
|
|
1908
|
+
}));
|
|
1909
|
+
|
|
1910
|
+
export type CreateStorageNetappShareSnapshotError = OvhOpError;
|
|
1911
|
+
/** Create a snapshot */
|
|
1912
|
+
export const createStorageNetappShareSnapshot: API.OperationMethod<
|
|
1913
|
+
CreateStorageNetappShareSnapshotRequest,
|
|
1914
|
+
StorageNetAppShareSnapshot,
|
|
1915
|
+
CreateStorageNetappShareSnapshotError,
|
|
1916
|
+
OvhOpContext
|
|
1917
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1918
|
+
input: CreateStorageNetappShareSnapshotRequest,
|
|
1919
|
+
output: StorageNetAppShareSnapshot,
|
|
1920
|
+
errors: [UnknownOvhError],
|
|
1921
|
+
protocol: OvhProtocol,
|
|
1922
|
+
retry: Retry.Retry,
|
|
1923
|
+
}));
|
|
1924
|
+
|
|
1925
|
+
export type CreateStorageNetappShareSnapshotHoldError = OvhOpError;
|
|
1926
|
+
/** Hold an automatic share snapshot */
|
|
1927
|
+
export const createStorageNetappShareSnapshotHold: API.OperationMethod<
|
|
1928
|
+
CreateStorageNetappShareSnapshotHoldRequest,
|
|
1929
|
+
StorageNetAppShareSnapshot,
|
|
1930
|
+
CreateStorageNetappShareSnapshotHoldError,
|
|
1931
|
+
OvhOpContext
|
|
1932
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1933
|
+
input: CreateStorageNetappShareSnapshotHoldRequest,
|
|
1934
|
+
output: StorageNetAppShareSnapshot,
|
|
1935
|
+
errors: [UnknownOvhError],
|
|
1936
|
+
protocol: OvhProtocol,
|
|
1937
|
+
retry: Retry.Retry,
|
|
1938
|
+
}));
|
|
1939
|
+
|
|
1940
|
+
export type CreateStorageNetappSnapshotPolicyError = OvhOpError;
|
|
1941
|
+
/** Create a snapshot policy */
|
|
1942
|
+
export const createStorageNetappSnapshotPolicy: API.OperationMethod<
|
|
1943
|
+
CreateStorageNetappSnapshotPolicyRequest,
|
|
1944
|
+
StorageNetAppSnapshotPolicy,
|
|
1945
|
+
CreateStorageNetappSnapshotPolicyError,
|
|
1946
|
+
OvhOpContext
|
|
1947
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1948
|
+
input: CreateStorageNetappSnapshotPolicyRequest,
|
|
1949
|
+
output: StorageNetAppSnapshotPolicy,
|
|
1950
|
+
errors: [UnknownOvhError],
|
|
1951
|
+
protocol: OvhProtocol,
|
|
1952
|
+
retry: Retry.Retry,
|
|
1953
|
+
}));
|
|
1954
|
+
|
|
1955
|
+
export type DeleteStorageNetappShareError = OvhOpError;
|
|
1956
|
+
/** Delete a share */
|
|
1957
|
+
export const deleteStorageNetappShare: API.OperationMethod<
|
|
1958
|
+
DeleteStorageNetappShareRequest,
|
|
1959
|
+
DeleteStorageNetappShareResponse,
|
|
1960
|
+
DeleteStorageNetappShareError,
|
|
1961
|
+
OvhOpContext
|
|
1962
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1963
|
+
input: DeleteStorageNetappShareRequest,
|
|
1964
|
+
output: DeleteStorageNetappShareResponse,
|
|
1965
|
+
errors: [UnknownOvhError],
|
|
1966
|
+
protocol: OvhProtocol,
|
|
1967
|
+
retry: Retry.Retry,
|
|
1968
|
+
}));
|
|
1969
|
+
|
|
1970
|
+
export type DeleteStorageNetappShareAclError = OvhOpError;
|
|
1971
|
+
/** Delete an ACL */
|
|
1972
|
+
export const deleteStorageNetappShareAcl: API.OperationMethod<
|
|
1973
|
+
DeleteStorageNetappShareAclRequest,
|
|
1974
|
+
DeleteStorageNetappShareAclResponse,
|
|
1975
|
+
DeleteStorageNetappShareAclError,
|
|
1976
|
+
OvhOpContext
|
|
1977
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1978
|
+
input: DeleteStorageNetappShareAclRequest,
|
|
1979
|
+
output: DeleteStorageNetappShareAclResponse,
|
|
1980
|
+
errors: [UnknownOvhError],
|
|
1981
|
+
protocol: OvhProtocol,
|
|
1982
|
+
retry: Retry.Retry,
|
|
1983
|
+
}));
|
|
1984
|
+
|
|
1985
|
+
export type DeleteStorageNetappShareSnapshotError = OvhOpError;
|
|
1986
|
+
/** Delete a snapshot */
|
|
1987
|
+
export const deleteStorageNetappShareSnapshot: API.OperationMethod<
|
|
1988
|
+
DeleteStorageNetappShareSnapshotRequest,
|
|
1989
|
+
DeleteStorageNetappShareSnapshotResponse,
|
|
1990
|
+
DeleteStorageNetappShareSnapshotError,
|
|
1991
|
+
OvhOpContext
|
|
1992
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1993
|
+
input: DeleteStorageNetappShareSnapshotRequest,
|
|
1994
|
+
output: DeleteStorageNetappShareSnapshotResponse,
|
|
1995
|
+
errors: [UnknownOvhError],
|
|
1996
|
+
protocol: OvhProtocol,
|
|
1997
|
+
retry: Retry.Retry,
|
|
1998
|
+
}));
|
|
1999
|
+
|
|
2000
|
+
export type DeleteStorageNetappSnapshotPolicyError = OvhOpError;
|
|
2001
|
+
/** Delete a snapshot policy */
|
|
2002
|
+
export const deleteStorageNetappSnapshotPolicy: API.OperationMethod<
|
|
2003
|
+
DeleteStorageNetappSnapshotPolicyRequest,
|
|
2004
|
+
DeleteStorageNetappSnapshotPolicyResponse,
|
|
2005
|
+
DeleteStorageNetappSnapshotPolicyError,
|
|
2006
|
+
OvhOpContext
|
|
2007
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2008
|
+
input: DeleteStorageNetappSnapshotPolicyRequest,
|
|
2009
|
+
output: DeleteStorageNetappSnapshotPolicyResponse,
|
|
2010
|
+
errors: [UnknownOvhError],
|
|
2011
|
+
protocol: OvhProtocol,
|
|
2012
|
+
retry: Retry.Retry,
|
|
2013
|
+
}));
|
|
2014
|
+
|
|
2015
|
+
export type ExtendStorageNetappShareError = OvhOpError;
|
|
2016
|
+
/** Extend share size */
|
|
2017
|
+
export const extendStorageNetappShare: API.OperationMethod<
|
|
2018
|
+
ExtendStorageNetappShareRequest,
|
|
2019
|
+
ExtendStorageNetappShareResponse,
|
|
2020
|
+
ExtendStorageNetappShareError,
|
|
2021
|
+
OvhOpContext
|
|
2022
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2023
|
+
input: ExtendStorageNetappShareRequest,
|
|
2024
|
+
output: ExtendStorageNetappShareResponse,
|
|
2025
|
+
errors: [UnknownOvhError],
|
|
2026
|
+
protocol: OvhProtocol,
|
|
2027
|
+
retry: Retry.Retry,
|
|
2028
|
+
}));
|
|
2029
|
+
|
|
2030
|
+
export type GetStorageNetappError = OvhOpError;
|
|
2031
|
+
/** Get service details */
|
|
2032
|
+
export const getStorageNetapp: API.OperationMethod<
|
|
2033
|
+
GetStorageNetappRequest,
|
|
2034
|
+
StorageNetAppServiceWithIAM,
|
|
2035
|
+
GetStorageNetappError,
|
|
2036
|
+
OvhOpContext
|
|
2037
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2038
|
+
input: GetStorageNetappRequest,
|
|
2039
|
+
output: StorageNetAppServiceWithIAM,
|
|
2040
|
+
errors: [UnknownOvhError],
|
|
2041
|
+
protocol: OvhProtocol,
|
|
2042
|
+
retry: Retry.Retry,
|
|
2043
|
+
}));
|
|
2044
|
+
|
|
2045
|
+
export type GetStorageNetappMetricsTokenError = OvhOpError;
|
|
2046
|
+
/** Get metrics token */
|
|
2047
|
+
export const getStorageNetappMetricsToken: API.OperationMethod<
|
|
2048
|
+
GetStorageNetappMetricsTokenRequest,
|
|
2049
|
+
StorageMetricsToken,
|
|
2050
|
+
GetStorageNetappMetricsTokenError,
|
|
2051
|
+
OvhOpContext
|
|
2052
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2053
|
+
input: GetStorageNetappMetricsTokenRequest,
|
|
2054
|
+
output: StorageMetricsToken,
|
|
2055
|
+
errors: [UnknownOvhError],
|
|
2056
|
+
protocol: OvhProtocol,
|
|
2057
|
+
retry: Retry.Retry,
|
|
2058
|
+
}));
|
|
2059
|
+
|
|
2060
|
+
export type GetStorageNetappNetworkError = OvhOpError;
|
|
2061
|
+
/** Get network details */
|
|
2062
|
+
export const getStorageNetappNetwork: API.OperationMethod<
|
|
2063
|
+
GetStorageNetappNetworkRequest,
|
|
2064
|
+
StorageNetAppNetwork,
|
|
2065
|
+
GetStorageNetappNetworkError,
|
|
2066
|
+
OvhOpContext
|
|
2067
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2068
|
+
input: GetStorageNetappNetworkRequest,
|
|
2069
|
+
output: StorageNetAppNetwork,
|
|
2070
|
+
errors: [UnknownOvhError],
|
|
2071
|
+
protocol: OvhProtocol,
|
|
2072
|
+
retry: Retry.Retry,
|
|
2073
|
+
}));
|
|
2074
|
+
|
|
2075
|
+
export type GetStorageNetappServiceInfosError = OvhOpError;
|
|
2076
|
+
/** Get service information */
|
|
2077
|
+
export const getStorageNetappServiceInfos: API.OperationMethod<
|
|
2078
|
+
GetStorageNetappServiceInfosRequest,
|
|
2079
|
+
ServicesService,
|
|
2080
|
+
GetStorageNetappServiceInfosError,
|
|
2081
|
+
OvhOpContext
|
|
2082
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2083
|
+
input: GetStorageNetappServiceInfosRequest,
|
|
2084
|
+
output: ServicesService,
|
|
2085
|
+
errors: [UnknownOvhError],
|
|
2086
|
+
protocol: OvhProtocol,
|
|
2087
|
+
retry: Retry.Retry,
|
|
2088
|
+
}));
|
|
2089
|
+
|
|
2090
|
+
export type GetStorageNetappShareError = OvhOpError;
|
|
2091
|
+
/** Get share details */
|
|
2092
|
+
export const getStorageNetappShare: API.OperationMethod<
|
|
2093
|
+
GetStorageNetappShareRequest,
|
|
2094
|
+
StorageNetAppShare,
|
|
2095
|
+
GetStorageNetappShareError,
|
|
2096
|
+
OvhOpContext
|
|
2097
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2098
|
+
input: GetStorageNetappShareRequest,
|
|
2099
|
+
output: StorageNetAppShare,
|
|
2100
|
+
errors: [UnknownOvhError],
|
|
2101
|
+
protocol: OvhProtocol,
|
|
2102
|
+
retry: Retry.Retry,
|
|
2103
|
+
}));
|
|
2104
|
+
|
|
2105
|
+
export type GetStorageNetappShareAccessPathError = OvhOpError;
|
|
2106
|
+
/** Get access path details */
|
|
2107
|
+
export const getStorageNetappShareAccessPath: API.OperationMethod<
|
|
2108
|
+
GetStorageNetappShareAccessPathRequest,
|
|
2109
|
+
StorageNetAppShareAccessPath,
|
|
2110
|
+
GetStorageNetappShareAccessPathError,
|
|
2111
|
+
OvhOpContext
|
|
2112
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2113
|
+
input: GetStorageNetappShareAccessPathRequest,
|
|
2114
|
+
output: StorageNetAppShareAccessPath,
|
|
2115
|
+
errors: [UnknownOvhError],
|
|
2116
|
+
protocol: OvhProtocol,
|
|
2117
|
+
retry: Retry.Retry,
|
|
2118
|
+
}));
|
|
2119
|
+
|
|
2120
|
+
export type GetStorageNetappShareAclError = OvhOpError;
|
|
2121
|
+
/** Get ACL details */
|
|
2122
|
+
export const getStorageNetappShareAcl: API.OperationMethod<
|
|
2123
|
+
GetStorageNetappShareAclRequest,
|
|
2124
|
+
StorageNetAppShareACLRule,
|
|
2125
|
+
GetStorageNetappShareAclError,
|
|
2126
|
+
OvhOpContext
|
|
2127
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2128
|
+
input: GetStorageNetappShareAclRequest,
|
|
2129
|
+
output: StorageNetAppShareACLRule,
|
|
2130
|
+
errors: [UnknownOvhError],
|
|
2131
|
+
protocol: OvhProtocol,
|
|
2132
|
+
retry: Retry.Retry,
|
|
2133
|
+
}));
|
|
2134
|
+
|
|
2135
|
+
export type GetStorageNetappShareSnapshotError = OvhOpError;
|
|
2136
|
+
/** Get snapshot details */
|
|
2137
|
+
export const getStorageNetappShareSnapshot: API.OperationMethod<
|
|
2138
|
+
GetStorageNetappShareSnapshotRequest,
|
|
2139
|
+
StorageNetAppShareSnapshot,
|
|
2140
|
+
GetStorageNetappShareSnapshotError,
|
|
2141
|
+
OvhOpContext
|
|
2142
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2143
|
+
input: GetStorageNetappShareSnapshotRequest,
|
|
2144
|
+
output: StorageNetAppShareSnapshot,
|
|
2145
|
+
errors: [UnknownOvhError],
|
|
2146
|
+
protocol: OvhProtocol,
|
|
2147
|
+
retry: Retry.Retry,
|
|
2148
|
+
}));
|
|
2149
|
+
|
|
2150
|
+
export type GetStorageNetappShareSnapshotPolicyError = OvhOpError;
|
|
2151
|
+
/** Get snapshot policy used by a share */
|
|
2152
|
+
export const getStorageNetappShareSnapshotPolicy: API.OperationMethod<
|
|
2153
|
+
GetStorageNetappShareSnapshotPolicyRequest,
|
|
2154
|
+
StorageNetAppShareSnapshotPolicy,
|
|
2155
|
+
GetStorageNetappShareSnapshotPolicyError,
|
|
2156
|
+
OvhOpContext
|
|
2157
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2158
|
+
input: GetStorageNetappShareSnapshotPolicyRequest,
|
|
2159
|
+
output: StorageNetAppShareSnapshotPolicy,
|
|
2160
|
+
errors: [UnknownOvhError],
|
|
2161
|
+
protocol: OvhProtocol,
|
|
2162
|
+
retry: Retry.Retry,
|
|
2163
|
+
}));
|
|
2164
|
+
|
|
2165
|
+
export type GetStorageNetappShareSnapshotReserveError = OvhOpError;
|
|
2166
|
+
/** Get snapshot reserve properties of a share */
|
|
2167
|
+
export const getStorageNetappShareSnapshotReserve: API.OperationMethod<
|
|
2168
|
+
GetStorageNetappShareSnapshotReserveRequest,
|
|
2169
|
+
StorageNetAppShareSnapshotReserve,
|
|
2170
|
+
GetStorageNetappShareSnapshotReserveError,
|
|
2171
|
+
OvhOpContext
|
|
2172
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2173
|
+
input: GetStorageNetappShareSnapshotReserveRequest,
|
|
2174
|
+
output: StorageNetAppShareSnapshotReserve,
|
|
2175
|
+
errors: [UnknownOvhError],
|
|
2176
|
+
protocol: OvhProtocol,
|
|
2177
|
+
retry: Retry.Retry,
|
|
2178
|
+
}));
|
|
2179
|
+
|
|
2180
|
+
export type GetStorageNetappSnapshotPolicyError = OvhOpError;
|
|
2181
|
+
/** Get snapshot policy details */
|
|
2182
|
+
export const getStorageNetappSnapshotPolicy: API.OperationMethod<
|
|
2183
|
+
GetStorageNetappSnapshotPolicyRequest,
|
|
2184
|
+
StorageNetAppSnapshotPolicy,
|
|
2185
|
+
GetStorageNetappSnapshotPolicyError,
|
|
2186
|
+
OvhOpContext
|
|
2187
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2188
|
+
input: GetStorageNetappSnapshotPolicyRequest,
|
|
2189
|
+
output: StorageNetAppSnapshotPolicy,
|
|
2190
|
+
errors: [UnknownOvhError],
|
|
2191
|
+
protocol: OvhProtocol,
|
|
2192
|
+
retry: Retry.Retry,
|
|
2193
|
+
}));
|
|
2194
|
+
|
|
2195
|
+
export type ListStorageNetappError = OvhOpError;
|
|
2196
|
+
/** List available services */
|
|
2197
|
+
export const listStorageNetapp: API.OperationMethod<
|
|
2198
|
+
ListStorageNetappRequest,
|
|
2199
|
+
ListStorageNetappResponse,
|
|
2200
|
+
ListStorageNetappError,
|
|
2201
|
+
OvhOpContext
|
|
2202
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2203
|
+
input: ListStorageNetappRequest,
|
|
2204
|
+
output: ListStorageNetappResponse,
|
|
2205
|
+
errors: [UnknownOvhError],
|
|
2206
|
+
protocol: OvhProtocol,
|
|
2207
|
+
retry: Retry.Retry,
|
|
2208
|
+
}));
|
|
2209
|
+
|
|
2210
|
+
export type ListStorageNetappNetworkError = OvhOpError;
|
|
2211
|
+
/** List networks */
|
|
2212
|
+
export const listStorageNetappNetwork: API.OperationMethod<
|
|
2213
|
+
ListStorageNetappNetworkRequest,
|
|
2214
|
+
ListStorageNetappNetworkResponse,
|
|
2215
|
+
ListStorageNetappNetworkError,
|
|
2216
|
+
OvhOpContext
|
|
2217
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2218
|
+
input: ListStorageNetappNetworkRequest,
|
|
2219
|
+
output: ListStorageNetappNetworkResponse,
|
|
2220
|
+
errors: [UnknownOvhError],
|
|
2221
|
+
protocol: OvhProtocol,
|
|
2222
|
+
retry: Retry.Retry,
|
|
2223
|
+
}));
|
|
2224
|
+
|
|
2225
|
+
export type ListStorageNetappShareError = OvhOpError;
|
|
2226
|
+
/** List available shares */
|
|
2227
|
+
export const listStorageNetappShare: API.OperationMethod<
|
|
2228
|
+
ListStorageNetappShareRequest,
|
|
2229
|
+
ListStorageNetappShareResponse,
|
|
2230
|
+
ListStorageNetappShareError,
|
|
2231
|
+
OvhOpContext
|
|
2232
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2233
|
+
input: ListStorageNetappShareRequest,
|
|
2234
|
+
output: ListStorageNetappShareResponse,
|
|
2235
|
+
errors: [UnknownOvhError],
|
|
2236
|
+
protocol: OvhProtocol,
|
|
2237
|
+
retry: Retry.Retry,
|
|
2238
|
+
}));
|
|
2239
|
+
|
|
2240
|
+
export type ListStorageNetappShareAccessPathError = OvhOpError;
|
|
2241
|
+
/** List available access paths */
|
|
2242
|
+
export const listStorageNetappShareAccessPath: API.OperationMethod<
|
|
2243
|
+
ListStorageNetappShareAccessPathRequest,
|
|
2244
|
+
ListStorageNetappShareAccessPathResponse,
|
|
2245
|
+
ListStorageNetappShareAccessPathError,
|
|
2246
|
+
OvhOpContext
|
|
2247
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2248
|
+
input: ListStorageNetappShareAccessPathRequest,
|
|
2249
|
+
output: ListStorageNetappShareAccessPathResponse,
|
|
2250
|
+
errors: [UnknownOvhError],
|
|
2251
|
+
protocol: OvhProtocol,
|
|
2252
|
+
retry: Retry.Retry,
|
|
2253
|
+
}));
|
|
2254
|
+
|
|
2255
|
+
export type ListStorageNetappShareAclError = OvhOpError;
|
|
2256
|
+
/** List available ACLs */
|
|
2257
|
+
export const listStorageNetappShareAcl: API.OperationMethod<
|
|
2258
|
+
ListStorageNetappShareAclRequest,
|
|
2259
|
+
ListStorageNetappShareAclResponse,
|
|
2260
|
+
ListStorageNetappShareAclError,
|
|
2261
|
+
OvhOpContext
|
|
2262
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2263
|
+
input: ListStorageNetappShareAclRequest,
|
|
2264
|
+
output: ListStorageNetappShareAclResponse,
|
|
2265
|
+
errors: [UnknownOvhError],
|
|
2266
|
+
protocol: OvhProtocol,
|
|
2267
|
+
retry: Retry.Retry,
|
|
2268
|
+
}));
|
|
2269
|
+
|
|
2270
|
+
export type ListStorageNetappShareSnapshotError = OvhOpError;
|
|
2271
|
+
/** List available snapshots */
|
|
2272
|
+
export const listStorageNetappShareSnapshot: API.OperationMethod<
|
|
2273
|
+
ListStorageNetappShareSnapshotRequest,
|
|
2274
|
+
ListStorageNetappShareSnapshotResponse,
|
|
2275
|
+
ListStorageNetappShareSnapshotError,
|
|
2276
|
+
OvhOpContext
|
|
2277
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2278
|
+
input: ListStorageNetappShareSnapshotRequest,
|
|
2279
|
+
output: ListStorageNetappShareSnapshotResponse,
|
|
2280
|
+
errors: [UnknownOvhError],
|
|
2281
|
+
protocol: OvhProtocol,
|
|
2282
|
+
retry: Retry.Retry,
|
|
2283
|
+
}));
|
|
2284
|
+
|
|
2285
|
+
export type ListStorageNetappSnapshotPolicyError = OvhOpError;
|
|
2286
|
+
/** Get a list of snapshot policies */
|
|
2287
|
+
export const listStorageNetappSnapshotPolicy: API.OperationMethod<
|
|
2288
|
+
ListStorageNetappSnapshotPolicyRequest,
|
|
2289
|
+
ListStorageNetappSnapshotPolicyResponse,
|
|
2290
|
+
ListStorageNetappSnapshotPolicyError,
|
|
2291
|
+
OvhOpContext
|
|
2292
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2293
|
+
input: ListStorageNetappSnapshotPolicyRequest,
|
|
2294
|
+
output: ListStorageNetappSnapshotPolicyResponse,
|
|
2295
|
+
errors: [UnknownOvhError],
|
|
2296
|
+
protocol: OvhProtocol,
|
|
2297
|
+
retry: Retry.Retry,
|
|
2298
|
+
}));
|
|
2299
|
+
|
|
2300
|
+
export type PutStorageNetappError = OvhOpError;
|
|
2301
|
+
/** Update service */
|
|
2302
|
+
export const putStorageNetapp: API.OperationMethod<
|
|
2303
|
+
PutStorageNetappRequest,
|
|
2304
|
+
StorageNetAppService,
|
|
2305
|
+
PutStorageNetappError,
|
|
2306
|
+
OvhOpContext
|
|
2307
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2308
|
+
input: PutStorageNetappRequest,
|
|
2309
|
+
output: StorageNetAppService,
|
|
2310
|
+
errors: [UnknownOvhError],
|
|
2311
|
+
protocol: OvhProtocol,
|
|
2312
|
+
retry: Retry.Retry,
|
|
2313
|
+
}));
|
|
2314
|
+
|
|
2315
|
+
export type PutStorageNetappServiceInfosError = OvhOpError;
|
|
2316
|
+
/** Update service information */
|
|
2317
|
+
export const putStorageNetappServiceInfos: API.OperationMethod<
|
|
2318
|
+
PutStorageNetappServiceInfosRequest,
|
|
2319
|
+
PutStorageNetappServiceInfosResponse,
|
|
2320
|
+
PutStorageNetappServiceInfosError,
|
|
2321
|
+
OvhOpContext
|
|
2322
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2323
|
+
input: PutStorageNetappServiceInfosRequest,
|
|
2324
|
+
output: PutStorageNetappServiceInfosResponse,
|
|
2325
|
+
errors: [UnknownOvhError],
|
|
2326
|
+
protocol: OvhProtocol,
|
|
2327
|
+
retry: Retry.Retry,
|
|
2328
|
+
}));
|
|
2329
|
+
|
|
2330
|
+
export type PutStorageNetappShareError = OvhOpError;
|
|
2331
|
+
/** Update a share */
|
|
2332
|
+
export const putStorageNetappShare: API.OperationMethod<
|
|
2333
|
+
PutStorageNetappShareRequest,
|
|
2334
|
+
StorageNetAppShare,
|
|
2335
|
+
PutStorageNetappShareError,
|
|
2336
|
+
OvhOpContext
|
|
2337
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2338
|
+
input: PutStorageNetappShareRequest,
|
|
2339
|
+
output: StorageNetAppShare,
|
|
2340
|
+
errors: [UnknownOvhError],
|
|
2341
|
+
protocol: OvhProtocol,
|
|
2342
|
+
retry: Retry.Retry,
|
|
2343
|
+
}));
|
|
2344
|
+
|
|
2345
|
+
export type PutStorageNetappShareSnapshotError = OvhOpError;
|
|
2346
|
+
/** Update a snapshot */
|
|
2347
|
+
export const putStorageNetappShareSnapshot: API.OperationMethod<
|
|
2348
|
+
PutStorageNetappShareSnapshotRequest,
|
|
2349
|
+
StorageNetAppShareSnapshot,
|
|
2350
|
+
PutStorageNetappShareSnapshotError,
|
|
2351
|
+
OvhOpContext
|
|
2352
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2353
|
+
input: PutStorageNetappShareSnapshotRequest,
|
|
2354
|
+
output: StorageNetAppShareSnapshot,
|
|
2355
|
+
errors: [UnknownOvhError],
|
|
2356
|
+
protocol: OvhProtocol,
|
|
2357
|
+
retry: Retry.Retry,
|
|
2358
|
+
}));
|
|
2359
|
+
|
|
2360
|
+
export type PutStorageNetappShareSnapshotPolicyError = OvhOpError;
|
|
2361
|
+
/** Update snapshot policy used by a share */
|
|
2362
|
+
export const putStorageNetappShareSnapshotPolicy: API.OperationMethod<
|
|
2363
|
+
PutStorageNetappShareSnapshotPolicyRequest,
|
|
2364
|
+
PutStorageNetappShareSnapshotPolicyResponse,
|
|
2365
|
+
PutStorageNetappShareSnapshotPolicyError,
|
|
2366
|
+
OvhOpContext
|
|
2367
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2368
|
+
input: PutStorageNetappShareSnapshotPolicyRequest,
|
|
2369
|
+
output: PutStorageNetappShareSnapshotPolicyResponse,
|
|
2370
|
+
errors: [UnknownOvhError],
|
|
2371
|
+
protocol: OvhProtocol,
|
|
2372
|
+
retry: Retry.Retry,
|
|
2373
|
+
}));
|
|
2374
|
+
|
|
2375
|
+
export type PutStorageNetappShareSnapshotReserveError = OvhOpError;
|
|
2376
|
+
/** Update snapshot reserve properties of a share */
|
|
2377
|
+
export const putStorageNetappShareSnapshotReserve: API.OperationMethod<
|
|
2378
|
+
PutStorageNetappShareSnapshotReserveRequest,
|
|
2379
|
+
PutStorageNetappShareSnapshotReserveResponse,
|
|
2380
|
+
PutStorageNetappShareSnapshotReserveError,
|
|
2381
|
+
OvhOpContext
|
|
2382
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2383
|
+
input: PutStorageNetappShareSnapshotReserveRequest,
|
|
2384
|
+
output: PutStorageNetappShareSnapshotReserveResponse,
|
|
2385
|
+
errors: [UnknownOvhError],
|
|
2386
|
+
protocol: OvhProtocol,
|
|
2387
|
+
retry: Retry.Retry,
|
|
2388
|
+
}));
|
|
2389
|
+
|
|
2390
|
+
export type PutStorageNetappSnapshotPolicyError = OvhOpError;
|
|
2391
|
+
/** Update a snapshot policy */
|
|
2392
|
+
export const putStorageNetappSnapshotPolicy: API.OperationMethod<
|
|
2393
|
+
PutStorageNetappSnapshotPolicyRequest,
|
|
2394
|
+
PutStorageNetappSnapshotPolicyResponse,
|
|
2395
|
+
PutStorageNetappSnapshotPolicyError,
|
|
2396
|
+
OvhOpContext
|
|
2397
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2398
|
+
input: PutStorageNetappSnapshotPolicyRequest,
|
|
2399
|
+
output: PutStorageNetappSnapshotPolicyResponse,
|
|
2400
|
+
errors: [UnknownOvhError],
|
|
2401
|
+
protocol: OvhProtocol,
|
|
2402
|
+
retry: Retry.Retry,
|
|
2403
|
+
}));
|
|
2404
|
+
|
|
2405
|
+
export type ShareStorageNetappError = OvhOpError;
|
|
2406
|
+
/** Create a share */
|
|
2407
|
+
export const shareStorageNetapp: API.OperationMethod<
|
|
2408
|
+
ShareStorageNetappRequest,
|
|
2409
|
+
StorageNetAppShare,
|
|
2410
|
+
ShareStorageNetappError,
|
|
2411
|
+
OvhOpContext
|
|
2412
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2413
|
+
input: ShareStorageNetappRequest,
|
|
2414
|
+
output: StorageNetAppShare,
|
|
2415
|
+
errors: [UnknownOvhError],
|
|
2416
|
+
protocol: OvhProtocol,
|
|
2417
|
+
retry: Retry.Retry,
|
|
2418
|
+
}));
|
|
2419
|
+
|
|
2420
|
+
export type TerminateStorageNetappError = OvhOpError;
|
|
2421
|
+
/** Ask for the termination of your service */
|
|
2422
|
+
export const terminateStorageNetapp: API.OperationMethod<
|
|
2423
|
+
TerminateStorageNetappRequest,
|
|
2424
|
+
TerminateStorageNetappResponse,
|
|
2425
|
+
TerminateStorageNetappError,
|
|
2426
|
+
OvhOpContext
|
|
2427
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
2428
|
+
input: TerminateStorageNetappRequest,
|
|
2429
|
+
output: TerminateStorageNetappResponse,
|
|
2430
|
+
errors: [UnknownOvhError],
|
|
2431
|
+
protocol: OvhProtocol,
|
|
2432
|
+
retry: Retry.Retry,
|
|
2433
|
+
}));
|