@fi-ts/api 0.0.1-alpha.0 → 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fits/api/mvm/v1/location_pb.d.ts +83 -0
- package/fits/api/mvm/v1/location_pb.js +32 -0
- package/fits/api/mvm/v1/location_pb.ts +106 -0
- package/fits/api/mvm/v1/mvm_pb.d.ts +1451 -0
- package/fits/api/mvm/v1/mvm_pb.js +391 -0
- package/fits/api/mvm/v1/mvm_pb.ts +1679 -0
- package/fits/api/mvm/v1/os_pb.d.ts +111 -0
- package/fits/api/mvm/v1/os_pb.js +62 -0
- package/fits/api/mvm/v1/os_pb.ts +141 -0
- package/fits/api/mvm/v1/vlan_pb.d.ts +163 -0
- package/fits/api/mvm/v1/vlan_pb.js +76 -0
- package/fits/api/mvm/v1/vlan_pb.ts +199 -0
- package/fits/api/v1/predefined_rules_pb.d.ts +12 -0
- package/fits/api/v1/predefined_rules_pb.js +19 -7
- package/fits/api/v1/predefined_rules_pb.ts +23 -7
- package/fits/api/v1/project_pb.d.ts +10 -4
- package/fits/api/v1/project_pb.js +1 -2
- package/fits/api/v1/project_pb.ts +12 -6
- package/fits/api/v1/tenant_pb.d.ts +9 -9
- package/fits/api/v1/tenant_pb.js +1 -2
- package/fits/api/v1/tenant_pb.ts +10 -11
- package/package.json +1 -1
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
3
|
+
/**
|
|
4
|
+
* Describes the file fits/api/mvm/v1/os.proto.
|
|
5
|
+
*/
|
|
6
|
+
export declare const file_fits_api_mvm_v1_os: GenFile;
|
|
7
|
+
/**
|
|
8
|
+
* OS is the definition of an available OS for MVM instances.
|
|
9
|
+
*
|
|
10
|
+
* @generated from message fits.api.mvm.v1.OS
|
|
11
|
+
*/
|
|
12
|
+
export type OS = Message<"fits.api.mvm.v1.OS"> & {
|
|
13
|
+
/**
|
|
14
|
+
* Uuid of this OS.
|
|
15
|
+
*
|
|
16
|
+
* @generated from field: string uuid = 1;
|
|
17
|
+
*/
|
|
18
|
+
uuid: string;
|
|
19
|
+
/**
|
|
20
|
+
* Title of the OS.
|
|
21
|
+
*
|
|
22
|
+
* @generated from field: string title = 2;
|
|
23
|
+
*/
|
|
24
|
+
title: string;
|
|
25
|
+
/**
|
|
26
|
+
* Type of the OS.
|
|
27
|
+
*
|
|
28
|
+
* @generated from field: fits.api.mvm.v1.OSType type = 3;
|
|
29
|
+
*/
|
|
30
|
+
type: OSType;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Describes the message fits.api.mvm.v1.OS.
|
|
34
|
+
* Use `create(OSSchema)` to create a new message.
|
|
35
|
+
*/
|
|
36
|
+
export declare const OSSchema: GenMessage<OS>;
|
|
37
|
+
/**
|
|
38
|
+
* OSServiceListRequest is the request payload for a OS list request.
|
|
39
|
+
*
|
|
40
|
+
* @generated from message fits.api.mvm.v1.OSServiceListRequest
|
|
41
|
+
*/
|
|
42
|
+
export type OSServiceListRequest = Message<"fits.api.mvm.v1.OSServiceListRequest"> & {};
|
|
43
|
+
/**
|
|
44
|
+
* Describes the message fits.api.mvm.v1.OSServiceListRequest.
|
|
45
|
+
* Use `create(OSServiceListRequestSchema)` to create a new message.
|
|
46
|
+
*/
|
|
47
|
+
export declare const OSServiceListRequestSchema: GenMessage<OSServiceListRequest>;
|
|
48
|
+
/**
|
|
49
|
+
* OSServiceListResponse is the response payload for a OS list request
|
|
50
|
+
*
|
|
51
|
+
* @generated from message fits.api.mvm.v1.OSServiceListResponse
|
|
52
|
+
*/
|
|
53
|
+
export type OSServiceListResponse = Message<"fits.api.mvm.v1.OSServiceListResponse"> & {
|
|
54
|
+
/**
|
|
55
|
+
* The available operating systems.
|
|
56
|
+
*
|
|
57
|
+
* @generated from field: repeated fits.api.mvm.v1.OS operating_systems = 1;
|
|
58
|
+
*/
|
|
59
|
+
operatingSystems: OS[];
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* Describes the message fits.api.mvm.v1.OSServiceListResponse.
|
|
63
|
+
* Use `create(OSServiceListResponseSchema)` to create a new message.
|
|
64
|
+
*/
|
|
65
|
+
export declare const OSServiceListResponseSchema: GenMessage<OSServiceListResponse>;
|
|
66
|
+
/**
|
|
67
|
+
* OSType specifies the type of an operating system.
|
|
68
|
+
*
|
|
69
|
+
* @generated from enum fits.api.mvm.v1.OSType
|
|
70
|
+
*/
|
|
71
|
+
export declare enum OSType {
|
|
72
|
+
/**
|
|
73
|
+
* OS_TYPE_UNSPECIFIED is not specified.
|
|
74
|
+
*
|
|
75
|
+
* @generated from enum value: OS_TYPE_UNSPECIFIED = 0;
|
|
76
|
+
*/
|
|
77
|
+
OS_TYPE_UNSPECIFIED = 0,
|
|
78
|
+
/**
|
|
79
|
+
* OS_TYPE_LINUX is a Linux operating system.
|
|
80
|
+
*
|
|
81
|
+
* @generated from enum value: OS_TYPE_LINUX = 1;
|
|
82
|
+
*/
|
|
83
|
+
OS_TYPE_LINUX = 1,
|
|
84
|
+
/**
|
|
85
|
+
* OS_TYPE_WINDOWS is a Windows operating system.
|
|
86
|
+
*
|
|
87
|
+
* @generated from enum value: OS_TYPE_WINDOWS = 2;
|
|
88
|
+
*/
|
|
89
|
+
OS_TYPE_WINDOWS = 2
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Describes the enum fits.api.mvm.v1.OSType.
|
|
93
|
+
*/
|
|
94
|
+
export declare const OSTypeSchema: GenEnum<OSType>;
|
|
95
|
+
/**
|
|
96
|
+
* OSService lists operating systems available for managed VM (MVM) instances.
|
|
97
|
+
*
|
|
98
|
+
* @generated from service fits.api.mvm.v1.OSService
|
|
99
|
+
*/
|
|
100
|
+
export declare const OSService: GenService<{
|
|
101
|
+
/**
|
|
102
|
+
* Returns a list of all operating systems.
|
|
103
|
+
*
|
|
104
|
+
* @generated from rpc fits.api.mvm.v1.OSService.List
|
|
105
|
+
*/
|
|
106
|
+
list: {
|
|
107
|
+
methodKind: "unary";
|
|
108
|
+
input: typeof OSServiceListRequestSchema;
|
|
109
|
+
output: typeof OSServiceListResponseSchema;
|
|
110
|
+
};
|
|
111
|
+
}>;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.14.1 with parameter "target=ts"
|
|
2
|
+
// @generated from file fits/api/mvm/v1/os.proto (package fits.api.mvm.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
import { file_buf_validate_validate } from "../../../../buf/validate/validate_pb";
|
|
6
|
+
import { file_fits_api_v1_common } from "../../v1/common_pb";
|
|
7
|
+
import { file_fits_api_v1_predefined_rules } from "../../v1/predefined_rules_pb";
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file fits/api/mvm/v1/os.proto.
|
|
10
|
+
*/
|
|
11
|
+
export const file_fits_api_mvm_v1_os = /*@__PURE__*/ fileDesc("ChhmaXRzL2FwaS9tdm0vdjEvb3MucHJvdG8SD2ZpdHMuYXBpLm12bS52MSJfCgJPUxIWCgR1dWlkGAEgASgJQgi6SAVyA7ABARIaCgV0aXRsZRgCIAEoCUILukgIcgbAs66xAgESJQoEdHlwZRgDIAEoDjIXLmZpdHMuYXBpLm12bS52MS5PU1R5cGUiFgoUT1NTZXJ2aWNlTGlzdFJlcXVlc3QiRwoVT1NTZXJ2aWNlTGlzdFJlc3BvbnNlEi4KEW9wZXJhdGluZ19zeXN0ZW1zGAEgAygLMhMuZml0cy5hcGkubXZtLnYxLk9TKmcKBk9TVHlwZRIdChNPU19UWVBFX1VOU1BFQ0lGSUVEEAAaBIKyGQASHAoNT1NfVFlQRV9MSU5VWBABGgmCshkFbGludXgSIAoPT1NfVFlQRV9XSU5ET1dTEAIaC4KyGQd3aW5kb3dzMmwKCU9TU2VydmljZRJfCgRMaXN0EiUuZml0cy5hcGkubXZtLnYxLk9TU2VydmljZUxpc3RSZXF1ZXN0GiYuZml0cy5hcGkubXZtLnYxLk9TU2VydmljZUxpc3RSZXNwb25zZSII2PMYAuDzGAJCrAEKE2NvbS5maXRzLmFwaS5tdm0udjFCB09zUHJvdG9QAVotZ2l0aHViLmNvbS9maS10cy9hcGkvZ28vZml0cy9hcGkvbXZtL3YxO212bXYxogIDRkFNqgIPRml0cy5BcGkuTXZtLlYxygIPRml0c1xBcGlcTXZtXFYx4gIbRml0c1xBcGlcTXZtXFYxXEdQQk1ldGFkYXRh6gISRml0czo6QXBpOjpNdm06OlYxYgZwcm90bzM", [file_buf_validate_validate, file_fits_api_v1_common, file_fits_api_v1_predefined_rules]);
|
|
12
|
+
/**
|
|
13
|
+
* Describes the message fits.api.mvm.v1.OS.
|
|
14
|
+
* Use `create(OSSchema)` to create a new message.
|
|
15
|
+
*/
|
|
16
|
+
export const OSSchema = /*@__PURE__*/ messageDesc(file_fits_api_mvm_v1_os, 0);
|
|
17
|
+
/**
|
|
18
|
+
* Describes the message fits.api.mvm.v1.OSServiceListRequest.
|
|
19
|
+
* Use `create(OSServiceListRequestSchema)` to create a new message.
|
|
20
|
+
*/
|
|
21
|
+
export const OSServiceListRequestSchema = /*@__PURE__*/ messageDesc(file_fits_api_mvm_v1_os, 1);
|
|
22
|
+
/**
|
|
23
|
+
* Describes the message fits.api.mvm.v1.OSServiceListResponse.
|
|
24
|
+
* Use `create(OSServiceListResponseSchema)` to create a new message.
|
|
25
|
+
*/
|
|
26
|
+
export const OSServiceListResponseSchema = /*@__PURE__*/ messageDesc(file_fits_api_mvm_v1_os, 2);
|
|
27
|
+
/**
|
|
28
|
+
* OSType specifies the type of an operating system.
|
|
29
|
+
*
|
|
30
|
+
* @generated from enum fits.api.mvm.v1.OSType
|
|
31
|
+
*/
|
|
32
|
+
export var OSType;
|
|
33
|
+
(function (OSType) {
|
|
34
|
+
/**
|
|
35
|
+
* OS_TYPE_UNSPECIFIED is not specified.
|
|
36
|
+
*
|
|
37
|
+
* @generated from enum value: OS_TYPE_UNSPECIFIED = 0;
|
|
38
|
+
*/
|
|
39
|
+
OSType[OSType["OS_TYPE_UNSPECIFIED"] = 0] = "OS_TYPE_UNSPECIFIED";
|
|
40
|
+
/**
|
|
41
|
+
* OS_TYPE_LINUX is a Linux operating system.
|
|
42
|
+
*
|
|
43
|
+
* @generated from enum value: OS_TYPE_LINUX = 1;
|
|
44
|
+
*/
|
|
45
|
+
OSType[OSType["OS_TYPE_LINUX"] = 1] = "OS_TYPE_LINUX";
|
|
46
|
+
/**
|
|
47
|
+
* OS_TYPE_WINDOWS is a Windows operating system.
|
|
48
|
+
*
|
|
49
|
+
* @generated from enum value: OS_TYPE_WINDOWS = 2;
|
|
50
|
+
*/
|
|
51
|
+
OSType[OSType["OS_TYPE_WINDOWS"] = 2] = "OS_TYPE_WINDOWS";
|
|
52
|
+
})(OSType || (OSType = {}));
|
|
53
|
+
/**
|
|
54
|
+
* Describes the enum fits.api.mvm.v1.OSType.
|
|
55
|
+
*/
|
|
56
|
+
export const OSTypeSchema = /*@__PURE__*/ enumDesc(file_fits_api_mvm_v1_os, 0);
|
|
57
|
+
/**
|
|
58
|
+
* OSService lists operating systems available for managed VM (MVM) instances.
|
|
59
|
+
*
|
|
60
|
+
* @generated from service fits.api.mvm.v1.OSService
|
|
61
|
+
*/
|
|
62
|
+
export const OSService = /*@__PURE__*/ serviceDesc(file_fits_api_mvm_v1_os, 0);
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.14.1 with parameter "target=ts"
|
|
2
|
+
// @generated from file fits/api/mvm/v1/os.proto (package fits.api.mvm.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
|
+
import { file_buf_validate_validate } from "../../../../buf/validate/validate_pb";
|
|
8
|
+
import { file_fits_api_v1_common } from "../../v1/common_pb";
|
|
9
|
+
import { file_fits_api_v1_predefined_rules } from "../../v1/predefined_rules_pb";
|
|
10
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Describes the file fits/api/mvm/v1/os.proto.
|
|
14
|
+
*/
|
|
15
|
+
export const file_fits_api_mvm_v1_os: GenFile = /*@__PURE__*/
|
|
16
|
+
fileDesc("ChhmaXRzL2FwaS9tdm0vdjEvb3MucHJvdG8SD2ZpdHMuYXBpLm12bS52MSJfCgJPUxIWCgR1dWlkGAEgASgJQgi6SAVyA7ABARIaCgV0aXRsZRgCIAEoCUILukgIcgbAs66xAgESJQoEdHlwZRgDIAEoDjIXLmZpdHMuYXBpLm12bS52MS5PU1R5cGUiFgoUT1NTZXJ2aWNlTGlzdFJlcXVlc3QiRwoVT1NTZXJ2aWNlTGlzdFJlc3BvbnNlEi4KEW9wZXJhdGluZ19zeXN0ZW1zGAEgAygLMhMuZml0cy5hcGkubXZtLnYxLk9TKmcKBk9TVHlwZRIdChNPU19UWVBFX1VOU1BFQ0lGSUVEEAAaBIKyGQASHAoNT1NfVFlQRV9MSU5VWBABGgmCshkFbGludXgSIAoPT1NfVFlQRV9XSU5ET1dTEAIaC4KyGQd3aW5kb3dzMmwKCU9TU2VydmljZRJfCgRMaXN0EiUuZml0cy5hcGkubXZtLnYxLk9TU2VydmljZUxpc3RSZXF1ZXN0GiYuZml0cy5hcGkubXZtLnYxLk9TU2VydmljZUxpc3RSZXNwb25zZSII2PMYAuDzGAJCrAEKE2NvbS5maXRzLmFwaS5tdm0udjFCB09zUHJvdG9QAVotZ2l0aHViLmNvbS9maS10cy9hcGkvZ28vZml0cy9hcGkvbXZtL3YxO212bXYxogIDRkFNqgIPRml0cy5BcGkuTXZtLlYxygIPRml0c1xBcGlcTXZtXFYx4gIbRml0c1xBcGlcTXZtXFYxXEdQQk1ldGFkYXRh6gISRml0czo6QXBpOjpNdm06OlYxYgZwcm90bzM", [file_buf_validate_validate, file_fits_api_v1_common, file_fits_api_v1_predefined_rules]);
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* OS is the definition of an available OS for MVM instances.
|
|
20
|
+
*
|
|
21
|
+
* @generated from message fits.api.mvm.v1.OS
|
|
22
|
+
*/
|
|
23
|
+
export type OS = Message<"fits.api.mvm.v1.OS"> & {
|
|
24
|
+
/**
|
|
25
|
+
* Uuid of this OS.
|
|
26
|
+
*
|
|
27
|
+
* @generated from field: string uuid = 1;
|
|
28
|
+
*/
|
|
29
|
+
uuid: string;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Title of the OS.
|
|
33
|
+
*
|
|
34
|
+
* @generated from field: string title = 2;
|
|
35
|
+
*/
|
|
36
|
+
title: string;
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Type of the OS.
|
|
40
|
+
*
|
|
41
|
+
* @generated from field: fits.api.mvm.v1.OSType type = 3;
|
|
42
|
+
*/
|
|
43
|
+
type: OSType;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Describes the message fits.api.mvm.v1.OS.
|
|
48
|
+
* Use `create(OSSchema)` to create a new message.
|
|
49
|
+
*/
|
|
50
|
+
export const OSSchema: GenMessage<OS> = /*@__PURE__*/
|
|
51
|
+
messageDesc(file_fits_api_mvm_v1_os, 0);
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* OSServiceListRequest is the request payload for a OS list request.
|
|
55
|
+
*
|
|
56
|
+
* @generated from message fits.api.mvm.v1.OSServiceListRequest
|
|
57
|
+
*/
|
|
58
|
+
export type OSServiceListRequest = Message<"fits.api.mvm.v1.OSServiceListRequest"> & {
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Describes the message fits.api.mvm.v1.OSServiceListRequest.
|
|
63
|
+
* Use `create(OSServiceListRequestSchema)` to create a new message.
|
|
64
|
+
*/
|
|
65
|
+
export const OSServiceListRequestSchema: GenMessage<OSServiceListRequest> = /*@__PURE__*/
|
|
66
|
+
messageDesc(file_fits_api_mvm_v1_os, 1);
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* OSServiceListResponse is the response payload for a OS list request
|
|
70
|
+
*
|
|
71
|
+
* @generated from message fits.api.mvm.v1.OSServiceListResponse
|
|
72
|
+
*/
|
|
73
|
+
export type OSServiceListResponse = Message<"fits.api.mvm.v1.OSServiceListResponse"> & {
|
|
74
|
+
/**
|
|
75
|
+
* The available operating systems.
|
|
76
|
+
*
|
|
77
|
+
* @generated from field: repeated fits.api.mvm.v1.OS operating_systems = 1;
|
|
78
|
+
*/
|
|
79
|
+
operatingSystems: OS[];
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Describes the message fits.api.mvm.v1.OSServiceListResponse.
|
|
84
|
+
* Use `create(OSServiceListResponseSchema)` to create a new message.
|
|
85
|
+
*/
|
|
86
|
+
export const OSServiceListResponseSchema: GenMessage<OSServiceListResponse> = /*@__PURE__*/
|
|
87
|
+
messageDesc(file_fits_api_mvm_v1_os, 2);
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* OSType specifies the type of an operating system.
|
|
91
|
+
*
|
|
92
|
+
* @generated from enum fits.api.mvm.v1.OSType
|
|
93
|
+
*/
|
|
94
|
+
export enum OSType {
|
|
95
|
+
/**
|
|
96
|
+
* OS_TYPE_UNSPECIFIED is not specified.
|
|
97
|
+
*
|
|
98
|
+
* @generated from enum value: OS_TYPE_UNSPECIFIED = 0;
|
|
99
|
+
*/
|
|
100
|
+
OS_TYPE_UNSPECIFIED = 0,
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* OS_TYPE_LINUX is a Linux operating system.
|
|
104
|
+
*
|
|
105
|
+
* @generated from enum value: OS_TYPE_LINUX = 1;
|
|
106
|
+
*/
|
|
107
|
+
OS_TYPE_LINUX = 1,
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* OS_TYPE_WINDOWS is a Windows operating system.
|
|
111
|
+
*
|
|
112
|
+
* @generated from enum value: OS_TYPE_WINDOWS = 2;
|
|
113
|
+
*/
|
|
114
|
+
OS_TYPE_WINDOWS = 2,
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Describes the enum fits.api.mvm.v1.OSType.
|
|
119
|
+
*/
|
|
120
|
+
export const OSTypeSchema: GenEnum<OSType> = /*@__PURE__*/
|
|
121
|
+
enumDesc(file_fits_api_mvm_v1_os, 0);
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* OSService lists operating systems available for managed VM (MVM) instances.
|
|
125
|
+
*
|
|
126
|
+
* @generated from service fits.api.mvm.v1.OSService
|
|
127
|
+
*/
|
|
128
|
+
export const OSService: GenService<{
|
|
129
|
+
/**
|
|
130
|
+
* Returns a list of all operating systems.
|
|
131
|
+
*
|
|
132
|
+
* @generated from rpc fits.api.mvm.v1.OSService.List
|
|
133
|
+
*/
|
|
134
|
+
list: {
|
|
135
|
+
methodKind: "unary";
|
|
136
|
+
input: typeof OSServiceListRequestSchema;
|
|
137
|
+
output: typeof OSServiceListResponseSchema;
|
|
138
|
+
},
|
|
139
|
+
}> = /*@__PURE__*/
|
|
140
|
+
serviceDesc(file_fits_api_mvm_v1_os, 0);
|
|
141
|
+
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
3
|
+
/**
|
|
4
|
+
* Describes the file fits/api/mvm/v1/vlan.proto.
|
|
5
|
+
*/
|
|
6
|
+
export declare const file_fits_api_mvm_v1_vlan: GenFile;
|
|
7
|
+
/**
|
|
8
|
+
* VLAN is a VLAN that a MVM can be connected to.
|
|
9
|
+
*
|
|
10
|
+
* @generated from message fits.api.mvm.v1.VLAN
|
|
11
|
+
*/
|
|
12
|
+
export type VLAN = Message<"fits.api.mvm.v1.VLAN"> & {
|
|
13
|
+
/**
|
|
14
|
+
* Uuid of this VLAN
|
|
15
|
+
*
|
|
16
|
+
* @generated from field: string uuid = 1;
|
|
17
|
+
*/
|
|
18
|
+
uuid: string;
|
|
19
|
+
/**
|
|
20
|
+
* Id of this VLAN
|
|
21
|
+
* This is not a foreign key, this is the actual ID of the VLAN the network interface is attached to.
|
|
22
|
+
*
|
|
23
|
+
* @generated from field: int32 vlan_id = 2;
|
|
24
|
+
*/
|
|
25
|
+
vlanId: number;
|
|
26
|
+
/**
|
|
27
|
+
* Title of the subnet this VLAN belongs to
|
|
28
|
+
*
|
|
29
|
+
* @generated from field: string subnet_title = 3;
|
|
30
|
+
*/
|
|
31
|
+
subnetTitle: string;
|
|
32
|
+
/**
|
|
33
|
+
* CIDR of the subnet this VLAN belongs to
|
|
34
|
+
*
|
|
35
|
+
* @generated from field: string subnet_cidr = 4;
|
|
36
|
+
*/
|
|
37
|
+
subnetCidr: string;
|
|
38
|
+
/**
|
|
39
|
+
* TODO instead of the pod title, could we have the location_uuid?
|
|
40
|
+
*
|
|
41
|
+
* @generated from field: optional string location_uuid = 5;
|
|
42
|
+
*/
|
|
43
|
+
locationUuid?: string | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* Stage type of this VLAN
|
|
46
|
+
*
|
|
47
|
+
* @generated from field: fits.api.mvm.v1.StageType stage_type = 6;
|
|
48
|
+
*/
|
|
49
|
+
stageType: StageType;
|
|
50
|
+
/**
|
|
51
|
+
* Tenant this VLAN belongs to.
|
|
52
|
+
*
|
|
53
|
+
* @generated from field: string tenant = 7;
|
|
54
|
+
*/
|
|
55
|
+
tenant: string;
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* Describes the message fits.api.mvm.v1.VLAN.
|
|
59
|
+
* Use `create(VLANSchema)` to create a new message.
|
|
60
|
+
*/
|
|
61
|
+
export declare const VLANSchema: GenMessage<VLAN>;
|
|
62
|
+
/**
|
|
63
|
+
* VLANServiceListRequest is the request payload for a VLAN list request.
|
|
64
|
+
*
|
|
65
|
+
* @generated from message fits.api.mvm.v1.VLANServiceListRequest
|
|
66
|
+
*/
|
|
67
|
+
export type VLANServiceListRequest = Message<"fits.api.mvm.v1.VLANServiceListRequest"> & {
|
|
68
|
+
/**
|
|
69
|
+
* Tenant to list available VLANs for (the tenant login)
|
|
70
|
+
*
|
|
71
|
+
* @generated from field: string tenant = 1;
|
|
72
|
+
*/
|
|
73
|
+
tenant: string;
|
|
74
|
+
/**
|
|
75
|
+
* StageType filters the listed VLANs by stage type
|
|
76
|
+
*
|
|
77
|
+
* @generated from field: optional fits.api.mvm.v1.StageType stage_type = 2;
|
|
78
|
+
*/
|
|
79
|
+
stageType?: StageType | undefined;
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* Describes the message fits.api.mvm.v1.VLANServiceListRequest.
|
|
83
|
+
* Use `create(VLANServiceListRequestSchema)` to create a new message.
|
|
84
|
+
*/
|
|
85
|
+
export declare const VLANServiceListRequestSchema: GenMessage<VLANServiceListRequest>;
|
|
86
|
+
/**
|
|
87
|
+
* VLANServiceListResponse is the response payload for a VLAN list request
|
|
88
|
+
*
|
|
89
|
+
* @generated from message fits.api.mvm.v1.VLANServiceListResponse
|
|
90
|
+
*/
|
|
91
|
+
export type VLANServiceListResponse = Message<"fits.api.mvm.v1.VLANServiceListResponse"> & {
|
|
92
|
+
/**
|
|
93
|
+
* The available VLANs
|
|
94
|
+
*
|
|
95
|
+
* @generated from field: repeated fits.api.mvm.v1.VLAN vlans = 1;
|
|
96
|
+
*/
|
|
97
|
+
vlans: VLAN[];
|
|
98
|
+
};
|
|
99
|
+
/**
|
|
100
|
+
* Describes the message fits.api.mvm.v1.VLANServiceListResponse.
|
|
101
|
+
* Use `create(VLANServiceListResponseSchema)` to create a new message.
|
|
102
|
+
*/
|
|
103
|
+
export declare const VLANServiceListResponseSchema: GenMessage<VLANServiceListResponse>;
|
|
104
|
+
/**
|
|
105
|
+
* StageType specifies the fixed stage of a managed VM (MVM) instance or VLAN.
|
|
106
|
+
* The set of stages is fixed upstream, so it is modeled as an enum instead of
|
|
107
|
+
* a listable resource.
|
|
108
|
+
*
|
|
109
|
+
* @generated from enum fits.api.mvm.v1.StageType
|
|
110
|
+
*/
|
|
111
|
+
export declare enum StageType {
|
|
112
|
+
/**
|
|
113
|
+
* STAGE_TYPE_UNSPECIFIED is not specified.
|
|
114
|
+
*
|
|
115
|
+
* @generated from enum value: STAGE_TYPE_UNSPECIFIED = 0;
|
|
116
|
+
*/
|
|
117
|
+
UNSPECIFIED = 0,
|
|
118
|
+
/**
|
|
119
|
+
* STAGE_TYPE_DEVELOPMENT is the development stage.
|
|
120
|
+
*
|
|
121
|
+
* @generated from enum value: STAGE_TYPE_DEVELOPMENT = 1;
|
|
122
|
+
*/
|
|
123
|
+
DEVELOPMENT = 1,
|
|
124
|
+
/**
|
|
125
|
+
* STAGE_TYPE_TEST is the test stage.
|
|
126
|
+
*
|
|
127
|
+
* @generated from enum value: STAGE_TYPE_TEST = 2;
|
|
128
|
+
*/
|
|
129
|
+
TEST = 2,
|
|
130
|
+
/**
|
|
131
|
+
* STAGE_TYPE_INTEGRATION is the integration stage.
|
|
132
|
+
*
|
|
133
|
+
* @generated from enum value: STAGE_TYPE_INTEGRATION = 3;
|
|
134
|
+
*/
|
|
135
|
+
INTEGRATION = 3,
|
|
136
|
+
/**
|
|
137
|
+
* STAGE_TYPE_PRODUCTION is the production stage.
|
|
138
|
+
*
|
|
139
|
+
* @generated from enum value: STAGE_TYPE_PRODUCTION = 4;
|
|
140
|
+
*/
|
|
141
|
+
PRODUCTION = 4
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Describes the enum fits.api.mvm.v1.StageType.
|
|
145
|
+
*/
|
|
146
|
+
export declare const StageTypeSchema: GenEnum<StageType>;
|
|
147
|
+
/**
|
|
148
|
+
* VLANService lists VLANs available for managed VM (MVM) instances.
|
|
149
|
+
*
|
|
150
|
+
* @generated from service fits.api.mvm.v1.VLANService
|
|
151
|
+
*/
|
|
152
|
+
export declare const VLANService: GenService<{
|
|
153
|
+
/**
|
|
154
|
+
* Returns a list of all VLANs available for a tenant.
|
|
155
|
+
*
|
|
156
|
+
* @generated from rpc fits.api.mvm.v1.VLANService.List
|
|
157
|
+
*/
|
|
158
|
+
list: {
|
|
159
|
+
methodKind: "unary";
|
|
160
|
+
input: typeof VLANServiceListRequestSchema;
|
|
161
|
+
output: typeof VLANServiceListResponseSchema;
|
|
162
|
+
};
|
|
163
|
+
}>;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.14.1 with parameter "target=ts"
|
|
2
|
+
// @generated from file fits/api/mvm/v1/vlan.proto (package fits.api.mvm.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
import { file_buf_validate_validate } from "../../../../buf/validate/validate_pb";
|
|
6
|
+
import { file_fits_api_v1_common } from "../../v1/common_pb";
|
|
7
|
+
import { file_fits_api_v1_predefined_rules } from "../../v1/predefined_rules_pb";
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file fits/api/mvm/v1/vlan.proto.
|
|
10
|
+
*/
|
|
11
|
+
export const file_fits_api_mvm_v1_vlan = /*@__PURE__*/ fileDesc("ChpmaXRzL2FwaS9tdm0vdjEvdmxhbi5wcm90bxIPZml0cy5hcGkubXZtLnYxIoMCCgRWTEFOEhYKBHV1aWQYASABKAlCCLpIBXIDsAEBEg8KB3ZsYW5faWQYAiABKAUSIQoMc3VibmV0X3RpdGxlGAMgASgJQgu6SAhyBsCzrrECARIgCgtzdWJuZXRfY2lkchgEIAEoCUILukgIcgaAtK6xAgESJAoNbG9jYXRpb25fdXVpZBgFIAEoCUIIukgFcgOwAQFIAIgBARI4CgpzdGFnZV90eXBlGAYgASgOMhouZml0cy5hcGkubXZtLnYxLlN0YWdlVHlwZUIIukgFggECEAESGwoGdGVuYW50GAcgASgJQgu6SAhyBsCzrrECAUIQCg5fbG9jYXRpb25fdXVpZCKDAQoWVkxBTlNlcnZpY2VMaXN0UmVxdWVzdBIbCgZ0ZW5hbnQYASABKAlCC7pICHIGwLOusQIBEj0KCnN0YWdlX3R5cGUYAiABKA4yGi5maXRzLmFwaS5tdm0udjEuU3RhZ2VUeXBlQgi6SAWCAQIQAUgAiAEBQg0KC19zdGFnZV90eXBlIj8KF1ZMQU5TZXJ2aWNlTGlzdFJlc3BvbnNlEiQKBXZsYW5zGAEgAygLMhUuZml0cy5hcGkubXZtLnYxLlZMQU4q0QEKCVN0YWdlVHlwZRIgChZTVEFHRV9UWVBFX1VOU1BFQ0lGSUVEEAAaBIKyGQASKwoWU1RBR0VfVFlQRV9ERVZFTE9QTUVOVBABGg+CshkLZGV2ZWxvcG1lbnQSHQoPU1RBR0VfVFlQRV9URVNUEAIaCIKyGQR0ZXN0EisKFlNUQUdFX1RZUEVfSU5URUdSQVRJT04QAxoPgrIZC2ludGVncmF0aW9uEikKFVNUQUdFX1RZUEVfUFJPRFVDVElPThAEGg6CshkKcHJvZHVjdGlvbjJ1CgtWTEFOU2VydmljZRJmCgRMaXN0EicuZml0cy5hcGkubXZtLnYxLlZMQU5TZXJ2aWNlTGlzdFJlcXVlc3QaKC5maXRzLmFwaS5tdm0udjEuVkxBTlNlcnZpY2VMaXN0UmVzcG9uc2UiC8LzGAMBAgPg8xgCQq4BChNjb20uZml0cy5hcGkubXZtLnYxQglWbGFuUHJvdG9QAVotZ2l0aHViLmNvbS9maS10cy9hcGkvZ28vZml0cy9hcGkvbXZtL3YxO212bXYxogIDRkFNqgIPRml0cy5BcGkuTXZtLlYxygIPRml0c1xBcGlcTXZtXFYx4gIbRml0c1xBcGlcTXZtXFYxXEdQQk1ldGFkYXRh6gISRml0czo6QXBpOjpNdm06OlYxYgZwcm90bzM", [file_buf_validate_validate, file_fits_api_v1_common, file_fits_api_v1_predefined_rules]);
|
|
12
|
+
/**
|
|
13
|
+
* Describes the message fits.api.mvm.v1.VLAN.
|
|
14
|
+
* Use `create(VLANSchema)` to create a new message.
|
|
15
|
+
*/
|
|
16
|
+
export const VLANSchema = /*@__PURE__*/ messageDesc(file_fits_api_mvm_v1_vlan, 0);
|
|
17
|
+
/**
|
|
18
|
+
* Describes the message fits.api.mvm.v1.VLANServiceListRequest.
|
|
19
|
+
* Use `create(VLANServiceListRequestSchema)` to create a new message.
|
|
20
|
+
*/
|
|
21
|
+
export const VLANServiceListRequestSchema = /*@__PURE__*/ messageDesc(file_fits_api_mvm_v1_vlan, 1);
|
|
22
|
+
/**
|
|
23
|
+
* Describes the message fits.api.mvm.v1.VLANServiceListResponse.
|
|
24
|
+
* Use `create(VLANServiceListResponseSchema)` to create a new message.
|
|
25
|
+
*/
|
|
26
|
+
export const VLANServiceListResponseSchema = /*@__PURE__*/ messageDesc(file_fits_api_mvm_v1_vlan, 2);
|
|
27
|
+
/**
|
|
28
|
+
* StageType specifies the fixed stage of a managed VM (MVM) instance or VLAN.
|
|
29
|
+
* The set of stages is fixed upstream, so it is modeled as an enum instead of
|
|
30
|
+
* a listable resource.
|
|
31
|
+
*
|
|
32
|
+
* @generated from enum fits.api.mvm.v1.StageType
|
|
33
|
+
*/
|
|
34
|
+
export var StageType;
|
|
35
|
+
(function (StageType) {
|
|
36
|
+
/**
|
|
37
|
+
* STAGE_TYPE_UNSPECIFIED is not specified.
|
|
38
|
+
*
|
|
39
|
+
* @generated from enum value: STAGE_TYPE_UNSPECIFIED = 0;
|
|
40
|
+
*/
|
|
41
|
+
StageType[StageType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
42
|
+
/**
|
|
43
|
+
* STAGE_TYPE_DEVELOPMENT is the development stage.
|
|
44
|
+
*
|
|
45
|
+
* @generated from enum value: STAGE_TYPE_DEVELOPMENT = 1;
|
|
46
|
+
*/
|
|
47
|
+
StageType[StageType["DEVELOPMENT"] = 1] = "DEVELOPMENT";
|
|
48
|
+
/**
|
|
49
|
+
* STAGE_TYPE_TEST is the test stage.
|
|
50
|
+
*
|
|
51
|
+
* @generated from enum value: STAGE_TYPE_TEST = 2;
|
|
52
|
+
*/
|
|
53
|
+
StageType[StageType["TEST"] = 2] = "TEST";
|
|
54
|
+
/**
|
|
55
|
+
* STAGE_TYPE_INTEGRATION is the integration stage.
|
|
56
|
+
*
|
|
57
|
+
* @generated from enum value: STAGE_TYPE_INTEGRATION = 3;
|
|
58
|
+
*/
|
|
59
|
+
StageType[StageType["INTEGRATION"] = 3] = "INTEGRATION";
|
|
60
|
+
/**
|
|
61
|
+
* STAGE_TYPE_PRODUCTION is the production stage.
|
|
62
|
+
*
|
|
63
|
+
* @generated from enum value: STAGE_TYPE_PRODUCTION = 4;
|
|
64
|
+
*/
|
|
65
|
+
StageType[StageType["PRODUCTION"] = 4] = "PRODUCTION";
|
|
66
|
+
})(StageType || (StageType = {}));
|
|
67
|
+
/**
|
|
68
|
+
* Describes the enum fits.api.mvm.v1.StageType.
|
|
69
|
+
*/
|
|
70
|
+
export const StageTypeSchema = /*@__PURE__*/ enumDesc(file_fits_api_mvm_v1_vlan, 0);
|
|
71
|
+
/**
|
|
72
|
+
* VLANService lists VLANs available for managed VM (MVM) instances.
|
|
73
|
+
*
|
|
74
|
+
* @generated from service fits.api.mvm.v1.VLANService
|
|
75
|
+
*/
|
|
76
|
+
export const VLANService = /*@__PURE__*/ serviceDesc(file_fits_api_mvm_v1_vlan, 0);
|