@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,1022 @@
|
|
|
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.js";
|
|
5
|
+
import { OvhProtocol, } from "../protocol.js";
|
|
6
|
+
import { UnknownOvhError } from "../errors.js";
|
|
7
|
+
import * as Retry from "../retry.js";
|
|
8
|
+
export const ServiceTerminationFutureUseEnum = /*@__PURE__*/ S.String;
|
|
9
|
+
export const ServiceTerminationReasonEnum = /*@__PURE__*/ S.String;
|
|
10
|
+
export const ConfirmStorageNetappTerminationRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
11
|
+
serviceName: S.String.pipe(T.Label()),
|
|
12
|
+
commentary: S.optional(S.String),
|
|
13
|
+
futureUse: S.optional(ServiceTerminationFutureUseEnum),
|
|
14
|
+
reason: S.optional(ServiceTerminationReasonEnum),
|
|
15
|
+
token: S.String,
|
|
16
|
+
}).pipe(T.Http({
|
|
17
|
+
method: "POST",
|
|
18
|
+
uri: "/storage/netapp/{serviceName}/confirmTermination",
|
|
19
|
+
code: 200,
|
|
20
|
+
}))).annotate({
|
|
21
|
+
identifier: "ConfirmStorageNetappTerminationRequest",
|
|
22
|
+
});
|
|
23
|
+
export const ConfirmStorageNetappTerminationResponse = /*@__PURE__*/ S.suspend(() => S.String.pipe(T.RawResponseRoot())).annotate({
|
|
24
|
+
identifier: "ConfirmStorageNetappTerminationResponse",
|
|
25
|
+
});
|
|
26
|
+
export const CreateStorageNetappChangeContactRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
27
|
+
serviceName: S.String.pipe(T.Label()),
|
|
28
|
+
contactAdmin: S.optional(S.String),
|
|
29
|
+
contactBilling: S.optional(S.String),
|
|
30
|
+
contactTech: S.optional(S.String),
|
|
31
|
+
}).pipe(T.Http({
|
|
32
|
+
method: "POST",
|
|
33
|
+
uri: "/storage/netapp/{serviceName}/changeContact",
|
|
34
|
+
code: 200,
|
|
35
|
+
}))).annotate({
|
|
36
|
+
identifier: "CreateStorageNetappChangeContactRequest",
|
|
37
|
+
});
|
|
38
|
+
export const CreateStorageNetappChangeContactResponseBodyList =
|
|
39
|
+
/*@__PURE__*/ S.Array(S.Number);
|
|
40
|
+
export const CreateStorageNetappChangeContactResponse = /*@__PURE__*/ S.suspend(() => CreateStorageNetappChangeContactResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
41
|
+
identifier: "CreateStorageNetappChangeContactResponse",
|
|
42
|
+
});
|
|
43
|
+
export const StorageNetAppShareACLPermissionEnum = /*@__PURE__*/ S.String;
|
|
44
|
+
export const CreateStorageNetappShareAclRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
45
|
+
serviceName: S.String.pipe(T.Label()),
|
|
46
|
+
shareId: S.String.pipe(T.Label()),
|
|
47
|
+
accessLevel: S.NullOr(StorageNetAppShareACLPermissionEnum),
|
|
48
|
+
accessTo: S.NullOr(S.String),
|
|
49
|
+
}).pipe(T.Http({
|
|
50
|
+
method: "POST",
|
|
51
|
+
uri: "/storage/netapp/{serviceName}/share/{shareId}/acl",
|
|
52
|
+
code: 200,
|
|
53
|
+
}))).annotate({
|
|
54
|
+
identifier: "CreateStorageNetappShareAclRequest",
|
|
55
|
+
});
|
|
56
|
+
export const StorageNetAppShareACLTypeEnum = /*@__PURE__*/ S.String;
|
|
57
|
+
export const StorageNetAppShareACLStatusEnum = /*@__PURE__*/ S.String;
|
|
58
|
+
export const StorageNetAppShareACLRule = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
59
|
+
accessLevel: S.NullOr(StorageNetAppShareACLPermissionEnum),
|
|
60
|
+
accessTo: S.NullOr(S.String),
|
|
61
|
+
accessType: S.optional(S.NullOr(StorageNetAppShareACLTypeEnum)),
|
|
62
|
+
createdAt: S.optional(S.NullOr(S.String)),
|
|
63
|
+
id: S.optional(S.String),
|
|
64
|
+
status: S.optional(S.NullOr(StorageNetAppShareACLStatusEnum)),
|
|
65
|
+
})).annotate({
|
|
66
|
+
identifier: "StorageNetAppShareACLRule",
|
|
67
|
+
});
|
|
68
|
+
export const CreateStorageNetappShareRevertRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
69
|
+
serviceName: S.String.pipe(T.Label()),
|
|
70
|
+
shareId: S.String.pipe(T.Label()),
|
|
71
|
+
snapshotID: S.String,
|
|
72
|
+
}).pipe(T.Http({
|
|
73
|
+
method: "POST",
|
|
74
|
+
uri: "/storage/netapp/{serviceName}/share/{shareId}/revert",
|
|
75
|
+
code: 200,
|
|
76
|
+
}))).annotate({
|
|
77
|
+
identifier: "CreateStorageNetappShareRevertRequest",
|
|
78
|
+
});
|
|
79
|
+
export const CreateStorageNetappShareRevertResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
80
|
+
identifier: "CreateStorageNetappShareRevertResponse",
|
|
81
|
+
});
|
|
82
|
+
export const CreateStorageNetappShareShrinkRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
83
|
+
serviceName: S.String.pipe(T.Label()),
|
|
84
|
+
shareId: S.String.pipe(T.Label()),
|
|
85
|
+
size: S.NullOr(S.Number),
|
|
86
|
+
}).pipe(T.Http({
|
|
87
|
+
method: "POST",
|
|
88
|
+
uri: "/storage/netapp/{serviceName}/share/{shareId}/shrink",
|
|
89
|
+
code: 200,
|
|
90
|
+
}))).annotate({
|
|
91
|
+
identifier: "CreateStorageNetappShareShrinkRequest",
|
|
92
|
+
});
|
|
93
|
+
export const CreateStorageNetappShareShrinkResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
94
|
+
identifier: "CreateStorageNetappShareShrinkResponse",
|
|
95
|
+
});
|
|
96
|
+
export const CreateStorageNetappShareSnapshotRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
97
|
+
serviceName: S.String.pipe(T.Label()),
|
|
98
|
+
shareId: S.String.pipe(T.Label()),
|
|
99
|
+
description: S.optional(S.NullOr(S.String)),
|
|
100
|
+
name: S.optional(S.NullOr(S.String)),
|
|
101
|
+
}).pipe(T.Http({
|
|
102
|
+
method: "POST",
|
|
103
|
+
uri: "/storage/netapp/{serviceName}/share/{shareId}/snapshot",
|
|
104
|
+
code: 200,
|
|
105
|
+
}))).annotate({
|
|
106
|
+
identifier: "CreateStorageNetappShareSnapshotRequest",
|
|
107
|
+
});
|
|
108
|
+
export const StorageNetAppSnapshotStatusEnum = /*@__PURE__*/ S.String;
|
|
109
|
+
export const StorageNetAppSnapshotTypeEnum = /*@__PURE__*/ S.String;
|
|
110
|
+
export const StorageNetAppShareSnapshot = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
111
|
+
createdAt: S.optional(S.NullOr(S.String)),
|
|
112
|
+
description: S.optional(S.NullOr(S.String)),
|
|
113
|
+
id: S.optional(S.String),
|
|
114
|
+
name: S.optional(S.NullOr(S.String)),
|
|
115
|
+
path: S.optional(S.NullOr(S.String)),
|
|
116
|
+
status: S.optional(S.NullOr(StorageNetAppSnapshotStatusEnum)),
|
|
117
|
+
type: S.optional(S.NullOr(StorageNetAppSnapshotTypeEnum)),
|
|
118
|
+
})).annotate({
|
|
119
|
+
identifier: "StorageNetAppShareSnapshot",
|
|
120
|
+
});
|
|
121
|
+
export const CreateStorageNetappShareSnapshotHoldRequest =
|
|
122
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
123
|
+
serviceName: S.String.pipe(T.Label()),
|
|
124
|
+
shareId: S.String.pipe(T.Label()),
|
|
125
|
+
snapshotId: S.String.pipe(T.Label()),
|
|
126
|
+
}).pipe(T.Http({
|
|
127
|
+
method: "POST",
|
|
128
|
+
uri: "/storage/netapp/{serviceName}/share/{shareId}/snapshot/{snapshotId}/hold",
|
|
129
|
+
code: 200,
|
|
130
|
+
}))).annotate({
|
|
131
|
+
identifier: "CreateStorageNetappShareSnapshotHoldRequest",
|
|
132
|
+
});
|
|
133
|
+
export const StorageNetAppSnapshotPolicyScheduleDaysList =
|
|
134
|
+
/*@__PURE__*/ S.Array(S.Number);
|
|
135
|
+
export const StorageNetAppSnapshotPolicyScheduleHoursList =
|
|
136
|
+
/*@__PURE__*/ S.Array(S.Number);
|
|
137
|
+
export const StorageNetAppSnapshotPolicyScheduleMinutesList =
|
|
138
|
+
/*@__PURE__*/ S.Array(S.Number);
|
|
139
|
+
export const StorageNetAppSnapshotPolicyScheduleMonthsList =
|
|
140
|
+
/*@__PURE__*/ S.Array(S.Number);
|
|
141
|
+
export const StorageNetAppSnapshotPolicyScheduleWeekdaysList =
|
|
142
|
+
/*@__PURE__*/ S.Array(S.Number);
|
|
143
|
+
export const StorageNetAppSnapshotPolicySchedule = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
144
|
+
days: S.optional(S.NullOr(StorageNetAppSnapshotPolicyScheduleDaysList)),
|
|
145
|
+
hours: S.optional(S.NullOr(StorageNetAppSnapshotPolicyScheduleHoursList)),
|
|
146
|
+
minutes: StorageNetAppSnapshotPolicyScheduleMinutesList,
|
|
147
|
+
months: S.optional(S.NullOr(StorageNetAppSnapshotPolicyScheduleMonthsList)),
|
|
148
|
+
weekdays: S.optional(S.NullOr(StorageNetAppSnapshotPolicyScheduleWeekdaysList)),
|
|
149
|
+
})).annotate({
|
|
150
|
+
identifier: "StorageNetAppSnapshotPolicySchedule",
|
|
151
|
+
});
|
|
152
|
+
export const StorageNetAppSnapshotPolicyRule = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
153
|
+
copies: S.NullOr(S.Number),
|
|
154
|
+
prefix: S.NullOr(S.String),
|
|
155
|
+
schedule: S.NullOr(StorageNetAppSnapshotPolicySchedule),
|
|
156
|
+
})).annotate({
|
|
157
|
+
identifier: "StorageNetAppSnapshotPolicyRule",
|
|
158
|
+
});
|
|
159
|
+
export const CreateStorageNetappSnapshotPolicyRequestRulesList =
|
|
160
|
+
/*@__PURE__*/ S.Array(StorageNetAppSnapshotPolicyRule);
|
|
161
|
+
export const CreateStorageNetappSnapshotPolicyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
162
|
+
serviceName: S.String.pipe(T.Label()),
|
|
163
|
+
description: S.optional(S.NullOr(S.String)),
|
|
164
|
+
name: S.optional(S.NullOr(S.String)),
|
|
165
|
+
rules: S.NullOr(CreateStorageNetappSnapshotPolicyRequestRulesList),
|
|
166
|
+
}).pipe(T.Http({
|
|
167
|
+
method: "POST",
|
|
168
|
+
uri: "/storage/netapp/{serviceName}/snapshotPolicy",
|
|
169
|
+
code: 200,
|
|
170
|
+
}))).annotate({
|
|
171
|
+
identifier: "CreateStorageNetappSnapshotPolicyRequest",
|
|
172
|
+
});
|
|
173
|
+
export const StorageNetAppSnapshotPolicyRulesList = /*@__PURE__*/ S.Array(StorageNetAppSnapshotPolicyRule);
|
|
174
|
+
export const StorageNetAppSnapshotPolicyStatusEnum = /*@__PURE__*/ S.String;
|
|
175
|
+
export const StorageNetAppSnapshotPolicy = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
176
|
+
createdAt: S.optional(S.NullOr(S.String)),
|
|
177
|
+
description: S.optional(S.NullOr(S.String)),
|
|
178
|
+
id: S.optional(S.String),
|
|
179
|
+
isDefault: S.optional(S.NullOr(S.Boolean)),
|
|
180
|
+
name: S.optional(S.NullOr(S.String)),
|
|
181
|
+
rules: S.NullOr(StorageNetAppSnapshotPolicyRulesList),
|
|
182
|
+
status: S.optional(S.NullOr(StorageNetAppSnapshotPolicyStatusEnum)),
|
|
183
|
+
})).annotate({
|
|
184
|
+
identifier: "StorageNetAppSnapshotPolicy",
|
|
185
|
+
});
|
|
186
|
+
export const DeleteStorageNetappShareRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
187
|
+
serviceName: S.String.pipe(T.Label()),
|
|
188
|
+
shareId: S.String.pipe(T.Label()),
|
|
189
|
+
}).pipe(T.Http({
|
|
190
|
+
method: "DELETE",
|
|
191
|
+
uri: "/storage/netapp/{serviceName}/share/{shareId}",
|
|
192
|
+
code: 200,
|
|
193
|
+
}))).annotate({
|
|
194
|
+
identifier: "DeleteStorageNetappShareRequest",
|
|
195
|
+
});
|
|
196
|
+
export const DeleteStorageNetappShareResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
197
|
+
identifier: "DeleteStorageNetappShareResponse",
|
|
198
|
+
});
|
|
199
|
+
export const DeleteStorageNetappShareAclRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
200
|
+
serviceName: S.String.pipe(T.Label()),
|
|
201
|
+
shareId: S.String.pipe(T.Label()),
|
|
202
|
+
aclRuleId: S.String.pipe(T.Label()),
|
|
203
|
+
}).pipe(T.Http({
|
|
204
|
+
method: "DELETE",
|
|
205
|
+
uri: "/storage/netapp/{serviceName}/share/{shareId}/acl/{aclRuleId}",
|
|
206
|
+
code: 200,
|
|
207
|
+
}))).annotate({
|
|
208
|
+
identifier: "DeleteStorageNetappShareAclRequest",
|
|
209
|
+
});
|
|
210
|
+
export const DeleteStorageNetappShareAclResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
211
|
+
identifier: "DeleteStorageNetappShareAclResponse",
|
|
212
|
+
});
|
|
213
|
+
export const DeleteStorageNetappShareSnapshotRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
214
|
+
serviceName: S.String.pipe(T.Label()),
|
|
215
|
+
shareId: S.String.pipe(T.Label()),
|
|
216
|
+
snapshotId: S.String.pipe(T.Label()),
|
|
217
|
+
}).pipe(T.Http({
|
|
218
|
+
method: "DELETE",
|
|
219
|
+
uri: "/storage/netapp/{serviceName}/share/{shareId}/snapshot/{snapshotId}",
|
|
220
|
+
code: 200,
|
|
221
|
+
}))).annotate({
|
|
222
|
+
identifier: "DeleteStorageNetappShareSnapshotRequest",
|
|
223
|
+
});
|
|
224
|
+
export const DeleteStorageNetappShareSnapshotResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
225
|
+
identifier: "DeleteStorageNetappShareSnapshotResponse",
|
|
226
|
+
});
|
|
227
|
+
export const DeleteStorageNetappSnapshotPolicyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
228
|
+
serviceName: S.String.pipe(T.Label()),
|
|
229
|
+
snapshotPolicyId: S.String.pipe(T.Label()),
|
|
230
|
+
}).pipe(T.Http({
|
|
231
|
+
method: "DELETE",
|
|
232
|
+
uri: "/storage/netapp/{serviceName}/snapshotPolicy/{snapshotPolicyId}",
|
|
233
|
+
code: 200,
|
|
234
|
+
}))).annotate({
|
|
235
|
+
identifier: "DeleteStorageNetappSnapshotPolicyRequest",
|
|
236
|
+
});
|
|
237
|
+
export const DeleteStorageNetappSnapshotPolicyResponse =
|
|
238
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
239
|
+
identifier: "DeleteStorageNetappSnapshotPolicyResponse",
|
|
240
|
+
});
|
|
241
|
+
export const ExtendStorageNetappShareRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
242
|
+
serviceName: S.String.pipe(T.Label()),
|
|
243
|
+
shareId: S.String.pipe(T.Label()),
|
|
244
|
+
size: S.NullOr(S.Number),
|
|
245
|
+
}).pipe(T.Http({
|
|
246
|
+
method: "POST",
|
|
247
|
+
uri: "/storage/netapp/{serviceName}/share/{shareId}/extend",
|
|
248
|
+
code: 200,
|
|
249
|
+
}))).annotate({
|
|
250
|
+
identifier: "ExtendStorageNetappShareRequest",
|
|
251
|
+
});
|
|
252
|
+
export const ExtendStorageNetappShareResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
253
|
+
identifier: "ExtendStorageNetappShareResponse",
|
|
254
|
+
});
|
|
255
|
+
export const GetStorageNetappRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
256
|
+
serviceName: S.String.pipe(T.Label()),
|
|
257
|
+
}).pipe(T.Http({ method: "GET", uri: "/storage/netapp/{serviceName}", code: 200 }))).annotate({
|
|
258
|
+
identifier: "GetStorageNetappRequest",
|
|
259
|
+
});
|
|
260
|
+
export const IamResourceMetadataTagsMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
261
|
+
export const IamResourceMetadata = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
262
|
+
displayName: S.optional(S.NullOr(S.String)),
|
|
263
|
+
id: S.optional(S.String),
|
|
264
|
+
tags: S.optional(S.NullOr(IamResourceMetadataTagsMap)),
|
|
265
|
+
urn: S.optional(S.String),
|
|
266
|
+
})).annotate({
|
|
267
|
+
identifier: "IamResourceMetadata",
|
|
268
|
+
});
|
|
269
|
+
export const StorageNetAppServicePerformanceLevelEnum = /*@__PURE__*/ S.String;
|
|
270
|
+
export const StorageRegionEnum = /*@__PURE__*/ S.String;
|
|
271
|
+
export const StorageNetAppServiceStatusEnum = /*@__PURE__*/ S.String;
|
|
272
|
+
export const StorageNetAppServiceWithIAM = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
273
|
+
createdAt: S.optional(S.String),
|
|
274
|
+
iam: S.optional(S.NullOr(IamResourceMetadata)),
|
|
275
|
+
id: S.optional(S.String),
|
|
276
|
+
name: S.optional(S.String),
|
|
277
|
+
performanceLevel: S.optional(StorageNetAppServicePerformanceLevelEnum),
|
|
278
|
+
product: S.optional(S.String),
|
|
279
|
+
quota: S.optional(S.Number),
|
|
280
|
+
region: S.optional(StorageRegionEnum),
|
|
281
|
+
status: S.optional(StorageNetAppServiceStatusEnum),
|
|
282
|
+
})).annotate({
|
|
283
|
+
identifier: "StorageNetAppServiceWithIAM",
|
|
284
|
+
});
|
|
285
|
+
export const GetStorageNetappMetricsTokenRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
286
|
+
serviceName: S.String.pipe(T.Label()),
|
|
287
|
+
}).pipe(T.Http({
|
|
288
|
+
method: "GET",
|
|
289
|
+
uri: "/storage/netapp/{serviceName}/metricsToken",
|
|
290
|
+
code: 200,
|
|
291
|
+
}))).annotate({
|
|
292
|
+
identifier: "GetStorageNetappMetricsTokenRequest",
|
|
293
|
+
});
|
|
294
|
+
export const StorageMetricsToken = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
295
|
+
endpoint: S.optional(S.String),
|
|
296
|
+
expiry: S.optional(S.String),
|
|
297
|
+
token: S.optional(S.String),
|
|
298
|
+
})).annotate({
|
|
299
|
+
identifier: "StorageMetricsToken",
|
|
300
|
+
});
|
|
301
|
+
export const GetStorageNetappNetworkRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
302
|
+
serviceName: S.String.pipe(T.Label()),
|
|
303
|
+
networkId: S.String.pipe(T.Label()),
|
|
304
|
+
}).pipe(T.Http({
|
|
305
|
+
method: "GET",
|
|
306
|
+
uri: "/storage/netapp/{serviceName}/network/{networkId}",
|
|
307
|
+
code: 200,
|
|
308
|
+
}))).annotate({
|
|
309
|
+
identifier: "GetStorageNetappNetworkRequest",
|
|
310
|
+
});
|
|
311
|
+
export const StorageNetAppNetworkStatusEnum = /*@__PURE__*/ S.String;
|
|
312
|
+
export const StorageNetAppNetwork = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
313
|
+
id: S.optional(S.String),
|
|
314
|
+
status: S.optional(S.NullOr(StorageNetAppNetworkStatusEnum)),
|
|
315
|
+
vRackServicesURN: S.optional(S.NullOr(S.String)),
|
|
316
|
+
})).annotate({
|
|
317
|
+
identifier: "StorageNetAppNetwork",
|
|
318
|
+
});
|
|
319
|
+
export const GetStorageNetappServiceInfosRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
320
|
+
serviceName: S.String.pipe(T.Label()),
|
|
321
|
+
}).pipe(T.Http({
|
|
322
|
+
method: "GET",
|
|
323
|
+
uri: "/storage/netapp/{serviceName}/serviceInfos",
|
|
324
|
+
code: 200,
|
|
325
|
+
}))).annotate({
|
|
326
|
+
identifier: "GetStorageNetappServiceInfosRequest",
|
|
327
|
+
});
|
|
328
|
+
export const ServicesServicePossibleRenewPeriodList = /*@__PURE__*/ S.Array(S.Number);
|
|
329
|
+
export const ServiceRenewType = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
330
|
+
automatic: S.optional(S.Boolean),
|
|
331
|
+
deleteAtExpiration: S.optional(S.Boolean),
|
|
332
|
+
forced: S.optional(S.Boolean),
|
|
333
|
+
manualPayment: S.optional(S.NullOr(S.Boolean)),
|
|
334
|
+
period: S.optional(S.NullOr(S.Number)),
|
|
335
|
+
})).annotate({
|
|
336
|
+
identifier: "ServiceRenewType",
|
|
337
|
+
});
|
|
338
|
+
export const ServiceRenewalTypeEnum = /*@__PURE__*/ S.String;
|
|
339
|
+
export const ServiceStateEnum = /*@__PURE__*/ S.String;
|
|
340
|
+
export const ServicesService = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
341
|
+
canDeleteAtExpiration: S.optional(S.Boolean),
|
|
342
|
+
contactAdmin: S.optional(S.String),
|
|
343
|
+
contactBilling: S.optional(S.String),
|
|
344
|
+
contactTech: S.optional(S.String),
|
|
345
|
+
creation: S.optional(S.String),
|
|
346
|
+
domain: S.optional(S.String),
|
|
347
|
+
engagedUpTo: S.optional(S.NullOr(S.String)),
|
|
348
|
+
expiration: S.optional(S.String),
|
|
349
|
+
possibleRenewPeriod: S.optional(S.NullOr(ServicesServicePossibleRenewPeriodList)),
|
|
350
|
+
renew: S.optional(S.NullOr(ServiceRenewType)),
|
|
351
|
+
renewalType: S.optional(ServiceRenewalTypeEnum),
|
|
352
|
+
serviceId: S.optional(S.Number),
|
|
353
|
+
status: S.optional(ServiceStateEnum),
|
|
354
|
+
})).annotate({
|
|
355
|
+
identifier: "ServicesService",
|
|
356
|
+
});
|
|
357
|
+
export const GetStorageNetappShareRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
358
|
+
serviceName: S.String.pipe(T.Label()),
|
|
359
|
+
shareId: S.String.pipe(T.Label()),
|
|
360
|
+
}).pipe(T.Http({
|
|
361
|
+
method: "GET",
|
|
362
|
+
uri: "/storage/netapp/{serviceName}/share/{shareId}",
|
|
363
|
+
code: 200,
|
|
364
|
+
}))).annotate({
|
|
365
|
+
identifier: "GetStorageNetappShareRequest",
|
|
366
|
+
});
|
|
367
|
+
export const StorageProtocolEnum = /*@__PURE__*/ S.String;
|
|
368
|
+
export const StorageNetAppShareStatusEnum = /*@__PURE__*/ S.String;
|
|
369
|
+
export const StorageNetAppShare = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
370
|
+
createdAt: S.optional(S.NullOr(S.String)),
|
|
371
|
+
description: S.optional(S.NullOr(S.String)),
|
|
372
|
+
id: S.optional(S.String),
|
|
373
|
+
mountPointName: S.optional(S.NullOr(S.String)),
|
|
374
|
+
name: S.optional(S.NullOr(S.String)),
|
|
375
|
+
protocol: S.NullOr(StorageProtocolEnum),
|
|
376
|
+
size: S.NullOr(S.Number),
|
|
377
|
+
snapshotID: S.optional(S.NullOr(S.String)),
|
|
378
|
+
status: S.optional(S.NullOr(StorageNetAppShareStatusEnum)),
|
|
379
|
+
})).annotate({
|
|
380
|
+
identifier: "StorageNetAppShare",
|
|
381
|
+
});
|
|
382
|
+
export const GetStorageNetappShareAccessPathRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
383
|
+
serviceName: S.String.pipe(T.Label()),
|
|
384
|
+
shareId: S.String.pipe(T.Label()),
|
|
385
|
+
accessPathId: S.String.pipe(T.Label()),
|
|
386
|
+
}).pipe(T.Http({
|
|
387
|
+
method: "GET",
|
|
388
|
+
uri: "/storage/netapp/{serviceName}/share/{shareId}/accessPath/{accessPathId}",
|
|
389
|
+
code: 200,
|
|
390
|
+
}))).annotate({
|
|
391
|
+
identifier: "GetStorageNetappShareAccessPathRequest",
|
|
392
|
+
});
|
|
393
|
+
export const StorageNetAppShareAccessPath = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
394
|
+
id: S.optional(S.String),
|
|
395
|
+
path: S.optional(S.String),
|
|
396
|
+
preferred: S.optional(S.Boolean),
|
|
397
|
+
})).annotate({
|
|
398
|
+
identifier: "StorageNetAppShareAccessPath",
|
|
399
|
+
});
|
|
400
|
+
export const GetStorageNetappShareAclRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
401
|
+
serviceName: S.String.pipe(T.Label()),
|
|
402
|
+
shareId: S.String.pipe(T.Label()),
|
|
403
|
+
aclRuleId: S.String.pipe(T.Label()),
|
|
404
|
+
}).pipe(T.Http({
|
|
405
|
+
method: "GET",
|
|
406
|
+
uri: "/storage/netapp/{serviceName}/share/{shareId}/acl/{aclRuleId}",
|
|
407
|
+
code: 200,
|
|
408
|
+
}))).annotate({
|
|
409
|
+
identifier: "GetStorageNetappShareAclRequest",
|
|
410
|
+
});
|
|
411
|
+
export const GetStorageNetappShareSnapshotRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
412
|
+
serviceName: S.String.pipe(T.Label()),
|
|
413
|
+
shareId: S.String.pipe(T.Label()),
|
|
414
|
+
snapshotId: S.String.pipe(T.Label()),
|
|
415
|
+
}).pipe(T.Http({
|
|
416
|
+
method: "GET",
|
|
417
|
+
uri: "/storage/netapp/{serviceName}/share/{shareId}/snapshot/{snapshotId}",
|
|
418
|
+
code: 200,
|
|
419
|
+
}))).annotate({
|
|
420
|
+
identifier: "GetStorageNetappShareSnapshotRequest",
|
|
421
|
+
});
|
|
422
|
+
export const GetStorageNetappShareSnapshotPolicyRequest =
|
|
423
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
424
|
+
serviceName: S.String.pipe(T.Label()),
|
|
425
|
+
shareId: S.String.pipe(T.Label()),
|
|
426
|
+
}).pipe(T.Http({
|
|
427
|
+
method: "GET",
|
|
428
|
+
uri: "/storage/netapp/{serviceName}/share/{shareId}/snapshotPolicy",
|
|
429
|
+
code: 200,
|
|
430
|
+
}))).annotate({
|
|
431
|
+
identifier: "GetStorageNetappShareSnapshotPolicyRequest",
|
|
432
|
+
});
|
|
433
|
+
export const StorageNetAppShareSnapshotPolicyStatusEnum =
|
|
434
|
+
/*@__PURE__*/ S.String;
|
|
435
|
+
export const StorageNetAppShareSnapshotPolicy = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
436
|
+
id: S.optional(S.String),
|
|
437
|
+
status: S.optional(StorageNetAppShareSnapshotPolicyStatusEnum),
|
|
438
|
+
})).annotate({
|
|
439
|
+
identifier: "StorageNetAppShareSnapshotPolicy",
|
|
440
|
+
});
|
|
441
|
+
export const GetStorageNetappShareSnapshotReserveRequest =
|
|
442
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
443
|
+
serviceName: S.String.pipe(T.Label()),
|
|
444
|
+
shareId: S.String.pipe(T.Label()),
|
|
445
|
+
}).pipe(T.Http({
|
|
446
|
+
method: "GET",
|
|
447
|
+
uri: "/storage/netapp/{serviceName}/share/{shareId}/snapshotReserve",
|
|
448
|
+
code: 200,
|
|
449
|
+
}))).annotate({
|
|
450
|
+
identifier: "GetStorageNetappShareSnapshotReserveRequest",
|
|
451
|
+
});
|
|
452
|
+
export const StorageNetAppShareSnapshotReserveStatusEnum =
|
|
453
|
+
/*@__PURE__*/ S.String;
|
|
454
|
+
export const StorageNetAppShareSnapshotReserve = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
455
|
+
percent: S.optional(S.Number),
|
|
456
|
+
status: S.optional(StorageNetAppShareSnapshotReserveStatusEnum),
|
|
457
|
+
})).annotate({
|
|
458
|
+
identifier: "StorageNetAppShareSnapshotReserve",
|
|
459
|
+
});
|
|
460
|
+
export const GetStorageNetappSnapshotPolicyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
461
|
+
serviceName: S.String.pipe(T.Label()),
|
|
462
|
+
snapshotPolicyId: S.String.pipe(T.Label()),
|
|
463
|
+
}).pipe(T.Http({
|
|
464
|
+
method: "GET",
|
|
465
|
+
uri: "/storage/netapp/{serviceName}/snapshotPolicy/{snapshotPolicyId}",
|
|
466
|
+
code: 200,
|
|
467
|
+
}))).annotate({
|
|
468
|
+
identifier: "GetStorageNetappSnapshotPolicyRequest",
|
|
469
|
+
});
|
|
470
|
+
export const IamResourceTagFilterInput = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
471
|
+
identifier: "IamResourceTagFilterInput",
|
|
472
|
+
});
|
|
473
|
+
export const ListStorageNetappRequestIamTagsValueList = /*@__PURE__*/ S.Array(IamResourceTagFilterInput);
|
|
474
|
+
export const ListStorageNetappRequestIamTagsMap = /*@__PURE__*/ S.Record(S.String, ListStorageNetappRequestIamTagsValueList);
|
|
475
|
+
export const ListStorageNetappRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
476
|
+
iamTags: S.optional(ListStorageNetappRequestIamTagsMap.pipe(T.Query())),
|
|
477
|
+
}).pipe(T.Http({ method: "GET", uri: "/storage/netapp", code: 200 }))).annotate({
|
|
478
|
+
identifier: "ListStorageNetappRequest",
|
|
479
|
+
});
|
|
480
|
+
export const ListStorageNetappResponseBodyList = /*@__PURE__*/ S.Array(StorageNetAppServiceWithIAM);
|
|
481
|
+
export const ListStorageNetappResponse = /*@__PURE__*/ S.suspend(() => ListStorageNetappResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
482
|
+
identifier: "ListStorageNetappResponse",
|
|
483
|
+
});
|
|
484
|
+
export const ListStorageNetappNetworkRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
485
|
+
serviceName: S.String.pipe(T.Label()),
|
|
486
|
+
detail: S.optional(S.Boolean.pipe(T.Query())),
|
|
487
|
+
}).pipe(T.Http({
|
|
488
|
+
method: "GET",
|
|
489
|
+
uri: "/storage/netapp/{serviceName}/network",
|
|
490
|
+
code: 200,
|
|
491
|
+
}))).annotate({
|
|
492
|
+
identifier: "ListStorageNetappNetworkRequest",
|
|
493
|
+
});
|
|
494
|
+
export const ListStorageNetappNetworkResponseBodyList = /*@__PURE__*/ S.Array(StorageNetAppNetwork);
|
|
495
|
+
export const ListStorageNetappNetworkResponse = /*@__PURE__*/ S.suspend(() => ListStorageNetappNetworkResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
496
|
+
identifier: "ListStorageNetappNetworkResponse",
|
|
497
|
+
});
|
|
498
|
+
export const ListStorageNetappShareRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
499
|
+
serviceName: S.String.pipe(T.Label()),
|
|
500
|
+
detail: S.optional(S.Boolean.pipe(T.Query())),
|
|
501
|
+
mountPointName: S.optional(S.String.pipe(T.Query())),
|
|
502
|
+
}).pipe(T.Http({
|
|
503
|
+
method: "GET",
|
|
504
|
+
uri: "/storage/netapp/{serviceName}/share",
|
|
505
|
+
code: 200,
|
|
506
|
+
}))).annotate({
|
|
507
|
+
identifier: "ListStorageNetappShareRequest",
|
|
508
|
+
});
|
|
509
|
+
export const ListStorageNetappShareResponseBodyList = /*@__PURE__*/ S.Array(StorageNetAppShare);
|
|
510
|
+
export const ListStorageNetappShareResponse = /*@__PURE__*/ S.suspend(() => ListStorageNetappShareResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
511
|
+
identifier: "ListStorageNetappShareResponse",
|
|
512
|
+
});
|
|
513
|
+
export const ListStorageNetappShareAccessPathRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
514
|
+
serviceName: S.String.pipe(T.Label()),
|
|
515
|
+
shareId: S.String.pipe(T.Label()),
|
|
516
|
+
}).pipe(T.Http({
|
|
517
|
+
method: "GET",
|
|
518
|
+
uri: "/storage/netapp/{serviceName}/share/{shareId}/accessPath",
|
|
519
|
+
code: 200,
|
|
520
|
+
}))).annotate({
|
|
521
|
+
identifier: "ListStorageNetappShareAccessPathRequest",
|
|
522
|
+
});
|
|
523
|
+
export const ListStorageNetappShareAccessPathResponseBodyList =
|
|
524
|
+
/*@__PURE__*/ S.Array(StorageNetAppShareAccessPath);
|
|
525
|
+
export const ListStorageNetappShareAccessPathResponse = /*@__PURE__*/ S.suspend(() => ListStorageNetappShareAccessPathResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
526
|
+
identifier: "ListStorageNetappShareAccessPathResponse",
|
|
527
|
+
});
|
|
528
|
+
export const ListStorageNetappShareAclRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
529
|
+
serviceName: S.String.pipe(T.Label()),
|
|
530
|
+
shareId: S.String.pipe(T.Label()),
|
|
531
|
+
}).pipe(T.Http({
|
|
532
|
+
method: "GET",
|
|
533
|
+
uri: "/storage/netapp/{serviceName}/share/{shareId}/acl",
|
|
534
|
+
code: 200,
|
|
535
|
+
}))).annotate({
|
|
536
|
+
identifier: "ListStorageNetappShareAclRequest",
|
|
537
|
+
});
|
|
538
|
+
export const ListStorageNetappShareAclResponseBodyList = /*@__PURE__*/ S.Array(StorageNetAppShareACLRule);
|
|
539
|
+
export const ListStorageNetappShareAclResponse = /*@__PURE__*/ S.suspend(() => ListStorageNetappShareAclResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
540
|
+
identifier: "ListStorageNetappShareAclResponse",
|
|
541
|
+
});
|
|
542
|
+
export const ListStorageNetappShareSnapshotRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
543
|
+
serviceName: S.String.pipe(T.Label()),
|
|
544
|
+
shareId: S.String.pipe(T.Label()),
|
|
545
|
+
detail: S.optional(S.Boolean.pipe(T.Query())),
|
|
546
|
+
}).pipe(T.Http({
|
|
547
|
+
method: "GET",
|
|
548
|
+
uri: "/storage/netapp/{serviceName}/share/{shareId}/snapshot",
|
|
549
|
+
code: 200,
|
|
550
|
+
}))).annotate({
|
|
551
|
+
identifier: "ListStorageNetappShareSnapshotRequest",
|
|
552
|
+
});
|
|
553
|
+
export const ListStorageNetappShareSnapshotResponseBodyList =
|
|
554
|
+
/*@__PURE__*/ S.Array(StorageNetAppShareSnapshot);
|
|
555
|
+
export const ListStorageNetappShareSnapshotResponse = /*@__PURE__*/ S.suspend(() => ListStorageNetappShareSnapshotResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
556
|
+
identifier: "ListStorageNetappShareSnapshotResponse",
|
|
557
|
+
});
|
|
558
|
+
export const ListStorageNetappSnapshotPolicyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
559
|
+
serviceName: S.String.pipe(T.Label()),
|
|
560
|
+
}).pipe(T.Http({
|
|
561
|
+
method: "GET",
|
|
562
|
+
uri: "/storage/netapp/{serviceName}/snapshotPolicy",
|
|
563
|
+
code: 200,
|
|
564
|
+
}))).annotate({
|
|
565
|
+
identifier: "ListStorageNetappSnapshotPolicyRequest",
|
|
566
|
+
});
|
|
567
|
+
export const ListStorageNetappSnapshotPolicyResponseBodyList =
|
|
568
|
+
/*@__PURE__*/ S.Array(StorageNetAppSnapshotPolicy);
|
|
569
|
+
export const ListStorageNetappSnapshotPolicyResponse = /*@__PURE__*/ S.suspend(() => ListStorageNetappSnapshotPolicyResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
570
|
+
identifier: "ListStorageNetappSnapshotPolicyResponse",
|
|
571
|
+
});
|
|
572
|
+
export const PutStorageNetappRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
573
|
+
serviceName: S.String.pipe(T.Label()),
|
|
574
|
+
name: S.String,
|
|
575
|
+
}).pipe(T.Http({ method: "PUT", uri: "/storage/netapp/{serviceName}", code: 200 }))).annotate({
|
|
576
|
+
identifier: "PutStorageNetappRequest",
|
|
577
|
+
});
|
|
578
|
+
export const StorageNetAppService = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
579
|
+
createdAt: S.optional(S.String),
|
|
580
|
+
id: S.optional(S.String),
|
|
581
|
+
name: S.optional(S.String),
|
|
582
|
+
performanceLevel: S.optional(StorageNetAppServicePerformanceLevelEnum),
|
|
583
|
+
product: S.optional(S.String),
|
|
584
|
+
quota: S.optional(S.Number),
|
|
585
|
+
region: S.optional(StorageRegionEnum),
|
|
586
|
+
status: S.optional(StorageNetAppServiceStatusEnum),
|
|
587
|
+
})).annotate({
|
|
588
|
+
identifier: "StorageNetAppService",
|
|
589
|
+
});
|
|
590
|
+
export const PutStorageNetappServiceInfosRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
591
|
+
serviceName: S.String.pipe(T.Label()),
|
|
592
|
+
renew: S.optional(S.NullOr(ServiceRenewType)),
|
|
593
|
+
}).pipe(T.Http({
|
|
594
|
+
method: "PUT",
|
|
595
|
+
uri: "/storage/netapp/{serviceName}/serviceInfos",
|
|
596
|
+
code: 200,
|
|
597
|
+
}))).annotate({
|
|
598
|
+
identifier: "PutStorageNetappServiceInfosRequest",
|
|
599
|
+
});
|
|
600
|
+
export const PutStorageNetappServiceInfosResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
601
|
+
identifier: "PutStorageNetappServiceInfosResponse",
|
|
602
|
+
});
|
|
603
|
+
export const PutStorageNetappShareRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
604
|
+
serviceName: S.String.pipe(T.Label()),
|
|
605
|
+
shareId: S.String.pipe(T.Label()),
|
|
606
|
+
description: S.optional(S.NullOr(S.String)),
|
|
607
|
+
name: S.optional(S.NullOr(S.String)),
|
|
608
|
+
}).pipe(T.Http({
|
|
609
|
+
method: "PUT",
|
|
610
|
+
uri: "/storage/netapp/{serviceName}/share/{shareId}",
|
|
611
|
+
code: 200,
|
|
612
|
+
}))).annotate({
|
|
613
|
+
identifier: "PutStorageNetappShareRequest",
|
|
614
|
+
});
|
|
615
|
+
export const PutStorageNetappShareSnapshotRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
616
|
+
serviceName: S.String.pipe(T.Label()),
|
|
617
|
+
shareId: S.String.pipe(T.Label()),
|
|
618
|
+
snapshotId: S.String.pipe(T.Label()),
|
|
619
|
+
description: S.optional(S.NullOr(S.String)),
|
|
620
|
+
name: S.optional(S.NullOr(S.String)),
|
|
621
|
+
}).pipe(T.Http({
|
|
622
|
+
method: "PUT",
|
|
623
|
+
uri: "/storage/netapp/{serviceName}/share/{shareId}/snapshot/{snapshotId}",
|
|
624
|
+
code: 200,
|
|
625
|
+
}))).annotate({
|
|
626
|
+
identifier: "PutStorageNetappShareSnapshotRequest",
|
|
627
|
+
});
|
|
628
|
+
export const PutStorageNetappShareSnapshotPolicyRequest =
|
|
629
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
630
|
+
serviceName: S.String.pipe(T.Label()),
|
|
631
|
+
shareId: S.String.pipe(T.Label()),
|
|
632
|
+
snapshotPolicyID: S.String,
|
|
633
|
+
}).pipe(T.Http({
|
|
634
|
+
method: "PUT",
|
|
635
|
+
uri: "/storage/netapp/{serviceName}/share/{shareId}/snapshotPolicy",
|
|
636
|
+
code: 200,
|
|
637
|
+
}))).annotate({
|
|
638
|
+
identifier: "PutStorageNetappShareSnapshotPolicyRequest",
|
|
639
|
+
});
|
|
640
|
+
export const PutStorageNetappShareSnapshotPolicyResponse =
|
|
641
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
642
|
+
identifier: "PutStorageNetappShareSnapshotPolicyResponse",
|
|
643
|
+
});
|
|
644
|
+
export const PutStorageNetappShareSnapshotReserveRequest =
|
|
645
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
646
|
+
serviceName: S.String.pipe(T.Label()),
|
|
647
|
+
shareId: S.String.pipe(T.Label()),
|
|
648
|
+
percent: S.Number,
|
|
649
|
+
}).pipe(T.Http({
|
|
650
|
+
method: "PUT",
|
|
651
|
+
uri: "/storage/netapp/{serviceName}/share/{shareId}/snapshotReserve",
|
|
652
|
+
code: 200,
|
|
653
|
+
}))).annotate({
|
|
654
|
+
identifier: "PutStorageNetappShareSnapshotReserveRequest",
|
|
655
|
+
});
|
|
656
|
+
export const PutStorageNetappShareSnapshotReserveResponse =
|
|
657
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
658
|
+
identifier: "PutStorageNetappShareSnapshotReserveResponse",
|
|
659
|
+
});
|
|
660
|
+
export const PutStorageNetappSnapshotPolicyRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
661
|
+
serviceName: S.String.pipe(T.Label()),
|
|
662
|
+
snapshotPolicyId: S.String.pipe(T.Label()),
|
|
663
|
+
description: S.optional(S.NullOr(S.String)),
|
|
664
|
+
name: S.optional(S.NullOr(S.String)),
|
|
665
|
+
}).pipe(T.Http({
|
|
666
|
+
method: "PUT",
|
|
667
|
+
uri: "/storage/netapp/{serviceName}/snapshotPolicy/{snapshotPolicyId}",
|
|
668
|
+
code: 200,
|
|
669
|
+
}))).annotate({
|
|
670
|
+
identifier: "PutStorageNetappSnapshotPolicyRequest",
|
|
671
|
+
});
|
|
672
|
+
export const PutStorageNetappSnapshotPolicyResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
673
|
+
identifier: "PutStorageNetappSnapshotPolicyResponse",
|
|
674
|
+
});
|
|
675
|
+
export const ShareStorageNetappRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
676
|
+
serviceName: S.String.pipe(T.Label()),
|
|
677
|
+
description: S.optional(S.NullOr(S.String)),
|
|
678
|
+
mountPointName: S.optional(S.NullOr(S.String)),
|
|
679
|
+
name: S.optional(S.NullOr(S.String)),
|
|
680
|
+
protocol: S.NullOr(StorageProtocolEnum),
|
|
681
|
+
size: S.NullOr(S.Number),
|
|
682
|
+
snapshotID: S.optional(S.NullOr(S.String)),
|
|
683
|
+
}).pipe(T.Http({
|
|
684
|
+
method: "POST",
|
|
685
|
+
uri: "/storage/netapp/{serviceName}/share",
|
|
686
|
+
code: 200,
|
|
687
|
+
}))).annotate({
|
|
688
|
+
identifier: "ShareStorageNetappRequest",
|
|
689
|
+
});
|
|
690
|
+
export const TerminateStorageNetappRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
691
|
+
serviceName: S.String.pipe(T.Label()),
|
|
692
|
+
}).pipe(T.Http({
|
|
693
|
+
method: "POST",
|
|
694
|
+
uri: "/storage/netapp/{serviceName}/terminate",
|
|
695
|
+
code: 200,
|
|
696
|
+
}))).annotate({
|
|
697
|
+
identifier: "TerminateStorageNetappRequest",
|
|
698
|
+
});
|
|
699
|
+
export const TerminateStorageNetappResponse = /*@__PURE__*/ S.suspend(() => S.String.pipe(T.RawResponseRoot())).annotate({
|
|
700
|
+
identifier: "TerminateStorageNetappResponse",
|
|
701
|
+
});
|
|
702
|
+
/** Confirm service termination */
|
|
703
|
+
export const confirmStorageNetappTermination = /*@__PURE__*/ API.make(() => ({
|
|
704
|
+
input: ConfirmStorageNetappTerminationRequest,
|
|
705
|
+
output: ConfirmStorageNetappTerminationResponse,
|
|
706
|
+
errors: [UnknownOvhError],
|
|
707
|
+
protocol: OvhProtocol,
|
|
708
|
+
retry: Retry.Retry,
|
|
709
|
+
}));
|
|
710
|
+
/** Launch a contact change procedure */
|
|
711
|
+
export const createStorageNetappChangeContact = /*@__PURE__*/ API.make(() => ({
|
|
712
|
+
input: CreateStorageNetappChangeContactRequest,
|
|
713
|
+
output: CreateStorageNetappChangeContactResponse,
|
|
714
|
+
errors: [UnknownOvhError],
|
|
715
|
+
protocol: OvhProtocol,
|
|
716
|
+
retry: Retry.Retry,
|
|
717
|
+
}));
|
|
718
|
+
/** Create an ACL */
|
|
719
|
+
export const createStorageNetappShareAcl = /*@__PURE__*/ API.make(() => ({
|
|
720
|
+
input: CreateStorageNetappShareAclRequest,
|
|
721
|
+
output: StorageNetAppShareACLRule,
|
|
722
|
+
errors: [UnknownOvhError],
|
|
723
|
+
protocol: OvhProtocol,
|
|
724
|
+
retry: Retry.Retry,
|
|
725
|
+
}));
|
|
726
|
+
/** Revert a share to it's latest snapshot */
|
|
727
|
+
export const createStorageNetappShareRevert = /*@__PURE__*/ API.make(() => ({
|
|
728
|
+
input: CreateStorageNetappShareRevertRequest,
|
|
729
|
+
output: CreateStorageNetappShareRevertResponse,
|
|
730
|
+
errors: [UnknownOvhError],
|
|
731
|
+
protocol: OvhProtocol,
|
|
732
|
+
retry: Retry.Retry,
|
|
733
|
+
}));
|
|
734
|
+
/** Shrink share size */
|
|
735
|
+
export const createStorageNetappShareShrink = /*@__PURE__*/ API.make(() => ({
|
|
736
|
+
input: CreateStorageNetappShareShrinkRequest,
|
|
737
|
+
output: CreateStorageNetappShareShrinkResponse,
|
|
738
|
+
errors: [UnknownOvhError],
|
|
739
|
+
protocol: OvhProtocol,
|
|
740
|
+
retry: Retry.Retry,
|
|
741
|
+
}));
|
|
742
|
+
/** Create a snapshot */
|
|
743
|
+
export const createStorageNetappShareSnapshot = /*@__PURE__*/ API.make(() => ({
|
|
744
|
+
input: CreateStorageNetappShareSnapshotRequest,
|
|
745
|
+
output: StorageNetAppShareSnapshot,
|
|
746
|
+
errors: [UnknownOvhError],
|
|
747
|
+
protocol: OvhProtocol,
|
|
748
|
+
retry: Retry.Retry,
|
|
749
|
+
}));
|
|
750
|
+
/** Hold an automatic share snapshot */
|
|
751
|
+
export const createStorageNetappShareSnapshotHold = /*@__PURE__*/ API.make(() => ({
|
|
752
|
+
input: CreateStorageNetappShareSnapshotHoldRequest,
|
|
753
|
+
output: StorageNetAppShareSnapshot,
|
|
754
|
+
errors: [UnknownOvhError],
|
|
755
|
+
protocol: OvhProtocol,
|
|
756
|
+
retry: Retry.Retry,
|
|
757
|
+
}));
|
|
758
|
+
/** Create a snapshot policy */
|
|
759
|
+
export const createStorageNetappSnapshotPolicy = /*@__PURE__*/ API.make(() => ({
|
|
760
|
+
input: CreateStorageNetappSnapshotPolicyRequest,
|
|
761
|
+
output: StorageNetAppSnapshotPolicy,
|
|
762
|
+
errors: [UnknownOvhError],
|
|
763
|
+
protocol: OvhProtocol,
|
|
764
|
+
retry: Retry.Retry,
|
|
765
|
+
}));
|
|
766
|
+
/** Delete a share */
|
|
767
|
+
export const deleteStorageNetappShare = /*@__PURE__*/ API.make(() => ({
|
|
768
|
+
input: DeleteStorageNetappShareRequest,
|
|
769
|
+
output: DeleteStorageNetappShareResponse,
|
|
770
|
+
errors: [UnknownOvhError],
|
|
771
|
+
protocol: OvhProtocol,
|
|
772
|
+
retry: Retry.Retry,
|
|
773
|
+
}));
|
|
774
|
+
/** Delete an ACL */
|
|
775
|
+
export const deleteStorageNetappShareAcl = /*@__PURE__*/ API.make(() => ({
|
|
776
|
+
input: DeleteStorageNetappShareAclRequest,
|
|
777
|
+
output: DeleteStorageNetappShareAclResponse,
|
|
778
|
+
errors: [UnknownOvhError],
|
|
779
|
+
protocol: OvhProtocol,
|
|
780
|
+
retry: Retry.Retry,
|
|
781
|
+
}));
|
|
782
|
+
/** Delete a snapshot */
|
|
783
|
+
export const deleteStorageNetappShareSnapshot = /*@__PURE__*/ API.make(() => ({
|
|
784
|
+
input: DeleteStorageNetappShareSnapshotRequest,
|
|
785
|
+
output: DeleteStorageNetappShareSnapshotResponse,
|
|
786
|
+
errors: [UnknownOvhError],
|
|
787
|
+
protocol: OvhProtocol,
|
|
788
|
+
retry: Retry.Retry,
|
|
789
|
+
}));
|
|
790
|
+
/** Delete a snapshot policy */
|
|
791
|
+
export const deleteStorageNetappSnapshotPolicy = /*@__PURE__*/ API.make(() => ({
|
|
792
|
+
input: DeleteStorageNetappSnapshotPolicyRequest,
|
|
793
|
+
output: DeleteStorageNetappSnapshotPolicyResponse,
|
|
794
|
+
errors: [UnknownOvhError],
|
|
795
|
+
protocol: OvhProtocol,
|
|
796
|
+
retry: Retry.Retry,
|
|
797
|
+
}));
|
|
798
|
+
/** Extend share size */
|
|
799
|
+
export const extendStorageNetappShare = /*@__PURE__*/ API.make(() => ({
|
|
800
|
+
input: ExtendStorageNetappShareRequest,
|
|
801
|
+
output: ExtendStorageNetappShareResponse,
|
|
802
|
+
errors: [UnknownOvhError],
|
|
803
|
+
protocol: OvhProtocol,
|
|
804
|
+
retry: Retry.Retry,
|
|
805
|
+
}));
|
|
806
|
+
/** Get service details */
|
|
807
|
+
export const getStorageNetapp = /*@__PURE__*/ API.make(() => ({
|
|
808
|
+
input: GetStorageNetappRequest,
|
|
809
|
+
output: StorageNetAppServiceWithIAM,
|
|
810
|
+
errors: [UnknownOvhError],
|
|
811
|
+
protocol: OvhProtocol,
|
|
812
|
+
retry: Retry.Retry,
|
|
813
|
+
}));
|
|
814
|
+
/** Get metrics token */
|
|
815
|
+
export const getStorageNetappMetricsToken = /*@__PURE__*/ API.make(() => ({
|
|
816
|
+
input: GetStorageNetappMetricsTokenRequest,
|
|
817
|
+
output: StorageMetricsToken,
|
|
818
|
+
errors: [UnknownOvhError],
|
|
819
|
+
protocol: OvhProtocol,
|
|
820
|
+
retry: Retry.Retry,
|
|
821
|
+
}));
|
|
822
|
+
/** Get network details */
|
|
823
|
+
export const getStorageNetappNetwork = /*@__PURE__*/ API.make(() => ({
|
|
824
|
+
input: GetStorageNetappNetworkRequest,
|
|
825
|
+
output: StorageNetAppNetwork,
|
|
826
|
+
errors: [UnknownOvhError],
|
|
827
|
+
protocol: OvhProtocol,
|
|
828
|
+
retry: Retry.Retry,
|
|
829
|
+
}));
|
|
830
|
+
/** Get service information */
|
|
831
|
+
export const getStorageNetappServiceInfos = /*@__PURE__*/ API.make(() => ({
|
|
832
|
+
input: GetStorageNetappServiceInfosRequest,
|
|
833
|
+
output: ServicesService,
|
|
834
|
+
errors: [UnknownOvhError],
|
|
835
|
+
protocol: OvhProtocol,
|
|
836
|
+
retry: Retry.Retry,
|
|
837
|
+
}));
|
|
838
|
+
/** Get share details */
|
|
839
|
+
export const getStorageNetappShare = /*@__PURE__*/ API.make(() => ({
|
|
840
|
+
input: GetStorageNetappShareRequest,
|
|
841
|
+
output: StorageNetAppShare,
|
|
842
|
+
errors: [UnknownOvhError],
|
|
843
|
+
protocol: OvhProtocol,
|
|
844
|
+
retry: Retry.Retry,
|
|
845
|
+
}));
|
|
846
|
+
/** Get access path details */
|
|
847
|
+
export const getStorageNetappShareAccessPath = /*@__PURE__*/ API.make(() => ({
|
|
848
|
+
input: GetStorageNetappShareAccessPathRequest,
|
|
849
|
+
output: StorageNetAppShareAccessPath,
|
|
850
|
+
errors: [UnknownOvhError],
|
|
851
|
+
protocol: OvhProtocol,
|
|
852
|
+
retry: Retry.Retry,
|
|
853
|
+
}));
|
|
854
|
+
/** Get ACL details */
|
|
855
|
+
export const getStorageNetappShareAcl = /*@__PURE__*/ API.make(() => ({
|
|
856
|
+
input: GetStorageNetappShareAclRequest,
|
|
857
|
+
output: StorageNetAppShareACLRule,
|
|
858
|
+
errors: [UnknownOvhError],
|
|
859
|
+
protocol: OvhProtocol,
|
|
860
|
+
retry: Retry.Retry,
|
|
861
|
+
}));
|
|
862
|
+
/** Get snapshot details */
|
|
863
|
+
export const getStorageNetappShareSnapshot = /*@__PURE__*/ API.make(() => ({
|
|
864
|
+
input: GetStorageNetappShareSnapshotRequest,
|
|
865
|
+
output: StorageNetAppShareSnapshot,
|
|
866
|
+
errors: [UnknownOvhError],
|
|
867
|
+
protocol: OvhProtocol,
|
|
868
|
+
retry: Retry.Retry,
|
|
869
|
+
}));
|
|
870
|
+
/** Get snapshot policy used by a share */
|
|
871
|
+
export const getStorageNetappShareSnapshotPolicy = /*@__PURE__*/ API.make(() => ({
|
|
872
|
+
input: GetStorageNetappShareSnapshotPolicyRequest,
|
|
873
|
+
output: StorageNetAppShareSnapshotPolicy,
|
|
874
|
+
errors: [UnknownOvhError],
|
|
875
|
+
protocol: OvhProtocol,
|
|
876
|
+
retry: Retry.Retry,
|
|
877
|
+
}));
|
|
878
|
+
/** Get snapshot reserve properties of a share */
|
|
879
|
+
export const getStorageNetappShareSnapshotReserve = /*@__PURE__*/ API.make(() => ({
|
|
880
|
+
input: GetStorageNetappShareSnapshotReserveRequest,
|
|
881
|
+
output: StorageNetAppShareSnapshotReserve,
|
|
882
|
+
errors: [UnknownOvhError],
|
|
883
|
+
protocol: OvhProtocol,
|
|
884
|
+
retry: Retry.Retry,
|
|
885
|
+
}));
|
|
886
|
+
/** Get snapshot policy details */
|
|
887
|
+
export const getStorageNetappSnapshotPolicy = /*@__PURE__*/ API.make(() => ({
|
|
888
|
+
input: GetStorageNetappSnapshotPolicyRequest,
|
|
889
|
+
output: StorageNetAppSnapshotPolicy,
|
|
890
|
+
errors: [UnknownOvhError],
|
|
891
|
+
protocol: OvhProtocol,
|
|
892
|
+
retry: Retry.Retry,
|
|
893
|
+
}));
|
|
894
|
+
/** List available services */
|
|
895
|
+
export const listStorageNetapp = /*@__PURE__*/ API.make(() => ({
|
|
896
|
+
input: ListStorageNetappRequest,
|
|
897
|
+
output: ListStorageNetappResponse,
|
|
898
|
+
errors: [UnknownOvhError],
|
|
899
|
+
protocol: OvhProtocol,
|
|
900
|
+
retry: Retry.Retry,
|
|
901
|
+
}));
|
|
902
|
+
/** List networks */
|
|
903
|
+
export const listStorageNetappNetwork = /*@__PURE__*/ API.make(() => ({
|
|
904
|
+
input: ListStorageNetappNetworkRequest,
|
|
905
|
+
output: ListStorageNetappNetworkResponse,
|
|
906
|
+
errors: [UnknownOvhError],
|
|
907
|
+
protocol: OvhProtocol,
|
|
908
|
+
retry: Retry.Retry,
|
|
909
|
+
}));
|
|
910
|
+
/** List available shares */
|
|
911
|
+
export const listStorageNetappShare = /*@__PURE__*/ API.make(() => ({
|
|
912
|
+
input: ListStorageNetappShareRequest,
|
|
913
|
+
output: ListStorageNetappShareResponse,
|
|
914
|
+
errors: [UnknownOvhError],
|
|
915
|
+
protocol: OvhProtocol,
|
|
916
|
+
retry: Retry.Retry,
|
|
917
|
+
}));
|
|
918
|
+
/** List available access paths */
|
|
919
|
+
export const listStorageNetappShareAccessPath = /*@__PURE__*/ API.make(() => ({
|
|
920
|
+
input: ListStorageNetappShareAccessPathRequest,
|
|
921
|
+
output: ListStorageNetappShareAccessPathResponse,
|
|
922
|
+
errors: [UnknownOvhError],
|
|
923
|
+
protocol: OvhProtocol,
|
|
924
|
+
retry: Retry.Retry,
|
|
925
|
+
}));
|
|
926
|
+
/** List available ACLs */
|
|
927
|
+
export const listStorageNetappShareAcl = /*@__PURE__*/ API.make(() => ({
|
|
928
|
+
input: ListStorageNetappShareAclRequest,
|
|
929
|
+
output: ListStorageNetappShareAclResponse,
|
|
930
|
+
errors: [UnknownOvhError],
|
|
931
|
+
protocol: OvhProtocol,
|
|
932
|
+
retry: Retry.Retry,
|
|
933
|
+
}));
|
|
934
|
+
/** List available snapshots */
|
|
935
|
+
export const listStorageNetappShareSnapshot = /*@__PURE__*/ API.make(() => ({
|
|
936
|
+
input: ListStorageNetappShareSnapshotRequest,
|
|
937
|
+
output: ListStorageNetappShareSnapshotResponse,
|
|
938
|
+
errors: [UnknownOvhError],
|
|
939
|
+
protocol: OvhProtocol,
|
|
940
|
+
retry: Retry.Retry,
|
|
941
|
+
}));
|
|
942
|
+
/** Get a list of snapshot policies */
|
|
943
|
+
export const listStorageNetappSnapshotPolicy = /*@__PURE__*/ API.make(() => ({
|
|
944
|
+
input: ListStorageNetappSnapshotPolicyRequest,
|
|
945
|
+
output: ListStorageNetappSnapshotPolicyResponse,
|
|
946
|
+
errors: [UnknownOvhError],
|
|
947
|
+
protocol: OvhProtocol,
|
|
948
|
+
retry: Retry.Retry,
|
|
949
|
+
}));
|
|
950
|
+
/** Update service */
|
|
951
|
+
export const putStorageNetapp = /*@__PURE__*/ API.make(() => ({
|
|
952
|
+
input: PutStorageNetappRequest,
|
|
953
|
+
output: StorageNetAppService,
|
|
954
|
+
errors: [UnknownOvhError],
|
|
955
|
+
protocol: OvhProtocol,
|
|
956
|
+
retry: Retry.Retry,
|
|
957
|
+
}));
|
|
958
|
+
/** Update service information */
|
|
959
|
+
export const putStorageNetappServiceInfos = /*@__PURE__*/ API.make(() => ({
|
|
960
|
+
input: PutStorageNetappServiceInfosRequest,
|
|
961
|
+
output: PutStorageNetappServiceInfosResponse,
|
|
962
|
+
errors: [UnknownOvhError],
|
|
963
|
+
protocol: OvhProtocol,
|
|
964
|
+
retry: Retry.Retry,
|
|
965
|
+
}));
|
|
966
|
+
/** Update a share */
|
|
967
|
+
export const putStorageNetappShare = /*@__PURE__*/ API.make(() => ({
|
|
968
|
+
input: PutStorageNetappShareRequest,
|
|
969
|
+
output: StorageNetAppShare,
|
|
970
|
+
errors: [UnknownOvhError],
|
|
971
|
+
protocol: OvhProtocol,
|
|
972
|
+
retry: Retry.Retry,
|
|
973
|
+
}));
|
|
974
|
+
/** Update a snapshot */
|
|
975
|
+
export const putStorageNetappShareSnapshot = /*@__PURE__*/ API.make(() => ({
|
|
976
|
+
input: PutStorageNetappShareSnapshotRequest,
|
|
977
|
+
output: StorageNetAppShareSnapshot,
|
|
978
|
+
errors: [UnknownOvhError],
|
|
979
|
+
protocol: OvhProtocol,
|
|
980
|
+
retry: Retry.Retry,
|
|
981
|
+
}));
|
|
982
|
+
/** Update snapshot policy used by a share */
|
|
983
|
+
export const putStorageNetappShareSnapshotPolicy = /*@__PURE__*/ API.make(() => ({
|
|
984
|
+
input: PutStorageNetappShareSnapshotPolicyRequest,
|
|
985
|
+
output: PutStorageNetappShareSnapshotPolicyResponse,
|
|
986
|
+
errors: [UnknownOvhError],
|
|
987
|
+
protocol: OvhProtocol,
|
|
988
|
+
retry: Retry.Retry,
|
|
989
|
+
}));
|
|
990
|
+
/** Update snapshot reserve properties of a share */
|
|
991
|
+
export const putStorageNetappShareSnapshotReserve = /*@__PURE__*/ API.make(() => ({
|
|
992
|
+
input: PutStorageNetappShareSnapshotReserveRequest,
|
|
993
|
+
output: PutStorageNetappShareSnapshotReserveResponse,
|
|
994
|
+
errors: [UnknownOvhError],
|
|
995
|
+
protocol: OvhProtocol,
|
|
996
|
+
retry: Retry.Retry,
|
|
997
|
+
}));
|
|
998
|
+
/** Update a snapshot policy */
|
|
999
|
+
export const putStorageNetappSnapshotPolicy = /*@__PURE__*/ API.make(() => ({
|
|
1000
|
+
input: PutStorageNetappSnapshotPolicyRequest,
|
|
1001
|
+
output: PutStorageNetappSnapshotPolicyResponse,
|
|
1002
|
+
errors: [UnknownOvhError],
|
|
1003
|
+
protocol: OvhProtocol,
|
|
1004
|
+
retry: Retry.Retry,
|
|
1005
|
+
}));
|
|
1006
|
+
/** Create a share */
|
|
1007
|
+
export const shareStorageNetapp = /*@__PURE__*/ API.make(() => ({
|
|
1008
|
+
input: ShareStorageNetappRequest,
|
|
1009
|
+
output: StorageNetAppShare,
|
|
1010
|
+
errors: [UnknownOvhError],
|
|
1011
|
+
protocol: OvhProtocol,
|
|
1012
|
+
retry: Retry.Retry,
|
|
1013
|
+
}));
|
|
1014
|
+
/** Ask for the termination of your service */
|
|
1015
|
+
export const terminateStorageNetapp = /*@__PURE__*/ API.make(() => ({
|
|
1016
|
+
input: TerminateStorageNetappRequest,
|
|
1017
|
+
output: TerminateStorageNetappResponse,
|
|
1018
|
+
errors: [UnknownOvhError],
|
|
1019
|
+
protocol: OvhProtocol,
|
|
1020
|
+
retry: Retry.Retry,
|
|
1021
|
+
}));
|
|
1022
|
+
//# sourceMappingURL=storagenetapp.js.map
|