@fi-ts/api 0.0.0-pr.30.a7e451ee → 0.0.0-pr.32.c2dd3ad0

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.
@@ -46,12 +46,6 @@ export type DomainServiceListRequest = Message<"fits.api.mvm.v1.DomainServiceLis
46
46
  * @generated from field: string tenant = 1;
47
47
  */
48
48
  tenant: string;
49
- /**
50
- * Filter the listed domains by location (the FCE datacenter ID). A domain is only available in some datacenters.
51
- *
52
- * @generated from field: string location_uuid = 2;
53
- */
54
- locationUuid: string;
55
49
  };
56
50
  /**
57
51
  * Describes the message fits.api.mvm.v1.DomainServiceListRequest.
@@ -83,7 +77,7 @@ export declare const DomainServiceListResponseSchema: GenMessage<DomainServiceLi
83
77
  */
84
78
  export declare const DomainService: GenService<{
85
79
  /**
86
- * Returns a list of all Windows domains available for a tenant in a location.
80
+ * Returns a list of all Windows domains available for a tenant.
87
81
  *
88
82
  * @generated from rpc fits.api.mvm.v1.DomainService.List
89
83
  */
@@ -8,7 +8,7 @@ import { file_fits_api_v1_predefined_rules } from "../../v1/predefined_rules_pb.
8
8
  /**
9
9
  * Describes the file fits/api/mvm/v1/domain.proto.
10
10
  */
11
- export const file_fits_api_mvm_v1_domain = /*@__PURE__*/ fileDesc("ChxmaXRzL2FwaS9tdm0vdjEvZG9tYWluLnByb3RvEg9maXRzLmFwaS5tdm0udjEiWAoGRG9tYWluEhYKBHV1aWQYASABKAlCCLpIBXIDsAEBEhkKBGZxZG4YAiABKAlCC7pICHIGwLOusQIBEhsKBnRlbmFudBgDIAEoCUILukgIcgbAs66xAgEiWAoYRG9tYWluU2VydmljZUxpc3RSZXF1ZXN0EhsKBnRlbmFudBgBIAEoCUILukgIcgbAs66xAgESHwoNbG9jYXRpb25fdXVpZBgCIAEoCUIIukgFcgOwAQEiRQoZRG9tYWluU2VydmljZUxpc3RSZXNwb25zZRIoCgdkb21haW5zGAEgAygLMhcuZml0cy5hcGkubXZtLnYxLkRvbWFpbjJ7Cg1Eb21haW5TZXJ2aWNlEmoKBExpc3QSKS5maXRzLmFwaS5tdm0udjEuRG9tYWluU2VydmljZUxpc3RSZXF1ZXN0GiouZml0cy5hcGkubXZtLnYxLkRvbWFpblNlcnZpY2VMaXN0UmVzcG9uc2UiC8LzGAMBAgPg8xgCQrABChNjb20uZml0cy5hcGkubXZtLnYxQgtEb21haW5Qcm90b1ABWi1naXRodWIuY29tL2ZpLXRzL2FwaS9nby9maXRzL2FwaS9tdm0vdjE7bXZtdjGiAgNGQU2qAg9GaXRzLkFwaS5Ndm0uVjHKAg9GaXRzXEFwaVxNdm1cVjHiAhtGaXRzXEFwaVxNdm1cVjFcR1BCTWV0YWRhdGHqAhJGaXRzOjpBcGk6Ok12bTo6VjFiBnByb3RvMw", [file_buf_validate_validate, file_fits_api_v1_common, file_fits_api_v1_predefined_rules]);
11
+ export const file_fits_api_mvm_v1_domain = /*@__PURE__*/ fileDesc("ChxmaXRzL2FwaS9tdm0vdjEvZG9tYWluLnByb3RvEg9maXRzLmFwaS5tdm0udjEiWAoGRG9tYWluEhYKBHV1aWQYASABKAlCCLpIBXIDsAEBEhkKBGZxZG4YAiABKAlCC7pICHIGwLOusQIBEhsKBnRlbmFudBgDIAEoCUILukgIcgbAs66xAgEiNwoYRG9tYWluU2VydmljZUxpc3RSZXF1ZXN0EhsKBnRlbmFudBgBIAEoCUILukgIcgbAs66xAgEiRQoZRG9tYWluU2VydmljZUxpc3RSZXNwb25zZRIoCgdkb21haW5zGAEgAygLMhcuZml0cy5hcGkubXZtLnYxLkRvbWFpbjJ7Cg1Eb21haW5TZXJ2aWNlEmoKBExpc3QSKS5maXRzLmFwaS5tdm0udjEuRG9tYWluU2VydmljZUxpc3RSZXF1ZXN0GiouZml0cy5hcGkubXZtLnYxLkRvbWFpblNlcnZpY2VMaXN0UmVzcG9uc2UiC8LzGAMBAgPg8xgCQrABChNjb20uZml0cy5hcGkubXZtLnYxQgtEb21haW5Qcm90b1ABWi1naXRodWIuY29tL2ZpLXRzL2FwaS9nby9maXRzL2FwaS9tdm0vdjE7bXZtdjGiAgNGQU2qAg9GaXRzLkFwaS5Ndm0uVjHKAg9GaXRzXEFwaVxNdm1cVjHiAhtGaXRzXEFwaVxNdm1cVjFcR1BCTWV0YWRhdGHqAhJGaXRzOjpBcGk6Ok12bTo6VjFiBnByb3RvMw", [file_buf_validate_validate, file_fits_api_v1_common, file_fits_api_v1_predefined_rules]);
12
12
  /**
13
13
  * Describes the message fits.api.mvm.v1.Domain.
14
14
  * Use `create(DomainSchema)` to create a new message.
@@ -13,7 +13,7 @@ import type { Message } from "@bufbuild/protobuf";
13
13
  * Describes the file fits/api/mvm/v1/domain.proto.
14
14
  */
15
15
  export const file_fits_api_mvm_v1_domain: GenFile = /*@__PURE__*/
16
- fileDesc("ChxmaXRzL2FwaS9tdm0vdjEvZG9tYWluLnByb3RvEg9maXRzLmFwaS5tdm0udjEiWAoGRG9tYWluEhYKBHV1aWQYASABKAlCCLpIBXIDsAEBEhkKBGZxZG4YAiABKAlCC7pICHIGwLOusQIBEhsKBnRlbmFudBgDIAEoCUILukgIcgbAs66xAgEiWAoYRG9tYWluU2VydmljZUxpc3RSZXF1ZXN0EhsKBnRlbmFudBgBIAEoCUILukgIcgbAs66xAgESHwoNbG9jYXRpb25fdXVpZBgCIAEoCUIIukgFcgOwAQEiRQoZRG9tYWluU2VydmljZUxpc3RSZXNwb25zZRIoCgdkb21haW5zGAEgAygLMhcuZml0cy5hcGkubXZtLnYxLkRvbWFpbjJ7Cg1Eb21haW5TZXJ2aWNlEmoKBExpc3QSKS5maXRzLmFwaS5tdm0udjEuRG9tYWluU2VydmljZUxpc3RSZXF1ZXN0GiouZml0cy5hcGkubXZtLnYxLkRvbWFpblNlcnZpY2VMaXN0UmVzcG9uc2UiC8LzGAMBAgPg8xgCQrABChNjb20uZml0cy5hcGkubXZtLnYxQgtEb21haW5Qcm90b1ABWi1naXRodWIuY29tL2ZpLXRzL2FwaS9nby9maXRzL2FwaS9tdm0vdjE7bXZtdjGiAgNGQU2qAg9GaXRzLkFwaS5Ndm0uVjHKAg9GaXRzXEFwaVxNdm1cVjHiAhtGaXRzXEFwaVxNdm1cVjFcR1BCTWV0YWRhdGHqAhJGaXRzOjpBcGk6Ok12bTo6VjFiBnByb3RvMw", [file_buf_validate_validate, file_fits_api_v1_common, file_fits_api_v1_predefined_rules]);
16
+ fileDesc("ChxmaXRzL2FwaS9tdm0vdjEvZG9tYWluLnByb3RvEg9maXRzLmFwaS5tdm0udjEiWAoGRG9tYWluEhYKBHV1aWQYASABKAlCCLpIBXIDsAEBEhkKBGZxZG4YAiABKAlCC7pICHIGwLOusQIBEhsKBnRlbmFudBgDIAEoCUILukgIcgbAs66xAgEiNwoYRG9tYWluU2VydmljZUxpc3RSZXF1ZXN0EhsKBnRlbmFudBgBIAEoCUILukgIcgbAs66xAgEiRQoZRG9tYWluU2VydmljZUxpc3RSZXNwb25zZRIoCgdkb21haW5zGAEgAygLMhcuZml0cy5hcGkubXZtLnYxLkRvbWFpbjJ7Cg1Eb21haW5TZXJ2aWNlEmoKBExpc3QSKS5maXRzLmFwaS5tdm0udjEuRG9tYWluU2VydmljZUxpc3RSZXF1ZXN0GiouZml0cy5hcGkubXZtLnYxLkRvbWFpblNlcnZpY2VMaXN0UmVzcG9uc2UiC8LzGAMBAgPg8xgCQrABChNjb20uZml0cy5hcGkubXZtLnYxQgtEb21haW5Qcm90b1ABWi1naXRodWIuY29tL2ZpLXRzL2FwaS9nby9maXRzL2FwaS9tdm0vdjE7bXZtdjGiAgNGQU2qAg9GaXRzLkFwaS5Ndm0uVjHKAg9GaXRzXEFwaVxNdm1cVjHiAhtGaXRzXEFwaVxNdm1cVjFcR1BCTWV0YWRhdGHqAhJGaXRzOjpBcGk6Ok12bTo6VjFiBnByb3RvMw", [file_buf_validate_validate, file_fits_api_v1_common, file_fits_api_v1_predefined_rules]);
17
17
 
18
18
  /**
19
19
  * Domain is a Windows domain a Windows MVM can join.
@@ -62,13 +62,6 @@ export type DomainServiceListRequest = Message<"fits.api.mvm.v1.DomainServiceLis
62
62
  * @generated from field: string tenant = 1;
63
63
  */
64
64
  tenant: string;
65
-
66
- /**
67
- * Filter the listed domains by location (the FCE datacenter ID). A domain is only available in some datacenters.
68
- *
69
- * @generated from field: string location_uuid = 2;
70
- */
71
- locationUuid: string;
72
65
  };
73
66
 
74
67
  /**
@@ -106,7 +99,7 @@ export const DomainServiceListResponseSchema: GenMessage<DomainServiceListRespon
106
99
  */
107
100
  export const DomainService: GenService<{
108
101
  /**
109
- * Returns a list of all Windows domains available for a tenant in a location.
102
+ * Returns a list of all Windows domains available for a tenant.
110
103
  *
111
104
  * @generated from rpc fits.api.mvm.v1.DomainService.List
112
105
  */
@@ -173,9 +173,7 @@ export type ManagedVM = Message<"fits.api.mvm.v1.ManagedVM"> & {
173
173
  */
174
174
  locationUuid: string;
175
175
  /**
176
- * UUID of the contact person responsible for this MVM.
177
- * TODO: open discussion with FCN (#23) on whether this becomes a dedicated
178
- * /contact endpoint.
176
+ * TODO: Contact UUID – not yet implemented; open discussion with FCN (#23).
179
177
  *
180
178
  * @generated from field: string contact_uuid = 8;
181
179
  */
@@ -194,6 +192,7 @@ export type ManagedVM = Message<"fits.api.mvm.v1.ManagedVM"> & {
194
192
  ram: number;
195
193
  /**
196
194
  * Whether backup is enabled.
195
+ * TODO: the upstream (nulink) list/get models do not expose this; always false.
197
196
  *
198
197
  * @generated from field: bool backup = 11;
199
198
  */
@@ -210,9 +210,7 @@ export type ManagedVM = Message<"fits.api.mvm.v1.ManagedVM"> & {
210
210
  locationUuid: string;
211
211
 
212
212
  /**
213
- * UUID of the contact person responsible for this MVM.
214
- * TODO: open discussion with FCN (#23) on whether this becomes a dedicated
215
- * /contact endpoint.
213
+ * TODO: Contact UUID – not yet implemented; open discussion with FCN (#23).
216
214
  *
217
215
  * @generated from field: string contact_uuid = 8;
218
216
  */
@@ -234,6 +232,7 @@ export type ManagedVM = Message<"fits.api.mvm.v1.ManagedVM"> & {
234
232
 
235
233
  /**
236
234
  * Whether backup is enabled.
235
+ * TODO: the upstream (nulink) list/get models do not expose this; always false.
237
236
  *
238
237
  * @generated from field: bool backup = 11;
239
238
  */
@@ -0,0 +1,537 @@
1
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
+ import type { Labels, Meta, Paging, UpdateLabels, UpdateMeta } from "../../v1/common_pb.js";
3
+ import type { Message } from "@bufbuild/protobuf";
4
+ /**
5
+ * Describes the file fits/api/vm/v1/vm.proto.
6
+ */
7
+ export declare const file_fits_api_vm_v1_vm: GenFile;
8
+ /**
9
+ * The VM resource.
10
+ *
11
+ * @generated from message fits.api.vm.v1.VM
12
+ */
13
+ export type VM = Message<"fits.api.vm.v1.VM"> & {
14
+ /**
15
+ * UUID of this VM.
16
+ *
17
+ * @generated from field: string uuid = 1;
18
+ */
19
+ uuid: string;
20
+ /**
21
+ * Metadata for this VM including labels.
22
+ *
23
+ * @generated from field: fits.api.v1.Meta meta = 2;
24
+ */
25
+ meta?: Meta | undefined;
26
+ /**
27
+ * Name of the VM.
28
+ *
29
+ * @generated from field: string name = 3;
30
+ */
31
+ name: string;
32
+ /**
33
+ * FQDN of the VM, derived from the name at creation or generated by the backend.
34
+ * Tenant this VM belongs to.
35
+ *
36
+ * @generated from field: string tenant = 4;
37
+ */
38
+ tenant: string;
39
+ /**
40
+ * UUID of the project this VM belongs to.
41
+ *
42
+ * @generated from field: string project_uuid = 5;
43
+ */
44
+ projectUuid: string;
45
+ /**
46
+ * Size of the VM.
47
+ *
48
+ * @generated from field: fits.api.vm.v1.Size size = 6;
49
+ */
50
+ size: Size;
51
+ /**
52
+ * The status of the VM.
53
+ *
54
+ * @generated from field: fits.api.vm.v1.Status status = 7;
55
+ */
56
+ status?: Status | undefined;
57
+ };
58
+ /**
59
+ * Describes the message fits.api.vm.v1.VM.
60
+ * Use `create(VMSchema)` to create a new message.
61
+ */
62
+ export declare const VMSchema: GenMessage<VM>;
63
+ /**
64
+ * The Status of a VM.
65
+ *
66
+ * @generated from message fits.api.vm.v1.Status
67
+ */
68
+ export type Status = Message<"fits.api.vm.v1.Status"> & {
69
+ /**
70
+ * The state of the VM status.
71
+ *
72
+ * @generated from field: fits.api.vm.v1.State state = 1;
73
+ */
74
+ state: State;
75
+ /**
76
+ * The info details of the current state.
77
+ *
78
+ * @generated from field: string info = 2;
79
+ */
80
+ info: string;
81
+ /**
82
+ * The current operation running on the VM.
83
+ *
84
+ * @generated from field: fits.api.vm.v1.Operation operation = 3;
85
+ */
86
+ operation: Operation;
87
+ };
88
+ /**
89
+ * Describes the message fits.api.vm.v1.Status.
90
+ * Use `create(StatusSchema)` to create a new message.
91
+ */
92
+ export declare const StatusSchema: GenMessage<Status>;
93
+ /**
94
+ * The VM query parameters to filter the list of results.
95
+ *
96
+ * @generated from message fits.api.vm.v1.VMQuery
97
+ */
98
+ export type VMQuery = Message<"fits.api.vm.v1.VMQuery"> & {
99
+ /**
100
+ * The name of the VMs.
101
+ *
102
+ * @generated from field: optional string name = 1;
103
+ */
104
+ name?: string | undefined;
105
+ /**
106
+ * The labels each VM should have.
107
+ *
108
+ * @generated from field: optional fits.api.v1.Labels labels = 2;
109
+ */
110
+ labels?: Labels | undefined;
111
+ };
112
+ /**
113
+ * Describes the message fits.api.vm.v1.VMQuery.
114
+ * Use `create(VMQuerySchema)` to create a new message.
115
+ */
116
+ export declare const VMQuerySchema: GenMessage<VMQuery>;
117
+ /**
118
+ * Request to get a VM by UUID.
119
+ *
120
+ * @generated from message fits.api.vm.v1.VMServiceGetRequest
121
+ */
122
+ export type VMServiceGetRequest = Message<"fits.api.vm.v1.VMServiceGetRequest"> & {
123
+ /**
124
+ * UUID of the VM to get.
125
+ *
126
+ * @generated from field: string uuid = 1;
127
+ */
128
+ uuid: string;
129
+ /**
130
+ * UUID of the project this VM belongs to.
131
+ *
132
+ * @generated from field: string project_uuid = 2;
133
+ */
134
+ projectUuid: string;
135
+ };
136
+ /**
137
+ * Describes the message fits.api.vm.v1.VMServiceGetRequest.
138
+ * Use `create(VMServiceGetRequestSchema)` to create a new message.
139
+ */
140
+ export declare const VMServiceGetRequestSchema: GenMessage<VMServiceGetRequest>;
141
+ /**
142
+ * Response containing the requested VM.
143
+ *
144
+ * @generated from message fits.api.vm.v1.VMServiceGetResponse
145
+ */
146
+ export type VMServiceGetResponse = Message<"fits.api.vm.v1.VMServiceGetResponse"> & {
147
+ /**
148
+ * The VM.
149
+ *
150
+ * @generated from field: fits.api.vm.v1.VM vm = 1;
151
+ */
152
+ vm?: VM | undefined;
153
+ };
154
+ /**
155
+ * Describes the message fits.api.vm.v1.VMServiceGetResponse.
156
+ * Use `create(VMServiceGetResponseSchema)` to create a new message.
157
+ */
158
+ export declare const VMServiceGetResponseSchema: GenMessage<VMServiceGetResponse>;
159
+ /**
160
+ * The request to create a new VM.
161
+ *
162
+ * @generated from message fits.api.vm.v1.VMServiceCreateRequest
163
+ */
164
+ export type VMServiceCreateRequest = Message<"fits.api.vm.v1.VMServiceCreateRequest"> & {
165
+ /**
166
+ * UUID of the project this VM belongs to.
167
+ *
168
+ * @generated from field: string project_uuid = 1;
169
+ */
170
+ projectUuid: string;
171
+ /**
172
+ * Name of the VM.
173
+ *
174
+ * @generated from field: string name = 2;
175
+ */
176
+ name: string;
177
+ /**
178
+ * Labels for this VM.
179
+ *
180
+ * @generated from field: fits.api.v1.Labels labels = 3;
181
+ */
182
+ labels?: Labels | undefined;
183
+ /**
184
+ * Size of the VM.
185
+ *
186
+ * @generated from field: fits.api.vm.v1.Size size = 4;
187
+ */
188
+ size: Size;
189
+ };
190
+ /**
191
+ * Describes the message fits.api.vm.v1.VMServiceCreateRequest.
192
+ * Use `create(VMServiceCreateRequestSchema)` to create a new message.
193
+ */
194
+ export declare const VMServiceCreateRequestSchema: GenMessage<VMServiceCreateRequest>;
195
+ /**
196
+ * The response when creating a new VM.
197
+ *
198
+ * @generated from message fits.api.vm.v1.VMServiceCreateResponse
199
+ */
200
+ export type VMServiceCreateResponse = Message<"fits.api.vm.v1.VMServiceCreateResponse"> & {
201
+ /**
202
+ * The VM just created.
203
+ *
204
+ * @generated from field: fits.api.vm.v1.VM vm = 1;
205
+ */
206
+ vm?: VM | undefined;
207
+ };
208
+ /**
209
+ * Describes the message fits.api.vm.v1.VMServiceCreateResponse.
210
+ * Use `create(VMServiceCreateResponseSchema)` to create a new message.
211
+ */
212
+ export declare const VMServiceCreateResponseSchema: GenMessage<VMServiceCreateResponse>;
213
+ /**
214
+ * The request to list and filter VMs.
215
+ *
216
+ * @generated from message fits.api.vm.v1.VMServiceListRequest
217
+ */
218
+ export type VMServiceListRequest = Message<"fits.api.vm.v1.VMServiceListRequest"> & {
219
+ /**
220
+ * UUID of the project this VM belongs to.
221
+ *
222
+ * @generated from field: string project_uuid = 1;
223
+ */
224
+ projectUuid: string;
225
+ /**
226
+ * Paging details for the list request.
227
+ *
228
+ * @generated from field: fits.api.v1.Paging paging = 2;
229
+ */
230
+ paging?: Paging | undefined;
231
+ /**
232
+ * Query defines how to filter the VMs.
233
+ *
234
+ * @generated from field: fits.api.vm.v1.VMQuery query = 3;
235
+ */
236
+ query?: VMQuery | undefined;
237
+ };
238
+ /**
239
+ * Describes the message fits.api.vm.v1.VMServiceListRequest.
240
+ * Use `create(VMServiceListRequestSchema)` to create a new message.
241
+ */
242
+ export declare const VMServiceListRequestSchema: GenMessage<VMServiceListRequest>;
243
+ /**
244
+ * The response when listing VMs.
245
+ *
246
+ * @generated from message fits.api.vm.v1.VMServiceListResponse
247
+ */
248
+ export type VMServiceListResponse = Message<"fits.api.vm.v1.VMServiceListResponse"> & {
249
+ /**
250
+ * VMs is a list of filtered VMs resources.
251
+ *
252
+ * @generated from field: repeated fits.api.vm.v1.VM vms = 1;
253
+ */
254
+ vms: VM[];
255
+ };
256
+ /**
257
+ * Describes the message fits.api.vm.v1.VMServiceListResponse.
258
+ * Use `create(VMServiceListResponseSchema)` to create a new message.
259
+ */
260
+ export declare const VMServiceListResponseSchema: GenMessage<VMServiceListResponse>;
261
+ /**
262
+ * The request to update a VM.
263
+ *
264
+ * @generated from message fits.api.vm.v1.VMServiceUpdateRequest
265
+ */
266
+ export type VMServiceUpdateRequest = Message<"fits.api.vm.v1.VMServiceUpdateRequest"> & {
267
+ /**
268
+ * UUID of the VM to update.
269
+ *
270
+ * @generated from field: string uuid = 1;
271
+ */
272
+ uuid: string;
273
+ /**
274
+ * UUID of the project this VM belongs to.
275
+ *
276
+ * @generated from field: string project_uuid = 2;
277
+ */
278
+ projectUuid: string;
279
+ /**
280
+ * UpdateMeta contains the timestamp and strategy to be used in this update request.
281
+ *
282
+ * @generated from field: fits.api.v1.UpdateMeta update_meta = 3;
283
+ */
284
+ updateMeta?: UpdateMeta | undefined;
285
+ /**
286
+ * The labels to update.
287
+ *
288
+ * @generated from field: optional fits.api.v1.UpdateLabels labels = 4;
289
+ */
290
+ labels?: UpdateLabels | undefined;
291
+ /**
292
+ * Name of the VM.
293
+ *
294
+ * @generated from field: optional string name = 5;
295
+ */
296
+ name?: string | undefined;
297
+ /**
298
+ * Size of the VM. The new size must be bigger or equal than before.
299
+ * Downgrades are not possible.
300
+ *
301
+ * @generated from field: optional fits.api.vm.v1.Size size = 6;
302
+ */
303
+ size?: Size | undefined;
304
+ };
305
+ /**
306
+ * Describes the message fits.api.vm.v1.VMServiceUpdateRequest.
307
+ * Use `create(VMServiceUpdateRequestSchema)` to create a new message.
308
+ */
309
+ export declare const VMServiceUpdateRequestSchema: GenMessage<VMServiceUpdateRequest>;
310
+ /**
311
+ * The response when updating a VM.
312
+ *
313
+ * @generated from message fits.api.vm.v1.VMServiceUpdateResponse
314
+ */
315
+ export type VMServiceUpdateResponse = Message<"fits.api.vm.v1.VMServiceUpdateResponse"> & {
316
+ /**
317
+ * The updated VM.
318
+ *
319
+ * @generated from field: fits.api.vm.v1.VM vm = 1;
320
+ */
321
+ vm?: VM | undefined;
322
+ };
323
+ /**
324
+ * Describes the message fits.api.vm.v1.VMServiceUpdateResponse.
325
+ * Use `create(VMServiceUpdateResponseSchema)` to create a new message.
326
+ */
327
+ export declare const VMServiceUpdateResponseSchema: GenMessage<VMServiceUpdateResponse>;
328
+ /**
329
+ * The request to delete a VM.
330
+ *
331
+ * @generated from message fits.api.vm.v1.VMServiceDeleteRequest
332
+ */
333
+ export type VMServiceDeleteRequest = Message<"fits.api.vm.v1.VMServiceDeleteRequest"> & {
334
+ /**
335
+ * UUID of the VM to delete.
336
+ *
337
+ * @generated from field: string uuid = 1;
338
+ */
339
+ uuid: string;
340
+ /**
341
+ * UUID of the project this VM belongs to.
342
+ *
343
+ * @generated from field: string project_uuid = 2;
344
+ */
345
+ projectUuid: string;
346
+ };
347
+ /**
348
+ * Describes the message fits.api.vm.v1.VMServiceDeleteRequest.
349
+ * Use `create(VMServiceDeleteRequestSchema)` to create a new message.
350
+ */
351
+ export declare const VMServiceDeleteRequestSchema: GenMessage<VMServiceDeleteRequest>;
352
+ /**
353
+ * The response after deleting a VM.
354
+ * The VM is deleted immediately will not be able to be requested.
355
+ *
356
+ * @generated from message fits.api.vm.v1.VMServiceDeleteResponse
357
+ */
358
+ export type VMServiceDeleteResponse = Message<"fits.api.vm.v1.VMServiceDeleteResponse"> & {};
359
+ /**
360
+ * Describes the message fits.api.vm.v1.VMServiceDeleteResponse.
361
+ * Use `create(VMServiceDeleteResponseSchema)` to create a new message.
362
+ */
363
+ export declare const VMServiceDeleteResponseSchema: GenMessage<VMServiceDeleteResponse>;
364
+ /**
365
+ * The health state of the VM.
366
+ *
367
+ * @generated from enum fits.api.vm.v1.State
368
+ */
369
+ export declare enum State {
370
+ /**
371
+ * STATE_UNSPECIFIED is not specified.
372
+ *
373
+ * @generated from enum value: STATE_UNSPECIFIED = 0;
374
+ */
375
+ UNSPECIFIED = 0,
376
+ /**
377
+ * STATE_HEALTHY: the VM is healthy.
378
+ *
379
+ * @generated from enum value: STATE_HEALTHY = 1;
380
+ */
381
+ HEALTHY = 1,
382
+ /**
383
+ * STATE_HEALTHY: there are some health warnings for this VM.
384
+ *
385
+ * @generated from enum value: STATE_WARNING = 2;
386
+ */
387
+ WARNING = 2,
388
+ /**
389
+ * STATE_ERROR: the VM is unhealthy.
390
+ *
391
+ * @generated from enum value: STATE_ERROR = 3;
392
+ */
393
+ ERROR = 3
394
+ }
395
+ /**
396
+ * Describes the enum fits.api.vm.v1.State.
397
+ */
398
+ export declare const StateSchema: GenEnum<State>;
399
+ /**
400
+ * The operation of the VM.
401
+ *
402
+ * @generated from enum fits.api.vm.v1.Operation
403
+ */
404
+ export declare enum Operation {
405
+ /**
406
+ * OPERATION_UNSPECIFIED is not specified.
407
+ *
408
+ * @generated from enum value: OPERATION_UNSPECIFIED = 0;
409
+ */
410
+ UNSPECIFIED = 0,
411
+ /**
412
+ * OPERATION_CREATING: the VM hostname is reserved and provisioning has started.
413
+ *
414
+ * @generated from enum value: OPERATION_CREATING = 1;
415
+ */
416
+ CREATING = 1,
417
+ /**
418
+ * OPERATION_ACTIVE: the VM is active.
419
+ *
420
+ * @generated from enum value: OPERATION_ACTIVE = 2;
421
+ */
422
+ ACTIVE = 2,
423
+ /**
424
+ * OPERATION_UPDATING: there is an ongoing operation for the VM.
425
+ *
426
+ * @generated from enum value: OPERATION_UPDATING = 3;
427
+ */
428
+ UPDATING = 3,
429
+ /**
430
+ * OPERATION_DELETED: the VM is deleted.
431
+ *
432
+ * @generated from enum value: OPERATION_DELETED = 4;
433
+ */
434
+ DELETED = 4,
435
+ /**
436
+ * OPERATION_ERROR: the
437
+ *
438
+ * @generated from enum value: OPERATION_ERROR = 5;
439
+ */
440
+ ERROR = 5
441
+ }
442
+ /**
443
+ * Describes the enum fits.api.vm.v1.Operation.
444
+ */
445
+ export declare const OperationSchema: GenEnum<Operation>;
446
+ /**
447
+ * Size specifies the size of the VM machine
448
+ *
449
+ * @generated from enum fits.api.vm.v1.Size
450
+ */
451
+ export declare enum Size {
452
+ /**
453
+ * SIZE_UNSPECIFIED is not specified.
454
+ *
455
+ * @generated from enum value: SIZE_UNSPECIFIED = 0;
456
+ */
457
+ UNSPECIFIED = 0,
458
+ /**
459
+ * SIZE_SMALL: small machine size.
460
+ *
461
+ * @generated from enum value: SIZE_SMALL = 1;
462
+ */
463
+ SMALL = 1,
464
+ /**
465
+ * SIZE_MEDIUM: medium machine size.
466
+ *
467
+ * @generated from enum value: SIZE_MEDIUM = 2;
468
+ */
469
+ MEDIUM = 2,
470
+ /**
471
+ * SIZE_LARGE: large machine size.
472
+ *
473
+ * @generated from enum value: SIZE_LARGE = 3;
474
+ */
475
+ LARGE = 3
476
+ }
477
+ /**
478
+ * Describes the enum fits.api.vm.v1.Size.
479
+ */
480
+ export declare const SizeSchema: GenEnum<Size>;
481
+ /**
482
+ * VMService provides VM operations.
483
+ *
484
+ * @generated from service fits.api.vm.v1.VMService
485
+ */
486
+ export declare const VMService: GenService<{
487
+ /**
488
+ * Returns the VM with the specified UUID.
489
+ *
490
+ * @generated from rpc fits.api.vm.v1.VMService.Get
491
+ */
492
+ get: {
493
+ methodKind: "unary";
494
+ input: typeof VMServiceGetRequestSchema;
495
+ output: typeof VMServiceGetResponseSchema;
496
+ };
497
+ /**
498
+ * Creates a new VM.
499
+ *
500
+ * @generated from rpc fits.api.vm.v1.VMService.Create
501
+ */
502
+ create: {
503
+ methodKind: "unary";
504
+ input: typeof VMServiceCreateRequestSchema;
505
+ output: typeof VMServiceCreateResponseSchema;
506
+ };
507
+ /**
508
+ * Returns the list of all VMs.
509
+ *
510
+ * @generated from rpc fits.api.vm.v1.VMService.List
511
+ */
512
+ list: {
513
+ methodKind: "unary";
514
+ input: typeof VMServiceListRequestSchema;
515
+ output: typeof VMServiceListResponseSchema;
516
+ };
517
+ /**
518
+ * Updates a VM.
519
+ *
520
+ * @generated from rpc fits.api.vm.v1.VMService.Update
521
+ */
522
+ update: {
523
+ methodKind: "unary";
524
+ input: typeof VMServiceUpdateRequestSchema;
525
+ output: typeof VMServiceUpdateResponseSchema;
526
+ };
527
+ /**
528
+ * Deletes a VM immediately.
529
+ *
530
+ * @generated from rpc fits.api.vm.v1.VMService.Delete
531
+ */
532
+ delete: {
533
+ methodKind: "unary";
534
+ input: typeof VMServiceDeleteRequestSchema;
535
+ output: typeof VMServiceDeleteResponseSchema;
536
+ };
537
+ }>;