@metal-stack/api 0.0.58 → 0.0.60
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/metalstack/admin/v2/audit_pb.d.ts +8 -8
- package/js/metalstack/admin/v2/audit_pb.js +1 -1
- package/js/metalstack/admin/v2/audit_pb.ts +8 -8
- package/js/metalstack/admin/v2/component_pb.d.ts +14 -14
- package/js/metalstack/admin/v2/component_pb.js +1 -1
- package/js/metalstack/admin/v2/component_pb.ts +14 -14
- package/js/metalstack/admin/v2/filesystem_pb.d.ts +15 -15
- package/js/metalstack/admin/v2/filesystem_pb.js +1 -1
- package/js/metalstack/admin/v2/filesystem_pb.ts +15 -15
- package/js/metalstack/admin/v2/image_pb.d.ts +20 -20
- package/js/metalstack/admin/v2/image_pb.js +1 -1
- package/js/metalstack/admin/v2/image_pb.ts +20 -20
- package/js/metalstack/admin/v2/ip_pb.d.ts +6 -6
- package/js/metalstack/admin/v2/ip_pb.js +1 -1
- package/js/metalstack/admin/v2/ip_pb.ts +6 -6
- package/js/metalstack/admin/v2/machine_pb.d.ts +10 -10
- package/js/metalstack/admin/v2/machine_pb.js +1 -1
- package/js/metalstack/admin/v2/machine_pb.ts +10 -10
- package/js/metalstack/admin/v2/network_pb.d.ts +30 -30
- package/js/metalstack/admin/v2/network_pb.js +2 -2
- package/js/metalstack/admin/v2/network_pb.ts +31 -31
- package/js/metalstack/admin/v2/partition_pb.d.ts +10 -11
- package/js/metalstack/admin/v2/partition_pb.js +2 -2
- package/js/metalstack/admin/v2/partition_pb.ts +11 -12
- package/js/metalstack/admin/v2/project_pb.d.ts +7 -7
- package/js/metalstack/admin/v2/project_pb.js +1 -1
- package/js/metalstack/admin/v2/project_pb.ts +7 -7
- package/js/metalstack/admin/v2/size_imageconstraint_pb.d.ts +21 -21
- package/js/metalstack/admin/v2/size_imageconstraint_pb.js +1 -1
- package/js/metalstack/admin/v2/size_imageconstraint_pb.ts +21 -21
- package/js/metalstack/admin/v2/size_pb.d.ts +13 -13
- package/js/metalstack/admin/v2/size_pb.js +1 -1
- package/js/metalstack/admin/v2/size_pb.ts +13 -13
- package/js/metalstack/admin/v2/size_reservation_pb.d.ts +17 -17
- package/js/metalstack/admin/v2/size_reservation_pb.js +1 -1
- package/js/metalstack/admin/v2/size_reservation_pb.ts +17 -17
- package/js/metalstack/admin/v2/switch_pb.d.ts +51 -51
- package/js/metalstack/admin/v2/switch_pb.js +1 -1
- package/js/metalstack/admin/v2/switch_pb.ts +51 -51
- package/js/metalstack/admin/v2/task_pb.d.ts +58 -58
- package/js/metalstack/admin/v2/task_pb.js +10 -10
- package/js/metalstack/admin/v2/task_pb.ts +58 -58
- package/js/metalstack/admin/v2/tenant_pb.d.ts +15 -15
- package/js/metalstack/admin/v2/tenant_pb.js +2 -2
- package/js/metalstack/admin/v2/tenant_pb.ts +16 -16
- package/js/metalstack/admin/v2/token_pb.d.ts +13 -13
- package/js/metalstack/admin/v2/token_pb.js +1 -1
- package/js/metalstack/admin/v2/token_pb.ts +13 -13
- package/js/metalstack/admin/v2/vpn_pb.d.ts +20 -20
- package/js/metalstack/admin/v2/vpn_pb.js +1 -1
- package/js/metalstack/admin/v2/vpn_pb.ts +20 -20
- package/js/metalstack/api/v2/audit_pb.d.ts +14 -14
- package/js/metalstack/api/v2/audit_pb.js +3 -3
- package/js/metalstack/api/v2/audit_pb.ts +14 -14
- package/js/metalstack/api/v2/filesystem_pb.d.ts +4 -4
- package/js/metalstack/api/v2/filesystem_pb.js +1 -1
- package/js/metalstack/api/v2/filesystem_pb.ts +4 -4
- package/js/metalstack/api/v2/health_pb.d.ts +20 -20
- package/js/metalstack/api/v2/health_pb.js +9 -9
- package/js/metalstack/api/v2/health_pb.ts +20 -20
- package/js/metalstack/api/v2/image_pb.d.ts +10 -4
- package/js/metalstack/api/v2/image_pb.js +2 -2
- package/js/metalstack/api/v2/image_pb.ts +12 -5
- package/js/metalstack/api/v2/ip_pb.d.ts +6 -6
- package/js/metalstack/api/v2/ip_pb.js +1 -1
- package/js/metalstack/api/v2/ip_pb.ts +6 -6
- package/js/metalstack/api/v2/machine_pb.d.ts +18 -18
- package/js/metalstack/api/v2/machine_pb.js +2 -2
- package/js/metalstack/api/v2/machine_pb.ts +19 -19
- package/js/metalstack/api/v2/method_pb.d.ts +16 -16
- package/js/metalstack/api/v2/method_pb.js +3 -3
- package/js/metalstack/api/v2/method_pb.ts +17 -17
- package/js/metalstack/api/v2/network_pb.d.ts +7 -7
- package/js/metalstack/api/v2/network_pb.js +1 -1
- package/js/metalstack/api/v2/network_pb.ts +7 -7
- package/js/metalstack/api/v2/partition_pb.d.ts +3 -3
- package/js/metalstack/api/v2/partition_pb.js +2 -2
- package/js/metalstack/api/v2/partition_pb.ts +4 -4
- package/js/metalstack/api/v2/predefined_rules_pb.d.ts +18 -0
- package/js/metalstack/api/v2/predefined_rules_pb.js +21 -3
- package/js/metalstack/api/v2/predefined_rules_pb.ts +27 -3
- package/js/metalstack/api/v2/project_pb.d.ts +8 -8
- package/js/metalstack/api/v2/project_pb.js +2 -2
- package/js/metalstack/api/v2/project_pb.ts +9 -9
- package/js/metalstack/api/v2/size_imageconstraint_pb.d.ts +2 -2
- package/js/metalstack/api/v2/size_imageconstraint_pb.js +1 -1
- package/js/metalstack/api/v2/size_imageconstraint_pb.ts +2 -2
- package/js/metalstack/api/v2/size_pb.d.ts +6 -6
- package/js/metalstack/api/v2/size_pb.js +2 -2
- package/js/metalstack/api/v2/size_pb.ts +7 -7
- package/js/metalstack/api/v2/size_reservation_pb.d.ts +3 -3
- package/js/metalstack/api/v2/size_reservation_pb.js +1 -1
- package/js/metalstack/api/v2/size_reservation_pb.ts +3 -3
- package/js/metalstack/api/v2/tenant_pb.d.ts +8 -8
- package/js/metalstack/api/v2/tenant_pb.js +2 -2
- package/js/metalstack/api/v2/tenant_pb.ts +9 -9
- package/js/metalstack/api/v2/token_pb.d.ts +15 -15
- package/js/metalstack/api/v2/token_pb.js +2 -2
- package/js/metalstack/api/v2/token_pb.ts +16 -16
- package/js/metalstack/api/v2/user_pb.d.ts +11 -11
- package/js/metalstack/api/v2/user_pb.js +2 -2
- package/js/metalstack/api/v2/user_pb.ts +12 -12
- package/js/metalstack/api/v2/version_pb.d.ts +6 -6
- package/js/metalstack/api/v2/version_pb.js +1 -1
- package/js/metalstack/api/v2/version_pb.ts +6 -6
- package/js/metalstack/api/v2/vpn_pb.d.ts +4 -4
- package/js/metalstack/api/v2/vpn_pb.ts +4 -4
- package/js/metalstack/infra/v2/bmc_pb.d.ts +19 -19
- package/js/metalstack/infra/v2/bmc_pb.js +1 -1
- package/js/metalstack/infra/v2/bmc_pb.ts +19 -19
- package/js/metalstack/infra/v2/boot_pb.d.ts +7 -7
- package/js/metalstack/infra/v2/boot_pb.js +1 -1
- package/js/metalstack/infra/v2/boot_pb.ts +7 -7
- package/js/metalstack/infra/v2/component_pb.d.ts +7 -10
- package/js/metalstack/infra/v2/component_pb.js +1 -1
- package/js/metalstack/infra/v2/component_pb.ts +7 -10
- package/js/metalstack/infra/v2/event_pb.d.ts +22 -22
- package/js/metalstack/infra/v2/event_pb.js +13 -13
- package/js/metalstack/infra/v2/event_pb.ts +22 -22
- package/js/metalstack/infra/v2/switch_pb.d.ts +22 -22
- package/js/metalstack/infra/v2/switch_pb.js +1 -1
- package/js/metalstack/infra/v2/switch_pb.ts +22 -22
- package/package.json +1 -1
|
@@ -16,23 +16,23 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
16
16
|
* Describes the file metalstack/admin/v2/tenant.proto.
|
|
17
17
|
*/
|
|
18
18
|
export const file_metalstack_admin_v2_tenant: GenFile = /*@__PURE__*/
|
|
19
|
-
fileDesc("
|
|
19
|
+
fileDesc("CiBtZXRhbHN0YWNrL2FkbWluL3YyL3RlbmFudC5wcm90bxITbWV0YWxzdGFjay5hZG1pbi52MiLoAQoaVGVuYW50U2VydmljZUNyZWF0ZVJlcXVlc3QSGQoEbmFtZRgBIAEoCUILukgIcgbAs66xAgESJQoLZGVzY3JpcHRpb24YAiABKAlCC7pICHIGyLOusQIBSACIAQESGwoFZW1haWwYAyABKAlCB7pIBHICYAFIAYgBARIXCgphdmF0YXJfdXJsGAQgASgJSAKIAQESKQoGbGFiZWxzGAUgASgLMhkubWV0YWxzdGFjay5hcGkudjIuTGFiZWxzQg4KDF9kZXNjcmlwdGlvbkIICgZfZW1haWxCDQoLX2F2YXRhcl91cmwiSAobVGVuYW50U2VydmljZUNyZWF0ZVJlc3BvbnNlEikKBnRlbmFudBgBIAEoCzIZLm1ldGFsc3RhY2suYXBpLnYyLlRlbmFudCKMAQoYVGVuYW50U2VydmljZUxpc3RSZXF1ZXN0EhIKBWxvZ2luGAEgASgJSACIAQESHgoEbmFtZRgCIAEoCUILukgIcgbAs66xAgFIAYgBARIpCgZwYWdpbmcYAyABKAsyGS5tZXRhbHN0YWNrLmFwaS52Mi5QYWdpbmdCCAoGX2xvZ2luQgcKBV9uYW1lIm0KGVRlbmFudFNlcnZpY2VMaXN0UmVzcG9uc2USKgoHdGVuYW50cxgBIAMoCzIZLm1ldGFsc3RhY2suYXBpLnYyLlRlbmFudBIWCgluZXh0X3BhZ2UYAiABKARIAIgBAUIMCgpfbmV4dF9wYWdlMvIBCg1UZW5hbnRTZXJ2aWNlEnIKBkNyZWF0ZRIvLm1ldGFsc3RhY2suYWRtaW4udjIuVGVuYW50U2VydmljZUNyZWF0ZVJlcXVlc3QaMC5tZXRhbHN0YWNrLmFkbWluLnYyLlRlbmFudFNlcnZpY2VDcmVhdGVSZXNwb25zZSIF0vMYAQESbQoETGlzdBItLm1ldGFsc3RhY2suYWRtaW4udjIuVGVuYW50U2VydmljZUxpc3RSZXF1ZXN0Gi4ubWV0YWxzdGFjay5hZG1pbi52Mi5UZW5hbnRTZXJ2aWNlTGlzdFJlc3BvbnNlIgbS8xgCAQJCzwEKF2NvbS5tZXRhbHN0YWNrLmFkbWluLnYyQgtUZW5hbnRQcm90b1ABWjlnaXRodWIuY29tL21ldGFsLXN0YWNrL2FwaS9nby9tZXRhbHN0YWNrL2FkbWluL3YyO2FkbWludjKiAgNNQViqAhNNZXRhbHN0YWNrLkFkbWluLlYyygITTWV0YWxzdGFja1xBZG1pblxWMuICH01ldGFsc3RhY2tcQWRtaW5cVjJcR1BCTWV0YWRhdGHqAhVNZXRhbHN0YWNrOjpBZG1pbjo6VjJiBnByb3RvMw", [file_buf_validate_validate, file_metalstack_api_v2_common, file_metalstack_api_v2_predefined_rules, file_metalstack_api_v2_tenant]);
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* TenantServiceCreateRequest is the request payload
|
|
22
|
+
* TenantServiceCreateRequest is the request payload for creating a tenant.
|
|
23
23
|
*
|
|
24
24
|
* @generated from message metalstack.admin.v2.TenantServiceCreateRequest
|
|
25
25
|
*/
|
|
26
26
|
export type TenantServiceCreateRequest = Message<"metalstack.admin.v2.TenantServiceCreateRequest"> & {
|
|
27
27
|
/**
|
|
28
|
-
* Name of
|
|
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
|
|
35
|
+
* Description of the tenant
|
|
36
36
|
*
|
|
37
37
|
* @generated from field: optional string description = 2;
|
|
38
38
|
*/
|
|
@@ -68,13 +68,13 @@ export const TenantServiceCreateRequestSchema: GenMessage<TenantServiceCreateReq
|
|
|
68
68
|
messageDesc(file_metalstack_admin_v2_tenant, 0);
|
|
69
69
|
|
|
70
70
|
/**
|
|
71
|
-
* TenantServiceCreateResponse is the response payload
|
|
71
|
+
* TenantServiceCreateResponse is the response payload for creating a tenant.
|
|
72
72
|
*
|
|
73
73
|
* @generated from message metalstack.admin.v2.TenantServiceCreateResponse
|
|
74
74
|
*/
|
|
75
75
|
export type TenantServiceCreateResponse = Message<"metalstack.admin.v2.TenantServiceCreateResponse"> & {
|
|
76
76
|
/**
|
|
77
|
-
* Tenant
|
|
77
|
+
* Tenant contains the created tenant
|
|
78
78
|
*
|
|
79
79
|
* @generated from field: metalstack.api.v2.Tenant tenant = 1;
|
|
80
80
|
*/
|
|
@@ -89,20 +89,20 @@ export const TenantServiceCreateResponseSchema: GenMessage<TenantServiceCreateRe
|
|
|
89
89
|
messageDesc(file_metalstack_admin_v2_tenant, 1);
|
|
90
90
|
|
|
91
91
|
/**
|
|
92
|
-
* TenantServiceListRequest is the request payload for
|
|
92
|
+
* TenantServiceListRequest is the request payload for listing tenants.
|
|
93
93
|
*
|
|
94
94
|
* @generated from message metalstack.admin.v2.TenantServiceListRequest
|
|
95
95
|
*/
|
|
96
96
|
export type TenantServiceListRequest = Message<"metalstack.admin.v2.TenantServiceListRequest"> & {
|
|
97
97
|
/**
|
|
98
|
-
* Login
|
|
98
|
+
* Login filters tenants by this login
|
|
99
99
|
*
|
|
100
100
|
* @generated from field: optional string login = 1;
|
|
101
101
|
*/
|
|
102
102
|
login?: string;
|
|
103
103
|
|
|
104
104
|
/**
|
|
105
|
-
* Name
|
|
105
|
+
* Name filters tenants by this name
|
|
106
106
|
*
|
|
107
107
|
* @generated from field: optional string name = 2;
|
|
108
108
|
*/
|
|
@@ -111,7 +111,7 @@ export type TenantServiceListRequest = Message<"metalstack.admin.v2.TenantServic
|
|
|
111
111
|
/**
|
|
112
112
|
* Paging details for the list request
|
|
113
113
|
*
|
|
114
|
-
* @generated from field: metalstack.api.v2.Paging paging =
|
|
114
|
+
* @generated from field: metalstack.api.v2.Paging paging = 3;
|
|
115
115
|
*/
|
|
116
116
|
paging?: Paging;
|
|
117
117
|
};
|
|
@@ -124,20 +124,20 @@ export const TenantServiceListRequestSchema: GenMessage<TenantServiceListRequest
|
|
|
124
124
|
messageDesc(file_metalstack_admin_v2_tenant, 2);
|
|
125
125
|
|
|
126
126
|
/**
|
|
127
|
-
* TenantServiceListResponse is the response payload for
|
|
127
|
+
* TenantServiceListResponse is the response payload for listing tenants.
|
|
128
128
|
*
|
|
129
129
|
* @generated from message metalstack.admin.v2.TenantServiceListResponse
|
|
130
130
|
*/
|
|
131
131
|
export type TenantServiceListResponse = Message<"metalstack.admin.v2.TenantServiceListResponse"> & {
|
|
132
132
|
/**
|
|
133
|
-
* Tenants
|
|
133
|
+
* Tenants contains the list of tenants
|
|
134
134
|
*
|
|
135
135
|
* @generated from field: repeated metalstack.api.v2.Tenant tenants = 1;
|
|
136
136
|
*/
|
|
137
137
|
tenants: Tenant[];
|
|
138
138
|
|
|
139
139
|
/**
|
|
140
|
-
* NextPage is used for pagination, returns the next page to be fetched and must then be provided in the list request
|
|
140
|
+
* NextPage is used for pagination, returns the next page to be fetched and must then be provided in the list request
|
|
141
141
|
*
|
|
142
142
|
* @generated from field: optional uint64 next_page = 2;
|
|
143
143
|
*/
|
|
@@ -152,13 +152,13 @@ export const TenantServiceListResponseSchema: GenMessage<TenantServiceListRespon
|
|
|
152
152
|
messageDesc(file_metalstack_admin_v2_tenant, 3);
|
|
153
153
|
|
|
154
154
|
/**
|
|
155
|
-
* TenantService
|
|
155
|
+
* TenantService provides tenant management operations.
|
|
156
156
|
*
|
|
157
157
|
* @generated from service metalstack.admin.v2.TenantService
|
|
158
158
|
*/
|
|
159
159
|
export const TenantService: GenService<{
|
|
160
160
|
/**
|
|
161
|
-
*
|
|
161
|
+
* Creates a new tenant.
|
|
162
162
|
*
|
|
163
163
|
* @generated from rpc metalstack.admin.v2.TenantService.Create
|
|
164
164
|
*/
|
|
@@ -168,7 +168,7 @@ export const TenantService: GenService<{
|
|
|
168
168
|
output: typeof TenantServiceCreateResponseSchema;
|
|
169
169
|
},
|
|
170
170
|
/**
|
|
171
|
-
*
|
|
171
|
+
* Returns the list of all tenants.
|
|
172
172
|
*
|
|
173
173
|
* @generated from rpc metalstack.admin.v2.TenantService.List
|
|
174
174
|
*/
|
|
@@ -6,7 +6,7 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
6
6
|
*/
|
|
7
7
|
export declare const file_metalstack_admin_v2_token: GenFile;
|
|
8
8
|
/**
|
|
9
|
-
* TokenServiceListRequest is the request payload for
|
|
9
|
+
* TokenServiceListRequest is the request payload for listing tokens.
|
|
10
10
|
*
|
|
11
11
|
* @generated from message metalstack.admin.v2.TokenServiceListRequest
|
|
12
12
|
*/
|
|
@@ -24,13 +24,13 @@ export type TokenServiceListRequest = Message<"metalstack.admin.v2.TokenServiceL
|
|
|
24
24
|
*/
|
|
25
25
|
export declare const TokenServiceListRequestSchema: GenMessage<TokenServiceListRequest>;
|
|
26
26
|
/**
|
|
27
|
-
* TokenServiceListResponse is the response payload for
|
|
27
|
+
* TokenServiceListResponse is the response payload for listing tokens.
|
|
28
28
|
*
|
|
29
29
|
* @generated from message metalstack.admin.v2.TokenServiceListResponse
|
|
30
30
|
*/
|
|
31
31
|
export type TokenServiceListResponse = Message<"metalstack.admin.v2.TokenServiceListResponse"> & {
|
|
32
32
|
/**
|
|
33
|
-
* Tokens
|
|
33
|
+
* Tokens contains the list of tokens
|
|
34
34
|
*
|
|
35
35
|
* @generated from field: repeated metalstack.api.v2.Token tokens = 1;
|
|
36
36
|
*/
|
|
@@ -42,7 +42,7 @@ export type TokenServiceListResponse = Message<"metalstack.admin.v2.TokenService
|
|
|
42
42
|
*/
|
|
43
43
|
export declare const TokenServiceListResponseSchema: GenMessage<TokenServiceListResponse>;
|
|
44
44
|
/**
|
|
45
|
-
* TokenServiceRevokeRequest is the request payload for
|
|
45
|
+
* TokenServiceRevokeRequest is the request payload for revoking a token.
|
|
46
46
|
*
|
|
47
47
|
* @generated from message metalstack.admin.v2.TokenServiceRevokeRequest
|
|
48
48
|
*/
|
|
@@ -66,7 +66,7 @@ export type TokenServiceRevokeRequest = Message<"metalstack.admin.v2.TokenServic
|
|
|
66
66
|
*/
|
|
67
67
|
export declare const TokenServiceRevokeRequestSchema: GenMessage<TokenServiceRevokeRequest>;
|
|
68
68
|
/**
|
|
69
|
-
* TokenServiceRevokeResponse is the response payload for
|
|
69
|
+
* TokenServiceRevokeResponse is the response payload for revoking a token.
|
|
70
70
|
*
|
|
71
71
|
* @generated from message metalstack.admin.v2.TokenServiceRevokeResponse
|
|
72
72
|
*/
|
|
@@ -77,7 +77,7 @@ export type TokenServiceRevokeResponse = Message<"metalstack.admin.v2.TokenServi
|
|
|
77
77
|
*/
|
|
78
78
|
export declare const TokenServiceRevokeResponseSchema: GenMessage<TokenServiceRevokeResponse>;
|
|
79
79
|
/**
|
|
80
|
-
* TokenServiceCreateRequest is the request payload
|
|
80
|
+
* TokenServiceCreateRequest is the request payload for creating a token.
|
|
81
81
|
*
|
|
82
82
|
* @generated from message metalstack.admin.v2.TokenServiceCreateRequest
|
|
83
83
|
*/
|
|
@@ -101,19 +101,19 @@ export type TokenServiceCreateRequest = Message<"metalstack.admin.v2.TokenServic
|
|
|
101
101
|
*/
|
|
102
102
|
export declare const TokenServiceCreateRequestSchema: GenMessage<TokenServiceCreateRequest>;
|
|
103
103
|
/**
|
|
104
|
-
* TokenServiceCreateResponse is the response payload
|
|
104
|
+
* TokenServiceCreateResponse is the response payload for creating a token.
|
|
105
105
|
*
|
|
106
106
|
* @generated from message metalstack.admin.v2.TokenServiceCreateResponse
|
|
107
107
|
*/
|
|
108
108
|
export type TokenServiceCreateResponse = Message<"metalstack.admin.v2.TokenServiceCreateResponse"> & {
|
|
109
109
|
/**
|
|
110
|
-
* 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;
|
|
115
115
|
/**
|
|
116
|
-
* Secret is the body if the
|
|
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
|
*/
|
|
@@ -125,13 +125,13 @@ export type TokenServiceCreateResponse = Message<"metalstack.admin.v2.TokenServi
|
|
|
125
125
|
*/
|
|
126
126
|
export declare const TokenServiceCreateResponseSchema: GenMessage<TokenServiceCreateResponse>;
|
|
127
127
|
/**
|
|
128
|
-
* TokenService
|
|
128
|
+
* TokenService provides token management operations.
|
|
129
129
|
*
|
|
130
130
|
* @generated from service metalstack.admin.v2.TokenService
|
|
131
131
|
*/
|
|
132
132
|
export declare const TokenService: GenService<{
|
|
133
133
|
/**
|
|
134
|
-
*
|
|
134
|
+
* Returns the list of tokens for a user.
|
|
135
135
|
*
|
|
136
136
|
* @generated from rpc metalstack.admin.v2.TokenService.List
|
|
137
137
|
*/
|
|
@@ -141,7 +141,7 @@ export declare const TokenService: GenService<{
|
|
|
141
141
|
output: typeof TokenServiceListResponseSchema;
|
|
142
142
|
};
|
|
143
143
|
/**
|
|
144
|
-
*
|
|
144
|
+
* Revokes a token.
|
|
145
145
|
*
|
|
146
146
|
* @generated from rpc metalstack.admin.v2.TokenService.Revoke
|
|
147
147
|
*/
|
|
@@ -151,7 +151,7 @@ export declare const TokenService: GenService<{
|
|
|
151
151
|
output: typeof TokenServiceRevokeResponseSchema;
|
|
152
152
|
};
|
|
153
153
|
/**
|
|
154
|
-
*
|
|
154
|
+
* Creates a token to authenticate against the platform, the secret will be only visible in the response.
|
|
155
155
|
* This service is suitable to create tokens for other users instead of deriving users from tokens directly.
|
|
156
156
|
*
|
|
157
157
|
* @generated from rpc metalstack.admin.v2.TokenService.Create
|
|
@@ -40,7 +40,7 @@ export const TokenServiceCreateRequestSchema = /*@__PURE__*/ messageDesc(file_me
|
|
|
40
40
|
*/
|
|
41
41
|
export const TokenServiceCreateResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_token, 5);
|
|
42
42
|
/**
|
|
43
|
-
* TokenService
|
|
43
|
+
* TokenService provides token management operations.
|
|
44
44
|
*
|
|
45
45
|
* @generated from service metalstack.admin.v2.TokenService
|
|
46
46
|
*/
|
|
@@ -17,7 +17,7 @@ export const file_metalstack_admin_v2_token: GenFile = /*@__PURE__*/
|
|
|
17
17
|
fileDesc("Ch9tZXRhbHN0YWNrL2FkbWluL3YyL3Rva2VuLnByb3RvEhNtZXRhbHN0YWNrLmFkbWluLnYyIjUKF1Rva2VuU2VydmljZUxpc3RSZXF1ZXN0EhEKBHVzZXIYASABKAlIAIgBAUIHCgVfdXNlciJEChhUb2tlblNlcnZpY2VMaXN0UmVzcG9uc2USKAoGdG9rZW5zGAEgAygLMhgubWV0YWxzdGFjay5hcGkudjIuVG9rZW4iTQoZVG9rZW5TZXJ2aWNlUmV2b2tlUmVxdWVzdBIWCgR1dWlkGAEgASgJQgi6SAVyA7ABARIYCgR1c2VyGAIgASgJQgq6SAdyBRACGIAEIhwKGlRva2VuU2VydmljZVJldm9rZVJlc3BvbnNlIo8BChlUb2tlblNlcnZpY2VDcmVhdGVSZXF1ZXN0Eh0KBHVzZXIYASABKAlCCrpIB3IFEAIYgARIAIgBARJKChR0b2tlbl9jcmVhdGVfcmVxdWVzdBgCIAEoCzIsLm1ldGFsc3RhY2suYXBpLnYyLlRva2VuU2VydmljZUNyZWF0ZVJlcXVlc3RCBwoFX3VzZXIiVQoaVG9rZW5TZXJ2aWNlQ3JlYXRlUmVzcG9uc2USJwoFdG9rZW4YASABKAsyGC5tZXRhbHN0YWNrLmFwaS52Mi5Ub2tlbhIOCgZzZWNyZXQYAiABKAky3wIKDFRva2VuU2VydmljZRJrCgRMaXN0EiwubWV0YWxzdGFjay5hZG1pbi52Mi5Ub2tlblNlcnZpY2VMaXN0UmVxdWVzdBotLm1ldGFsc3RhY2suYWRtaW4udjIuVG9rZW5TZXJ2aWNlTGlzdFJlc3BvbnNlIgbS8xgCAQIScAoGUmV2b2tlEi4ubWV0YWxzdGFjay5hZG1pbi52Mi5Ub2tlblNlcnZpY2VSZXZva2VSZXF1ZXN0Gi8ubWV0YWxzdGFjay5hZG1pbi52Mi5Ub2tlblNlcnZpY2VSZXZva2VSZXNwb25zZSIF0vMYAQEScAoGQ3JlYXRlEi4ubWV0YWxzdGFjay5hZG1pbi52Mi5Ub2tlblNlcnZpY2VDcmVhdGVSZXF1ZXN0Gi8ubWV0YWxzdGFjay5hZG1pbi52Mi5Ub2tlblNlcnZpY2VDcmVhdGVSZXNwb25zZSIF0vMYAQFCzgEKF2NvbS5tZXRhbHN0YWNrLmFkbWluLnYyQgpUb2tlblByb3RvUAFaOWdpdGh1Yi5jb20vbWV0YWwtc3RhY2svYXBpL2dvL21ldGFsc3RhY2svYWRtaW4vdjI7YWRtaW52MqICA01BWKoCE01ldGFsc3RhY2suQWRtaW4uVjLKAhNNZXRhbHN0YWNrXEFkbWluXFYy4gIfTWV0YWxzdGFja1xBZG1pblxWMlxHUEJNZXRhZGF0YeoCFU1ldGFsc3RhY2s6OkFkbWluOjpWMmIGcHJvdG8z", [file_buf_validate_validate, file_metalstack_api_v2_common, file_metalstack_api_v2_token]);
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
|
-
* TokenServiceListRequest is the request payload for
|
|
20
|
+
* TokenServiceListRequest is the request payload for listing tokens.
|
|
21
21
|
*
|
|
22
22
|
* @generated from message metalstack.admin.v2.TokenServiceListRequest
|
|
23
23
|
*/
|
|
@@ -38,13 +38,13 @@ export const TokenServiceListRequestSchema: GenMessage<TokenServiceListRequest>
|
|
|
38
38
|
messageDesc(file_metalstack_admin_v2_token, 0);
|
|
39
39
|
|
|
40
40
|
/**
|
|
41
|
-
* TokenServiceListResponse is the response payload for
|
|
41
|
+
* TokenServiceListResponse is the response payload for listing tokens.
|
|
42
42
|
*
|
|
43
43
|
* @generated from message metalstack.admin.v2.TokenServiceListResponse
|
|
44
44
|
*/
|
|
45
45
|
export type TokenServiceListResponse = Message<"metalstack.admin.v2.TokenServiceListResponse"> & {
|
|
46
46
|
/**
|
|
47
|
-
* Tokens
|
|
47
|
+
* Tokens contains the list of tokens
|
|
48
48
|
*
|
|
49
49
|
* @generated from field: repeated metalstack.api.v2.Token tokens = 1;
|
|
50
50
|
*/
|
|
@@ -59,7 +59,7 @@ export const TokenServiceListResponseSchema: GenMessage<TokenServiceListResponse
|
|
|
59
59
|
messageDesc(file_metalstack_admin_v2_token, 1);
|
|
60
60
|
|
|
61
61
|
/**
|
|
62
|
-
* TokenServiceRevokeRequest is the request payload for
|
|
62
|
+
* TokenServiceRevokeRequest is the request payload for revoking a token.
|
|
63
63
|
*
|
|
64
64
|
* @generated from message metalstack.admin.v2.TokenServiceRevokeRequest
|
|
65
65
|
*/
|
|
@@ -87,7 +87,7 @@ export const TokenServiceRevokeRequestSchema: GenMessage<TokenServiceRevokeReque
|
|
|
87
87
|
messageDesc(file_metalstack_admin_v2_token, 2);
|
|
88
88
|
|
|
89
89
|
/**
|
|
90
|
-
* TokenServiceRevokeResponse is the response payload for
|
|
90
|
+
* TokenServiceRevokeResponse is the response payload for revoking a token.
|
|
91
91
|
*
|
|
92
92
|
* @generated from message metalstack.admin.v2.TokenServiceRevokeResponse
|
|
93
93
|
*/
|
|
@@ -102,7 +102,7 @@ export const TokenServiceRevokeResponseSchema: GenMessage<TokenServiceRevokeResp
|
|
|
102
102
|
messageDesc(file_metalstack_admin_v2_token, 3);
|
|
103
103
|
|
|
104
104
|
/**
|
|
105
|
-
* TokenServiceCreateRequest is the request payload
|
|
105
|
+
* TokenServiceCreateRequest is the request payload for creating a token.
|
|
106
106
|
*
|
|
107
107
|
* @generated from message metalstack.admin.v2.TokenServiceCreateRequest
|
|
108
108
|
*/
|
|
@@ -130,20 +130,20 @@ export const TokenServiceCreateRequestSchema: GenMessage<TokenServiceCreateReque
|
|
|
130
130
|
messageDesc(file_metalstack_admin_v2_token, 4);
|
|
131
131
|
|
|
132
132
|
/**
|
|
133
|
-
* TokenServiceCreateResponse is the response payload
|
|
133
|
+
* TokenServiceCreateResponse is the response payload for creating a token.
|
|
134
134
|
*
|
|
135
135
|
* @generated from message metalstack.admin.v2.TokenServiceCreateResponse
|
|
136
136
|
*/
|
|
137
137
|
export type TokenServiceCreateResponse = Message<"metalstack.admin.v2.TokenServiceCreateResponse"> & {
|
|
138
138
|
/**
|
|
139
|
-
* Token
|
|
139
|
+
* Token contains the created token
|
|
140
140
|
*
|
|
141
141
|
* @generated from field: metalstack.api.v2.Token token = 1;
|
|
142
142
|
*/
|
|
143
143
|
token?: Token;
|
|
144
144
|
|
|
145
145
|
/**
|
|
146
|
-
* Secret is the body if the
|
|
146
|
+
* Secret is the body if the JWT token, should be used in API requests as bearer token
|
|
147
147
|
*
|
|
148
148
|
* @generated from field: string secret = 2;
|
|
149
149
|
*/
|
|
@@ -158,13 +158,13 @@ export const TokenServiceCreateResponseSchema: GenMessage<TokenServiceCreateResp
|
|
|
158
158
|
messageDesc(file_metalstack_admin_v2_token, 5);
|
|
159
159
|
|
|
160
160
|
/**
|
|
161
|
-
* TokenService
|
|
161
|
+
* TokenService provides token management operations.
|
|
162
162
|
*
|
|
163
163
|
* @generated from service metalstack.admin.v2.TokenService
|
|
164
164
|
*/
|
|
165
165
|
export const TokenService: GenService<{
|
|
166
166
|
/**
|
|
167
|
-
*
|
|
167
|
+
* Returns the list of tokens for a user.
|
|
168
168
|
*
|
|
169
169
|
* @generated from rpc metalstack.admin.v2.TokenService.List
|
|
170
170
|
*/
|
|
@@ -174,7 +174,7 @@ export const TokenService: GenService<{
|
|
|
174
174
|
output: typeof TokenServiceListResponseSchema;
|
|
175
175
|
},
|
|
176
176
|
/**
|
|
177
|
-
*
|
|
177
|
+
* Revokes a token.
|
|
178
178
|
*
|
|
179
179
|
* @generated from rpc metalstack.admin.v2.TokenService.Revoke
|
|
180
180
|
*/
|
|
@@ -184,7 +184,7 @@ export const TokenService: GenService<{
|
|
|
184
184
|
output: typeof TokenServiceRevokeResponseSchema;
|
|
185
185
|
},
|
|
186
186
|
/**
|
|
187
|
-
*
|
|
187
|
+
* Creates a token to authenticate against the platform, the secret will be only visible in the response.
|
|
188
188
|
* This service is suitable to create tokens for other users instead of deriving users from tokens directly.
|
|
189
189
|
*
|
|
190
190
|
* @generated from rpc metalstack.admin.v2.TokenService.Create
|
|
@@ -7,32 +7,32 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
7
7
|
*/
|
|
8
8
|
export declare const file_metalstack_admin_v2_vpn: GenFile;
|
|
9
9
|
/**
|
|
10
|
-
* VPNServiceAuthKeyRequest is the request payload for a
|
|
10
|
+
* VPNServiceAuthKeyRequest is the request payload for generating a VPN authentication key.
|
|
11
11
|
*
|
|
12
12
|
* @generated from message metalstack.admin.v2.VPNServiceAuthKeyRequest
|
|
13
13
|
*/
|
|
14
14
|
export type VPNServiceAuthKeyRequest = Message<"metalstack.admin.v2.VPNServiceAuthKeyRequest"> & {
|
|
15
15
|
/**
|
|
16
|
-
* Project for which a
|
|
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
|
|
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
|
|
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;
|
|
33
33
|
/**
|
|
34
|
-
* Reason must be provided why access to the
|
|
35
|
-
*
|
|
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
|
*/
|
|
@@ -44,38 +44,38 @@ export type VPNServiceAuthKeyRequest = Message<"metalstack.admin.v2.VPNServiceAu
|
|
|
44
44
|
*/
|
|
45
45
|
export declare const VPNServiceAuthKeyRequestSchema: GenMessage<VPNServiceAuthKeyRequest>;
|
|
46
46
|
/**
|
|
47
|
-
* VPNServiceAuthKeyResponse is the
|
|
47
|
+
* VPNServiceAuthKeyResponse is the response payload for generating a VPN authentication key.
|
|
48
48
|
*
|
|
49
49
|
* @generated from message metalstack.admin.v2.VPNServiceAuthKeyResponse
|
|
50
50
|
*/
|
|
51
51
|
export type VPNServiceAuthKeyResponse = Message<"metalstack.admin.v2.VPNServiceAuthKeyResponse"> & {
|
|
52
52
|
/**
|
|
53
|
-
* Address is the address of the
|
|
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
|
|
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
|
|
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;
|
|
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
|
*/
|
|
@@ -87,13 +87,13 @@ export type VPNServiceAuthKeyResponse = Message<"metalstack.admin.v2.VPNServiceA
|
|
|
87
87
|
*/
|
|
88
88
|
export declare const VPNServiceAuthKeyResponseSchema: GenMessage<VPNServiceAuthKeyResponse>;
|
|
89
89
|
/**
|
|
90
|
-
* VPNServiceListNodesRequest is the request payload for
|
|
90
|
+
* VPNServiceListNodesRequest is the request payload for listing VPN nodes.
|
|
91
91
|
*
|
|
92
92
|
* @generated from message metalstack.admin.v2.VPNServiceListNodesRequest
|
|
93
93
|
*/
|
|
94
94
|
export type VPNServiceListNodesRequest = Message<"metalstack.admin.v2.VPNServiceListNodesRequest"> & {
|
|
95
95
|
/**
|
|
96
|
-
* Project
|
|
96
|
+
* Project filters nodes by this project
|
|
97
97
|
*
|
|
98
98
|
* @generated from field: optional string project = 1;
|
|
99
99
|
*/
|
|
@@ -105,13 +105,13 @@ export type VPNServiceListNodesRequest = Message<"metalstack.admin.v2.VPNService
|
|
|
105
105
|
*/
|
|
106
106
|
export declare const VPNServiceListNodesRequestSchema: GenMessage<VPNServiceListNodesRequest>;
|
|
107
107
|
/**
|
|
108
|
-
* VPNServiceListNodesResponse is the response payload for
|
|
108
|
+
* VPNServiceListNodesResponse is the response payload for listing VPN nodes.
|
|
109
109
|
*
|
|
110
110
|
* @generated from message metalstack.admin.v2.VPNServiceListNodesResponse
|
|
111
111
|
*/
|
|
112
112
|
export type VPNServiceListNodesResponse = Message<"metalstack.admin.v2.VPNServiceListNodesResponse"> & {
|
|
113
113
|
/**
|
|
114
|
-
* Nodes connected to the
|
|
114
|
+
* Nodes connected to the VPN
|
|
115
115
|
*
|
|
116
116
|
* @generated from field: repeated metalstack.api.v2.VPNNode nodes = 1;
|
|
117
117
|
*/
|
|
@@ -123,13 +123,13 @@ export type VPNServiceListNodesResponse = Message<"metalstack.admin.v2.VPNServic
|
|
|
123
123
|
*/
|
|
124
124
|
export declare const VPNServiceListNodesResponseSchema: GenMessage<VPNServiceListNodesResponse>;
|
|
125
125
|
/**
|
|
126
|
-
* VPNService
|
|
126
|
+
* VPNService provides VPN management operations.
|
|
127
127
|
*
|
|
128
128
|
* @generated from service metalstack.admin.v2.VPNService
|
|
129
129
|
*/
|
|
130
130
|
export declare const VPNService: GenService<{
|
|
131
131
|
/**
|
|
132
|
-
*
|
|
132
|
+
* GenerateAuthKey generates an authentication key for a project to join a machine to the project VPN.
|
|
133
133
|
*
|
|
134
134
|
* @generated from rpc metalstack.admin.v2.VPNService.AuthKey
|
|
135
135
|
*/
|
|
@@ -139,7 +139,7 @@ export declare const VPNService: GenService<{
|
|
|
139
139
|
output: typeof VPNServiceAuthKeyResponseSchema;
|
|
140
140
|
};
|
|
141
141
|
/**
|
|
142
|
-
*
|
|
142
|
+
* Returns the list of machines connected to the VPN.
|
|
143
143
|
*
|
|
144
144
|
* @generated from rpc metalstack.admin.v2.VPNService.ListNodes
|
|
145
145
|
*/
|
|
@@ -31,7 +31,7 @@ export const VPNServiceListNodesRequestSchema = /*@__PURE__*/ messageDesc(file_m
|
|
|
31
31
|
*/
|
|
32
32
|
export const VPNServiceListNodesResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_admin_v2_vpn, 3);
|
|
33
33
|
/**
|
|
34
|
-
* VPNService
|
|
34
|
+
* VPNService provides VPN management operations.
|
|
35
35
|
*
|
|
36
36
|
* @generated from service metalstack.admin.v2.VPNService
|
|
37
37
|
*/
|
|
@@ -19,35 +19,35 @@ export const file_metalstack_admin_v2_vpn: GenFile = /*@__PURE__*/
|
|
|
19
19
|
fileDesc("Ch1tZXRhbHN0YWNrL2FkbWluL3YyL3Zwbi5wcm90bxITbWV0YWxzdGFjay5hZG1pbi52MiKQAQoYVlBOU2VydmljZUF1dGhLZXlSZXF1ZXN0EhkKB3Byb2plY3QYASABKAlCCLpIBXIDsAEBEhEKCWVwaGVtZXJhbBgCIAEoCBIqCgdleHBpcmVzGAMgASgLMhkuZ29vZ2xlLnByb3RvYnVmLkR1cmF0aW9uEhoKBnJlYXNvbhgEIAEoCUIKukgHcgUQChiABCKxAQoZVlBOU2VydmljZUF1dGhLZXlSZXNwb25zZRIPCgdhZGRyZXNzGAEgASgJEhAKCGF1dGhfa2V5GAIgASgJEhEKCWVwaGVtZXJhbBgDIAEoCBIuCgpleHBpcmVzX2F0GAQgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIuCgpjcmVhdGVkX2F0GAUgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcCI+ChpWUE5TZXJ2aWNlTGlzdE5vZGVzUmVxdWVzdBIUCgdwcm9qZWN0GAEgASgJSACIAQFCCgoIX3Byb2plY3QiSAobVlBOU2VydmljZUxpc3ROb2Rlc1Jlc3BvbnNlEikKBW5vZGVzGAEgAygLMhoubWV0YWxzdGFjay5hcGkudjIuVlBOTm9kZTL1AQoKVlBOU2VydmljZRJvCgdBdXRoS2V5Ei0ubWV0YWxzdGFjay5hZG1pbi52Mi5WUE5TZXJ2aWNlQXV0aEtleVJlcXVlc3QaLi5tZXRhbHN0YWNrLmFkbWluLnYyLlZQTlNlcnZpY2VBdXRoS2V5UmVzcG9uc2UiBdLzGAEBEnYKCUxpc3ROb2RlcxIvLm1ldGFsc3RhY2suYWRtaW4udjIuVlBOU2VydmljZUxpc3ROb2Rlc1JlcXVlc3QaMC5tZXRhbHN0YWNrLmFkbWluLnYyLlZQTlNlcnZpY2VMaXN0Tm9kZXNSZXNwb25zZSIG0vMYAgECQswBChdjb20ubWV0YWxzdGFjay5hZG1pbi52MkIIVnBuUHJvdG9QAVo5Z2l0aHViLmNvbS9tZXRhbC1zdGFjay9hcGkvZ28vbWV0YWxzdGFjay9hZG1pbi92MjthZG1pbnYyogIDTUFYqgITTWV0YWxzdGFjay5BZG1pbi5WMsoCE01ldGFsc3RhY2tcQWRtaW5cVjLiAh9NZXRhbHN0YWNrXEFkbWluXFYyXEdQQk1ldGFkYXRh6gIVTWV0YWxzdGFjazo6QWRtaW46OlYyYgZwcm90bzM", [file_buf_validate_validate, file_google_protobuf_duration, file_google_protobuf_timestamp, file_metalstack_api_v2_common, file_metalstack_api_v2_vpn]);
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* VPNServiceAuthKeyRequest is the request payload for a
|
|
22
|
+
* VPNServiceAuthKeyRequest is the request payload for generating a VPN authentication key.
|
|
23
23
|
*
|
|
24
24
|
* @generated from message metalstack.admin.v2.VPNServiceAuthKeyRequest
|
|
25
25
|
*/
|
|
26
26
|
export type VPNServiceAuthKeyRequest = Message<"metalstack.admin.v2.VPNServiceAuthKeyRequest"> & {
|
|
27
27
|
/**
|
|
28
|
-
* Project for which a
|
|
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
|
|
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
|
|
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;
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
|
-
* Reason must be provided why access to the
|
|
50
|
-
*
|
|
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
|
*/
|
|
@@ -62,42 +62,42 @@ export const VPNServiceAuthKeyRequestSchema: GenMessage<VPNServiceAuthKeyRequest
|
|
|
62
62
|
messageDesc(file_metalstack_admin_v2_vpn, 0);
|
|
63
63
|
|
|
64
64
|
/**
|
|
65
|
-
* VPNServiceAuthKeyResponse is the
|
|
65
|
+
* VPNServiceAuthKeyResponse is the response payload for generating a VPN authentication key.
|
|
66
66
|
*
|
|
67
67
|
* @generated from message metalstack.admin.v2.VPNServiceAuthKeyResponse
|
|
68
68
|
*/
|
|
69
69
|
export type VPNServiceAuthKeyResponse = Message<"metalstack.admin.v2.VPNServiceAuthKeyResponse"> & {
|
|
70
70
|
/**
|
|
71
|
-
* Address is the address of the
|
|
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
|
|
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
|
|
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;
|
|
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
|
*/
|
|
@@ -112,13 +112,13 @@ export const VPNServiceAuthKeyResponseSchema: GenMessage<VPNServiceAuthKeyRespon
|
|
|
112
112
|
messageDesc(file_metalstack_admin_v2_vpn, 1);
|
|
113
113
|
|
|
114
114
|
/**
|
|
115
|
-
* VPNServiceListNodesRequest is the request payload for
|
|
115
|
+
* VPNServiceListNodesRequest is the request payload for listing VPN nodes.
|
|
116
116
|
*
|
|
117
117
|
* @generated from message metalstack.admin.v2.VPNServiceListNodesRequest
|
|
118
118
|
*/
|
|
119
119
|
export type VPNServiceListNodesRequest = Message<"metalstack.admin.v2.VPNServiceListNodesRequest"> & {
|
|
120
120
|
/**
|
|
121
|
-
* Project
|
|
121
|
+
* Project filters nodes by this project
|
|
122
122
|
*
|
|
123
123
|
* @generated from field: optional string project = 1;
|
|
124
124
|
*/
|
|
@@ -133,13 +133,13 @@ export const VPNServiceListNodesRequestSchema: GenMessage<VPNServiceListNodesReq
|
|
|
133
133
|
messageDesc(file_metalstack_admin_v2_vpn, 2);
|
|
134
134
|
|
|
135
135
|
/**
|
|
136
|
-
* VPNServiceListNodesResponse is the response payload for
|
|
136
|
+
* VPNServiceListNodesResponse is the response payload for listing VPN nodes.
|
|
137
137
|
*
|
|
138
138
|
* @generated from message metalstack.admin.v2.VPNServiceListNodesResponse
|
|
139
139
|
*/
|
|
140
140
|
export type VPNServiceListNodesResponse = Message<"metalstack.admin.v2.VPNServiceListNodesResponse"> & {
|
|
141
141
|
/**
|
|
142
|
-
* Nodes connected to the
|
|
142
|
+
* Nodes connected to the VPN
|
|
143
143
|
*
|
|
144
144
|
* @generated from field: repeated metalstack.api.v2.VPNNode nodes = 1;
|
|
145
145
|
*/
|
|
@@ -154,13 +154,13 @@ export const VPNServiceListNodesResponseSchema: GenMessage<VPNServiceListNodesRe
|
|
|
154
154
|
messageDesc(file_metalstack_admin_v2_vpn, 3);
|
|
155
155
|
|
|
156
156
|
/**
|
|
157
|
-
* VPNService
|
|
157
|
+
* VPNService provides VPN management operations.
|
|
158
158
|
*
|
|
159
159
|
* @generated from service metalstack.admin.v2.VPNService
|
|
160
160
|
*/
|
|
161
161
|
export const VPNService: GenService<{
|
|
162
162
|
/**
|
|
163
|
-
*
|
|
163
|
+
* GenerateAuthKey generates an authentication key for a project to join a machine to the project VPN.
|
|
164
164
|
*
|
|
165
165
|
* @generated from rpc metalstack.admin.v2.VPNService.AuthKey
|
|
166
166
|
*/
|
|
@@ -170,7 +170,7 @@ export const VPNService: GenService<{
|
|
|
170
170
|
output: typeof VPNServiceAuthKeyResponseSchema;
|
|
171
171
|
},
|
|
172
172
|
/**
|
|
173
|
-
*
|
|
173
|
+
* Returns the list of machines connected to the VPN.
|
|
174
174
|
*
|
|
175
175
|
* @generated from rpc metalstack.admin.v2.VPNService.ListNodes
|
|
176
176
|
*/
|