@metal-stack/api 0.4.4 → 0.5.2
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/{js/Makefile → Makefile} +5 -2
- package/bun.lock +74 -0
- package/client-test.d.ts +1 -0
- package/client-test.js +45 -0
- package/client-test.ts +49 -0
- package/client.d.ts +97 -0
- package/client.js +347 -0
- package/client.ts +662 -0
- package/{js/metalstack → metalstack}/admin/v2/audit_pb.d.ts +5 -5
- package/{js/metalstack → metalstack}/admin/v2/audit_pb.ts +5 -5
- package/{js/metalstack → metalstack}/admin/v2/component_pb.d.ts +6 -6
- package/{js/metalstack → metalstack}/admin/v2/component_pb.ts +6 -6
- package/{js/metalstack → metalstack}/admin/v2/filesystem_pb.d.ts +28 -28
- package/{js/metalstack → metalstack}/admin/v2/filesystem_pb.ts +28 -28
- package/{js/metalstack → metalstack}/admin/v2/image_pb.d.ts +16 -16
- package/{js/metalstack → metalstack}/admin/v2/image_pb.ts +16 -16
- package/{js/metalstack → metalstack}/admin/v2/ip_pb.d.ts +2 -2
- package/{js/metalstack → metalstack}/admin/v2/ip_pb.ts +2 -2
- package/{js/metalstack → metalstack}/admin/v2/machine_pb.d.ts +47 -55
- package/{js/metalstack → metalstack}/admin/v2/machine_pb.js +1 -1
- package/{js/metalstack → metalstack}/admin/v2/machine_pb.ts +48 -55
- package/{js/metalstack → metalstack}/admin/v2/network_pb.d.ts +195 -37
- package/{js/metalstack → metalstack}/admin/v2/network_pb.js +36 -5
- package/{js/metalstack → metalstack}/admin/v2/network_pb.ts +222 -42
- package/{js/metalstack → metalstack}/admin/v2/partition_pb.d.ts +26 -26
- package/{js/metalstack → metalstack}/admin/v2/partition_pb.ts +26 -26
- package/{js/metalstack → metalstack}/admin/v2/project_pb.d.ts +2 -2
- package/{js/metalstack → metalstack}/admin/v2/project_pb.ts +2 -2
- package/{js/metalstack → metalstack}/admin/v2/size_imageconstraint_pb.d.ts +18 -18
- package/{js/metalstack → metalstack}/admin/v2/size_imageconstraint_pb.ts +18 -18
- package/{js/metalstack → metalstack}/admin/v2/size_pb.d.ts +11 -11
- package/{js/metalstack → metalstack}/admin/v2/size_pb.ts +11 -11
- package/{js/metalstack → metalstack}/admin/v2/size_reservation_pb.d.ts +14 -14
- package/{js/metalstack → metalstack}/admin/v2/size_reservation_pb.ts +14 -14
- package/{js/metalstack → metalstack}/admin/v2/switch_pb.d.ts +29 -29
- package/{js/metalstack → metalstack}/admin/v2/switch_pb.ts +29 -29
- package/{js/metalstack → metalstack}/admin/v2/task_pb.d.ts +47 -47
- package/{js/metalstack → metalstack}/admin/v2/task_pb.js +8 -8
- package/{js/metalstack → metalstack}/admin/v2/task_pb.ts +47 -47
- package/{js/metalstack → metalstack}/admin/v2/tenant_pb.d.ts +22 -22
- package/{js/metalstack → metalstack}/admin/v2/tenant_pb.ts +22 -22
- package/{js/metalstack → metalstack}/admin/v2/token_pb.d.ts +8 -8
- package/{js/metalstack → metalstack}/admin/v2/token_pb.ts +8 -8
- package/{js/metalstack → metalstack}/admin/v2/vpn_pb.d.ts +13 -13
- package/{js/metalstack → metalstack}/admin/v2/vpn_pb.ts +13 -13
- package/{js/metalstack → metalstack}/api/v2/audit_pb.d.ts +37 -37
- package/{js/metalstack → metalstack}/api/v2/audit_pb.js +3 -3
- package/{js/metalstack → metalstack}/api/v2/audit_pb.ts +37 -37
- package/{js/metalstack → metalstack}/api/v2/common_pb.d.ts +68 -68
- package/{js/metalstack → metalstack}/api/v2/common_pb.js +47 -47
- package/{js/metalstack → metalstack}/api/v2/common_pb.ts +68 -68
- package/{js/metalstack → metalstack}/api/v2/component_pb.d.ts +17 -17
- package/{js/metalstack → metalstack}/api/v2/component_pb.js +8 -8
- package/{js/metalstack → metalstack}/api/v2/component_pb.ts +17 -17
- package/{js/metalstack → metalstack}/api/v2/filesystem_pb.d.ts +82 -82
- package/{js/metalstack → metalstack}/api/v2/filesystem_pb.js +23 -23
- package/{js/metalstack → metalstack}/api/v2/filesystem_pb.ts +82 -82
- package/{js/metalstack → metalstack}/api/v2/health_pb.d.ts +21 -21
- package/{js/metalstack → metalstack}/api/v2/health_pb.js +13 -13
- package/{js/metalstack → metalstack}/api/v2/health_pb.ts +21 -21
- package/{js/metalstack → metalstack}/api/v2/image_pb.d.ts +45 -45
- package/{js/metalstack → metalstack}/api/v2/image_pb.js +9 -9
- package/{js/metalstack → metalstack}/api/v2/image_pb.ts +45 -45
- package/{js/metalstack → metalstack}/api/v2/ip_pb.d.ts +67 -67
- package/{js/metalstack → metalstack}/api/v2/ip_pb.js +8 -8
- package/{js/metalstack → metalstack}/api/v2/ip_pb.ts +67 -67
- package/{js/metalstack → metalstack}/api/v2/machine_pb.d.ts +422 -374
- package/{js/metalstack → metalstack}/api/v2/machine_pb.js +94 -89
- package/{js/metalstack → metalstack}/api/v2/machine_pb.ts +453 -396
- package/{js/metalstack → metalstack}/api/v2/method_pb.d.ts +7 -7
- package/{js/metalstack → metalstack}/api/v2/method_pb.ts +7 -7
- package/{js/metalstack → metalstack}/api/v2/network_pb.d.ts +146 -98
- package/{js/metalstack → metalstack}/api/v2/network_pb.js +30 -20
- package/{js/metalstack → metalstack}/api/v2/network_pb.ts +158 -102
- package/{js/metalstack → metalstack}/api/v2/partition_pb.d.ts +28 -28
- package/{js/metalstack → metalstack}/api/v2/partition_pb.ts +28 -28
- package/{js/metalstack → metalstack}/api/v2/predefined_rules_pb.d.ts +30 -24
- package/{js/metalstack → metalstack}/api/v2/predefined_rules_pb.js +40 -34
- package/{js/metalstack → metalstack}/api/v2/predefined_rules_pb.ts +42 -34
- package/{js/metalstack → metalstack}/api/v2/project_pb.d.ts +114 -114
- package/{js/metalstack → metalstack}/api/v2/project_pb.ts +114 -114
- package/{js/metalstack → metalstack}/api/v2/size_imageconstraint_pb.d.ts +21 -22
- package/{js/metalstack → metalstack}/api/v2/size_imageconstraint_pb.ts +21 -22
- package/{js/metalstack → metalstack}/api/v2/size_pb.d.ts +29 -29
- package/{js/metalstack → metalstack}/api/v2/size_pb.js +6 -6
- package/{js/metalstack → metalstack}/api/v2/size_pb.ts +29 -29
- package/{js/metalstack → metalstack}/api/v2/size_reservation_pb.d.ts +27 -27
- package/{js/metalstack → metalstack}/api/v2/size_reservation_pb.ts +27 -27
- package/{js/metalstack → metalstack}/api/v2/switch_pb.d.ts +8 -8
- package/{js/metalstack → metalstack}/api/v2/switch_pb.js +1 -1
- package/{js/metalstack → metalstack}/api/v2/switch_pb.ts +9 -9
- package/{js/metalstack → metalstack}/api/v2/tenant_pb.d.ts +114 -116
- package/{js/metalstack → metalstack}/api/v2/tenant_pb.ts +114 -116
- package/{js/metalstack → metalstack}/api/v2/token_pb.d.ts +103 -103
- package/{js/metalstack → metalstack}/api/v2/token_pb.js +3 -3
- package/{js/metalstack → metalstack}/api/v2/token_pb.ts +103 -103
- package/{js/metalstack → metalstack}/api/v2/user_pb.d.ts +8 -8
- package/{js/metalstack → metalstack}/api/v2/user_pb.ts +8 -8
- package/{js/metalstack → metalstack}/api/v2/version_pb.d.ts +5 -5
- package/{js/metalstack → metalstack}/api/v2/version_pb.ts +5 -5
- package/{js/metalstack → metalstack}/api/v2/vpn_pb.d.ts +6 -6
- package/{js/metalstack → metalstack}/api/v2/vpn_pb.ts +6 -6
- package/{js/metalstack → metalstack}/infra/v2/bmc_pb.d.ts +15 -17
- package/{js/metalstack → metalstack}/infra/v2/bmc_pb.js +1 -1
- package/{js/metalstack → metalstack}/infra/v2/bmc_pb.ts +16 -16
- package/{js/metalstack → metalstack}/infra/v2/boot_pb.d.ts +36 -36
- package/{js/metalstack → metalstack}/infra/v2/boot_pb.ts +36 -36
- package/{js/metalstack → metalstack}/infra/v2/component_pb.d.ts +5 -5
- package/{js/metalstack → metalstack}/infra/v2/component_pb.ts +5 -5
- package/{js/metalstack → metalstack}/infra/v2/event_pb.d.ts +3 -3
- package/{js/metalstack → metalstack}/infra/v2/event_pb.ts +3 -3
- package/{js/metalstack → metalstack}/infra/v2/switch_pb.d.ts +12 -12
- package/{js/metalstack → metalstack}/infra/v2/switch_pb.ts +12 -12
- package/package.json +4 -3
- package/test-interceptor.d.ts +9 -0
- package/test-interceptor.js +33 -0
- package/test-interceptor.ts +49 -0
- package/tsconfig.json +14 -0
- package/LICENSE +0 -21
- package/README.md +0 -117
- package/js/tsconfig.json +0 -70
- /package/{js/buf → buf}/validate/validate_pb.d.ts +0 -0
- /package/{js/buf → buf}/validate/validate_pb.js +0 -0
- /package/{js/buf → buf}/validate/validate_pb.ts +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/audit_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/component_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/filesystem_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/image_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/ip_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/partition_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/project_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/size_imageconstraint_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/size_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/size_reservation_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/switch_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/tenant_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/token_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/vpn_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/method_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/partition_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/project_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/size_imageconstraint_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/size_reservation_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/tenant_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/user_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/version_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/vpn_pb.js +0 -0
- /package/{js/metalstack → metalstack}/infra/v2/boot_pb.js +0 -0
- /package/{js/metalstack → metalstack}/infra/v2/component_pb.js +0 -0
- /package/{js/metalstack → metalstack}/infra/v2/event_pb.js +0 -0
- /package/{js/metalstack → metalstack}/infra/v2/switch_pb.js +0 -0
|
@@ -6,7 +6,7 @@ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegen
|
|
|
6
6
|
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
7
|
import { file_buf_validate_validate } from "../../../buf/validate/validate_pb";
|
|
8
8
|
import { file_metalstack_api_v2_common } from "../../api/v2/common_pb";
|
|
9
|
-
import type { Machine, MachineBMCCommand,
|
|
9
|
+
import type { Machine, MachineBMCCommand, MachineBMCDetails, MachineIssues, MachineIssuesQuery, MachineQuery, MachineState } from "../../api/v2/machine_pb";
|
|
10
10
|
import { file_metalstack_api_v2_machine } from "../../api/v2/machine_pb";
|
|
11
11
|
import { file_metalstack_api_v2_predefined_rules } from "../../api/v2/predefined_rules_pb";
|
|
12
12
|
import type { Message } from "@bufbuild/protobuf";
|
|
@@ -15,16 +15,16 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
15
15
|
* Describes the file metalstack/admin/v2/machine.proto.
|
|
16
16
|
*/
|
|
17
17
|
export const file_metalstack_admin_v2_machine: GenFile = /*@__PURE__*/
|
|
18
|
-
fileDesc("CiFtZXRhbHN0YWNrL2FkbWluL3YyL21hY2hpbmUucHJvdG8SE21ldGFsc3RhY2suYWRtaW4udjIiMgoYTWFjaGluZVNlcnZpY2VHZXRSZXF1ZXN0EhYKBHV1aWQYASABKAlCCLpIBXIDsAEBIkgKGU1hY2hpbmVTZXJ2aWNlR2V0UmVzcG9uc2USKwoHbWFjaGluZRgBIAEoCzIaLm1ldGFsc3Rh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IuY29tL21ldGFsLXN0YWNrL2FwaS9nby9tZXRhbHN0YWNrL2FkbWluL3YyO2FkbWludjKiAgNNQViqAhNNZXRhbHN0YWNrLkFkbWluLlYyygITTWV0YWxzdGFja1xBZG1pblxWMuICH01ldGFsc3RhY2tcQWRtaW5cVjJcR1BCTWV0YWRhdGHqAhVNZXRhbHN0YWNrOjpBZG1pbjo6VjJiBnByb3RvMw", [file_buf_validate_validate, file_metalstack_api_v2_common, file_metalstack_api_v2_machine, file_metalstack_api_v2_predefined_rules]);
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
|
-
* MachineServiceGetRequest is the request payload for a machine get request
|
|
21
|
+
* MachineServiceGetRequest is the request payload for a machine get request.
|
|
22
22
|
*
|
|
23
23
|
* @generated from message metalstack.admin.v2.MachineServiceGetRequest
|
|
24
24
|
*/
|
|
25
25
|
export type MachineServiceGetRequest = Message<"metalstack.admin.v2.MachineServiceGetRequest"> & {
|
|
26
26
|
/**
|
|
27
|
-
* UUID of the machine to get
|
|
27
|
+
* UUID of the machine to get.
|
|
28
28
|
*
|
|
29
29
|
* @generated from field: string uuid = 1;
|
|
30
30
|
*/
|
|
@@ -39,13 +39,13 @@ export const MachineServiceGetRequestSchema: GenMessage<MachineServiceGetRequest
|
|
|
39
39
|
messageDesc(file_metalstack_admin_v2_machine, 0);
|
|
40
40
|
|
|
41
41
|
/**
|
|
42
|
-
* MachineServiceGetResponse is the response payload for a machine get request
|
|
42
|
+
* MachineServiceGetResponse is the response payload for a machine get request.
|
|
43
43
|
*
|
|
44
44
|
* @generated from message metalstack.admin.v2.MachineServiceGetResponse
|
|
45
45
|
*/
|
|
46
46
|
export type MachineServiceGetResponse = Message<"metalstack.admin.v2.MachineServiceGetResponse"> & {
|
|
47
47
|
/**
|
|
48
|
-
* Machine is the machine requested
|
|
48
|
+
* Machine is the machine requested.
|
|
49
49
|
*
|
|
50
50
|
* @generated from field: metalstack.api.v2.Machine machine = 1;
|
|
51
51
|
*/
|
|
@@ -60,21 +60,21 @@ export const MachineServiceGetResponseSchema: GenMessage<MachineServiceGetRespon
|
|
|
60
60
|
messageDesc(file_metalstack_admin_v2_machine, 1);
|
|
61
61
|
|
|
62
62
|
/**
|
|
63
|
-
* MachineServiceListRequest is the request payload for a machine list request
|
|
63
|
+
* MachineServiceListRequest is the request payload for a machine list request.
|
|
64
64
|
*
|
|
65
65
|
* @generated from message metalstack.admin.v2.MachineServiceListRequest
|
|
66
66
|
*/
|
|
67
67
|
export type MachineServiceListRequest = Message<"metalstack.admin.v2.MachineServiceListRequest"> & {
|
|
68
68
|
/**
|
|
69
|
-
* Query to list one or more machines
|
|
69
|
+
* Query to list one or more machines.
|
|
70
70
|
*
|
|
71
71
|
* @generated from field: metalstack.api.v2.MachineQuery query = 1;
|
|
72
72
|
*/
|
|
73
73
|
query?: MachineQuery | undefined;
|
|
74
74
|
|
|
75
75
|
/**
|
|
76
|
-
* Partition for which machines should be listed, could be left empty if only one partition is present
|
|
77
|
-
* otherwise an error is thrown that the partition must be specified
|
|
76
|
+
* Partition for which machines should be listed, could be left empty if only one partition is present.
|
|
77
|
+
* otherwise an error is thrown that the partition must be specified.
|
|
78
78
|
*
|
|
79
79
|
* @generated from field: optional string partition = 2;
|
|
80
80
|
*/
|
|
@@ -89,13 +89,13 @@ export const MachineServiceListRequestSchema: GenMessage<MachineServiceListReque
|
|
|
89
89
|
messageDesc(file_metalstack_admin_v2_machine, 2);
|
|
90
90
|
|
|
91
91
|
/**
|
|
92
|
-
* MachineServiceListResponse is the response payload for a machine list request
|
|
92
|
+
* MachineServiceListResponse is the response payload for a machine list request.
|
|
93
93
|
*
|
|
94
94
|
* @generated from message metalstack.admin.v2.MachineServiceListResponse
|
|
95
95
|
*/
|
|
96
96
|
export type MachineServiceListResponse = Message<"metalstack.admin.v2.MachineServiceListResponse"> & {
|
|
97
97
|
/**
|
|
98
|
-
* Machines are the machines requested by a list request
|
|
98
|
+
* Machines are the machines requested by a list request.
|
|
99
99
|
*
|
|
100
100
|
* @generated from field: repeated metalstack.api.v2.Machine machines = 1;
|
|
101
101
|
*/
|
|
@@ -110,13 +110,13 @@ export const MachineServiceListResponseSchema: GenMessage<MachineServiceListResp
|
|
|
110
110
|
messageDesc(file_metalstack_admin_v2_machine, 3);
|
|
111
111
|
|
|
112
112
|
/**
|
|
113
|
-
* MachineServiceDeleteRequest is the request payload for a machine delete request
|
|
113
|
+
* MachineServiceDeleteRequest is the request payload for a machine delete request.
|
|
114
114
|
*
|
|
115
115
|
* @generated from message metalstack.admin.v2.MachineServiceDeleteRequest
|
|
116
116
|
*/
|
|
117
117
|
export type MachineServiceDeleteRequest = Message<"metalstack.admin.v2.MachineServiceDeleteRequest"> & {
|
|
118
118
|
/**
|
|
119
|
-
* UUID of the machine to permanently delete
|
|
119
|
+
* UUID of the machine to permanently delete.
|
|
120
120
|
*
|
|
121
121
|
* @generated from field: string uuid = 1;
|
|
122
122
|
*/
|
|
@@ -131,13 +131,13 @@ export const MachineServiceDeleteRequestSchema: GenMessage<MachineServiceDeleteR
|
|
|
131
131
|
messageDesc(file_metalstack_admin_v2_machine, 4);
|
|
132
132
|
|
|
133
133
|
/**
|
|
134
|
-
* MachineServiceDeleteResponse is the response payload for a machine delete request
|
|
134
|
+
* MachineServiceDeleteResponse is the response payload for a machine delete request.
|
|
135
135
|
*
|
|
136
136
|
* @generated from message metalstack.admin.v2.MachineServiceDeleteResponse
|
|
137
137
|
*/
|
|
138
138
|
export type MachineServiceDeleteResponse = Message<"metalstack.admin.v2.MachineServiceDeleteResponse"> & {
|
|
139
139
|
/**
|
|
140
|
-
* Machine is the machine permanently deleted
|
|
140
|
+
* Machine is the machine permanently deleted.
|
|
141
141
|
*
|
|
142
142
|
* @generated from field: metalstack.api.v2.Machine machine = 1;
|
|
143
143
|
*/
|
|
@@ -152,20 +152,20 @@ export const MachineServiceDeleteResponseSchema: GenMessage<MachineServiceDelete
|
|
|
152
152
|
messageDesc(file_metalstack_admin_v2_machine, 5);
|
|
153
153
|
|
|
154
154
|
/**
|
|
155
|
-
* MachineServiceBMCCommandRequest is the request payload for a machine bmc command
|
|
155
|
+
* MachineServiceBMCCommandRequest is the request payload for a machine bmc command.
|
|
156
156
|
*
|
|
157
157
|
* @generated from message metalstack.admin.v2.MachineServiceBMCCommandRequest
|
|
158
158
|
*/
|
|
159
159
|
export type MachineServiceBMCCommandRequest = Message<"metalstack.admin.v2.MachineServiceBMCCommandRequest"> & {
|
|
160
160
|
/**
|
|
161
|
-
* UUID of the machine to send the command to
|
|
161
|
+
* UUID of the machine to send the command to.
|
|
162
162
|
*
|
|
163
163
|
* @generated from field: string uuid = 1;
|
|
164
164
|
*/
|
|
165
165
|
uuid: string;
|
|
166
166
|
|
|
167
167
|
/**
|
|
168
|
-
* Command to send to the bmc of the machine
|
|
168
|
+
* Command to send to the bmc of the machine.
|
|
169
169
|
*
|
|
170
170
|
* @generated from field: metalstack.api.v2.MachineBMCCommand command = 2;
|
|
171
171
|
*/
|
|
@@ -180,7 +180,7 @@ export const MachineServiceBMCCommandRequestSchema: GenMessage<MachineServiceBMC
|
|
|
180
180
|
messageDesc(file_metalstack_admin_v2_machine, 6);
|
|
181
181
|
|
|
182
182
|
/**
|
|
183
|
-
* MachineServiceBMCCommandResponse is the response payload for a machine bmc command
|
|
183
|
+
* MachineServiceBMCCommandResponse is the response payload for a machine bmc command.
|
|
184
184
|
*
|
|
185
185
|
* @generated from message metalstack.admin.v2.MachineServiceBMCCommandResponse
|
|
186
186
|
*/
|
|
@@ -195,13 +195,13 @@ export const MachineServiceBMCCommandResponseSchema: GenMessage<MachineServiceBM
|
|
|
195
195
|
messageDesc(file_metalstack_admin_v2_machine, 7);
|
|
196
196
|
|
|
197
197
|
/**
|
|
198
|
-
* MachineServiceGetBMCRequest is the request payload for a machine getbmc request
|
|
198
|
+
* MachineServiceGetBMCRequest is the request payload for a machine getbmc request.
|
|
199
199
|
*
|
|
200
200
|
* @generated from message metalstack.admin.v2.MachineServiceGetBMCRequest
|
|
201
201
|
*/
|
|
202
202
|
export type MachineServiceGetBMCRequest = Message<"metalstack.admin.v2.MachineServiceGetBMCRequest"> & {
|
|
203
203
|
/**
|
|
204
|
-
* UUID of the machine to get
|
|
204
|
+
* UUID of the machine to get.
|
|
205
205
|
*
|
|
206
206
|
* @generated from field: string uuid = 1;
|
|
207
207
|
*/
|
|
@@ -216,24 +216,17 @@ export const MachineServiceGetBMCRequestSchema: GenMessage<MachineServiceGetBMCR
|
|
|
216
216
|
messageDesc(file_metalstack_admin_v2_machine, 8);
|
|
217
217
|
|
|
218
218
|
/**
|
|
219
|
-
* MachineServiceGetBMCResponse is the response payload for a machine getbmc request
|
|
219
|
+
* MachineServiceGetBMCResponse is the response payload for a machine getbmc request.
|
|
220
220
|
*
|
|
221
221
|
* @generated from message metalstack.admin.v2.MachineServiceGetBMCResponse
|
|
222
222
|
*/
|
|
223
223
|
export type MachineServiceGetBMCResponse = Message<"metalstack.admin.v2.MachineServiceGetBMCResponse"> & {
|
|
224
224
|
/**
|
|
225
|
-
*
|
|
225
|
+
* BMCDetails of the machine.
|
|
226
226
|
*
|
|
227
|
-
* @generated from field:
|
|
228
|
-
*/
|
|
229
|
-
uuid: string;
|
|
230
|
-
|
|
231
|
-
/**
|
|
232
|
-
* BMC contains the BMC details of this machine
|
|
233
|
-
*
|
|
234
|
-
* @generated from field: metalstack.api.v2.MachineBMCReport bmc = 2;
|
|
227
|
+
* @generated from field: metalstack.api.v2.MachineBMCDetails bmc_details = 1;
|
|
235
228
|
*/
|
|
236
|
-
|
|
229
|
+
bmcDetails?: MachineBMCDetails | undefined;
|
|
237
230
|
};
|
|
238
231
|
|
|
239
232
|
/**
|
|
@@ -244,17 +237,17 @@ export const MachineServiceGetBMCResponseSchema: GenMessage<MachineServiceGetBMC
|
|
|
244
237
|
messageDesc(file_metalstack_admin_v2_machine, 9);
|
|
245
238
|
|
|
246
239
|
/**
|
|
247
|
-
* MachineServiceListBMCRequest is the request payload for a machine listbmc request
|
|
240
|
+
* MachineServiceListBMCRequest is the request payload for a machine listbmc request.
|
|
248
241
|
*
|
|
249
242
|
* @generated from message metalstack.admin.v2.MachineServiceListBMCRequest
|
|
250
243
|
*/
|
|
251
244
|
export type MachineServiceListBMCRequest = Message<"metalstack.admin.v2.MachineServiceListBMCRequest"> & {
|
|
252
245
|
/**
|
|
253
|
-
* Query to list one or more BMCs of many machines
|
|
246
|
+
* Query to list one or more BMCs of many machines.
|
|
254
247
|
*
|
|
255
|
-
* @generated from field: metalstack.api.v2.
|
|
248
|
+
* @generated from field: metalstack.api.v2.MachineQuery query = 1;
|
|
256
249
|
*/
|
|
257
|
-
query?:
|
|
250
|
+
query?: MachineQuery | undefined;
|
|
258
251
|
};
|
|
259
252
|
|
|
260
253
|
/**
|
|
@@ -265,17 +258,17 @@ export const MachineServiceListBMCRequestSchema: GenMessage<MachineServiceListBM
|
|
|
265
258
|
messageDesc(file_metalstack_admin_v2_machine, 10);
|
|
266
259
|
|
|
267
260
|
/**
|
|
268
|
-
* MachineServiceListBMCResponse is the response payload for a machine listbmc request
|
|
261
|
+
* MachineServiceListBMCResponse is the response payload for a machine listbmc request.
|
|
269
262
|
*
|
|
270
263
|
* @generated from message metalstack.admin.v2.MachineServiceListBMCResponse
|
|
271
264
|
*/
|
|
272
265
|
export type MachineServiceListBMCResponse = Message<"metalstack.admin.v2.MachineServiceListBMCResponse"> & {
|
|
273
266
|
/**
|
|
274
|
-
*
|
|
267
|
+
* BMCDetails of the machines.
|
|
275
268
|
*
|
|
276
|
-
* @generated from field:
|
|
269
|
+
* @generated from field: repeated metalstack.api.v2.MachineBMCDetails bmc_details = 1;
|
|
277
270
|
*/
|
|
278
|
-
|
|
271
|
+
bmcDetails: MachineBMCDetails[];
|
|
279
272
|
};
|
|
280
273
|
|
|
281
274
|
/**
|
|
@@ -292,15 +285,15 @@ export const MachineServiceListBMCResponseSchema: GenMessage<MachineServiceListB
|
|
|
292
285
|
*/
|
|
293
286
|
export type MachineServiceConsolePasswordRequest = Message<"metalstack.admin.v2.MachineServiceConsolePasswordRequest"> & {
|
|
294
287
|
/**
|
|
295
|
-
* UUID of the machine to get
|
|
288
|
+
* UUID of the machine to get.
|
|
296
289
|
*
|
|
297
290
|
* @generated from field: string uuid = 1;
|
|
298
291
|
*/
|
|
299
292
|
uuid: string;
|
|
300
293
|
|
|
301
294
|
/**
|
|
302
|
-
* Reason must be provided why access to the console is requested
|
|
303
|
-
* Reason is only forwarded to an audit sink
|
|
295
|
+
* Reason must be provided why access to the console is requested.
|
|
296
|
+
* Reason is only forwarded to an audit sink.
|
|
304
297
|
*
|
|
305
298
|
* @generated from field: string reason = 2;
|
|
306
299
|
*/
|
|
@@ -321,14 +314,14 @@ export const MachineServiceConsolePasswordRequestSchema: GenMessage<MachineServi
|
|
|
321
314
|
*/
|
|
322
315
|
export type MachineServiceConsolePasswordResponse = Message<"metalstack.admin.v2.MachineServiceConsolePasswordResponse"> & {
|
|
323
316
|
/**
|
|
324
|
-
* UUID of the machine to get
|
|
317
|
+
* UUID of the machine to get.
|
|
325
318
|
*
|
|
326
319
|
* @generated from field: string uuid = 1;
|
|
327
320
|
*/
|
|
328
321
|
uuid: string;
|
|
329
322
|
|
|
330
323
|
/**
|
|
331
|
-
* Password to access the console
|
|
324
|
+
* Password to access the console.
|
|
332
325
|
*
|
|
333
326
|
* @generated from field: string password = 2;
|
|
334
327
|
*/
|
|
@@ -343,13 +336,13 @@ export const MachineServiceConsolePasswordResponseSchema: GenMessage<MachineServ
|
|
|
343
336
|
messageDesc(file_metalstack_admin_v2_machine, 13);
|
|
344
337
|
|
|
345
338
|
/**
|
|
346
|
-
* MachineServiceSetStateRequest is the request payload for a machine set state request
|
|
339
|
+
* MachineServiceSetStateRequest is the request payload for a machine set state request.
|
|
347
340
|
*
|
|
348
341
|
* @generated from message metalstack.admin.v2.MachineServiceSetStateRequest
|
|
349
342
|
*/
|
|
350
343
|
export type MachineServiceSetStateRequest = Message<"metalstack.admin.v2.MachineServiceSetStateRequest"> & {
|
|
351
344
|
/**
|
|
352
|
-
* UUID of the machine to set the state to
|
|
345
|
+
* UUID of the machine to set the state to.
|
|
353
346
|
*
|
|
354
347
|
* @generated from field: string uuid = 1;
|
|
355
348
|
*/
|
|
@@ -364,7 +357,7 @@ export type MachineServiceSetStateRequest = Message<"metalstack.admin.v2.Machine
|
|
|
364
357
|
state: MachineState;
|
|
365
358
|
|
|
366
359
|
/**
|
|
367
|
-
* Description a description why this machine is in the given state
|
|
360
|
+
* Description a description why this machine is in the given state.
|
|
368
361
|
*
|
|
369
362
|
* @generated from field: string description = 3;
|
|
370
363
|
*/
|
|
@@ -379,7 +372,7 @@ export const MachineServiceSetStateRequestSchema: GenMessage<MachineServiceSetSt
|
|
|
379
372
|
messageDesc(file_metalstack_admin_v2_machine, 14);
|
|
380
373
|
|
|
381
374
|
/**
|
|
382
|
-
* MachineServiceSetStateResponse is the response payload for a machine set state request
|
|
375
|
+
* MachineServiceSetStateResponse is the response payload for a machine set state request.
|
|
383
376
|
*
|
|
384
377
|
* @generated from message metalstack.admin.v2.MachineServiceSetStateResponse
|
|
385
378
|
*/
|
|
@@ -400,13 +393,13 @@ export const MachineServiceSetStateResponseSchema: GenMessage<MachineServiceSetS
|
|
|
400
393
|
messageDesc(file_metalstack_admin_v2_machine, 15);
|
|
401
394
|
|
|
402
395
|
/**
|
|
403
|
-
* MachineServiceIssuesRequest is the request payload for a machine issues request
|
|
396
|
+
* MachineServiceIssuesRequest is the request payload for a machine issues request.
|
|
404
397
|
*
|
|
405
398
|
* @generated from message metalstack.admin.v2.MachineServiceIssuesRequest
|
|
406
399
|
*/
|
|
407
400
|
export type MachineServiceIssuesRequest = Message<"metalstack.admin.v2.MachineServiceIssuesRequest"> & {
|
|
408
401
|
/**
|
|
409
|
-
* Query which machine issues to include
|
|
402
|
+
* Query which machine issues to include.
|
|
410
403
|
*
|
|
411
404
|
* @generated from field: metalstack.api.v2.MachineIssuesQuery query = 1;
|
|
412
405
|
*/
|
|
@@ -421,13 +414,13 @@ export const MachineServiceIssuesRequestSchema: GenMessage<MachineServiceIssuesR
|
|
|
421
414
|
messageDesc(file_metalstack_admin_v2_machine, 16);
|
|
422
415
|
|
|
423
416
|
/**
|
|
424
|
-
* MachineServiceIssuesResponse is the response payload for a machine issues request
|
|
417
|
+
* MachineServiceIssuesResponse is the response payload for a machine issues request.
|
|
425
418
|
*
|
|
426
419
|
* @generated from message metalstack.admin.v2.MachineServiceIssuesResponse
|
|
427
420
|
*/
|
|
428
421
|
export type MachineServiceIssuesResponse = Message<"metalstack.admin.v2.MachineServiceIssuesResponse"> & {
|
|
429
422
|
/**
|
|
430
|
-
* Issues is the result of the issues query
|
|
423
|
+
* Issues is the result of the issues query.
|
|
431
424
|
*
|
|
432
425
|
* @generated from field: repeated metalstack.api.v2.MachineIssues issues = 1;
|
|
433
426
|
*/
|
|
@@ -528,7 +521,7 @@ export const MachineService: GenService<{
|
|
|
528
521
|
output: typeof MachineServiceSetStateResponseSchema;
|
|
529
522
|
},
|
|
530
523
|
/**
|
|
531
|
-
* Issues allows to query issues of machines
|
|
524
|
+
* Issues allows to query issues of machines.
|
|
532
525
|
*
|
|
533
526
|
* @generated from rpc metalstack.admin.v2.MachineService.Issues
|
|
534
527
|
*/
|