@fi-ts/api 0.0.0-pr.32.c2dd3ad0 → 0.0.0-pr.33.31f82e72
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/fits/api/mvm/v1/domain_pb.d.ts +7 -1
- package/fits/api/mvm/v1/domain_pb.js +1 -1
- package/fits/api/mvm/v1/domain_pb.ts +9 -2
- package/fits/api/mvm/v1/mvm_pb.d.ts +50 -38
- package/fits/api/mvm/v1/mvm_pb.js +64 -59
- package/fits/api/mvm/v1/mvm_pb.ts +88 -73
- package/fits/api/mvm/v1/vlan_pb.d.ts +23 -5
- package/fits/api/mvm/v1/vlan_pb.js +8 -3
- package/fits/api/mvm/v1/vlan_pb.ts +29 -8
- package/fits/api/pcvm/v1/pcvm_pb.d.ts +612 -0
- package/fits/api/pcvm/v1/pcvm_pb.js +222 -0
- package/fits/api/pcvm/v1/pcvm_pb.ts +720 -0
- package/fits/api/v1/common_pb.d.ts +134 -0
- package/fits/api/v1/common_pb.js +95 -10
- package/fits/api/v1/common_pb.ts +162 -10
- package/fits/api/v1/method_pb.d.ts +7 -1
- package/fits/api/v1/method_pb.js +1 -1
- package/fits/api/v1/method_pb.ts +9 -2
- package/fits/api/v1/token_pb.d.ts +7 -1
- package/fits/api/v1/token_pb.js +1 -1
- package/fits/api/v1/token_pb.ts +9 -2
- package/package.json +1 -1
- package/fits/api/v1/ip_pb.d.ts +0 -549
- package/fits/api/v1/ip_pb.js +0 -137
- package/fits/api/v1/ip_pb.ts +0 -643
- package/fits/api/vm/v1/vm_pb.d.ts +0 -537
- package/fits/api/vm/v1/vm_pb.js +0 -202
- package/fits/api/vm/v1/vm_pb.ts +0 -631
|
@@ -13,7 +13,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
13
13
|
* Describes the file fits/api/mvm/v1/vlan.proto.
|
|
14
14
|
*/
|
|
15
15
|
export const file_fits_api_mvm_v1_vlan: GenFile = /*@__PURE__*/
|
|
16
|
-
fileDesc("
|
|
16
|
+
fileDesc("ChpmaXRzL2FwaS9tdm0vdjEvdmxhbi5wcm90bxIPZml0cy5hcGkubXZtLnYxIuYBCgRWTEFOEhYKBHV1aWQYASABKAlCCLpIBXIDsAEBEg8KB3ZsYW5faWQYAiABKAUSIQoMc3VibmV0X3RpdGxlGAMgASgJQgu6SAhyBsCzrrECARIgCgtzdWJuZXRfY2lkchgEIAEoCUILukgIcgaAtK6xAgESHwoNbG9jYXRpb25fdXVpZBgFIAEoCUIIukgFcgOwAQESGwoGdGVuYW50GAYgASgJQgu6SAhyBsCzrrECARIiCgtkb21haW5fdXVpZBgHIAEoCUIIukgFcgOwAQFIAIgBAUIOCgxfZG9tYWluX3V1aWQiPwoJVkxBTlF1ZXJ5EiIKC2RvbWFpbl91dWlkGAEgASgJQgi6SAVyA7ABAUgAiAEBQg4KDF9kb21haW5fdXVpZCKBAQoWVkxBTlNlcnZpY2VMaXN0UmVxdWVzdBIbCgZ0ZW5hbnQYASABKAlCC7pICHIGwLOusQIBEh8KDWxvY2F0aW9uX3V1aWQYAiABKAlCCLpIBXIDsAEBEikKBXF1ZXJ5GAMgASgLMhouZml0cy5hcGkubXZtLnYxLlZMQU5RdWVyeSI/ChdWTEFOU2VydmljZUxpc3RSZXNwb25zZRIkCgV2bGFucxgBIAMoCzIVLmZpdHMuYXBpLm12bS52MS5WTEFOMnUKC1ZMQU5TZXJ2aWNlEmYKBExpc3QSJy5maXRzLmFwaS5tdm0udjEuVkxBTlNlcnZpY2VMaXN0UmVxdWVzdBooLmZpdHMuYXBpLm12bS52MS5WTEFOU2VydmljZUxpc3RSZXNwb25zZSILwvMYAwECA+DzGAJCrgEKE2NvbS5maXRzLmFwaS5tdm0udjFCCVZsYW5Qcm90b1ABWi1naXRodWIuY29tL2ZpLXRzL2FwaS9nby9maXRzL2FwaS9tdm0vdjE7bXZtdjGiAgNGQU2qAg9GaXRzLkFwaS5Ndm0uVjHKAg9GaXRzXEFwaVxNdm1cVjHiAhtGaXRzXEFwaVxNdm1cVjFcR1BCTWV0YWRhdGHqAhJGaXRzOjpBcGk6Ok12bTo6VjFiBnByb3RvMw", [file_buf_validate_validate, file_fits_api_v1_common, file_fits_api_v1_predefined_rules]);
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* VLAN is a VLAN that a MVM can be connected to.
|
|
@@ -50,7 +50,7 @@ export type VLAN = Message<"fits.api.mvm.v1.VLAN"> & {
|
|
|
50
50
|
subnetCidr: string;
|
|
51
51
|
|
|
52
52
|
/**
|
|
53
|
-
* UUID of the location this VLAN belongs to.
|
|
53
|
+
* UUID of the location this VLAN belongs to.
|
|
54
54
|
*
|
|
55
55
|
* @generated from field: string location_uuid = 5;
|
|
56
56
|
*/
|
|
@@ -78,6 +78,27 @@ export type VLAN = Message<"fits.api.mvm.v1.VLAN"> & {
|
|
|
78
78
|
export const VLANSchema: GenMessage<VLAN> = /*@__PURE__*/
|
|
79
79
|
messageDesc(file_fits_api_mvm_v1_vlan, 0);
|
|
80
80
|
|
|
81
|
+
/**
|
|
82
|
+
* VLANQuery contains fields which can be specified to list specific VLANs.
|
|
83
|
+
*
|
|
84
|
+
* @generated from message fits.api.mvm.v1.VLANQuery
|
|
85
|
+
*/
|
|
86
|
+
export type VLANQuery = Message<"fits.api.mvm.v1.VLANQuery"> & {
|
|
87
|
+
/**
|
|
88
|
+
* Filter the listed VLANs by the Windows domain they are associated with.
|
|
89
|
+
*
|
|
90
|
+
* @generated from field: optional string domain_uuid = 1;
|
|
91
|
+
*/
|
|
92
|
+
domainUuid?: string | undefined;
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Describes the message fits.api.mvm.v1.VLANQuery.
|
|
97
|
+
* Use `create(VLANQuerySchema)` to create a new message.
|
|
98
|
+
*/
|
|
99
|
+
export const VLANQuerySchema: GenMessage<VLANQuery> = /*@__PURE__*/
|
|
100
|
+
messageDesc(file_fits_api_mvm_v1_vlan, 1);
|
|
101
|
+
|
|
81
102
|
/**
|
|
82
103
|
* VLANServiceListRequest is the request payload for a VLAN list request.
|
|
83
104
|
*
|
|
@@ -92,18 +113,18 @@ export type VLANServiceListRequest = Message<"fits.api.mvm.v1.VLANServiceListReq
|
|
|
92
113
|
tenant: string;
|
|
93
114
|
|
|
94
115
|
/**
|
|
95
|
-
* Filter the listed VLANs by location
|
|
116
|
+
* Filter the listed VLANs by location.
|
|
96
117
|
*
|
|
97
118
|
* @generated from field: string location_uuid = 2;
|
|
98
119
|
*/
|
|
99
120
|
locationUuid: string;
|
|
100
121
|
|
|
101
122
|
/**
|
|
102
|
-
*
|
|
123
|
+
* Query to list one or more VLANs.
|
|
103
124
|
*
|
|
104
|
-
* @generated from field:
|
|
125
|
+
* @generated from field: fits.api.mvm.v1.VLANQuery query = 3;
|
|
105
126
|
*/
|
|
106
|
-
|
|
127
|
+
query?: VLANQuery | undefined;
|
|
107
128
|
};
|
|
108
129
|
|
|
109
130
|
/**
|
|
@@ -111,7 +132,7 @@ export type VLANServiceListRequest = Message<"fits.api.mvm.v1.VLANServiceListReq
|
|
|
111
132
|
* Use `create(VLANServiceListRequestSchema)` to create a new message.
|
|
112
133
|
*/
|
|
113
134
|
export const VLANServiceListRequestSchema: GenMessage<VLANServiceListRequest> = /*@__PURE__*/
|
|
114
|
-
messageDesc(file_fits_api_mvm_v1_vlan,
|
|
135
|
+
messageDesc(file_fits_api_mvm_v1_vlan, 2);
|
|
115
136
|
|
|
116
137
|
/**
|
|
117
138
|
* VLANServiceListResponse is the response payload for a VLAN list request.
|
|
@@ -132,7 +153,7 @@ export type VLANServiceListResponse = Message<"fits.api.mvm.v1.VLANServiceListRe
|
|
|
132
153
|
* Use `create(VLANServiceListResponseSchema)` to create a new message.
|
|
133
154
|
*/
|
|
134
155
|
export const VLANServiceListResponseSchema: GenMessage<VLANServiceListResponse> = /*@__PURE__*/
|
|
135
|
-
messageDesc(file_fits_api_mvm_v1_vlan,
|
|
156
|
+
messageDesc(file_fits_api_mvm_v1_vlan, 3);
|
|
136
157
|
|
|
137
158
|
/**
|
|
138
159
|
* VLANService lists VLANs available for managed VM (MVM) instances.
|
|
@@ -0,0 +1,612 @@
|
|
|
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/pcvm/v1/pcvm.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_fits_api_pcvm_v1_pcvm: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* The VM resource.
|
|
10
|
+
*
|
|
11
|
+
* @generated from message fits.api.pcvm.v1.PublicCloudVM
|
|
12
|
+
*/
|
|
13
|
+
export type PublicCloudVM = Message<"fits.api.pcvm.v1.PublicCloudVM"> & {
|
|
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
|
+
* Tenant this VM belongs to.
|
|
34
|
+
*
|
|
35
|
+
* @generated from field: string tenant = 4;
|
|
36
|
+
*/
|
|
37
|
+
tenant: string;
|
|
38
|
+
/**
|
|
39
|
+
* UUID of the project this VM belongs to.
|
|
40
|
+
*
|
|
41
|
+
* @generated from field: string project_uuid = 5;
|
|
42
|
+
*/
|
|
43
|
+
projectUuid: string;
|
|
44
|
+
/**
|
|
45
|
+
* Size of the VM.
|
|
46
|
+
*
|
|
47
|
+
* @generated from field: fits.api.pcvm.v1.Size size = 6;
|
|
48
|
+
*/
|
|
49
|
+
size: Size;
|
|
50
|
+
/**
|
|
51
|
+
* The status of the VM.
|
|
52
|
+
*
|
|
53
|
+
* @generated from field: fits.api.pcvm.v1.Status status = 7;
|
|
54
|
+
*/
|
|
55
|
+
status?: Status | undefined;
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* Describes the message fits.api.pcvm.v1.PublicCloudVM.
|
|
59
|
+
* Use `create(PublicCloudVMSchema)` to create a new message.
|
|
60
|
+
*/
|
|
61
|
+
export declare const PublicCloudVMSchema: GenMessage<PublicCloudVM>;
|
|
62
|
+
/**
|
|
63
|
+
* The Status of a VM.
|
|
64
|
+
*
|
|
65
|
+
* @generated from message fits.api.pcvm.v1.Status
|
|
66
|
+
*/
|
|
67
|
+
export type Status = Message<"fits.api.pcvm.v1.Status"> & {
|
|
68
|
+
/**
|
|
69
|
+
* The state of the VM status.
|
|
70
|
+
*
|
|
71
|
+
* @generated from field: fits.api.pcvm.v1.State state = 1;
|
|
72
|
+
*/
|
|
73
|
+
state: State;
|
|
74
|
+
/**
|
|
75
|
+
* The info details of the current state.
|
|
76
|
+
*
|
|
77
|
+
* @generated from field: string info = 2;
|
|
78
|
+
*/
|
|
79
|
+
info: string;
|
|
80
|
+
/**
|
|
81
|
+
* The current operation running on the VM.
|
|
82
|
+
*
|
|
83
|
+
* @generated from field: fits.api.pcvm.v1.Operation operation = 3;
|
|
84
|
+
*/
|
|
85
|
+
operation: Operation;
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
* Describes the message fits.api.pcvm.v1.Status.
|
|
89
|
+
* Use `create(StatusSchema)` to create a new message.
|
|
90
|
+
*/
|
|
91
|
+
export declare const StatusSchema: GenMessage<Status>;
|
|
92
|
+
/**
|
|
93
|
+
* The VM query parameters to filter the list of results.
|
|
94
|
+
*
|
|
95
|
+
* @generated from message fits.api.pcvm.v1.PublicCloudVMQuery
|
|
96
|
+
*/
|
|
97
|
+
export type PublicCloudVMQuery = Message<"fits.api.pcvm.v1.PublicCloudVMQuery"> & {
|
|
98
|
+
/**
|
|
99
|
+
* The name of the VMs.
|
|
100
|
+
*
|
|
101
|
+
* @generated from field: optional string name = 1;
|
|
102
|
+
*/
|
|
103
|
+
name?: string | undefined;
|
|
104
|
+
/**
|
|
105
|
+
* The labels each VM should have.
|
|
106
|
+
*
|
|
107
|
+
* @generated from field: optional fits.api.v1.Labels labels = 2;
|
|
108
|
+
*/
|
|
109
|
+
labels?: Labels | undefined;
|
|
110
|
+
};
|
|
111
|
+
/**
|
|
112
|
+
* Describes the message fits.api.pcvm.v1.PublicCloudVMQuery.
|
|
113
|
+
* Use `create(PublicCloudVMQuerySchema)` to create a new message.
|
|
114
|
+
*/
|
|
115
|
+
export declare const PublicCloudVMQuerySchema: GenMessage<PublicCloudVMQuery>;
|
|
116
|
+
/**
|
|
117
|
+
* Request to get a VM by UUID.
|
|
118
|
+
*
|
|
119
|
+
* @generated from message fits.api.pcvm.v1.PublicCloudVMServiceGetRequest
|
|
120
|
+
*/
|
|
121
|
+
export type PublicCloudVMServiceGetRequest = Message<"fits.api.pcvm.v1.PublicCloudVMServiceGetRequest"> & {
|
|
122
|
+
/**
|
|
123
|
+
* UUID of the VM to get.
|
|
124
|
+
*
|
|
125
|
+
* @generated from field: string uuid = 1;
|
|
126
|
+
*/
|
|
127
|
+
uuid: string;
|
|
128
|
+
/**
|
|
129
|
+
* UUID of the project this VM belongs to.
|
|
130
|
+
*
|
|
131
|
+
* @generated from field: string project_uuid = 2;
|
|
132
|
+
*/
|
|
133
|
+
projectUuid: string;
|
|
134
|
+
};
|
|
135
|
+
/**
|
|
136
|
+
* Describes the message fits.api.pcvm.v1.PublicCloudVMServiceGetRequest.
|
|
137
|
+
* Use `create(PublicCloudVMServiceGetRequestSchema)` to create a new message.
|
|
138
|
+
*/
|
|
139
|
+
export declare const PublicCloudVMServiceGetRequestSchema: GenMessage<PublicCloudVMServiceGetRequest>;
|
|
140
|
+
/**
|
|
141
|
+
* Response containing the requested VM.
|
|
142
|
+
*
|
|
143
|
+
* @generated from message fits.api.pcvm.v1.PublicCloudVMServiceGetResponse
|
|
144
|
+
*/
|
|
145
|
+
export type PublicCloudVMServiceGetResponse = Message<"fits.api.pcvm.v1.PublicCloudVMServiceGetResponse"> & {
|
|
146
|
+
/**
|
|
147
|
+
* The VM.
|
|
148
|
+
*
|
|
149
|
+
* @generated from field: fits.api.pcvm.v1.PublicCloudVM vm = 1;
|
|
150
|
+
*/
|
|
151
|
+
vm?: PublicCloudVM | undefined;
|
|
152
|
+
};
|
|
153
|
+
/**
|
|
154
|
+
* Describes the message fits.api.pcvm.v1.PublicCloudVMServiceGetResponse.
|
|
155
|
+
* Use `create(PublicCloudVMServiceGetResponseSchema)` to create a new message.
|
|
156
|
+
*/
|
|
157
|
+
export declare const PublicCloudVMServiceGetResponseSchema: GenMessage<PublicCloudVMServiceGetResponse>;
|
|
158
|
+
/**
|
|
159
|
+
* The request to create a new VM.
|
|
160
|
+
*
|
|
161
|
+
* @generated from message fits.api.pcvm.v1.PublicCloudVMServiceCreateRequest
|
|
162
|
+
*/
|
|
163
|
+
export type PublicCloudVMServiceCreateRequest = Message<"fits.api.pcvm.v1.PublicCloudVMServiceCreateRequest"> & {
|
|
164
|
+
/**
|
|
165
|
+
* UUID of the project this VM belongs to.
|
|
166
|
+
*
|
|
167
|
+
* @generated from field: string project_uuid = 1;
|
|
168
|
+
*/
|
|
169
|
+
projectUuid: string;
|
|
170
|
+
/**
|
|
171
|
+
* Name of the VM.
|
|
172
|
+
*
|
|
173
|
+
* @generated from field: string name = 2;
|
|
174
|
+
*/
|
|
175
|
+
name: string;
|
|
176
|
+
/**
|
|
177
|
+
* Labels for this VM.
|
|
178
|
+
*
|
|
179
|
+
* @generated from field: fits.api.v1.Labels labels = 3;
|
|
180
|
+
*/
|
|
181
|
+
labels?: Labels | undefined;
|
|
182
|
+
/**
|
|
183
|
+
* Size of the VM.
|
|
184
|
+
*
|
|
185
|
+
* @generated from field: fits.api.pcvm.v1.Size size = 4;
|
|
186
|
+
*/
|
|
187
|
+
size: Size;
|
|
188
|
+
};
|
|
189
|
+
/**
|
|
190
|
+
* Describes the message fits.api.pcvm.v1.PublicCloudVMServiceCreateRequest.
|
|
191
|
+
* Use `create(PublicCloudVMServiceCreateRequestSchema)` to create a new message.
|
|
192
|
+
*/
|
|
193
|
+
export declare const PublicCloudVMServiceCreateRequestSchema: GenMessage<PublicCloudVMServiceCreateRequest>;
|
|
194
|
+
/**
|
|
195
|
+
* The response when creating a new VM.
|
|
196
|
+
*
|
|
197
|
+
* @generated from message fits.api.pcvm.v1.PublicCloudVMServiceCreateResponse
|
|
198
|
+
*/
|
|
199
|
+
export type PublicCloudVMServiceCreateResponse = Message<"fits.api.pcvm.v1.PublicCloudVMServiceCreateResponse"> & {
|
|
200
|
+
/**
|
|
201
|
+
* The VM just created.
|
|
202
|
+
*
|
|
203
|
+
* @generated from field: fits.api.pcvm.v1.PublicCloudVM vm = 1;
|
|
204
|
+
*/
|
|
205
|
+
vm?: PublicCloudVM | undefined;
|
|
206
|
+
};
|
|
207
|
+
/**
|
|
208
|
+
* Describes the message fits.api.pcvm.v1.PublicCloudVMServiceCreateResponse.
|
|
209
|
+
* Use `create(PublicCloudVMServiceCreateResponseSchema)` to create a new message.
|
|
210
|
+
*/
|
|
211
|
+
export declare const PublicCloudVMServiceCreateResponseSchema: GenMessage<PublicCloudVMServiceCreateResponse>;
|
|
212
|
+
/**
|
|
213
|
+
* The request to list and filter VMs.
|
|
214
|
+
*
|
|
215
|
+
* @generated from message fits.api.pcvm.v1.PublicCloudVMServiceListRequest
|
|
216
|
+
*/
|
|
217
|
+
export type PublicCloudVMServiceListRequest = Message<"fits.api.pcvm.v1.PublicCloudVMServiceListRequest"> & {
|
|
218
|
+
/**
|
|
219
|
+
* UUID of the project this VM belongs to.
|
|
220
|
+
*
|
|
221
|
+
* @generated from field: string project_uuid = 1;
|
|
222
|
+
*/
|
|
223
|
+
projectUuid: string;
|
|
224
|
+
/**
|
|
225
|
+
* Paging details for the list request.
|
|
226
|
+
*
|
|
227
|
+
* @generated from field: fits.api.v1.Paging paging = 2;
|
|
228
|
+
*/
|
|
229
|
+
paging?: Paging | undefined;
|
|
230
|
+
/**
|
|
231
|
+
* Query defines how to filter the VMs.
|
|
232
|
+
*
|
|
233
|
+
* @generated from field: fits.api.pcvm.v1.PublicCloudVMQuery query = 3;
|
|
234
|
+
*/
|
|
235
|
+
query?: PublicCloudVMQuery | undefined;
|
|
236
|
+
};
|
|
237
|
+
/**
|
|
238
|
+
* Describes the message fits.api.pcvm.v1.PublicCloudVMServiceListRequest.
|
|
239
|
+
* Use `create(PublicCloudVMServiceListRequestSchema)` to create a new message.
|
|
240
|
+
*/
|
|
241
|
+
export declare const PublicCloudVMServiceListRequestSchema: GenMessage<PublicCloudVMServiceListRequest>;
|
|
242
|
+
/**
|
|
243
|
+
* The response when listing VMs.
|
|
244
|
+
*
|
|
245
|
+
* @generated from message fits.api.pcvm.v1.PublicCloudVMServiceListResponse
|
|
246
|
+
*/
|
|
247
|
+
export type PublicCloudVMServiceListResponse = Message<"fits.api.pcvm.v1.PublicCloudVMServiceListResponse"> & {
|
|
248
|
+
/**
|
|
249
|
+
* VMs is a list of filtered VMs resources.
|
|
250
|
+
*
|
|
251
|
+
* @generated from field: repeated fits.api.pcvm.v1.PublicCloudVM vms = 1;
|
|
252
|
+
*/
|
|
253
|
+
vms: PublicCloudVM[];
|
|
254
|
+
};
|
|
255
|
+
/**
|
|
256
|
+
* Describes the message fits.api.pcvm.v1.PublicCloudVMServiceListResponse.
|
|
257
|
+
* Use `create(PublicCloudVMServiceListResponseSchema)` to create a new message.
|
|
258
|
+
*/
|
|
259
|
+
export declare const PublicCloudVMServiceListResponseSchema: GenMessage<PublicCloudVMServiceListResponse>;
|
|
260
|
+
/**
|
|
261
|
+
* The request to update a VM.
|
|
262
|
+
*
|
|
263
|
+
* @generated from message fits.api.pcvm.v1.PublicCloudVMServiceUpdateRequest
|
|
264
|
+
*/
|
|
265
|
+
export type PublicCloudVMServiceUpdateRequest = Message<"fits.api.pcvm.v1.PublicCloudVMServiceUpdateRequest"> & {
|
|
266
|
+
/**
|
|
267
|
+
* UUID of the VM to update.
|
|
268
|
+
*
|
|
269
|
+
* @generated from field: string uuid = 1;
|
|
270
|
+
*/
|
|
271
|
+
uuid: string;
|
|
272
|
+
/**
|
|
273
|
+
* UUID of the project this VM belongs to.
|
|
274
|
+
*
|
|
275
|
+
* @generated from field: string project_uuid = 2;
|
|
276
|
+
*/
|
|
277
|
+
projectUuid: string;
|
|
278
|
+
/**
|
|
279
|
+
* UpdateMeta contains the timestamp and strategy to be used in this update request.
|
|
280
|
+
*
|
|
281
|
+
* @generated from field: fits.api.v1.UpdateMeta update_meta = 3;
|
|
282
|
+
*/
|
|
283
|
+
updateMeta?: UpdateMeta | undefined;
|
|
284
|
+
/**
|
|
285
|
+
* The labels to update.
|
|
286
|
+
*
|
|
287
|
+
* @generated from field: optional fits.api.v1.UpdateLabels labels = 4;
|
|
288
|
+
*/
|
|
289
|
+
labels?: UpdateLabels | undefined;
|
|
290
|
+
/**
|
|
291
|
+
* Name of the VM.
|
|
292
|
+
*
|
|
293
|
+
* @generated from field: optional string name = 5;
|
|
294
|
+
*/
|
|
295
|
+
name?: string | undefined;
|
|
296
|
+
/**
|
|
297
|
+
* Size of the VM. Downgrades are not possible.
|
|
298
|
+
*
|
|
299
|
+
* @generated from field: optional fits.api.pcvm.v1.Size size = 6;
|
|
300
|
+
*/
|
|
301
|
+
size?: Size | undefined;
|
|
302
|
+
};
|
|
303
|
+
/**
|
|
304
|
+
* Describes the message fits.api.pcvm.v1.PublicCloudVMServiceUpdateRequest.
|
|
305
|
+
* Use `create(PublicCloudVMServiceUpdateRequestSchema)` to create a new message.
|
|
306
|
+
*/
|
|
307
|
+
export declare const PublicCloudVMServiceUpdateRequestSchema: GenMessage<PublicCloudVMServiceUpdateRequest>;
|
|
308
|
+
/**
|
|
309
|
+
* The response when updating a VM.
|
|
310
|
+
*
|
|
311
|
+
* @generated from message fits.api.pcvm.v1.PublicCloudVMServiceUpdateResponse
|
|
312
|
+
*/
|
|
313
|
+
export type PublicCloudVMServiceUpdateResponse = Message<"fits.api.pcvm.v1.PublicCloudVMServiceUpdateResponse"> & {
|
|
314
|
+
/**
|
|
315
|
+
* The updated VM.
|
|
316
|
+
*
|
|
317
|
+
* @generated from field: fits.api.pcvm.v1.PublicCloudVM vm = 1;
|
|
318
|
+
*/
|
|
319
|
+
vm?: PublicCloudVM | undefined;
|
|
320
|
+
};
|
|
321
|
+
/**
|
|
322
|
+
* Describes the message fits.api.pcvm.v1.PublicCloudVMServiceUpdateResponse.
|
|
323
|
+
* Use `create(PublicCloudVMServiceUpdateResponseSchema)` to create a new message.
|
|
324
|
+
*/
|
|
325
|
+
export declare const PublicCloudVMServiceUpdateResponseSchema: GenMessage<PublicCloudVMServiceUpdateResponse>;
|
|
326
|
+
/**
|
|
327
|
+
* The request to delete a VM.
|
|
328
|
+
*
|
|
329
|
+
* @generated from message fits.api.pcvm.v1.PublicCloudVMServiceDeleteRequest
|
|
330
|
+
*/
|
|
331
|
+
export type PublicCloudVMServiceDeleteRequest = Message<"fits.api.pcvm.v1.PublicCloudVMServiceDeleteRequest"> & {
|
|
332
|
+
/**
|
|
333
|
+
* UUID of the VM to delete.
|
|
334
|
+
*
|
|
335
|
+
* @generated from field: string uuid = 1;
|
|
336
|
+
*/
|
|
337
|
+
uuid: string;
|
|
338
|
+
/**
|
|
339
|
+
* UUID of the project this VM belongs to.
|
|
340
|
+
*
|
|
341
|
+
* @generated from field: string project_uuid = 2;
|
|
342
|
+
*/
|
|
343
|
+
projectUuid: string;
|
|
344
|
+
};
|
|
345
|
+
/**
|
|
346
|
+
* Describes the message fits.api.pcvm.v1.PublicCloudVMServiceDeleteRequest.
|
|
347
|
+
* Use `create(PublicCloudVMServiceDeleteRequestSchema)` to create a new message.
|
|
348
|
+
*/
|
|
349
|
+
export declare const PublicCloudVMServiceDeleteRequestSchema: GenMessage<PublicCloudVMServiceDeleteRequest>;
|
|
350
|
+
/**
|
|
351
|
+
* The response after deleting a VM.
|
|
352
|
+
*
|
|
353
|
+
* @generated from message fits.api.pcvm.v1.PublicCloudVMServiceDeleteResponse
|
|
354
|
+
*/
|
|
355
|
+
export type PublicCloudVMServiceDeleteResponse = Message<"fits.api.pcvm.v1.PublicCloudVMServiceDeleteResponse"> & {};
|
|
356
|
+
/**
|
|
357
|
+
* Describes the message fits.api.pcvm.v1.PublicCloudVMServiceDeleteResponse.
|
|
358
|
+
* Use `create(PublicCloudVMServiceDeleteResponseSchema)` to create a new message.
|
|
359
|
+
*/
|
|
360
|
+
export declare const PublicCloudVMServiceDeleteResponseSchema: GenMessage<PublicCloudVMServiceDeleteResponse>;
|
|
361
|
+
/**
|
|
362
|
+
* Request to validate a VM create without creating anything.
|
|
363
|
+
*
|
|
364
|
+
* @generated from message fits.api.pcvm.v1.PublicCloudVMServiceValidateCreateRequest
|
|
365
|
+
*/
|
|
366
|
+
export type PublicCloudVMServiceValidateCreateRequest = Message<"fits.api.pcvm.v1.PublicCloudVMServiceValidateCreateRequest"> & {
|
|
367
|
+
/**
|
|
368
|
+
* The create request to validate.
|
|
369
|
+
*
|
|
370
|
+
* @generated from field: fits.api.pcvm.v1.PublicCloudVMServiceCreateRequest create = 1;
|
|
371
|
+
*/
|
|
372
|
+
create?: PublicCloudVMServiceCreateRequest | undefined;
|
|
373
|
+
};
|
|
374
|
+
/**
|
|
375
|
+
* Describes the message fits.api.pcvm.v1.PublicCloudVMServiceValidateCreateRequest.
|
|
376
|
+
* Use `create(PublicCloudVMServiceValidateCreateRequestSchema)` to create a new message.
|
|
377
|
+
*/
|
|
378
|
+
export declare const PublicCloudVMServiceValidateCreateRequestSchema: GenMessage<PublicCloudVMServiceValidateCreateRequest>;
|
|
379
|
+
/**
|
|
380
|
+
* Response for ValidateCreate; violations are returned as an InvalidArgument error.
|
|
381
|
+
*
|
|
382
|
+
* @generated from message fits.api.pcvm.v1.PublicCloudVMServiceValidateCreateResponse
|
|
383
|
+
*/
|
|
384
|
+
export type PublicCloudVMServiceValidateCreateResponse = Message<"fits.api.pcvm.v1.PublicCloudVMServiceValidateCreateResponse"> & {};
|
|
385
|
+
/**
|
|
386
|
+
* Describes the message fits.api.pcvm.v1.PublicCloudVMServiceValidateCreateResponse.
|
|
387
|
+
* Use `create(PublicCloudVMServiceValidateCreateResponseSchema)` to create a new message.
|
|
388
|
+
*/
|
|
389
|
+
export declare const PublicCloudVMServiceValidateCreateResponseSchema: GenMessage<PublicCloudVMServiceValidateCreateResponse>;
|
|
390
|
+
/**
|
|
391
|
+
* Request to validate a VM update without updating anything.
|
|
392
|
+
*
|
|
393
|
+
* @generated from message fits.api.pcvm.v1.PublicCloudVMServiceValidateUpdateRequest
|
|
394
|
+
*/
|
|
395
|
+
export type PublicCloudVMServiceValidateUpdateRequest = Message<"fits.api.pcvm.v1.PublicCloudVMServiceValidateUpdateRequest"> & {
|
|
396
|
+
/**
|
|
397
|
+
* The update request to validate.
|
|
398
|
+
*
|
|
399
|
+
* @generated from field: fits.api.pcvm.v1.PublicCloudVMServiceUpdateRequest update = 1;
|
|
400
|
+
*/
|
|
401
|
+
update?: PublicCloudVMServiceUpdateRequest | undefined;
|
|
402
|
+
};
|
|
403
|
+
/**
|
|
404
|
+
* Describes the message fits.api.pcvm.v1.PublicCloudVMServiceValidateUpdateRequest.
|
|
405
|
+
* Use `create(PublicCloudVMServiceValidateUpdateRequestSchema)` to create a new message.
|
|
406
|
+
*/
|
|
407
|
+
export declare const PublicCloudVMServiceValidateUpdateRequestSchema: GenMessage<PublicCloudVMServiceValidateUpdateRequest>;
|
|
408
|
+
/**
|
|
409
|
+
* Response for ValidateUpdate; violations are returned as an InvalidArgument error.
|
|
410
|
+
*
|
|
411
|
+
* @generated from message fits.api.pcvm.v1.PublicCloudVMServiceValidateUpdateResponse
|
|
412
|
+
*/
|
|
413
|
+
export type PublicCloudVMServiceValidateUpdateResponse = Message<"fits.api.pcvm.v1.PublicCloudVMServiceValidateUpdateResponse"> & {};
|
|
414
|
+
/**
|
|
415
|
+
* Describes the message fits.api.pcvm.v1.PublicCloudVMServiceValidateUpdateResponse.
|
|
416
|
+
* Use `create(PublicCloudVMServiceValidateUpdateResponseSchema)` to create a new message.
|
|
417
|
+
*/
|
|
418
|
+
export declare const PublicCloudVMServiceValidateUpdateResponseSchema: GenMessage<PublicCloudVMServiceValidateUpdateResponse>;
|
|
419
|
+
/**
|
|
420
|
+
* The health state of the VM.
|
|
421
|
+
*
|
|
422
|
+
* @generated from enum fits.api.pcvm.v1.State
|
|
423
|
+
*/
|
|
424
|
+
export declare enum State {
|
|
425
|
+
/**
|
|
426
|
+
* STATE_UNSPECIFIED is not specified.
|
|
427
|
+
*
|
|
428
|
+
* @generated from enum value: STATE_UNSPECIFIED = 0;
|
|
429
|
+
*/
|
|
430
|
+
UNSPECIFIED = 0,
|
|
431
|
+
/**
|
|
432
|
+
* STATE_HEALTHY: the VM is healthy.
|
|
433
|
+
*
|
|
434
|
+
* @generated from enum value: STATE_HEALTHY = 1;
|
|
435
|
+
*/
|
|
436
|
+
HEALTHY = 1,
|
|
437
|
+
/**
|
|
438
|
+
* STATE_WARNING: there are some health warnings for this VM.
|
|
439
|
+
*
|
|
440
|
+
* @generated from enum value: STATE_WARNING = 2;
|
|
441
|
+
*/
|
|
442
|
+
WARNING = 2,
|
|
443
|
+
/**
|
|
444
|
+
* STATE_ERROR: the VM is unhealthy.
|
|
445
|
+
*
|
|
446
|
+
* @generated from enum value: STATE_ERROR = 3;
|
|
447
|
+
*/
|
|
448
|
+
ERROR = 3
|
|
449
|
+
}
|
|
450
|
+
/**
|
|
451
|
+
* Describes the enum fits.api.pcvm.v1.State.
|
|
452
|
+
*/
|
|
453
|
+
export declare const StateSchema: GenEnum<State>;
|
|
454
|
+
/**
|
|
455
|
+
* The operation of the VM.
|
|
456
|
+
*
|
|
457
|
+
* @generated from enum fits.api.pcvm.v1.Operation
|
|
458
|
+
*/
|
|
459
|
+
export declare enum Operation {
|
|
460
|
+
/**
|
|
461
|
+
* OPERATION_UNSPECIFIED is not specified.
|
|
462
|
+
*
|
|
463
|
+
* @generated from enum value: OPERATION_UNSPECIFIED = 0;
|
|
464
|
+
*/
|
|
465
|
+
UNSPECIFIED = 0,
|
|
466
|
+
/**
|
|
467
|
+
* OPERATION_CREATING: the VM hostname is reserved and provisioning has started.
|
|
468
|
+
*
|
|
469
|
+
* @generated from enum value: OPERATION_CREATING = 1;
|
|
470
|
+
*/
|
|
471
|
+
CREATING = 1,
|
|
472
|
+
/**
|
|
473
|
+
* OPERATION_ACTIVE: the VM is active.
|
|
474
|
+
*
|
|
475
|
+
* @generated from enum value: OPERATION_ACTIVE = 2;
|
|
476
|
+
*/
|
|
477
|
+
ACTIVE = 2,
|
|
478
|
+
/**
|
|
479
|
+
* OPERATION_UPDATING: there is an ongoing operation for the VM.
|
|
480
|
+
*
|
|
481
|
+
* @generated from enum value: OPERATION_UPDATING = 3;
|
|
482
|
+
*/
|
|
483
|
+
UPDATING = 3,
|
|
484
|
+
/**
|
|
485
|
+
* OPERATION_DELETED: the VM is deleted.
|
|
486
|
+
*
|
|
487
|
+
* @generated from enum value: OPERATION_DELETED = 4;
|
|
488
|
+
*/
|
|
489
|
+
DELETED = 4,
|
|
490
|
+
/**
|
|
491
|
+
* OPERATION_ERROR: the VM is in an error state.
|
|
492
|
+
*
|
|
493
|
+
* @generated from enum value: OPERATION_ERROR = 5;
|
|
494
|
+
*/
|
|
495
|
+
ERROR = 5
|
|
496
|
+
}
|
|
497
|
+
/**
|
|
498
|
+
* Describes the enum fits.api.pcvm.v1.Operation.
|
|
499
|
+
*/
|
|
500
|
+
export declare const OperationSchema: GenEnum<Operation>;
|
|
501
|
+
/**
|
|
502
|
+
* Size specifies the size of the VM.
|
|
503
|
+
*
|
|
504
|
+
* @generated from enum fits.api.pcvm.v1.Size
|
|
505
|
+
*/
|
|
506
|
+
export declare enum Size {
|
|
507
|
+
/**
|
|
508
|
+
* SIZE_UNSPECIFIED is not specified.
|
|
509
|
+
*
|
|
510
|
+
* @generated from enum value: SIZE_UNSPECIFIED = 0;
|
|
511
|
+
*/
|
|
512
|
+
UNSPECIFIED = 0,
|
|
513
|
+
/**
|
|
514
|
+
* SIZE_SMALL: small machine size.
|
|
515
|
+
*
|
|
516
|
+
* @generated from enum value: SIZE_SMALL = 1;
|
|
517
|
+
*/
|
|
518
|
+
SMALL = 1,
|
|
519
|
+
/**
|
|
520
|
+
* SIZE_MEDIUM: medium machine size.
|
|
521
|
+
*
|
|
522
|
+
* @generated from enum value: SIZE_MEDIUM = 2;
|
|
523
|
+
*/
|
|
524
|
+
MEDIUM = 2,
|
|
525
|
+
/**
|
|
526
|
+
* SIZE_LARGE: large machine size.
|
|
527
|
+
*
|
|
528
|
+
* @generated from enum value: SIZE_LARGE = 3;
|
|
529
|
+
*/
|
|
530
|
+
LARGE = 3
|
|
531
|
+
}
|
|
532
|
+
/**
|
|
533
|
+
* Describes the enum fits.api.pcvm.v1.Size.
|
|
534
|
+
*/
|
|
535
|
+
export declare const SizeSchema: GenEnum<Size>;
|
|
536
|
+
/**
|
|
537
|
+
* PublicCloudVMService provides VM operations.
|
|
538
|
+
*
|
|
539
|
+
* @generated from service fits.api.pcvm.v1.PublicCloudVMService
|
|
540
|
+
*/
|
|
541
|
+
export declare const PublicCloudVMService: GenService<{
|
|
542
|
+
/**
|
|
543
|
+
* Returns the VM with the specified UUID.
|
|
544
|
+
*
|
|
545
|
+
* @generated from rpc fits.api.pcvm.v1.PublicCloudVMService.Get
|
|
546
|
+
*/
|
|
547
|
+
get: {
|
|
548
|
+
methodKind: "unary";
|
|
549
|
+
input: typeof PublicCloudVMServiceGetRequestSchema;
|
|
550
|
+
output: typeof PublicCloudVMServiceGetResponseSchema;
|
|
551
|
+
};
|
|
552
|
+
/**
|
|
553
|
+
* Creates a new VM.
|
|
554
|
+
*
|
|
555
|
+
* @generated from rpc fits.api.pcvm.v1.PublicCloudVMService.Create
|
|
556
|
+
*/
|
|
557
|
+
create: {
|
|
558
|
+
methodKind: "unary";
|
|
559
|
+
input: typeof PublicCloudVMServiceCreateRequestSchema;
|
|
560
|
+
output: typeof PublicCloudVMServiceCreateResponseSchema;
|
|
561
|
+
};
|
|
562
|
+
/**
|
|
563
|
+
* Returns the list of all VMs.
|
|
564
|
+
*
|
|
565
|
+
* @generated from rpc fits.api.pcvm.v1.PublicCloudVMService.List
|
|
566
|
+
*/
|
|
567
|
+
list: {
|
|
568
|
+
methodKind: "unary";
|
|
569
|
+
input: typeof PublicCloudVMServiceListRequestSchema;
|
|
570
|
+
output: typeof PublicCloudVMServiceListResponseSchema;
|
|
571
|
+
};
|
|
572
|
+
/**
|
|
573
|
+
* Updates a VM.
|
|
574
|
+
*
|
|
575
|
+
* @generated from rpc fits.api.pcvm.v1.PublicCloudVMService.Update
|
|
576
|
+
*/
|
|
577
|
+
update: {
|
|
578
|
+
methodKind: "unary";
|
|
579
|
+
input: typeof PublicCloudVMServiceUpdateRequestSchema;
|
|
580
|
+
output: typeof PublicCloudVMServiceUpdateResponseSchema;
|
|
581
|
+
};
|
|
582
|
+
/**
|
|
583
|
+
* Deletes a VM immediately.
|
|
584
|
+
*
|
|
585
|
+
* @generated from rpc fits.api.pcvm.v1.PublicCloudVMService.Delete
|
|
586
|
+
*/
|
|
587
|
+
delete: {
|
|
588
|
+
methodKind: "unary";
|
|
589
|
+
input: typeof PublicCloudVMServiceDeleteRequestSchema;
|
|
590
|
+
output: typeof PublicCloudVMServiceDeleteResponseSchema;
|
|
591
|
+
};
|
|
592
|
+
/**
|
|
593
|
+
* Validates a VM create request without creating anything.
|
|
594
|
+
*
|
|
595
|
+
* @generated from rpc fits.api.pcvm.v1.PublicCloudVMService.ValidateCreate
|
|
596
|
+
*/
|
|
597
|
+
validateCreate: {
|
|
598
|
+
methodKind: "unary";
|
|
599
|
+
input: typeof PublicCloudVMServiceValidateCreateRequestSchema;
|
|
600
|
+
output: typeof PublicCloudVMServiceValidateCreateResponseSchema;
|
|
601
|
+
};
|
|
602
|
+
/**
|
|
603
|
+
* Validates a VM update request without updating anything.
|
|
604
|
+
*
|
|
605
|
+
* @generated from rpc fits.api.pcvm.v1.PublicCloudVMService.ValidateUpdate
|
|
606
|
+
*/
|
|
607
|
+
validateUpdate: {
|
|
608
|
+
methodKind: "unary";
|
|
609
|
+
input: typeof PublicCloudVMServiceValidateUpdateRequestSchema;
|
|
610
|
+
output: typeof PublicCloudVMServiceValidateUpdateResponseSchema;
|
|
611
|
+
};
|
|
612
|
+
}>;
|