@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
|
@@ -13,31 +13,31 @@ export declare const file_metalstack_admin_v2_tenant: GenFile;
|
|
|
13
13
|
*/
|
|
14
14
|
export type TenantServiceCreateRequest = Message<"metalstack.admin.v2.TenantServiceCreateRequest"> & {
|
|
15
15
|
/**
|
|
16
|
-
* Name of the tenant
|
|
16
|
+
* Name of the tenant.
|
|
17
17
|
*
|
|
18
18
|
* @generated from field: string name = 1;
|
|
19
19
|
*/
|
|
20
20
|
name: string;
|
|
21
21
|
/**
|
|
22
|
-
* Description of the tenant
|
|
22
|
+
* Description of the tenant.
|
|
23
23
|
*
|
|
24
24
|
* @generated from field: optional string description = 2;
|
|
25
25
|
*/
|
|
26
26
|
description?: string | undefined;
|
|
27
27
|
/**
|
|
28
|
-
* Email of the tenant, if not set will be inherited from the creator
|
|
28
|
+
* Email of the tenant, if not set will be inherited from the creator.
|
|
29
29
|
*
|
|
30
30
|
* @generated from field: optional string email = 3;
|
|
31
31
|
*/
|
|
32
32
|
email?: string | undefined;
|
|
33
33
|
/**
|
|
34
|
-
* AvatarUrl of the tenant
|
|
34
|
+
* AvatarUrl of the tenant.
|
|
35
35
|
*
|
|
36
36
|
* @generated from field: optional string avatar_url = 4;
|
|
37
37
|
*/
|
|
38
38
|
avatarUrl?: string | undefined;
|
|
39
39
|
/**
|
|
40
|
-
* Labels on the tenant
|
|
40
|
+
* Labels on the tenant.
|
|
41
41
|
*
|
|
42
42
|
* @generated from field: metalstack.api.v2.Labels labels = 5;
|
|
43
43
|
*/
|
|
@@ -55,7 +55,7 @@ export declare const TenantServiceCreateRequestSchema: GenMessage<TenantServiceC
|
|
|
55
55
|
*/
|
|
56
56
|
export type TenantServiceCreateResponse = Message<"metalstack.admin.v2.TenantServiceCreateResponse"> & {
|
|
57
57
|
/**
|
|
58
|
-
* Tenant contains the created tenant
|
|
58
|
+
* Tenant contains the created tenant.
|
|
59
59
|
*
|
|
60
60
|
* @generated from field: metalstack.api.v2.Tenant tenant = 1;
|
|
61
61
|
*/
|
|
@@ -73,7 +73,7 @@ export declare const TenantServiceCreateResponseSchema: GenMessage<TenantService
|
|
|
73
73
|
*/
|
|
74
74
|
export type TenantServiceListRequest = Message<"metalstack.admin.v2.TenantServiceListRequest"> & {
|
|
75
75
|
/**
|
|
76
|
-
* Query for tenants
|
|
76
|
+
* Query for tenants.
|
|
77
77
|
*
|
|
78
78
|
* @generated from field: metalstack.api.v2.TenantQuery query = 1;
|
|
79
79
|
*/
|
|
@@ -91,13 +91,13 @@ export declare const TenantServiceListRequestSchema: GenMessage<TenantServiceLis
|
|
|
91
91
|
*/
|
|
92
92
|
export type TenantServiceListResponse = Message<"metalstack.admin.v2.TenantServiceListResponse"> & {
|
|
93
93
|
/**
|
|
94
|
-
* Tenants contains the list of tenants
|
|
94
|
+
* Tenants contains the list of tenants.
|
|
95
95
|
*
|
|
96
96
|
* @generated from field: repeated metalstack.api.v2.Tenant tenants = 1;
|
|
97
97
|
*/
|
|
98
98
|
tenants: Tenant[];
|
|
99
99
|
/**
|
|
100
|
-
* NextPage is used for pagination, returns the next page to be fetched and must then be provided in the list request
|
|
100
|
+
* NextPage is used for pagination, returns the next page to be fetched and must then be provided in the list request.
|
|
101
101
|
*
|
|
102
102
|
* @generated from field: optional uint64 next_page = 2;
|
|
103
103
|
*/
|
|
@@ -109,25 +109,25 @@ export type TenantServiceListResponse = Message<"metalstack.admin.v2.TenantServi
|
|
|
109
109
|
*/
|
|
110
110
|
export declare const TenantServiceListResponseSchema: GenMessage<TenantServiceListResponse>;
|
|
111
111
|
/**
|
|
112
|
-
* TenantServiceAddMemberRequest is the request payload for adding a member to a tenant
|
|
112
|
+
* TenantServiceAddMemberRequest is the request payload for adding a member to a tenant.
|
|
113
113
|
*
|
|
114
114
|
* @generated from message metalstack.admin.v2.TenantServiceAddMemberRequest
|
|
115
115
|
*/
|
|
116
116
|
export type TenantServiceAddMemberRequest = Message<"metalstack.admin.v2.TenantServiceAddMemberRequest"> & {
|
|
117
117
|
/**
|
|
118
|
-
* Login of the tenant to which the member will be added
|
|
118
|
+
* Login of the tenant to which the member will be added.
|
|
119
119
|
*
|
|
120
120
|
* @generated from field: string tenant = 1;
|
|
121
121
|
*/
|
|
122
122
|
tenant: string;
|
|
123
123
|
/**
|
|
124
|
-
* Login of the member to add
|
|
124
|
+
* Login of the member to add.
|
|
125
125
|
*
|
|
126
126
|
* @generated from field: string member = 2;
|
|
127
127
|
*/
|
|
128
128
|
member: string;
|
|
129
129
|
/**
|
|
130
|
-
* Role to assign to the new member
|
|
130
|
+
* Role to assign to the new member.
|
|
131
131
|
*
|
|
132
132
|
* @generated from field: metalstack.api.v2.TenantRole role = 3;
|
|
133
133
|
*/
|
|
@@ -139,13 +139,13 @@ export type TenantServiceAddMemberRequest = Message<"metalstack.admin.v2.TenantS
|
|
|
139
139
|
*/
|
|
140
140
|
export declare const TenantServiceAddMemberRequestSchema: GenMessage<TenantServiceAddMemberRequest>;
|
|
141
141
|
/**
|
|
142
|
-
* TenantServiceAddMemberResponse is the response payload for the add member request
|
|
142
|
+
* TenantServiceAddMemberResponse is the response payload for the add member request.
|
|
143
143
|
*
|
|
144
144
|
* @generated from message metalstack.admin.v2.TenantServiceAddMemberResponse
|
|
145
145
|
*/
|
|
146
146
|
export type TenantServiceAddMemberResponse = Message<"metalstack.admin.v2.TenantServiceAddMemberResponse"> & {
|
|
147
147
|
/**
|
|
148
|
-
* TenantMember is the added tenant member
|
|
148
|
+
* TenantMember is the added tenant member.
|
|
149
149
|
*
|
|
150
150
|
* @generated from field: metalstack.api.v2.TenantMember tenant_member = 1;
|
|
151
151
|
*/
|
|
@@ -157,19 +157,19 @@ export type TenantServiceAddMemberResponse = Message<"metalstack.admin.v2.Tenant
|
|
|
157
157
|
*/
|
|
158
158
|
export declare const TenantServiceAddMemberResponseSchema: GenMessage<TenantServiceAddMemberResponse>;
|
|
159
159
|
/**
|
|
160
|
-
* TenantServiceRemoveMemberRequest is the request payload for removing a member from a tenant
|
|
160
|
+
* TenantServiceRemoveMemberRequest is the request payload for removing a member from a tenant.
|
|
161
161
|
*
|
|
162
162
|
* @generated from message metalstack.admin.v2.TenantServiceRemoveMemberRequest
|
|
163
163
|
*/
|
|
164
164
|
export type TenantServiceRemoveMemberRequest = Message<"metalstack.admin.v2.TenantServiceRemoveMemberRequest"> & {
|
|
165
165
|
/**
|
|
166
|
-
* Login of the tenant from which the member will be removed
|
|
166
|
+
* Login of the tenant from which the member will be removed.
|
|
167
167
|
*
|
|
168
168
|
* @generated from field: string tenant = 1;
|
|
169
169
|
*/
|
|
170
170
|
tenant: string;
|
|
171
171
|
/**
|
|
172
|
-
* Login of the member to remove
|
|
172
|
+
* Login of the member to remove.
|
|
173
173
|
*
|
|
174
174
|
* @generated from field: string member = 2;
|
|
175
175
|
*/
|
|
@@ -181,13 +181,13 @@ export type TenantServiceRemoveMemberRequest = Message<"metalstack.admin.v2.Tena
|
|
|
181
181
|
*/
|
|
182
182
|
export declare const TenantServiceRemoveMemberRequestSchema: GenMessage<TenantServiceRemoveMemberRequest>;
|
|
183
183
|
/**
|
|
184
|
-
* TenantServiceRemoveMemberResponse is the response payload for the remove member request
|
|
184
|
+
* TenantServiceRemoveMemberResponse is the response payload for the remove member request.
|
|
185
185
|
*
|
|
186
186
|
* @generated from message metalstack.admin.v2.TenantServiceRemoveMemberResponse
|
|
187
187
|
*/
|
|
188
188
|
export type TenantServiceRemoveMemberResponse = Message<"metalstack.admin.v2.TenantServiceRemoveMemberResponse"> & {
|
|
189
189
|
/**
|
|
190
|
-
* TenantMember is the removed tenant member
|
|
190
|
+
* TenantMember is the removed tenant member.
|
|
191
191
|
*
|
|
192
192
|
* @generated from field: metalstack.api.v2.TenantMember tenant_member = 1;
|
|
193
193
|
*/
|
|
@@ -225,7 +225,7 @@ export declare const TenantService: GenService<{
|
|
|
225
225
|
output: typeof TenantServiceListResponseSchema;
|
|
226
226
|
};
|
|
227
227
|
/**
|
|
228
|
-
* Add a member to a tenant
|
|
228
|
+
* Add a member to a tenant.
|
|
229
229
|
*
|
|
230
230
|
* @generated from rpc metalstack.admin.v2.TenantService.AddMember
|
|
231
231
|
*/
|
|
@@ -235,7 +235,7 @@ export declare const TenantService: GenService<{
|
|
|
235
235
|
output: typeof TenantServiceAddMemberResponseSchema;
|
|
236
236
|
};
|
|
237
237
|
/**
|
|
238
|
-
* RemoveMember removes a member from a tenant
|
|
238
|
+
* RemoveMember removes a member from a tenant.
|
|
239
239
|
*
|
|
240
240
|
* @generated from rpc metalstack.admin.v2.TenantService.RemoveMember
|
|
241
241
|
*/
|
|
@@ -25,35 +25,35 @@ export const file_metalstack_admin_v2_tenant: GenFile = /*@__PURE__*/
|
|
|
25
25
|
*/
|
|
26
26
|
export type TenantServiceCreateRequest = Message<"metalstack.admin.v2.TenantServiceCreateRequest"> & {
|
|
27
27
|
/**
|
|
28
|
-
* Name of the tenant
|
|
28
|
+
* Name of the tenant.
|
|
29
29
|
*
|
|
30
30
|
* @generated from field: string name = 1;
|
|
31
31
|
*/
|
|
32
32
|
name: string;
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
|
-
* Description of the tenant
|
|
35
|
+
* Description of the tenant.
|
|
36
36
|
*
|
|
37
37
|
* @generated from field: optional string description = 2;
|
|
38
38
|
*/
|
|
39
39
|
description?: string | undefined;
|
|
40
40
|
|
|
41
41
|
/**
|
|
42
|
-
* Email of the tenant, if not set will be inherited from the creator
|
|
42
|
+
* Email of the tenant, if not set will be inherited from the creator.
|
|
43
43
|
*
|
|
44
44
|
* @generated from field: optional string email = 3;
|
|
45
45
|
*/
|
|
46
46
|
email?: string | undefined;
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
|
-
* AvatarUrl of the tenant
|
|
49
|
+
* AvatarUrl of the tenant.
|
|
50
50
|
*
|
|
51
51
|
* @generated from field: optional string avatar_url = 4;
|
|
52
52
|
*/
|
|
53
53
|
avatarUrl?: string | undefined;
|
|
54
54
|
|
|
55
55
|
/**
|
|
56
|
-
* Labels on the tenant
|
|
56
|
+
* Labels on the tenant.
|
|
57
57
|
*
|
|
58
58
|
* @generated from field: metalstack.api.v2.Labels labels = 5;
|
|
59
59
|
*/
|
|
@@ -74,7 +74,7 @@ export const TenantServiceCreateRequestSchema: GenMessage<TenantServiceCreateReq
|
|
|
74
74
|
*/
|
|
75
75
|
export type TenantServiceCreateResponse = Message<"metalstack.admin.v2.TenantServiceCreateResponse"> & {
|
|
76
76
|
/**
|
|
77
|
-
* Tenant contains the created tenant
|
|
77
|
+
* Tenant contains the created tenant.
|
|
78
78
|
*
|
|
79
79
|
* @generated from field: metalstack.api.v2.Tenant tenant = 1;
|
|
80
80
|
*/
|
|
@@ -95,7 +95,7 @@ export const TenantServiceCreateResponseSchema: GenMessage<TenantServiceCreateRe
|
|
|
95
95
|
*/
|
|
96
96
|
export type TenantServiceListRequest = Message<"metalstack.admin.v2.TenantServiceListRequest"> & {
|
|
97
97
|
/**
|
|
98
|
-
* Query for tenants
|
|
98
|
+
* Query for tenants.
|
|
99
99
|
*
|
|
100
100
|
* @generated from field: metalstack.api.v2.TenantQuery query = 1;
|
|
101
101
|
*/
|
|
@@ -116,14 +116,14 @@ export const TenantServiceListRequestSchema: GenMessage<TenantServiceListRequest
|
|
|
116
116
|
*/
|
|
117
117
|
export type TenantServiceListResponse = Message<"metalstack.admin.v2.TenantServiceListResponse"> & {
|
|
118
118
|
/**
|
|
119
|
-
* Tenants contains the list of tenants
|
|
119
|
+
* Tenants contains the list of tenants.
|
|
120
120
|
*
|
|
121
121
|
* @generated from field: repeated metalstack.api.v2.Tenant tenants = 1;
|
|
122
122
|
*/
|
|
123
123
|
tenants: Tenant[];
|
|
124
124
|
|
|
125
125
|
/**
|
|
126
|
-
* NextPage is used for pagination, returns the next page to be fetched and must then be provided in the list request
|
|
126
|
+
* NextPage is used for pagination, returns the next page to be fetched and must then be provided in the list request.
|
|
127
127
|
*
|
|
128
128
|
* @generated from field: optional uint64 next_page = 2;
|
|
129
129
|
*/
|
|
@@ -138,27 +138,27 @@ export const TenantServiceListResponseSchema: GenMessage<TenantServiceListRespon
|
|
|
138
138
|
messageDesc(file_metalstack_admin_v2_tenant, 3);
|
|
139
139
|
|
|
140
140
|
/**
|
|
141
|
-
* TenantServiceAddMemberRequest is the request payload for adding a member to a tenant
|
|
141
|
+
* TenantServiceAddMemberRequest is the request payload for adding a member to a tenant.
|
|
142
142
|
*
|
|
143
143
|
* @generated from message metalstack.admin.v2.TenantServiceAddMemberRequest
|
|
144
144
|
*/
|
|
145
145
|
export type TenantServiceAddMemberRequest = Message<"metalstack.admin.v2.TenantServiceAddMemberRequest"> & {
|
|
146
146
|
/**
|
|
147
|
-
* Login of the tenant to which the member will be added
|
|
147
|
+
* Login of the tenant to which the member will be added.
|
|
148
148
|
*
|
|
149
149
|
* @generated from field: string tenant = 1;
|
|
150
150
|
*/
|
|
151
151
|
tenant: string;
|
|
152
152
|
|
|
153
153
|
/**
|
|
154
|
-
* Login of the member to add
|
|
154
|
+
* Login of the member to add.
|
|
155
155
|
*
|
|
156
156
|
* @generated from field: string member = 2;
|
|
157
157
|
*/
|
|
158
158
|
member: string;
|
|
159
159
|
|
|
160
160
|
/**
|
|
161
|
-
* Role to assign to the new member
|
|
161
|
+
* Role to assign to the new member.
|
|
162
162
|
*
|
|
163
163
|
* @generated from field: metalstack.api.v2.TenantRole role = 3;
|
|
164
164
|
*/
|
|
@@ -173,13 +173,13 @@ export const TenantServiceAddMemberRequestSchema: GenMessage<TenantServiceAddMem
|
|
|
173
173
|
messageDesc(file_metalstack_admin_v2_tenant, 4);
|
|
174
174
|
|
|
175
175
|
/**
|
|
176
|
-
* TenantServiceAddMemberResponse is the response payload for the add member request
|
|
176
|
+
* TenantServiceAddMemberResponse is the response payload for the add member request.
|
|
177
177
|
*
|
|
178
178
|
* @generated from message metalstack.admin.v2.TenantServiceAddMemberResponse
|
|
179
179
|
*/
|
|
180
180
|
export type TenantServiceAddMemberResponse = Message<"metalstack.admin.v2.TenantServiceAddMemberResponse"> & {
|
|
181
181
|
/**
|
|
182
|
-
* TenantMember is the added tenant member
|
|
182
|
+
* TenantMember is the added tenant member.
|
|
183
183
|
*
|
|
184
184
|
* @generated from field: metalstack.api.v2.TenantMember tenant_member = 1;
|
|
185
185
|
*/
|
|
@@ -194,20 +194,20 @@ export const TenantServiceAddMemberResponseSchema: GenMessage<TenantServiceAddMe
|
|
|
194
194
|
messageDesc(file_metalstack_admin_v2_tenant, 5);
|
|
195
195
|
|
|
196
196
|
/**
|
|
197
|
-
* TenantServiceRemoveMemberRequest is the request payload for removing a member from a tenant
|
|
197
|
+
* TenantServiceRemoveMemberRequest is the request payload for removing a member from a tenant.
|
|
198
198
|
*
|
|
199
199
|
* @generated from message metalstack.admin.v2.TenantServiceRemoveMemberRequest
|
|
200
200
|
*/
|
|
201
201
|
export type TenantServiceRemoveMemberRequest = Message<"metalstack.admin.v2.TenantServiceRemoveMemberRequest"> & {
|
|
202
202
|
/**
|
|
203
|
-
* Login of the tenant from which the member will be removed
|
|
203
|
+
* Login of the tenant from which the member will be removed.
|
|
204
204
|
*
|
|
205
205
|
* @generated from field: string tenant = 1;
|
|
206
206
|
*/
|
|
207
207
|
tenant: string;
|
|
208
208
|
|
|
209
209
|
/**
|
|
210
|
-
* Login of the member to remove
|
|
210
|
+
* Login of the member to remove.
|
|
211
211
|
*
|
|
212
212
|
* @generated from field: string member = 2;
|
|
213
213
|
*/
|
|
@@ -222,13 +222,13 @@ export const TenantServiceRemoveMemberRequestSchema: GenMessage<TenantServiceRem
|
|
|
222
222
|
messageDesc(file_metalstack_admin_v2_tenant, 6);
|
|
223
223
|
|
|
224
224
|
/**
|
|
225
|
-
* TenantServiceRemoveMemberResponse is the response payload for the remove member request
|
|
225
|
+
* TenantServiceRemoveMemberResponse is the response payload for the remove member request.
|
|
226
226
|
*
|
|
227
227
|
* @generated from message metalstack.admin.v2.TenantServiceRemoveMemberResponse
|
|
228
228
|
*/
|
|
229
229
|
export type TenantServiceRemoveMemberResponse = Message<"metalstack.admin.v2.TenantServiceRemoveMemberResponse"> & {
|
|
230
230
|
/**
|
|
231
|
-
* TenantMember is the removed tenant member
|
|
231
|
+
* TenantMember is the removed tenant member.
|
|
232
232
|
*
|
|
233
233
|
* @generated from field: metalstack.api.v2.TenantMember tenant_member = 1;
|
|
234
234
|
*/
|
|
@@ -269,7 +269,7 @@ export const TenantService: GenService<{
|
|
|
269
269
|
output: typeof TenantServiceListResponseSchema;
|
|
270
270
|
},
|
|
271
271
|
/**
|
|
272
|
-
* Add a member to a tenant
|
|
272
|
+
* Add a member to a tenant.
|
|
273
273
|
*
|
|
274
274
|
* @generated from rpc metalstack.admin.v2.TenantService.AddMember
|
|
275
275
|
*/
|
|
@@ -279,7 +279,7 @@ export const TenantService: GenService<{
|
|
|
279
279
|
output: typeof TenantServiceAddMemberResponseSchema;
|
|
280
280
|
},
|
|
281
281
|
/**
|
|
282
|
-
* RemoveMember removes a member from a tenant
|
|
282
|
+
* RemoveMember removes a member from a tenant.
|
|
283
283
|
*
|
|
284
284
|
* @generated from rpc metalstack.admin.v2.TenantService.RemoveMember
|
|
285
285
|
*/
|
|
@@ -12,7 +12,7 @@ export declare const file_metalstack_admin_v2_token: GenFile;
|
|
|
12
12
|
*/
|
|
13
13
|
export type TokenServiceListRequest = Message<"metalstack.admin.v2.TokenServiceListRequest"> & {
|
|
14
14
|
/**
|
|
15
|
-
* Query for tokens
|
|
15
|
+
* Query for tokens.
|
|
16
16
|
*
|
|
17
17
|
* @generated from field: metalstack.api.v2.TokenQuery query = 1;
|
|
18
18
|
*/
|
|
@@ -30,7 +30,7 @@ export declare const TokenServiceListRequestSchema: GenMessage<TokenServiceListR
|
|
|
30
30
|
*/
|
|
31
31
|
export type TokenServiceListResponse = Message<"metalstack.admin.v2.TokenServiceListResponse"> & {
|
|
32
32
|
/**
|
|
33
|
-
* Tokens contains the list of tokens
|
|
33
|
+
* Tokens contains the list of tokens.
|
|
34
34
|
*
|
|
35
35
|
* @generated from field: repeated metalstack.api.v2.Token tokens = 1;
|
|
36
36
|
*/
|
|
@@ -48,13 +48,13 @@ export declare const TokenServiceListResponseSchema: GenMessage<TokenServiceList
|
|
|
48
48
|
*/
|
|
49
49
|
export type TokenServiceRevokeRequest = Message<"metalstack.admin.v2.TokenServiceRevokeRequest"> & {
|
|
50
50
|
/**
|
|
51
|
-
* Uuid is the uuid of the token which should be revoked
|
|
51
|
+
* Uuid is the uuid of the token which should be revoked.
|
|
52
52
|
*
|
|
53
53
|
* @generated from field: string uuid = 1;
|
|
54
54
|
*/
|
|
55
55
|
uuid: string;
|
|
56
56
|
/**
|
|
57
|
-
* User is the id of the user for which the token should be revoked
|
|
57
|
+
* User is the id of the user for which the token should be revoked.
|
|
58
58
|
*
|
|
59
59
|
* @generated from field: string user = 2;
|
|
60
60
|
*/
|
|
@@ -83,13 +83,13 @@ export declare const TokenServiceRevokeResponseSchema: GenMessage<TokenServiceRe
|
|
|
83
83
|
*/
|
|
84
84
|
export type TokenServiceCreateRequest = Message<"metalstack.admin.v2.TokenServiceCreateRequest"> & {
|
|
85
85
|
/**
|
|
86
|
-
* User this token should be created for, if omitted, user is derived from caller
|
|
86
|
+
* User this token should be created for, if omitted, user is derived from caller.
|
|
87
87
|
*
|
|
88
88
|
* @generated from field: optional string user = 1;
|
|
89
89
|
*/
|
|
90
90
|
user?: string | undefined;
|
|
91
91
|
/**
|
|
92
|
-
* TokenCreateRequest which should be created
|
|
92
|
+
* TokenCreateRequest which should be created.
|
|
93
93
|
*
|
|
94
94
|
* @generated from field: metalstack.api.v2.TokenServiceCreateRequest token_create_request = 2;
|
|
95
95
|
*/
|
|
@@ -107,13 +107,13 @@ export declare const TokenServiceCreateRequestSchema: GenMessage<TokenServiceCre
|
|
|
107
107
|
*/
|
|
108
108
|
export type TokenServiceCreateResponse = Message<"metalstack.admin.v2.TokenServiceCreateResponse"> & {
|
|
109
109
|
/**
|
|
110
|
-
* Token contains the created token
|
|
110
|
+
* Token contains the created token.
|
|
111
111
|
*
|
|
112
112
|
* @generated from field: metalstack.api.v2.Token token = 1;
|
|
113
113
|
*/
|
|
114
114
|
token?: Token | undefined;
|
|
115
115
|
/**
|
|
116
|
-
* Secret is the body if the JWT token, should be used in API requests as bearer token
|
|
116
|
+
* Secret is the body if the JWT token, should be used in API requests as bearer token.
|
|
117
117
|
*
|
|
118
118
|
* @generated from field: string secret = 2;
|
|
119
119
|
*/
|
|
@@ -24,7 +24,7 @@ export const file_metalstack_admin_v2_token: GenFile = /*@__PURE__*/
|
|
|
24
24
|
*/
|
|
25
25
|
export type TokenServiceListRequest = Message<"metalstack.admin.v2.TokenServiceListRequest"> & {
|
|
26
26
|
/**
|
|
27
|
-
* Query for tokens
|
|
27
|
+
* Query for tokens.
|
|
28
28
|
*
|
|
29
29
|
* @generated from field: metalstack.api.v2.TokenQuery query = 1;
|
|
30
30
|
*/
|
|
@@ -45,7 +45,7 @@ export const TokenServiceListRequestSchema: GenMessage<TokenServiceListRequest>
|
|
|
45
45
|
*/
|
|
46
46
|
export type TokenServiceListResponse = Message<"metalstack.admin.v2.TokenServiceListResponse"> & {
|
|
47
47
|
/**
|
|
48
|
-
* Tokens contains the list of tokens
|
|
48
|
+
* Tokens contains the list of tokens.
|
|
49
49
|
*
|
|
50
50
|
* @generated from field: repeated metalstack.api.v2.Token tokens = 1;
|
|
51
51
|
*/
|
|
@@ -66,14 +66,14 @@ export const TokenServiceListResponseSchema: GenMessage<TokenServiceListResponse
|
|
|
66
66
|
*/
|
|
67
67
|
export type TokenServiceRevokeRequest = Message<"metalstack.admin.v2.TokenServiceRevokeRequest"> & {
|
|
68
68
|
/**
|
|
69
|
-
* Uuid is the uuid of the token which should be revoked
|
|
69
|
+
* Uuid is the uuid of the token which should be revoked.
|
|
70
70
|
*
|
|
71
71
|
* @generated from field: string uuid = 1;
|
|
72
72
|
*/
|
|
73
73
|
uuid: string;
|
|
74
74
|
|
|
75
75
|
/**
|
|
76
|
-
* User is the id of the user for which the token should be revoked
|
|
76
|
+
* User is the id of the user for which the token should be revoked.
|
|
77
77
|
*
|
|
78
78
|
* @generated from field: string user = 2;
|
|
79
79
|
*/
|
|
@@ -109,14 +109,14 @@ export const TokenServiceRevokeResponseSchema: GenMessage<TokenServiceRevokeResp
|
|
|
109
109
|
*/
|
|
110
110
|
export type TokenServiceCreateRequest = Message<"metalstack.admin.v2.TokenServiceCreateRequest"> & {
|
|
111
111
|
/**
|
|
112
|
-
* User this token should be created for, if omitted, user is derived from caller
|
|
112
|
+
* User this token should be created for, if omitted, user is derived from caller.
|
|
113
113
|
*
|
|
114
114
|
* @generated from field: optional string user = 1;
|
|
115
115
|
*/
|
|
116
116
|
user?: string | undefined;
|
|
117
117
|
|
|
118
118
|
/**
|
|
119
|
-
* TokenCreateRequest which should be created
|
|
119
|
+
* TokenCreateRequest which should be created.
|
|
120
120
|
*
|
|
121
121
|
* @generated from field: metalstack.api.v2.TokenServiceCreateRequest token_create_request = 2;
|
|
122
122
|
*/
|
|
@@ -137,14 +137,14 @@ export const TokenServiceCreateRequestSchema: GenMessage<TokenServiceCreateReque
|
|
|
137
137
|
*/
|
|
138
138
|
export type TokenServiceCreateResponse = Message<"metalstack.admin.v2.TokenServiceCreateResponse"> & {
|
|
139
139
|
/**
|
|
140
|
-
* Token contains the created token
|
|
140
|
+
* Token contains the created token.
|
|
141
141
|
*
|
|
142
142
|
* @generated from field: metalstack.api.v2.Token token = 1;
|
|
143
143
|
*/
|
|
144
144
|
token?: Token | undefined;
|
|
145
145
|
|
|
146
146
|
/**
|
|
147
|
-
* Secret is the body if the JWT token, should be used in API requests as bearer token
|
|
147
|
+
* Secret is the body if the JWT token, should be used in API requests as bearer token.
|
|
148
148
|
*
|
|
149
149
|
* @generated from field: string secret = 2;
|
|
150
150
|
*/
|
|
@@ -13,26 +13,26 @@ export declare const file_metalstack_admin_v2_vpn: GenFile;
|
|
|
13
13
|
*/
|
|
14
14
|
export type VPNServiceAuthKeyRequest = Message<"metalstack.admin.v2.VPNServiceAuthKeyRequest"> & {
|
|
15
15
|
/**
|
|
16
|
-
* Project for which a VPN authentication key should be generated
|
|
16
|
+
* Project for which a VPN authentication key should be generated.
|
|
17
17
|
*
|
|
18
18
|
* @generated from field: string project = 1;
|
|
19
19
|
*/
|
|
20
20
|
project: string;
|
|
21
21
|
/**
|
|
22
|
-
* Ephemeral defines if the authentication key should be ephemeral
|
|
22
|
+
* Ephemeral defines if the authentication key should be ephemeral.
|
|
23
23
|
*
|
|
24
24
|
* @generated from field: bool ephemeral = 2;
|
|
25
25
|
*/
|
|
26
26
|
ephemeral: boolean;
|
|
27
27
|
/**
|
|
28
|
-
* Expires defines the duration after which the authentication key expires
|
|
28
|
+
* Expires defines the duration after which the authentication key expires.
|
|
29
29
|
*
|
|
30
30
|
* @generated from field: google.protobuf.Duration expires = 3;
|
|
31
31
|
*/
|
|
32
32
|
expires?: Duration | undefined;
|
|
33
33
|
/**
|
|
34
|
-
* Reason must be provided why access to the VPN is requested
|
|
35
|
-
* Reason is only forwarded to an audit sink
|
|
34
|
+
* Reason must be provided why access to the VPN is requested.
|
|
35
|
+
* Reason is only forwarded to an audit sink.
|
|
36
36
|
*
|
|
37
37
|
* @generated from field: string reason = 4;
|
|
38
38
|
*/
|
|
@@ -50,32 +50,32 @@ export declare const VPNServiceAuthKeyRequestSchema: GenMessage<VPNServiceAuthKe
|
|
|
50
50
|
*/
|
|
51
51
|
export type VPNServiceAuthKeyResponse = Message<"metalstack.admin.v2.VPNServiceAuthKeyResponse"> & {
|
|
52
52
|
/**
|
|
53
|
-
* Address is the address of the VPN control plane
|
|
53
|
+
* Address is the address of the VPN control plane.
|
|
54
54
|
*
|
|
55
55
|
* @generated from field: string address = 1;
|
|
56
56
|
*/
|
|
57
57
|
address: string;
|
|
58
58
|
/**
|
|
59
|
-
* AuthKey is the key to connect to the VPN at the given address
|
|
60
|
-
* This key can only be seen once
|
|
59
|
+
* AuthKey is the key to connect to the VPN at the given address.
|
|
60
|
+
* This key can only be seen once.
|
|
61
61
|
*
|
|
62
62
|
* @generated from field: string auth_key = 2;
|
|
63
63
|
*/
|
|
64
64
|
authKey: string;
|
|
65
65
|
/**
|
|
66
|
-
* Ephemeral defines if the authentication key should be ephemeral
|
|
66
|
+
* Ephemeral defines if the authentication key should be ephemeral.
|
|
67
67
|
*
|
|
68
68
|
* @generated from field: bool ephemeral = 3;
|
|
69
69
|
*/
|
|
70
70
|
ephemeral: boolean;
|
|
71
71
|
/**
|
|
72
|
-
* ExpiresAt this key cannot be used after this timestamp
|
|
72
|
+
* ExpiresAt this key cannot be used after this timestamp.
|
|
73
73
|
*
|
|
74
74
|
* @generated from field: google.protobuf.Timestamp expires_at = 4;
|
|
75
75
|
*/
|
|
76
76
|
expiresAt?: Timestamp | undefined;
|
|
77
77
|
/**
|
|
78
|
-
* CreatedAt this key was created at this timestamp
|
|
78
|
+
* CreatedAt this key was created at this timestamp.
|
|
79
79
|
*
|
|
80
80
|
* @generated from field: google.protobuf.Timestamp created_at = 5;
|
|
81
81
|
*/
|
|
@@ -93,7 +93,7 @@ export declare const VPNServiceAuthKeyResponseSchema: GenMessage<VPNServiceAuthK
|
|
|
93
93
|
*/
|
|
94
94
|
export type VPNServiceListNodesRequest = Message<"metalstack.admin.v2.VPNServiceListNodesRequest"> & {
|
|
95
95
|
/**
|
|
96
|
-
* Project filters nodes by this project
|
|
96
|
+
* Project filters nodes by this project.
|
|
97
97
|
*
|
|
98
98
|
* @generated from field: optional string project = 1;
|
|
99
99
|
*/
|
|
@@ -111,7 +111,7 @@ export declare const VPNServiceListNodesRequestSchema: GenMessage<VPNServiceList
|
|
|
111
111
|
*/
|
|
112
112
|
export type VPNServiceListNodesResponse = Message<"metalstack.admin.v2.VPNServiceListNodesResponse"> & {
|
|
113
113
|
/**
|
|
114
|
-
* Nodes connected to the VPN
|
|
114
|
+
* Nodes connected to the VPN.
|
|
115
115
|
*
|
|
116
116
|
* @generated from field: repeated metalstack.api.v2.VPNNode nodes = 1;
|
|
117
117
|
*/
|
|
@@ -25,29 +25,29 @@ export const file_metalstack_admin_v2_vpn: GenFile = /*@__PURE__*/
|
|
|
25
25
|
*/
|
|
26
26
|
export type VPNServiceAuthKeyRequest = Message<"metalstack.admin.v2.VPNServiceAuthKeyRequest"> & {
|
|
27
27
|
/**
|
|
28
|
-
* Project for which a VPN authentication key should be generated
|
|
28
|
+
* Project for which a VPN authentication key should be generated.
|
|
29
29
|
*
|
|
30
30
|
* @generated from field: string project = 1;
|
|
31
31
|
*/
|
|
32
32
|
project: string;
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
|
-
* Ephemeral defines if the authentication key should be ephemeral
|
|
35
|
+
* Ephemeral defines if the authentication key should be ephemeral.
|
|
36
36
|
*
|
|
37
37
|
* @generated from field: bool ephemeral = 2;
|
|
38
38
|
*/
|
|
39
39
|
ephemeral: boolean;
|
|
40
40
|
|
|
41
41
|
/**
|
|
42
|
-
* Expires defines the duration after which the authentication key expires
|
|
42
|
+
* Expires defines the duration after which the authentication key expires.
|
|
43
43
|
*
|
|
44
44
|
* @generated from field: google.protobuf.Duration expires = 3;
|
|
45
45
|
*/
|
|
46
46
|
expires?: Duration | undefined;
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
|
-
* Reason must be provided why access to the VPN is requested
|
|
50
|
-
* Reason is only forwarded to an audit sink
|
|
49
|
+
* Reason must be provided why access to the VPN is requested.
|
|
50
|
+
* Reason is only forwarded to an audit sink.
|
|
51
51
|
*
|
|
52
52
|
* @generated from field: string reason = 4;
|
|
53
53
|
*/
|
|
@@ -68,36 +68,36 @@ export const VPNServiceAuthKeyRequestSchema: GenMessage<VPNServiceAuthKeyRequest
|
|
|
68
68
|
*/
|
|
69
69
|
export type VPNServiceAuthKeyResponse = Message<"metalstack.admin.v2.VPNServiceAuthKeyResponse"> & {
|
|
70
70
|
/**
|
|
71
|
-
* Address is the address of the VPN control plane
|
|
71
|
+
* Address is the address of the VPN control plane.
|
|
72
72
|
*
|
|
73
73
|
* @generated from field: string address = 1;
|
|
74
74
|
*/
|
|
75
75
|
address: string;
|
|
76
76
|
|
|
77
77
|
/**
|
|
78
|
-
* AuthKey is the key to connect to the VPN at the given address
|
|
79
|
-
* This key can only be seen once
|
|
78
|
+
* AuthKey is the key to connect to the VPN at the given address.
|
|
79
|
+
* This key can only be seen once.
|
|
80
80
|
*
|
|
81
81
|
* @generated from field: string auth_key = 2;
|
|
82
82
|
*/
|
|
83
83
|
authKey: string;
|
|
84
84
|
|
|
85
85
|
/**
|
|
86
|
-
* Ephemeral defines if the authentication key should be ephemeral
|
|
86
|
+
* Ephemeral defines if the authentication key should be ephemeral.
|
|
87
87
|
*
|
|
88
88
|
* @generated from field: bool ephemeral = 3;
|
|
89
89
|
*/
|
|
90
90
|
ephemeral: boolean;
|
|
91
91
|
|
|
92
92
|
/**
|
|
93
|
-
* ExpiresAt this key cannot be used after this timestamp
|
|
93
|
+
* ExpiresAt this key cannot be used after this timestamp.
|
|
94
94
|
*
|
|
95
95
|
* @generated from field: google.protobuf.Timestamp expires_at = 4;
|
|
96
96
|
*/
|
|
97
97
|
expiresAt?: Timestamp | undefined;
|
|
98
98
|
|
|
99
99
|
/**
|
|
100
|
-
* CreatedAt this key was created at this timestamp
|
|
100
|
+
* CreatedAt this key was created at this timestamp.
|
|
101
101
|
*
|
|
102
102
|
* @generated from field: google.protobuf.Timestamp created_at = 5;
|
|
103
103
|
*/
|
|
@@ -118,7 +118,7 @@ export const VPNServiceAuthKeyResponseSchema: GenMessage<VPNServiceAuthKeyRespon
|
|
|
118
118
|
*/
|
|
119
119
|
export type VPNServiceListNodesRequest = Message<"metalstack.admin.v2.VPNServiceListNodesRequest"> & {
|
|
120
120
|
/**
|
|
121
|
-
* Project filters nodes by this project
|
|
121
|
+
* Project filters nodes by this project.
|
|
122
122
|
*
|
|
123
123
|
* @generated from field: optional string project = 1;
|
|
124
124
|
*/
|
|
@@ -139,7 +139,7 @@ export const VPNServiceListNodesRequestSchema: GenMessage<VPNServiceListNodesReq
|
|
|
139
139
|
*/
|
|
140
140
|
export type VPNServiceListNodesResponse = Message<"metalstack.admin.v2.VPNServiceListNodesResponse"> & {
|
|
141
141
|
/**
|
|
142
|
-
* Nodes connected to the VPN
|
|
142
|
+
* Nodes connected to the VPN.
|
|
143
143
|
*
|
|
144
144
|
* @generated from field: repeated metalstack.api.v2.VPNNode nodes = 1;
|
|
145
145
|
*/
|