@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,62 +6,62 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
6
6
|
*/
|
|
7
7
|
export declare const file_metalstack_api_v2_ip: GenFile;
|
|
8
8
|
/**
|
|
9
|
-
* IP is an IP address which can be used as loadbalancer addresses
|
|
9
|
+
* IP is an IP address which can be used as loadbalancer addresses.
|
|
10
10
|
*
|
|
11
11
|
* @generated from message metalstack.api.v2.IP
|
|
12
12
|
*/
|
|
13
13
|
export type IP = Message<"metalstack.api.v2.IP"> & {
|
|
14
14
|
/**
|
|
15
|
-
* Uuid of this ip
|
|
15
|
+
* Uuid of this ip.
|
|
16
16
|
*
|
|
17
17
|
* @generated from field: string uuid = 1;
|
|
18
18
|
*/
|
|
19
19
|
uuid: string;
|
|
20
20
|
/**
|
|
21
|
-
* Meta for this ip
|
|
21
|
+
* Meta for this ip.
|
|
22
22
|
*
|
|
23
23
|
* @generated from field: metalstack.api.v2.Meta meta = 2;
|
|
24
24
|
*/
|
|
25
25
|
meta?: Meta | undefined;
|
|
26
26
|
/**
|
|
27
|
-
* Ip is either ipv4 or ipv6 address
|
|
27
|
+
* Ip is either ipv4 or ipv6 address.
|
|
28
28
|
*
|
|
29
29
|
* @generated from field: string ip = 3;
|
|
30
30
|
*/
|
|
31
31
|
ip: string;
|
|
32
32
|
/**
|
|
33
|
-
* Name of this ip
|
|
33
|
+
* Name of this ip.
|
|
34
34
|
*
|
|
35
35
|
* @generated from field: string name = 4;
|
|
36
36
|
*/
|
|
37
37
|
name: string;
|
|
38
38
|
/**
|
|
39
|
-
* Description of this ip
|
|
39
|
+
* Description of this ip.
|
|
40
40
|
*
|
|
41
41
|
* @generated from field: string description = 5;
|
|
42
42
|
*/
|
|
43
43
|
description: string;
|
|
44
44
|
/**
|
|
45
|
-
* Network is the network this ip belongs to
|
|
45
|
+
* Network is the network this ip belongs to.
|
|
46
46
|
*
|
|
47
47
|
* @generated from field: string network = 6;
|
|
48
48
|
*/
|
|
49
49
|
network: string;
|
|
50
50
|
/**
|
|
51
|
-
* Project where this ip address belongs to
|
|
51
|
+
* Project where this ip address belongs to.
|
|
52
52
|
*
|
|
53
53
|
* @generated from field: string project = 7;
|
|
54
54
|
*/
|
|
55
55
|
project: string;
|
|
56
56
|
/**
|
|
57
|
-
* Type of this ip
|
|
57
|
+
* Type of this ip.
|
|
58
58
|
*
|
|
59
59
|
* @generated from field: metalstack.api.v2.IPType type = 8;
|
|
60
60
|
*/
|
|
61
61
|
type: IPType;
|
|
62
62
|
/**
|
|
63
|
-
* Namespace if specified this ip is from a namespaced network and can therefore overlap with others
|
|
64
|
-
* Will be equal with project most of the time
|
|
63
|
+
* Namespace if specified this ip is from a namespaced network and can therefore overlap with others.
|
|
64
|
+
* Will be equal with project most of the time.
|
|
65
65
|
*
|
|
66
66
|
* @generated from field: optional string namespace = 9;
|
|
67
67
|
*/
|
|
@@ -73,19 +73,19 @@ export type IP = Message<"metalstack.api.v2.IP"> & {
|
|
|
73
73
|
*/
|
|
74
74
|
export declare const IPSchema: GenMessage<IP>;
|
|
75
75
|
/**
|
|
76
|
-
* IPServiceGetRequest is the request payload for an IP get request
|
|
76
|
+
* IPServiceGetRequest is the request payload for an IP get request.
|
|
77
77
|
*
|
|
78
78
|
* @generated from message metalstack.api.v2.IPServiceGetRequest
|
|
79
79
|
*/
|
|
80
80
|
export type IPServiceGetRequest = Message<"metalstack.api.v2.IPServiceGetRequest"> & {
|
|
81
81
|
/**
|
|
82
|
-
* IP of the ip to get
|
|
82
|
+
* IP of the ip to get.
|
|
83
83
|
*
|
|
84
84
|
* @generated from field: string ip = 1;
|
|
85
85
|
*/
|
|
86
86
|
ip: string;
|
|
87
87
|
/**
|
|
88
|
-
* Project of the ip
|
|
88
|
+
* Project of the ip.
|
|
89
89
|
*
|
|
90
90
|
* @generated from field: string project = 2;
|
|
91
91
|
*/
|
|
@@ -103,61 +103,61 @@ export type IPServiceGetRequest = Message<"metalstack.api.v2.IPServiceGetRequest
|
|
|
103
103
|
*/
|
|
104
104
|
export declare const IPServiceGetRequestSchema: GenMessage<IPServiceGetRequest>;
|
|
105
105
|
/**
|
|
106
|
-
* IPServiceCreateRequest is the request payload for an IP create request
|
|
106
|
+
* IPServiceCreateRequest is the request payload for an IP create request.
|
|
107
107
|
*
|
|
108
108
|
* @generated from message metalstack.api.v2.IPServiceCreateRequest
|
|
109
109
|
*/
|
|
110
110
|
export type IPServiceCreateRequest = Message<"metalstack.api.v2.IPServiceCreateRequest"> & {
|
|
111
111
|
/**
|
|
112
|
-
* Network from which the IP should be created
|
|
112
|
+
* Network from which the IP should be created.
|
|
113
113
|
*
|
|
114
114
|
* @generated from field: string network = 1;
|
|
115
115
|
*/
|
|
116
116
|
network: string;
|
|
117
117
|
/**
|
|
118
|
-
* Project of the ip
|
|
118
|
+
* Project of the ip.
|
|
119
119
|
*
|
|
120
120
|
* @generated from field: string project = 2;
|
|
121
121
|
*/
|
|
122
122
|
project: string;
|
|
123
123
|
/**
|
|
124
|
-
* Name of the ip
|
|
124
|
+
* Name of the ip.
|
|
125
125
|
*
|
|
126
126
|
* @generated from field: optional string name = 3;
|
|
127
127
|
*/
|
|
128
128
|
name?: string | undefined;
|
|
129
129
|
/**
|
|
130
|
-
* Description of the ip
|
|
130
|
+
* Description of the ip.
|
|
131
131
|
*
|
|
132
132
|
* @generated from field: optional string description = 4;
|
|
133
133
|
*/
|
|
134
134
|
description?: string | undefined;
|
|
135
135
|
/**
|
|
136
|
-
* IP if given try to create this ip if still available
|
|
136
|
+
* IP if given try to create this ip if still available.
|
|
137
137
|
*
|
|
138
138
|
* @generated from field: optional string ip = 5;
|
|
139
139
|
*/
|
|
140
140
|
ip?: string | undefined;
|
|
141
141
|
/**
|
|
142
|
-
* Machine for which this ip should get created
|
|
142
|
+
* Machine for which this ip should get created.
|
|
143
143
|
*
|
|
144
144
|
* @generated from field: optional string machine = 6;
|
|
145
145
|
*/
|
|
146
146
|
machine?: string | undefined;
|
|
147
147
|
/**
|
|
148
|
-
* Labels to put onto the ip
|
|
148
|
+
* Labels to put onto the ip.
|
|
149
149
|
*
|
|
150
150
|
* @generated from field: optional metalstack.api.v2.Labels labels = 7;
|
|
151
151
|
*/
|
|
152
152
|
labels?: Labels | undefined;
|
|
153
153
|
/**
|
|
154
|
-
* Type of the IP, ether ephemeral (default), or static
|
|
154
|
+
* Type of the IP, ether ephemeral (default), or static.
|
|
155
155
|
*
|
|
156
156
|
* @generated from field: optional metalstack.api.v2.IPType type = 8;
|
|
157
157
|
*/
|
|
158
158
|
type?: IPType | undefined;
|
|
159
159
|
/**
|
|
160
|
-
* Addressfamily of the IP to create, defaults to ipv4
|
|
160
|
+
* Addressfamily of the IP to create, defaults to ipv4.
|
|
161
161
|
*
|
|
162
162
|
* @generated from field: optional metalstack.api.v2.IPAddressFamily address_family = 9;
|
|
163
163
|
*/
|
|
@@ -169,49 +169,49 @@ export type IPServiceCreateRequest = Message<"metalstack.api.v2.IPServiceCreateR
|
|
|
169
169
|
*/
|
|
170
170
|
export declare const IPServiceCreateRequestSchema: GenMessage<IPServiceCreateRequest>;
|
|
171
171
|
/**
|
|
172
|
-
* IPServiceUpdateRequest is the request payload for an IP update request
|
|
172
|
+
* IPServiceUpdateRequest is the request payload for an IP update request.
|
|
173
173
|
*
|
|
174
174
|
* @generated from message metalstack.api.v2.IPServiceUpdateRequest
|
|
175
175
|
*/
|
|
176
176
|
export type IPServiceUpdateRequest = Message<"metalstack.api.v2.IPServiceUpdateRequest"> & {
|
|
177
177
|
/**
|
|
178
|
-
* Ip the ip address to update
|
|
178
|
+
* Ip the ip address to update.
|
|
179
179
|
*
|
|
180
180
|
* @generated from field: string ip = 1;
|
|
181
181
|
*/
|
|
182
182
|
ip: string;
|
|
183
183
|
/**
|
|
184
|
-
* UpdateMeta contains the timestamp and strategy to be used in this update request
|
|
184
|
+
* UpdateMeta contains the timestamp and strategy to be used in this update request.
|
|
185
185
|
*
|
|
186
186
|
* @generated from field: metalstack.api.v2.UpdateMeta update_meta = 2;
|
|
187
187
|
*/
|
|
188
188
|
updateMeta?: UpdateMeta | undefined;
|
|
189
189
|
/**
|
|
190
|
-
* Project id of the ip
|
|
190
|
+
* Project id of the ip.
|
|
191
191
|
*
|
|
192
192
|
* @generated from field: string project = 3;
|
|
193
193
|
*/
|
|
194
194
|
project: string;
|
|
195
195
|
/**
|
|
196
|
-
* Name of this ip
|
|
196
|
+
* Name of this ip.
|
|
197
197
|
*
|
|
198
198
|
* @generated from field: optional string name = 4;
|
|
199
199
|
*/
|
|
200
200
|
name?: string | undefined;
|
|
201
201
|
/**
|
|
202
|
-
* Description of this ip
|
|
202
|
+
* Description of this ip.
|
|
203
203
|
*
|
|
204
204
|
* @generated from field: optional string description = 5;
|
|
205
205
|
*/
|
|
206
206
|
description?: string | undefined;
|
|
207
207
|
/**
|
|
208
|
-
* Type of this ip
|
|
208
|
+
* Type of this ip.
|
|
209
209
|
*
|
|
210
210
|
* @generated from field: optional metalstack.api.v2.IPType type = 6;
|
|
211
211
|
*/
|
|
212
212
|
type?: IPType | undefined;
|
|
213
213
|
/**
|
|
214
|
-
* Labels on this ip
|
|
214
|
+
* Labels on this ip.
|
|
215
215
|
*
|
|
216
216
|
* @generated from field: optional metalstack.api.v2.UpdateLabels labels = 7;
|
|
217
217
|
*/
|
|
@@ -223,19 +223,19 @@ export type IPServiceUpdateRequest = Message<"metalstack.api.v2.IPServiceUpdateR
|
|
|
223
223
|
*/
|
|
224
224
|
export declare const IPServiceUpdateRequestSchema: GenMessage<IPServiceUpdateRequest>;
|
|
225
225
|
/**
|
|
226
|
-
* IPServiceListRequest is the request payload for an IP list request
|
|
226
|
+
* IPServiceListRequest is the request payload for an IP list request.
|
|
227
227
|
*
|
|
228
228
|
* @generated from message metalstack.api.v2.IPServiceListRequest
|
|
229
229
|
*/
|
|
230
230
|
export type IPServiceListRequest = Message<"metalstack.api.v2.IPServiceListRequest"> & {
|
|
231
231
|
/**
|
|
232
|
-
* Project of the ips to list
|
|
232
|
+
* Project of the ips to list.
|
|
233
233
|
*
|
|
234
234
|
* @generated from field: string project = 1;
|
|
235
235
|
*/
|
|
236
236
|
project: string;
|
|
237
237
|
/**
|
|
238
|
-
* Query to list one or more IPs
|
|
238
|
+
* Query to list one or more IPs.
|
|
239
239
|
*
|
|
240
240
|
* @generated from field: metalstack.api.v2.IPQuery query = 2;
|
|
241
241
|
*/
|
|
@@ -247,67 +247,67 @@ export type IPServiceListRequest = Message<"metalstack.api.v2.IPServiceListReque
|
|
|
247
247
|
*/
|
|
248
248
|
export declare const IPServiceListRequestSchema: GenMessage<IPServiceListRequest>;
|
|
249
249
|
/**
|
|
250
|
-
* IPQuery can be used to query a IP or a list of IP
|
|
250
|
+
* IPQuery can be used to query a IP or a list of IP.
|
|
251
251
|
*
|
|
252
252
|
* @generated from message metalstack.api.v2.IPQuery
|
|
253
253
|
*/
|
|
254
254
|
export type IPQuery = Message<"metalstack.api.v2.IPQuery"> & {
|
|
255
255
|
/**
|
|
256
|
-
* Ip the ip to list
|
|
256
|
+
* Ip the ip to list.
|
|
257
257
|
*
|
|
258
258
|
* @generated from field: optional string ip = 1;
|
|
259
259
|
*/
|
|
260
260
|
ip?: string | undefined;
|
|
261
261
|
/**
|
|
262
|
-
* Network from which the IPs are to list
|
|
262
|
+
* Network from which the IPs are to list.
|
|
263
263
|
*
|
|
264
264
|
* @generated from field: optional string network = 2;
|
|
265
265
|
*/
|
|
266
266
|
network?: string | undefined;
|
|
267
267
|
/**
|
|
268
|
-
* Project of the ips to list
|
|
268
|
+
* Project of the ips to list.
|
|
269
269
|
*
|
|
270
270
|
* @generated from field: optional string project = 3;
|
|
271
271
|
*/
|
|
272
272
|
project?: string | undefined;
|
|
273
273
|
/**
|
|
274
|
-
* Name of this ip
|
|
274
|
+
* Name of this ip.
|
|
275
275
|
*
|
|
276
276
|
* @generated from field: optional string name = 4;
|
|
277
277
|
*/
|
|
278
278
|
name?: string | undefined;
|
|
279
279
|
/**
|
|
280
|
-
* UUID for which these IPs should be filtered
|
|
280
|
+
* UUID for which these IPs should be filtered.
|
|
281
281
|
*
|
|
282
282
|
* @generated from field: optional string uuid = 5;
|
|
283
283
|
*/
|
|
284
284
|
uuid?: string | undefined;
|
|
285
285
|
/**
|
|
286
|
-
* Machine for which these IPs should be filtered
|
|
286
|
+
* Machine for which these IPs should be filtered.
|
|
287
287
|
*
|
|
288
288
|
* @generated from field: optional string machine = 6;
|
|
289
289
|
*/
|
|
290
290
|
machine?: string | undefined;
|
|
291
291
|
/**
|
|
292
|
-
* ParentPrefixCidr for which this ips should get filtered
|
|
292
|
+
* ParentPrefixCidr for which this ips should get filtered.
|
|
293
293
|
*
|
|
294
294
|
* @generated from field: optional string parent_prefix_cidr = 7;
|
|
295
295
|
*/
|
|
296
296
|
parentPrefixCidr?: string | undefined;
|
|
297
297
|
/**
|
|
298
|
-
* Labels for which these IPs should be filtered
|
|
298
|
+
* Labels for which these IPs should be filtered.
|
|
299
299
|
*
|
|
300
300
|
* @generated from field: optional metalstack.api.v2.Labels labels = 8;
|
|
301
301
|
*/
|
|
302
302
|
labels?: Labels | undefined;
|
|
303
303
|
/**
|
|
304
|
-
* Static if set to true, this will be a Static ip
|
|
304
|
+
* Static if set to true, this will be a Static ip.
|
|
305
305
|
*
|
|
306
306
|
* @generated from field: optional metalstack.api.v2.IPType type = 9;
|
|
307
307
|
*/
|
|
308
308
|
type?: IPType | undefined;
|
|
309
309
|
/**
|
|
310
|
-
* Address family of the IPs to list, defaults to all address families
|
|
310
|
+
* Address family of the IPs to list, defaults to all address families.
|
|
311
311
|
*
|
|
312
312
|
* @generated from field: optional metalstack.api.v2.IPAddressFamily address_family = 10;
|
|
313
313
|
*/
|
|
@@ -325,19 +325,19 @@ export type IPQuery = Message<"metalstack.api.v2.IPQuery"> & {
|
|
|
325
325
|
*/
|
|
326
326
|
export declare const IPQuerySchema: GenMessage<IPQuery>;
|
|
327
327
|
/**
|
|
328
|
-
* IPServiceDeleteRequest is the request payload for a ip delete request
|
|
328
|
+
* IPServiceDeleteRequest is the request payload for a ip delete request.
|
|
329
329
|
*
|
|
330
330
|
* @generated from message metalstack.api.v2.IPServiceDeleteRequest
|
|
331
331
|
*/
|
|
332
332
|
export type IPServiceDeleteRequest = Message<"metalstack.api.v2.IPServiceDeleteRequest"> & {
|
|
333
333
|
/**
|
|
334
|
-
* IP of the ip to delete
|
|
334
|
+
* IP of the ip to delete.
|
|
335
335
|
*
|
|
336
336
|
* @generated from field: string ip = 1;
|
|
337
337
|
*/
|
|
338
338
|
ip: string;
|
|
339
339
|
/**
|
|
340
|
-
* Project of the ip
|
|
340
|
+
* Project of the ip.
|
|
341
341
|
*
|
|
342
342
|
* @generated from field: string project = 2;
|
|
343
343
|
*/
|
|
@@ -349,13 +349,13 @@ export type IPServiceDeleteRequest = Message<"metalstack.api.v2.IPServiceDeleteR
|
|
|
349
349
|
*/
|
|
350
350
|
export declare const IPServiceDeleteRequestSchema: GenMessage<IPServiceDeleteRequest>;
|
|
351
351
|
/**
|
|
352
|
-
* IPServiceGetResponse is the response payload for an IP get request
|
|
352
|
+
* IPServiceGetResponse is the response payload for an IP get request.
|
|
353
353
|
*
|
|
354
354
|
* @generated from message metalstack.api.v2.IPServiceGetResponse
|
|
355
355
|
*/
|
|
356
356
|
export type IPServiceGetResponse = Message<"metalstack.api.v2.IPServiceGetResponse"> & {
|
|
357
357
|
/**
|
|
358
|
-
* Ip the ip
|
|
358
|
+
* Ip the ip.
|
|
359
359
|
*
|
|
360
360
|
* @generated from field: metalstack.api.v2.IP ip = 1;
|
|
361
361
|
*/
|
|
@@ -367,13 +367,13 @@ export type IPServiceGetResponse = Message<"metalstack.api.v2.IPServiceGetRespon
|
|
|
367
367
|
*/
|
|
368
368
|
export declare const IPServiceGetResponseSchema: GenMessage<IPServiceGetResponse>;
|
|
369
369
|
/**
|
|
370
|
-
* IPServiceUpdateResponse is the response payload for a ip update request
|
|
370
|
+
* IPServiceUpdateResponse is the response payload for a ip update request.
|
|
371
371
|
*
|
|
372
372
|
* @generated from message metalstack.api.v2.IPServiceUpdateResponse
|
|
373
373
|
*/
|
|
374
374
|
export type IPServiceUpdateResponse = Message<"metalstack.api.v2.IPServiceUpdateResponse"> & {
|
|
375
375
|
/**
|
|
376
|
-
* Ip the ip
|
|
376
|
+
* Ip the ip.
|
|
377
377
|
*
|
|
378
378
|
* @generated from field: metalstack.api.v2.IP ip = 1;
|
|
379
379
|
*/
|
|
@@ -385,13 +385,13 @@ export type IPServiceUpdateResponse = Message<"metalstack.api.v2.IPServiceUpdate
|
|
|
385
385
|
*/
|
|
386
386
|
export declare const IPServiceUpdateResponseSchema: GenMessage<IPServiceUpdateResponse>;
|
|
387
387
|
/**
|
|
388
|
-
* IPServiceCreateResponse is the response payload for an IP create request
|
|
388
|
+
* IPServiceCreateResponse is the response payload for an IP create request.
|
|
389
389
|
*
|
|
390
390
|
* @generated from message metalstack.api.v2.IPServiceCreateResponse
|
|
391
391
|
*/
|
|
392
392
|
export type IPServiceCreateResponse = Message<"metalstack.api.v2.IPServiceCreateResponse"> & {
|
|
393
393
|
/**
|
|
394
|
-
* Ip the ip
|
|
394
|
+
* Ip the ip.
|
|
395
395
|
*
|
|
396
396
|
* @generated from field: metalstack.api.v2.IP ip = 1;
|
|
397
397
|
*/
|
|
@@ -403,13 +403,13 @@ export type IPServiceCreateResponse = Message<"metalstack.api.v2.IPServiceCreate
|
|
|
403
403
|
*/
|
|
404
404
|
export declare const IPServiceCreateResponseSchema: GenMessage<IPServiceCreateResponse>;
|
|
405
405
|
/**
|
|
406
|
-
* IPServiceListResponse is the response payload for an IP list request
|
|
406
|
+
* IPServiceListResponse is the response payload for an IP list request.
|
|
407
407
|
*
|
|
408
408
|
* @generated from message metalstack.api.v2.IPServiceListResponse
|
|
409
409
|
*/
|
|
410
410
|
export type IPServiceListResponse = Message<"metalstack.api.v2.IPServiceListResponse"> & {
|
|
411
411
|
/**
|
|
412
|
-
* Ips the ips
|
|
412
|
+
* Ips the ips.
|
|
413
413
|
*
|
|
414
414
|
* @generated from field: repeated metalstack.api.v2.IP ips = 1;
|
|
415
415
|
*/
|
|
@@ -421,13 +421,13 @@ export type IPServiceListResponse = Message<"metalstack.api.v2.IPServiceListResp
|
|
|
421
421
|
*/
|
|
422
422
|
export declare const IPServiceListResponseSchema: GenMessage<IPServiceListResponse>;
|
|
423
423
|
/**
|
|
424
|
-
* IPServiceDeleteResponse is the response payload for an IP delete request
|
|
424
|
+
* IPServiceDeleteResponse is the response payload for an IP delete request.
|
|
425
425
|
*
|
|
426
426
|
* @generated from message metalstack.api.v2.IPServiceDeleteResponse
|
|
427
427
|
*/
|
|
428
428
|
export type IPServiceDeleteResponse = Message<"metalstack.api.v2.IPServiceDeleteResponse"> & {
|
|
429
429
|
/**
|
|
430
|
-
* Ip the ip
|
|
430
|
+
* Ip the ip.
|
|
431
431
|
*
|
|
432
432
|
* @generated from field: metalstack.api.v2.IP ip = 1;
|
|
433
433
|
*/
|
|
@@ -439,25 +439,25 @@ export type IPServiceDeleteResponse = Message<"metalstack.api.v2.IPServiceDelete
|
|
|
439
439
|
*/
|
|
440
440
|
export declare const IPServiceDeleteResponseSchema: GenMessage<IPServiceDeleteResponse>;
|
|
441
441
|
/**
|
|
442
|
-
* IPType specifies different IP address types
|
|
442
|
+
* IPType specifies different IP address types.
|
|
443
443
|
*
|
|
444
444
|
* @generated from enum metalstack.api.v2.IPType
|
|
445
445
|
*/
|
|
446
446
|
export declare enum IPType {
|
|
447
447
|
/**
|
|
448
|
-
* IP_TYPE_UNSPECIFIED is not specified
|
|
448
|
+
* IP_TYPE_UNSPECIFIED is not specified.
|
|
449
449
|
*
|
|
450
450
|
* @generated from enum value: IP_TYPE_UNSPECIFIED = 0;
|
|
451
451
|
*/
|
|
452
452
|
IP_TYPE_UNSPECIFIED = 0,
|
|
453
453
|
/**
|
|
454
|
-
* IP_TYPE_EPHEMERAL defines an ephemeral IP address which is freed/deleted after usage
|
|
454
|
+
* IP_TYPE_EPHEMERAL defines an ephemeral IP address which is freed/deleted after usage.
|
|
455
455
|
*
|
|
456
456
|
* @generated from enum value: IP_TYPE_EPHEMERAL = 1;
|
|
457
457
|
*/
|
|
458
458
|
IP_TYPE_EPHEMERAL = 1,
|
|
459
459
|
/**
|
|
460
|
-
* IP_TYPE_STATIC defines a static ip address which must be freed/deleted explicitly
|
|
460
|
+
* IP_TYPE_STATIC defines a static ip address which must be freed/deleted explicitly.
|
|
461
461
|
*
|
|
462
462
|
* @generated from enum value: IP_TYPE_STATIC = 2;
|
|
463
463
|
*/
|
|
@@ -468,25 +468,25 @@ export declare enum IPType {
|
|
|
468
468
|
*/
|
|
469
469
|
export declare const IPTypeSchema: GenEnum<IPType>;
|
|
470
470
|
/**
|
|
471
|
-
* IPAddressFamily defines either IPv4 or IPv6 Addressfamily
|
|
471
|
+
* IPAddressFamily defines either IPv4 or IPv6 Addressfamily.
|
|
472
472
|
*
|
|
473
473
|
* @generated from enum metalstack.api.v2.IPAddressFamily
|
|
474
474
|
*/
|
|
475
475
|
export declare enum IPAddressFamily {
|
|
476
476
|
/**
|
|
477
|
-
* IP_ADDRESS_FAMILY_UNSPECIFIED is not specified
|
|
477
|
+
* IP_ADDRESS_FAMILY_UNSPECIFIED is not specified.
|
|
478
478
|
*
|
|
479
479
|
* @generated from enum value: IP_ADDRESS_FAMILY_UNSPECIFIED = 0;
|
|
480
480
|
*/
|
|
481
481
|
IP_ADDRESS_FAMILY_UNSPECIFIED = 0,
|
|
482
482
|
/**
|
|
483
|
-
* IP_ADDRESS_FAMILY_V4 defines a IPv4 address
|
|
483
|
+
* IP_ADDRESS_FAMILY_V4 defines a IPv4 address.
|
|
484
484
|
*
|
|
485
485
|
* @generated from enum value: IP_ADDRESS_FAMILY_V4 = 1;
|
|
486
486
|
*/
|
|
487
487
|
IP_ADDRESS_FAMILY_V4 = 1,
|
|
488
488
|
/**
|
|
489
|
-
* IP_ADDRESS_FAMILY_V6 defines a IPv6 address
|
|
489
|
+
* IP_ADDRESS_FAMILY_V6 defines a IPv6 address.
|
|
490
490
|
*
|
|
491
491
|
* @generated from enum value: IP_ADDRESS_FAMILY_V6 = 2;
|
|
492
492
|
*/
|
|
@@ -70,26 +70,26 @@ export const IPServiceListResponseSchema = /*@__PURE__*/ messageDesc(file_metals
|
|
|
70
70
|
*/
|
|
71
71
|
export const IPServiceDeleteResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_ip, 11);
|
|
72
72
|
/**
|
|
73
|
-
* IPType specifies different IP address types
|
|
73
|
+
* IPType specifies different IP address types.
|
|
74
74
|
*
|
|
75
75
|
* @generated from enum metalstack.api.v2.IPType
|
|
76
76
|
*/
|
|
77
77
|
export var IPType;
|
|
78
78
|
(function (IPType) {
|
|
79
79
|
/**
|
|
80
|
-
* IP_TYPE_UNSPECIFIED is not specified
|
|
80
|
+
* IP_TYPE_UNSPECIFIED is not specified.
|
|
81
81
|
*
|
|
82
82
|
* @generated from enum value: IP_TYPE_UNSPECIFIED = 0;
|
|
83
83
|
*/
|
|
84
84
|
IPType[IPType["IP_TYPE_UNSPECIFIED"] = 0] = "IP_TYPE_UNSPECIFIED";
|
|
85
85
|
/**
|
|
86
|
-
* IP_TYPE_EPHEMERAL defines an ephemeral IP address which is freed/deleted after usage
|
|
86
|
+
* IP_TYPE_EPHEMERAL defines an ephemeral IP address which is freed/deleted after usage.
|
|
87
87
|
*
|
|
88
88
|
* @generated from enum value: IP_TYPE_EPHEMERAL = 1;
|
|
89
89
|
*/
|
|
90
90
|
IPType[IPType["IP_TYPE_EPHEMERAL"] = 1] = "IP_TYPE_EPHEMERAL";
|
|
91
91
|
/**
|
|
92
|
-
* IP_TYPE_STATIC defines a static ip address which must be freed/deleted explicitly
|
|
92
|
+
* IP_TYPE_STATIC defines a static ip address which must be freed/deleted explicitly.
|
|
93
93
|
*
|
|
94
94
|
* @generated from enum value: IP_TYPE_STATIC = 2;
|
|
95
95
|
*/
|
|
@@ -100,26 +100,26 @@ export var IPType;
|
|
|
100
100
|
*/
|
|
101
101
|
export const IPTypeSchema = /*@__PURE__*/ enumDesc(file_metalstack_api_v2_ip, 0);
|
|
102
102
|
/**
|
|
103
|
-
* IPAddressFamily defines either IPv4 or IPv6 Addressfamily
|
|
103
|
+
* IPAddressFamily defines either IPv4 or IPv6 Addressfamily.
|
|
104
104
|
*
|
|
105
105
|
* @generated from enum metalstack.api.v2.IPAddressFamily
|
|
106
106
|
*/
|
|
107
107
|
export var IPAddressFamily;
|
|
108
108
|
(function (IPAddressFamily) {
|
|
109
109
|
/**
|
|
110
|
-
* IP_ADDRESS_FAMILY_UNSPECIFIED is not specified
|
|
110
|
+
* IP_ADDRESS_FAMILY_UNSPECIFIED is not specified.
|
|
111
111
|
*
|
|
112
112
|
* @generated from enum value: IP_ADDRESS_FAMILY_UNSPECIFIED = 0;
|
|
113
113
|
*/
|
|
114
114
|
IPAddressFamily[IPAddressFamily["IP_ADDRESS_FAMILY_UNSPECIFIED"] = 0] = "IP_ADDRESS_FAMILY_UNSPECIFIED";
|
|
115
115
|
/**
|
|
116
|
-
* IP_ADDRESS_FAMILY_V4 defines a IPv4 address
|
|
116
|
+
* IP_ADDRESS_FAMILY_V4 defines a IPv4 address.
|
|
117
117
|
*
|
|
118
118
|
* @generated from enum value: IP_ADDRESS_FAMILY_V4 = 1;
|
|
119
119
|
*/
|
|
120
120
|
IPAddressFamily[IPAddressFamily["IP_ADDRESS_FAMILY_V4"] = 1] = "IP_ADDRESS_FAMILY_V4";
|
|
121
121
|
/**
|
|
122
|
-
* IP_ADDRESS_FAMILY_V6 defines a IPv6 address
|
|
122
|
+
* IP_ADDRESS_FAMILY_V6 defines a IPv6 address.
|
|
123
123
|
*
|
|
124
124
|
* @generated from enum value: IP_ADDRESS_FAMILY_V6 = 2;
|
|
125
125
|
*/
|