@fi-ts/api 0.0.0-pr.21.395a90d2 → 0.0.0-pr.21.6a467151

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.
@@ -5,20 +5,19 @@ import type { Message } from "@bufbuild/protobuf";
5
5
  */
6
6
  export declare const file_fits_api_mvm_v1_location: GenFile;
7
7
  /**
8
- * Location is an available datacenter location for MVM instances.
9
- * A fake "AUTO" location lets the backend pick a datacenter within a location.
8
+ * Location is the definition of an available datacenter location for MVM instances.
10
9
  *
11
10
  * @generated from message fits.api.mvm.v1.Location
12
11
  */
13
12
  export type Location = Message<"fits.api.mvm.v1.Location"> & {
14
13
  /**
15
- * UUID of this location.
14
+ * Uuid of this location
16
15
  *
17
16
  * @generated from field: string uuid = 1;
18
17
  */
19
18
  uuid: string;
20
19
  /**
21
- * Title of the location, e.g. "Nürnberg (RZ1)".
20
+ * title of the location
22
21
  *
23
22
  * @generated from field: string title = 2;
24
23
  */
@@ -16,21 +16,20 @@ export const file_fits_api_mvm_v1_location: GenFile = /*@__PURE__*/
16
16
  fileDesc("Ch5maXRzL2FwaS9tdm0vdjEvbG9jYXRpb24ucHJvdG8SD2ZpdHMuYXBpLm12bS52MSI+CghMb2NhdGlvbhIWCgR1dWlkGAEgASgJQgi6SAVyA7ABARIaCgV0aXRsZRgCIAEoCUILukgIcgbAs66xAgEiOQoaTG9jYXRpb25TZXJ2aWNlTGlzdFJlcXVlc3QSGwoGdGVuYW50GAEgASgJQgu6SAhyBsCzrrECASJLChtMb2NhdGlvblNlcnZpY2VMaXN0UmVzcG9uc2USLAoJbG9jYXRpb25zGAEgAygLMhkuZml0cy5hcGkubXZtLnYxLkxvY2F0aW9uMoEBCg9Mb2NhdGlvblNlcnZpY2USbgoETGlzdBIrLmZpdHMuYXBpLm12bS52MS5Mb2NhdGlvblNlcnZpY2VMaXN0UmVxdWVzdBosLmZpdHMuYXBpLm12bS52MS5Mb2NhdGlvblNlcnZpY2VMaXN0UmVzcG9uc2UiC8LzGAMBAgPg8xgCQrIBChNjb20uZml0cy5hcGkubXZtLnYxQg1Mb2NhdGlvblByb3RvUAFaLWdpdGh1Yi5jb20vZmktdHMvYXBpL2dvL2ZpdHMvYXBpL212bS92MTttdm12MaICA0ZBTaoCD0ZpdHMuQXBpLk12bS5WMcoCD0ZpdHNcQXBpXE12bVxWMeICG0ZpdHNcQXBpXE12bVxWMVxHUEJNZXRhZGF0YeoCEkZpdHM6OkFwaTo6TXZtOjpWMWIGcHJvdG8z", [file_buf_validate_validate, file_fits_api_v1_common, file_fits_api_v1_predefined_rules]);
17
17
 
18
18
  /**
19
- * Location is an available datacenter location for MVM instances.
20
- * A fake "AUTO" location lets the backend pick a datacenter within a location.
19
+ * Location is the definition of an available datacenter location for MVM instances.
21
20
  *
22
21
  * @generated from message fits.api.mvm.v1.Location
23
22
  */
24
23
  export type Location = Message<"fits.api.mvm.v1.Location"> & {
25
24
  /**
26
- * UUID of this location.
25
+ * Uuid of this location
27
26
  *
28
27
  * @generated from field: string uuid = 1;
29
28
  */
30
29
  uuid: string;
31
30
 
32
31
  /**
33
- * Title of the location, e.g. "Nürnberg (RZ1)".
32
+ * title of the location
34
33
  *
35
34
  * @generated from field: string title = 2;
36
35
  */
@@ -1,4 +1,4 @@
1
- import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
1
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
2
  import type { Message } from "@bufbuild/protobuf";
3
3
  /**
4
4
  * Describes the file fits/api/mvm/v1/vlan.proto.
@@ -11,47 +11,48 @@ export declare const file_fits_api_mvm_v1_vlan: GenFile;
11
11
  */
12
12
  export type VLAN = Message<"fits.api.mvm.v1.VLAN"> & {
13
13
  /**
14
- * UUID of this VLAN.
14
+ * Uuid of this VLAN
15
15
  *
16
16
  * @generated from field: string uuid = 1;
17
17
  */
18
18
  uuid: string;
19
19
  /**
20
- * ID of this VLAN. The actual VLAN ID a network interface is attached to.
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.
21
22
  *
22
23
  * @generated from field: int32 vlan_id = 2;
23
24
  */
24
25
  vlanId: number;
25
26
  /**
26
- * Title of the subnet this VLAN belongs to, including the stage type, e.g. "pod01-vlan2001 (Production)".
27
+ * Title of the subnet this VLAN belongs to
27
28
  *
28
29
  * @generated from field: string subnet_title = 3;
29
30
  */
30
31
  subnetTitle: string;
31
32
  /**
32
- * CIDR of the subnet this VLAN belongs to.
33
+ * CIDR of the subnet this VLAN belongs to
33
34
  *
34
35
  * @generated from field: string subnet_cidr = 4;
35
36
  */
36
37
  subnetCidr: string;
37
38
  /**
38
- * UUID of the location this VLAN belongs to. This is actually the FCE datacenter ID.
39
+ * TODO instead of the pod title, could we have the location_uuid?
39
40
  *
40
- * @generated from field: string location_uuid = 5;
41
+ * @generated from field: optional string location_uuid = 5;
41
42
  */
42
- locationUuid: string;
43
+ locationUuid?: string | undefined;
43
44
  /**
44
- * Tenant this VLAN belongs to.
45
+ * Stage type of this VLAN
45
46
  *
46
- * @generated from field: string tenant = 6;
47
+ * @generated from field: fits.api.mvm.v1.StageType stage_type = 6;
47
48
  */
48
- tenant: string;
49
+ stageType: StageType;
49
50
  /**
50
- * UUID of the Windows domain this VLAN is associated with. Only set for Windows.
51
+ * Tenant this VLAN belongs to.
51
52
  *
52
- * @generated from field: optional string domain_uuid = 7;
53
+ * @generated from field: string tenant = 7;
53
54
  */
54
- domainUuid?: string | undefined;
55
+ tenant: string;
55
56
  };
56
57
  /**
57
58
  * Describes the message fits.api.mvm.v1.VLAN.
@@ -65,23 +66,17 @@ export declare const VLANSchema: GenMessage<VLAN>;
65
66
  */
66
67
  export type VLANServiceListRequest = Message<"fits.api.mvm.v1.VLANServiceListRequest"> & {
67
68
  /**
68
- * Tenant to list available VLANs for (the tenant login).
69
+ * Tenant to list available VLANs for (the tenant login)
69
70
  *
70
71
  * @generated from field: string tenant = 1;
71
72
  */
72
73
  tenant: string;
73
74
  /**
74
- * Filter the listed VLANs by location (the FCE datacenter ID).
75
- *
76
- * @generated from field: string location_uuid = 2;
77
- */
78
- locationUuid: string;
79
- /**
80
- * Filter the listed VLANs by the Windows domain they are associated with.
75
+ * StageType filters the listed VLANs by stage type
81
76
  *
82
- * @generated from field: optional string domain_uuid = 3;
77
+ * @generated from field: optional fits.api.mvm.v1.StageType stage_type = 2;
83
78
  */
84
- domainUuid?: string | undefined;
79
+ stageType?: StageType | undefined;
85
80
  };
86
81
  /**
87
82
  * Describes the message fits.api.mvm.v1.VLANServiceListRequest.
@@ -89,13 +84,13 @@ export type VLANServiceListRequest = Message<"fits.api.mvm.v1.VLANServiceListReq
89
84
  */
90
85
  export declare const VLANServiceListRequestSchema: GenMessage<VLANServiceListRequest>;
91
86
  /**
92
- * VLANServiceListResponse is the response payload for a VLAN list request.
87
+ * VLANServiceListResponse is the response payload for a VLAN list request
93
88
  *
94
89
  * @generated from message fits.api.mvm.v1.VLANServiceListResponse
95
90
  */
96
91
  export type VLANServiceListResponse = Message<"fits.api.mvm.v1.VLANServiceListResponse"> & {
97
92
  /**
98
- * The available VLANs.
93
+ * The available VLANs
99
94
  *
100
95
  * @generated from field: repeated fits.api.mvm.v1.VLAN vlans = 1;
101
96
  */
@@ -106,6 +101,49 @@ export type VLANServiceListResponse = Message<"fits.api.mvm.v1.VLANServiceListRe
106
101
  * Use `create(VLANServiceListResponseSchema)` to create a new message.
107
102
  */
108
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>;
109
147
  /**
110
148
  * VLANService lists VLANs available for managed VM (MVM) instances.
111
149
  *
@@ -1,14 +1,14 @@
1
1
  // @generated by protoc-gen-es v2.14.1 with parameter "target=ts,import_extension=js"
2
2
  // @generated from file fits/api/mvm/v1/vlan.proto (package fits.api.mvm.v1, syntax proto3)
3
3
  /* eslint-disable */
4
- import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
4
+ import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
5
5
  import { file_buf_validate_validate } from "../../../../buf/validate/validate_pb.js";
6
6
  import { file_fits_api_v1_common } from "../../v1/common_pb.js";
7
7
  import { file_fits_api_v1_predefined_rules } from "../../v1/predefined_rules_pb.js";
8
8
  /**
9
9
  * Describes the file fits/api/mvm/v1/vlan.proto.
10
10
  */
11
- export const file_fits_api_mvm_v1_vlan = /*@__PURE__*/ fileDesc("ChpmaXRzL2FwaS9tdm0vdjEvdmxhbi5wcm90bxIPZml0cy5hcGkubXZtLnYxIuYBCgRWTEFOEhYKBHV1aWQYASABKAlCCLpIBXIDsAEBEg8KB3ZsYW5faWQYAiABKAUSIQoMc3VibmV0X3RpdGxlGAMgASgJQgu6SAhyBsCzrrECARIgCgtzdWJuZXRfY2lkchgEIAEoCUILukgIcgaAtK6xAgESHwoNbG9jYXRpb25fdXVpZBgFIAEoCUIIukgFcgOwAQESGwoGdGVuYW50GAYgASgJQgu6SAhyBsCzrrECARIiCgtkb21haW5fdXVpZBgHIAEoCUIIukgFcgOwAQFIAIgBAUIOCgxfZG9tYWluX3V1aWQiigEKFlZMQU5TZXJ2aWNlTGlzdFJlcXVlc3QSGwoGdGVuYW50GAEgASgJQgu6SAhyBsCzrrECARIfCg1sb2NhdGlvbl91dWlkGAIgASgJQgi6SAVyA7ABARIiCgtkb21haW5fdXVpZBgDIAEoCUIIukgFcgOwAQFIAIgBAUIOCgxfZG9tYWluX3V1aWQiPwoXVkxBTlNlcnZpY2VMaXN0UmVzcG9uc2USJAoFdmxhbnMYASADKAsyFS5maXRzLmFwaS5tdm0udjEuVkxBTjJ1CgtWTEFOU2VydmljZRJmCgRMaXN0EicuZml0cy5hcGkubXZtLnYxLlZMQU5TZXJ2aWNlTGlzdFJlcXVlc3QaKC5maXRzLmFwaS5tdm0udjEuVkxBTlNlcnZpY2VMaXN0UmVzcG9uc2UiC8LzGAMBAgPg8xgCQq4BChNjb20uZml0cy5hcGkubXZtLnYxQglWbGFuUHJvdG9QAVotZ2l0aHViLmNvbS9maS10cy9hcGkvZ28vZml0cy9hcGkvbXZtL3YxO212bXYxogIDRkFNqgIPRml0cy5BcGkuTXZtLlYxygIPRml0c1xBcGlcTXZtXFYx4gIbRml0c1xBcGlcTXZtXFYxXEdQQk1ldGFkYXRh6gISRml0czo6QXBpOjpNdm06OlYxYgZwcm90bzM", [file_buf_validate_validate, file_fits_api_v1_common, file_fits_api_v1_predefined_rules]);
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
12
  /**
13
13
  * Describes the message fits.api.mvm.v1.VLAN.
14
14
  * Use `create(VLANSchema)` to create a new message.
@@ -24,6 +24,50 @@ export const VLANServiceListRequestSchema = /*@__PURE__*/ messageDesc(file_fits_
24
24
  * Use `create(VLANServiceListResponseSchema)` to create a new message.
25
25
  */
26
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);
27
71
  /**
28
72
  * VLANService lists VLANs available for managed VM (MVM) instances.
29
73
  *
@@ -2,8 +2,8 @@
2
2
  // @generated from file fits/api/mvm/v1/vlan.proto (package fits.api.mvm.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
 
5
- import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
6
- import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
5
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
6
+ import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
7
7
  import { file_buf_validate_validate } from "../../../../buf/validate/validate_pb.js";
8
8
  import { file_fits_api_v1_common } from "../../v1/common_pb.js";
9
9
  import { file_fits_api_v1_predefined_rules } from "../../v1/predefined_rules_pb.js";
@@ -13,7 +13,7 @@ import type { Message } from "@bufbuild/protobuf";
13
13
  * Describes the file fits/api/mvm/v1/vlan.proto.
14
14
  */
15
15
  export const file_fits_api_mvm_v1_vlan: GenFile = /*@__PURE__*/
16
- fileDesc("ChpmaXRzL2FwaS9tdm0vdjEvdmxhbi5wcm90bxIPZml0cy5hcGkubXZtLnYxIuYBCgRWTEFOEhYKBHV1aWQYASABKAlCCLpIBXIDsAEBEg8KB3ZsYW5faWQYAiABKAUSIQoMc3VibmV0X3RpdGxlGAMgASgJQgu6SAhyBsCzrrECARIgCgtzdWJuZXRfY2lkchgEIAEoCUILukgIcgaAtK6xAgESHwoNbG9jYXRpb25fdXVpZBgFIAEoCUIIukgFcgOwAQESGwoGdGVuYW50GAYgASgJQgu6SAhyBsCzrrECARIiCgtkb21haW5fdXVpZBgHIAEoCUIIukgFcgOwAQFIAIgBAUIOCgxfZG9tYWluX3V1aWQiigEKFlZMQU5TZXJ2aWNlTGlzdFJlcXVlc3QSGwoGdGVuYW50GAEgASgJQgu6SAhyBsCzrrECARIfCg1sb2NhdGlvbl91dWlkGAIgASgJQgi6SAVyA7ABARIiCgtkb21haW5fdXVpZBgDIAEoCUIIukgFcgOwAQFIAIgBAUIOCgxfZG9tYWluX3V1aWQiPwoXVkxBTlNlcnZpY2VMaXN0UmVzcG9uc2USJAoFdmxhbnMYASADKAsyFS5maXRzLmFwaS5tdm0udjEuVkxBTjJ1CgtWTEFOU2VydmljZRJmCgRMaXN0EicuZml0cy5hcGkubXZtLnYxLlZMQU5TZXJ2aWNlTGlzdFJlcXVlc3QaKC5maXRzLmFwaS5tdm0udjEuVkxBTlNlcnZpY2VMaXN0UmVzcG9uc2UiC8LzGAMBAgPg8xgCQq4BChNjb20uZml0cy5hcGkubXZtLnYxQglWbGFuUHJvdG9QAVotZ2l0aHViLmNvbS9maS10cy9hcGkvZ28vZml0cy9hcGkvbXZtL3YxO212bXYxogIDRkFNqgIPRml0cy5BcGkuTXZtLlYxygIPRml0c1xBcGlcTXZtXFYx4gIbRml0c1xBcGlcTXZtXFYxXEdQQk1ldGFkYXRh6gISRml0czo6QXBpOjpNdm06OlYxYgZwcm90bzM", [file_buf_validate_validate, file_fits_api_v1_common, file_fits_api_v1_predefined_rules]);
16
+ fileDesc("ChpmaXRzL2FwaS9tdm0vdjEvdmxhbi5wcm90bxIPZml0cy5hcGkubXZtLnYxIoMCCgRWTEFOEhYKBHV1aWQYASABKAlCCLpIBXIDsAEBEg8KB3ZsYW5faWQYAiABKAUSIQoMc3VibmV0X3RpdGxlGAMgASgJQgu6SAhyBsCzrrECARIgCgtzdWJuZXRfY2lkchgEIAEoCUILukgIcgaAtK6xAgESJAoNbG9jYXRpb25fdXVpZBgFIAEoCUIIukgFcgOwAQFIAIgBARI4CgpzdGFnZV90eXBlGAYgASgOMhouZml0cy5hcGkubXZtLnYxLlN0YWdlVHlwZUIIukgFggECEAESGwoGdGVuYW50GAcgASgJQgu6SAhyBsCzrrECAUIQCg5fbG9jYXRpb25fdXVpZCKDAQoWVkxBTlNlcnZpY2VMaXN0UmVxdWVzdBIbCgZ0ZW5hbnQYASABKAlCC7pICHIGwLOusQIBEj0KCnN0YWdlX3R5cGUYAiABKA4yGi5maXRzLmFwaS5tdm0udjEuU3RhZ2VUeXBlQgi6SAWCAQIQAUgAiAEBQg0KC19zdGFnZV90eXBlIj8KF1ZMQU5TZXJ2aWNlTGlzdFJlc3BvbnNlEiQKBXZsYW5zGAEgAygLMhUuZml0cy5hcGkubXZtLnYxLlZMQU4q0QEKCVN0YWdlVHlwZRIgChZTVEFHRV9UWVBFX1VOU1BFQ0lGSUVEEAAaBIKyGQASKwoWU1RBR0VfVFlQRV9ERVZFTE9QTUVOVBABGg+CshkLZGV2ZWxvcG1lbnQSHQoPU1RBR0VfVFlQRV9URVNUEAIaCIKyGQR0ZXN0EisKFlNUQUdFX1RZUEVfSU5URUdSQVRJT04QAxoPgrIZC2ludGVncmF0aW9uEikKFVNUQUdFX1RZUEVfUFJPRFVDVElPThAEGg6CshkKcHJvZHVjdGlvbjJ1CgtWTEFOU2VydmljZRJmCgRMaXN0EicuZml0cy5hcGkubXZtLnYxLlZMQU5TZXJ2aWNlTGlzdFJlcXVlc3QaKC5maXRzLmFwaS5tdm0udjEuVkxBTlNlcnZpY2VMaXN0UmVzcG9uc2UiC8LzGAMBAgPg8xgCQq4BChNjb20uZml0cy5hcGkubXZtLnYxQglWbGFuUHJvdG9QAVotZ2l0aHViLmNvbS9maS10cy9hcGkvZ28vZml0cy9hcGkvbXZtL3YxO212bXYxogIDRkFNqgIPRml0cy5BcGkuTXZtLlYxygIPRml0c1xBcGlcTXZtXFYx4gIbRml0c1xBcGlcTXZtXFYxXEdQQk1ldGFkYXRh6gISRml0czo6QXBpOjpNdm06OlYxYgZwcm90bzM", [file_buf_validate_validate, file_fits_api_v1_common, file_fits_api_v1_predefined_rules]);
17
17
 
18
18
  /**
19
19
  * VLAN is a VLAN that a MVM can be connected to.
@@ -22,53 +22,54 @@ export const file_fits_api_mvm_v1_vlan: GenFile = /*@__PURE__*/
22
22
  */
23
23
  export type VLAN = Message<"fits.api.mvm.v1.VLAN"> & {
24
24
  /**
25
- * UUID of this VLAN.
25
+ * Uuid of this VLAN
26
26
  *
27
27
  * @generated from field: string uuid = 1;
28
28
  */
29
29
  uuid: string;
30
30
 
31
31
  /**
32
- * ID of this VLAN. The actual VLAN ID a network interface is attached to.
32
+ * Id of this VLAN
33
+ * This is not a foreign key, this is the actual ID of the VLAN the network interface is attached to.
33
34
  *
34
35
  * @generated from field: int32 vlan_id = 2;
35
36
  */
36
37
  vlanId: number;
37
38
 
38
39
  /**
39
- * Title of the subnet this VLAN belongs to, including the stage type, e.g. "pod01-vlan2001 (Production)".
40
+ * Title of the subnet this VLAN belongs to
40
41
  *
41
42
  * @generated from field: string subnet_title = 3;
42
43
  */
43
44
  subnetTitle: string;
44
45
 
45
46
  /**
46
- * CIDR of the subnet this VLAN belongs to.
47
+ * CIDR of the subnet this VLAN belongs to
47
48
  *
48
49
  * @generated from field: string subnet_cidr = 4;
49
50
  */
50
51
  subnetCidr: string;
51
52
 
52
53
  /**
53
- * UUID of the location this VLAN belongs to. This is actually the FCE datacenter ID.
54
+ * TODO instead of the pod title, could we have the location_uuid?
54
55
  *
55
- * @generated from field: string location_uuid = 5;
56
+ * @generated from field: optional string location_uuid = 5;
56
57
  */
57
- locationUuid: string;
58
+ locationUuid?: string | undefined;
58
59
 
59
60
  /**
60
- * Tenant this VLAN belongs to.
61
+ * Stage type of this VLAN
61
62
  *
62
- * @generated from field: string tenant = 6;
63
+ * @generated from field: fits.api.mvm.v1.StageType stage_type = 6;
63
64
  */
64
- tenant: string;
65
+ stageType: StageType;
65
66
 
66
67
  /**
67
- * UUID of the Windows domain this VLAN is associated with. Only set for Windows.
68
+ * Tenant this VLAN belongs to.
68
69
  *
69
- * @generated from field: optional string domain_uuid = 7;
70
+ * @generated from field: string tenant = 7;
70
71
  */
71
- domainUuid?: string | undefined;
72
+ tenant: string;
72
73
  };
73
74
 
74
75
  /**
@@ -85,25 +86,18 @@ export const VLANSchema: GenMessage<VLAN> = /*@__PURE__*/
85
86
  */
86
87
  export type VLANServiceListRequest = Message<"fits.api.mvm.v1.VLANServiceListRequest"> & {
87
88
  /**
88
- * Tenant to list available VLANs for (the tenant login).
89
+ * Tenant to list available VLANs for (the tenant login)
89
90
  *
90
91
  * @generated from field: string tenant = 1;
91
92
  */
92
93
  tenant: string;
93
94
 
94
95
  /**
95
- * Filter the listed VLANs by location (the FCE datacenter ID).
96
+ * StageType filters the listed VLANs by stage type
96
97
  *
97
- * @generated from field: string location_uuid = 2;
98
+ * @generated from field: optional fits.api.mvm.v1.StageType stage_type = 2;
98
99
  */
99
- locationUuid: string;
100
-
101
- /**
102
- * Filter the listed VLANs by the Windows domain they are associated with.
103
- *
104
- * @generated from field: optional string domain_uuid = 3;
105
- */
106
- domainUuid?: string | undefined;
100
+ stageType?: StageType | undefined;
107
101
  };
108
102
 
109
103
  /**
@@ -114,13 +108,13 @@ export const VLANServiceListRequestSchema: GenMessage<VLANServiceListRequest> =
114
108
  messageDesc(file_fits_api_mvm_v1_vlan, 1);
115
109
 
116
110
  /**
117
- * VLANServiceListResponse is the response payload for a VLAN list request.
111
+ * VLANServiceListResponse is the response payload for a VLAN list request
118
112
  *
119
113
  * @generated from message fits.api.mvm.v1.VLANServiceListResponse
120
114
  */
121
115
  export type VLANServiceListResponse = Message<"fits.api.mvm.v1.VLANServiceListResponse"> & {
122
116
  /**
123
- * The available VLANs.
117
+ * The available VLANs
124
118
  *
125
119
  * @generated from field: repeated fits.api.mvm.v1.VLAN vlans = 1;
126
120
  */
@@ -134,6 +128,56 @@ export type VLANServiceListResponse = Message<"fits.api.mvm.v1.VLANServiceListRe
134
128
  export const VLANServiceListResponseSchema: GenMessage<VLANServiceListResponse> = /*@__PURE__*/
135
129
  messageDesc(file_fits_api_mvm_v1_vlan, 2);
136
130
 
131
+ /**
132
+ * StageType specifies the fixed stage of a managed VM (MVM) instance or VLAN.
133
+ * The set of stages is fixed upstream, so it is modeled as an enum instead of
134
+ * a listable resource.
135
+ *
136
+ * @generated from enum fits.api.mvm.v1.StageType
137
+ */
138
+ export enum StageType {
139
+ /**
140
+ * STAGE_TYPE_UNSPECIFIED is not specified.
141
+ *
142
+ * @generated from enum value: STAGE_TYPE_UNSPECIFIED = 0;
143
+ */
144
+ UNSPECIFIED = 0,
145
+
146
+ /**
147
+ * STAGE_TYPE_DEVELOPMENT is the development stage.
148
+ *
149
+ * @generated from enum value: STAGE_TYPE_DEVELOPMENT = 1;
150
+ */
151
+ DEVELOPMENT = 1,
152
+
153
+ /**
154
+ * STAGE_TYPE_TEST is the test stage.
155
+ *
156
+ * @generated from enum value: STAGE_TYPE_TEST = 2;
157
+ */
158
+ TEST = 2,
159
+
160
+ /**
161
+ * STAGE_TYPE_INTEGRATION is the integration stage.
162
+ *
163
+ * @generated from enum value: STAGE_TYPE_INTEGRATION = 3;
164
+ */
165
+ INTEGRATION = 3,
166
+
167
+ /**
168
+ * STAGE_TYPE_PRODUCTION is the production stage.
169
+ *
170
+ * @generated from enum value: STAGE_TYPE_PRODUCTION = 4;
171
+ */
172
+ PRODUCTION = 4,
173
+ }
174
+
175
+ /**
176
+ * Describes the enum fits.api.mvm.v1.StageType.
177
+ */
178
+ export const StageTypeSchema: GenEnum<StageType> = /*@__PURE__*/
179
+ enumDesc(file_fits_api_mvm_v1_vlan, 0);
180
+
137
181
  /**
138
182
  * VLANService lists VLANs available for managed VM (MVM) instances.
139
183
  *
package/package.json CHANGED
@@ -21,5 +21,5 @@
21
21
  "fits",
22
22
  "buf"
23
23
  ],
24
- "version": "0.0.0-pr.21.395a90d2"
24
+ "version": "0.0.0-pr.21.6a467151"
25
25
  }
@@ -1,89 +0,0 @@
1
- import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
- import type { Message } from "@bufbuild/protobuf";
3
- /**
4
- * Describes the file fits/api/mvm/v1/domain.proto.
5
- */
6
- export declare const file_fits_api_mvm_v1_domain: GenFile;
7
- /**
8
- * Domain is a Windows domain a Windows MVM can join.
9
- *
10
- * @generated from message fits.api.mvm.v1.Domain
11
- */
12
- export type Domain = Message<"fits.api.mvm.v1.Domain"> & {
13
- /**
14
- * UUID of this domain.
15
- *
16
- * @generated from field: string uuid = 1;
17
- */
18
- uuid: string;
19
- /**
20
- * FQDN of this domain.
21
- *
22
- * @generated from field: string fqdn = 2;
23
- */
24
- fqdn: string;
25
- /**
26
- * Tenant this domain belongs to.
27
- *
28
- * @generated from field: string tenant = 3;
29
- */
30
- tenant: string;
31
- };
32
- /**
33
- * Describes the message fits.api.mvm.v1.Domain.
34
- * Use `create(DomainSchema)` to create a new message.
35
- */
36
- export declare const DomainSchema: GenMessage<Domain>;
37
- /**
38
- * DomainServiceListRequest is the request payload for a domain list request.
39
- *
40
- * @generated from message fits.api.mvm.v1.DomainServiceListRequest
41
- */
42
- export type DomainServiceListRequest = Message<"fits.api.mvm.v1.DomainServiceListRequest"> & {
43
- /**
44
- * Tenant to list available domains for.
45
- *
46
- * @generated from field: string tenant = 1;
47
- */
48
- tenant: string;
49
- };
50
- /**
51
- * Describes the message fits.api.mvm.v1.DomainServiceListRequest.
52
- * Use `create(DomainServiceListRequestSchema)` to create a new message.
53
- */
54
- export declare const DomainServiceListRequestSchema: GenMessage<DomainServiceListRequest>;
55
- /**
56
- * DomainServiceListResponse is the response payload for a domain list request.
57
- *
58
- * @generated from message fits.api.mvm.v1.DomainServiceListResponse
59
- */
60
- export type DomainServiceListResponse = Message<"fits.api.mvm.v1.DomainServiceListResponse"> & {
61
- /**
62
- * The available domains.
63
- *
64
- * @generated from field: repeated fits.api.mvm.v1.Domain domains = 1;
65
- */
66
- domains: Domain[];
67
- };
68
- /**
69
- * Describes the message fits.api.mvm.v1.DomainServiceListResponse.
70
- * Use `create(DomainServiceListResponseSchema)` to create a new message.
71
- */
72
- export declare const DomainServiceListResponseSchema: GenMessage<DomainServiceListResponse>;
73
- /**
74
- * DomainService lists Windows domains available for managed VM (MVM) instances.
75
- *
76
- * @generated from service fits.api.mvm.v1.DomainService
77
- */
78
- export declare const DomainService: GenService<{
79
- /**
80
- * Returns a list of all Windows domains available for a tenant.
81
- *
82
- * @generated from rpc fits.api.mvm.v1.DomainService.List
83
- */
84
- list: {
85
- methodKind: "unary";
86
- input: typeof DomainServiceListRequestSchema;
87
- output: typeof DomainServiceListResponseSchema;
88
- };
89
- }>;
@@ -1,32 +0,0 @@
1
- // @generated by protoc-gen-es v2.14.1 with parameter "target=ts,import_extension=js"
2
- // @generated from file fits/api/mvm/v1/domain.proto (package fits.api.mvm.v1, syntax proto3)
3
- /* eslint-disable */
4
- import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
5
- import { file_buf_validate_validate } from "../../../../buf/validate/validate_pb.js";
6
- import { file_fits_api_v1_common } from "../../v1/common_pb.js";
7
- import { file_fits_api_v1_predefined_rules } from "../../v1/predefined_rules_pb.js";
8
- /**
9
- * Describes the file fits/api/mvm/v1/domain.proto.
10
- */
11
- export const file_fits_api_mvm_v1_domain = /*@__PURE__*/ fileDesc("ChxmaXRzL2FwaS9tdm0vdjEvZG9tYWluLnByb3RvEg9maXRzLmFwaS5tdm0udjEiWAoGRG9tYWluEhYKBHV1aWQYASABKAlCCLpIBXIDsAEBEhkKBGZxZG4YAiABKAlCC7pICHIGwLOusQIBEhsKBnRlbmFudBgDIAEoCUILukgIcgbAs66xAgEiNwoYRG9tYWluU2VydmljZUxpc3RSZXF1ZXN0EhsKBnRlbmFudBgBIAEoCUILukgIcgbAs66xAgEiRQoZRG9tYWluU2VydmljZUxpc3RSZXNwb25zZRIoCgdkb21haW5zGAEgAygLMhcuZml0cy5hcGkubXZtLnYxLkRvbWFpbjJ7Cg1Eb21haW5TZXJ2aWNlEmoKBExpc3QSKS5maXRzLmFwaS5tdm0udjEuRG9tYWluU2VydmljZUxpc3RSZXF1ZXN0GiouZml0cy5hcGkubXZtLnYxLkRvbWFpblNlcnZpY2VMaXN0UmVzcG9uc2UiC8LzGAMBAgPg8xgCQrABChNjb20uZml0cy5hcGkubXZtLnYxQgtEb21haW5Qcm90b1ABWi1naXRodWIuY29tL2ZpLXRzL2FwaS9nby9maXRzL2FwaS9tdm0vdjE7bXZtdjGiAgNGQU2qAg9GaXRzLkFwaS5Ndm0uVjHKAg9GaXRzXEFwaVxNdm1cVjHiAhtGaXRzXEFwaVxNdm1cVjFcR1BCTWV0YWRhdGHqAhJGaXRzOjpBcGk6Ok12bTo6VjFiBnByb3RvMw", [file_buf_validate_validate, file_fits_api_v1_common, file_fits_api_v1_predefined_rules]);
12
- /**
13
- * Describes the message fits.api.mvm.v1.Domain.
14
- * Use `create(DomainSchema)` to create a new message.
15
- */
16
- export const DomainSchema = /*@__PURE__*/ messageDesc(file_fits_api_mvm_v1_domain, 0);
17
- /**
18
- * Describes the message fits.api.mvm.v1.DomainServiceListRequest.
19
- * Use `create(DomainServiceListRequestSchema)` to create a new message.
20
- */
21
- export const DomainServiceListRequestSchema = /*@__PURE__*/ messageDesc(file_fits_api_mvm_v1_domain, 1);
22
- /**
23
- * Describes the message fits.api.mvm.v1.DomainServiceListResponse.
24
- * Use `create(DomainServiceListResponseSchema)` to create a new message.
25
- */
26
- export const DomainServiceListResponseSchema = /*@__PURE__*/ messageDesc(file_fits_api_mvm_v1_domain, 2);
27
- /**
28
- * DomainService lists Windows domains available for managed VM (MVM) instances.
29
- *
30
- * @generated from service fits.api.mvm.v1.DomainService
31
- */
32
- export const DomainService = /*@__PURE__*/ serviceDesc(file_fits_api_mvm_v1_domain, 0);
@@ -1,113 +0,0 @@
1
- // @generated by protoc-gen-es v2.14.1 with parameter "target=ts,import_extension=js"
2
- // @generated from file fits/api/mvm/v1/domain.proto (package fits.api.mvm.v1, syntax proto3)
3
- /* eslint-disable */
4
-
5
- import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
6
- import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
7
- import { file_buf_validate_validate } from "../../../../buf/validate/validate_pb.js";
8
- import { file_fits_api_v1_common } from "../../v1/common_pb.js";
9
- import { file_fits_api_v1_predefined_rules } from "../../v1/predefined_rules_pb.js";
10
- import type { Message } from "@bufbuild/protobuf";
11
-
12
- /**
13
- * Describes the file fits/api/mvm/v1/domain.proto.
14
- */
15
- export const file_fits_api_mvm_v1_domain: GenFile = /*@__PURE__*/
16
- fileDesc("ChxmaXRzL2FwaS9tdm0vdjEvZG9tYWluLnByb3RvEg9maXRzLmFwaS5tdm0udjEiWAoGRG9tYWluEhYKBHV1aWQYASABKAlCCLpIBXIDsAEBEhkKBGZxZG4YAiABKAlCC7pICHIGwLOusQIBEhsKBnRlbmFudBgDIAEoCUILukgIcgbAs66xAgEiNwoYRG9tYWluU2VydmljZUxpc3RSZXF1ZXN0EhsKBnRlbmFudBgBIAEoCUILukgIcgbAs66xAgEiRQoZRG9tYWluU2VydmljZUxpc3RSZXNwb25zZRIoCgdkb21haW5zGAEgAygLMhcuZml0cy5hcGkubXZtLnYxLkRvbWFpbjJ7Cg1Eb21haW5TZXJ2aWNlEmoKBExpc3QSKS5maXRzLmFwaS5tdm0udjEuRG9tYWluU2VydmljZUxpc3RSZXF1ZXN0GiouZml0cy5hcGkubXZtLnYxLkRvbWFpblNlcnZpY2VMaXN0UmVzcG9uc2UiC8LzGAMBAgPg8xgCQrABChNjb20uZml0cy5hcGkubXZtLnYxQgtEb21haW5Qcm90b1ABWi1naXRodWIuY29tL2ZpLXRzL2FwaS9nby9maXRzL2FwaS9tdm0vdjE7bXZtdjGiAgNGQU2qAg9GaXRzLkFwaS5Ndm0uVjHKAg9GaXRzXEFwaVxNdm1cVjHiAhtGaXRzXEFwaVxNdm1cVjFcR1BCTWV0YWRhdGHqAhJGaXRzOjpBcGk6Ok12bTo6VjFiBnByb3RvMw", [file_buf_validate_validate, file_fits_api_v1_common, file_fits_api_v1_predefined_rules]);
17
-
18
- /**
19
- * Domain is a Windows domain a Windows MVM can join.
20
- *
21
- * @generated from message fits.api.mvm.v1.Domain
22
- */
23
- export type Domain = Message<"fits.api.mvm.v1.Domain"> & {
24
- /**
25
- * UUID of this domain.
26
- *
27
- * @generated from field: string uuid = 1;
28
- */
29
- uuid: string;
30
-
31
- /**
32
- * FQDN of this domain.
33
- *
34
- * @generated from field: string fqdn = 2;
35
- */
36
- fqdn: string;
37
-
38
- /**
39
- * Tenant this domain belongs to.
40
- *
41
- * @generated from field: string tenant = 3;
42
- */
43
- tenant: string;
44
- };
45
-
46
- /**
47
- * Describes the message fits.api.mvm.v1.Domain.
48
- * Use `create(DomainSchema)` to create a new message.
49
- */
50
- export const DomainSchema: GenMessage<Domain> = /*@__PURE__*/
51
- messageDesc(file_fits_api_mvm_v1_domain, 0);
52
-
53
- /**
54
- * DomainServiceListRequest is the request payload for a domain list request.
55
- *
56
- * @generated from message fits.api.mvm.v1.DomainServiceListRequest
57
- */
58
- export type DomainServiceListRequest = Message<"fits.api.mvm.v1.DomainServiceListRequest"> & {
59
- /**
60
- * Tenant to list available domains for.
61
- *
62
- * @generated from field: string tenant = 1;
63
- */
64
- tenant: string;
65
- };
66
-
67
- /**
68
- * Describes the message fits.api.mvm.v1.DomainServiceListRequest.
69
- * Use `create(DomainServiceListRequestSchema)` to create a new message.
70
- */
71
- export const DomainServiceListRequestSchema: GenMessage<DomainServiceListRequest> = /*@__PURE__*/
72
- messageDesc(file_fits_api_mvm_v1_domain, 1);
73
-
74
- /**
75
- * DomainServiceListResponse is the response payload for a domain list request.
76
- *
77
- * @generated from message fits.api.mvm.v1.DomainServiceListResponse
78
- */
79
- export type DomainServiceListResponse = Message<"fits.api.mvm.v1.DomainServiceListResponse"> & {
80
- /**
81
- * The available domains.
82
- *
83
- * @generated from field: repeated fits.api.mvm.v1.Domain domains = 1;
84
- */
85
- domains: Domain[];
86
- };
87
-
88
- /**
89
- * Describes the message fits.api.mvm.v1.DomainServiceListResponse.
90
- * Use `create(DomainServiceListResponseSchema)` to create a new message.
91
- */
92
- export const DomainServiceListResponseSchema: GenMessage<DomainServiceListResponse> = /*@__PURE__*/
93
- messageDesc(file_fits_api_mvm_v1_domain, 2);
94
-
95
- /**
96
- * DomainService lists Windows domains available for managed VM (MVM) instances.
97
- *
98
- * @generated from service fits.api.mvm.v1.DomainService
99
- */
100
- export const DomainService: GenService<{
101
- /**
102
- * Returns a list of all Windows domains available for a tenant.
103
- *
104
- * @generated from rpc fits.api.mvm.v1.DomainService.List
105
- */
106
- list: {
107
- methodKind: "unary";
108
- input: typeof DomainServiceListRequestSchema;
109
- output: typeof DomainServiceListResponseSchema;
110
- },
111
- }> = /*@__PURE__*/
112
- serviceDesc(file_fits_api_mvm_v1_domain, 0);
113
-
@@ -1,89 +0,0 @@
1
- import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
- import type { Message } from "@bufbuild/protobuf";
3
- /**
4
- * Describes the file fits/api/mvm/v1/ldap.proto.
5
- */
6
- export declare const file_fits_api_mvm_v1_ldap: GenFile;
7
- /**
8
- * LDAP is an LDAP directory a Linux MVM can be integrated with.
9
- *
10
- * @generated from message fits.api.mvm.v1.LDAP
11
- */
12
- export type LDAP = Message<"fits.api.mvm.v1.LDAP"> & {
13
- /**
14
- * UUID of this LDAP directory.
15
- *
16
- * @generated from field: string uuid = 1;
17
- */
18
- uuid: string;
19
- /**
20
- * FQDN of this LDAP directory.
21
- *
22
- * @generated from field: string fqdn = 2;
23
- */
24
- fqdn: string;
25
- /**
26
- * Tenant this LDAP directory belongs to.
27
- *
28
- * @generated from field: string tenant = 3;
29
- */
30
- tenant: string;
31
- };
32
- /**
33
- * Describes the message fits.api.mvm.v1.LDAP.
34
- * Use `create(LDAPSchema)` to create a new message.
35
- */
36
- export declare const LDAPSchema: GenMessage<LDAP>;
37
- /**
38
- * LDAPServiceListRequest is the request payload for an LDAP list request.
39
- *
40
- * @generated from message fits.api.mvm.v1.LDAPServiceListRequest
41
- */
42
- export type LDAPServiceListRequest = Message<"fits.api.mvm.v1.LDAPServiceListRequest"> & {
43
- /**
44
- * Tenant to list available LDAP directories for.
45
- *
46
- * @generated from field: string tenant = 1;
47
- */
48
- tenant: string;
49
- };
50
- /**
51
- * Describes the message fits.api.mvm.v1.LDAPServiceListRequest.
52
- * Use `create(LDAPServiceListRequestSchema)` to create a new message.
53
- */
54
- export declare const LDAPServiceListRequestSchema: GenMessage<LDAPServiceListRequest>;
55
- /**
56
- * LDAPServiceListResponse is the response payload for an LDAP list request.
57
- *
58
- * @generated from message fits.api.mvm.v1.LDAPServiceListResponse
59
- */
60
- export type LDAPServiceListResponse = Message<"fits.api.mvm.v1.LDAPServiceListResponse"> & {
61
- /**
62
- * The available LDAP directories.
63
- *
64
- * @generated from field: repeated fits.api.mvm.v1.LDAP ldaps = 1;
65
- */
66
- ldaps: LDAP[];
67
- };
68
- /**
69
- * Describes the message fits.api.mvm.v1.LDAPServiceListResponse.
70
- * Use `create(LDAPServiceListResponseSchema)` to create a new message.
71
- */
72
- export declare const LDAPServiceListResponseSchema: GenMessage<LDAPServiceListResponse>;
73
- /**
74
- * LDAPService lists LDAP directories available for managed VM (MVM) instances.
75
- *
76
- * @generated from service fits.api.mvm.v1.LDAPService
77
- */
78
- export declare const LDAPService: GenService<{
79
- /**
80
- * Returns a list of all LDAP directories available for a tenant.
81
- *
82
- * @generated from rpc fits.api.mvm.v1.LDAPService.List
83
- */
84
- list: {
85
- methodKind: "unary";
86
- input: typeof LDAPServiceListRequestSchema;
87
- output: typeof LDAPServiceListResponseSchema;
88
- };
89
- }>;
@@ -1,32 +0,0 @@
1
- // @generated by protoc-gen-es v2.14.1 with parameter "target=ts,import_extension=js"
2
- // @generated from file fits/api/mvm/v1/ldap.proto (package fits.api.mvm.v1, syntax proto3)
3
- /* eslint-disable */
4
- import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
5
- import { file_buf_validate_validate } from "../../../../buf/validate/validate_pb.js";
6
- import { file_fits_api_v1_common } from "../../v1/common_pb.js";
7
- import { file_fits_api_v1_predefined_rules } from "../../v1/predefined_rules_pb.js";
8
- /**
9
- * Describes the file fits/api/mvm/v1/ldap.proto.
10
- */
11
- export const file_fits_api_mvm_v1_ldap = /*@__PURE__*/ fileDesc("ChpmaXRzL2FwaS9tdm0vdjEvbGRhcC5wcm90bxIPZml0cy5hcGkubXZtLnYxIlYKBExEQVASFgoEdXVpZBgBIAEoCUIIukgFcgOwAQESGQoEZnFkbhgCIAEoCUILukgIcgbAs66xAgESGwoGdGVuYW50GAMgASgJQgu6SAhyBsCzrrECASI1ChZMREFQU2VydmljZUxpc3RSZXF1ZXN0EhsKBnRlbmFudBgBIAEoCUILukgIcgbAs66xAgEiPwoXTERBUFNlcnZpY2VMaXN0UmVzcG9uc2USJAoFbGRhcHMYASADKAsyFS5maXRzLmFwaS5tdm0udjEuTERBUDJ1CgtMREFQU2VydmljZRJmCgRMaXN0EicuZml0cy5hcGkubXZtLnYxLkxEQVBTZXJ2aWNlTGlzdFJlcXVlc3QaKC5maXRzLmFwaS5tdm0udjEuTERBUFNlcnZpY2VMaXN0UmVzcG9uc2UiC8LzGAMBAgPg8xgCQq4BChNjb20uZml0cy5hcGkubXZtLnYxQglMZGFwUHJvdG9QAVotZ2l0aHViLmNvbS9maS10cy9hcGkvZ28vZml0cy9hcGkvbXZtL3YxO212bXYxogIDRkFNqgIPRml0cy5BcGkuTXZtLlYxygIPRml0c1xBcGlcTXZtXFYx4gIbRml0c1xBcGlcTXZtXFYxXEdQQk1ldGFkYXRh6gISRml0czo6QXBpOjpNdm06OlYxYgZwcm90bzM", [file_buf_validate_validate, file_fits_api_v1_common, file_fits_api_v1_predefined_rules]);
12
- /**
13
- * Describes the message fits.api.mvm.v1.LDAP.
14
- * Use `create(LDAPSchema)` to create a new message.
15
- */
16
- export const LDAPSchema = /*@__PURE__*/ messageDesc(file_fits_api_mvm_v1_ldap, 0);
17
- /**
18
- * Describes the message fits.api.mvm.v1.LDAPServiceListRequest.
19
- * Use `create(LDAPServiceListRequestSchema)` to create a new message.
20
- */
21
- export const LDAPServiceListRequestSchema = /*@__PURE__*/ messageDesc(file_fits_api_mvm_v1_ldap, 1);
22
- /**
23
- * Describes the message fits.api.mvm.v1.LDAPServiceListResponse.
24
- * Use `create(LDAPServiceListResponseSchema)` to create a new message.
25
- */
26
- export const LDAPServiceListResponseSchema = /*@__PURE__*/ messageDesc(file_fits_api_mvm_v1_ldap, 2);
27
- /**
28
- * LDAPService lists LDAP directories available for managed VM (MVM) instances.
29
- *
30
- * @generated from service fits.api.mvm.v1.LDAPService
31
- */
32
- export const LDAPService = /*@__PURE__*/ serviceDesc(file_fits_api_mvm_v1_ldap, 0);
@@ -1,113 +0,0 @@
1
- // @generated by protoc-gen-es v2.14.1 with parameter "target=ts,import_extension=js"
2
- // @generated from file fits/api/mvm/v1/ldap.proto (package fits.api.mvm.v1, syntax proto3)
3
- /* eslint-disable */
4
-
5
- import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
6
- import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
7
- import { file_buf_validate_validate } from "../../../../buf/validate/validate_pb.js";
8
- import { file_fits_api_v1_common } from "../../v1/common_pb.js";
9
- import { file_fits_api_v1_predefined_rules } from "../../v1/predefined_rules_pb.js";
10
- import type { Message } from "@bufbuild/protobuf";
11
-
12
- /**
13
- * Describes the file fits/api/mvm/v1/ldap.proto.
14
- */
15
- export const file_fits_api_mvm_v1_ldap: GenFile = /*@__PURE__*/
16
- fileDesc("ChpmaXRzL2FwaS9tdm0vdjEvbGRhcC5wcm90bxIPZml0cy5hcGkubXZtLnYxIlYKBExEQVASFgoEdXVpZBgBIAEoCUIIukgFcgOwAQESGQoEZnFkbhgCIAEoCUILukgIcgbAs66xAgESGwoGdGVuYW50GAMgASgJQgu6SAhyBsCzrrECASI1ChZMREFQU2VydmljZUxpc3RSZXF1ZXN0EhsKBnRlbmFudBgBIAEoCUILukgIcgbAs66xAgEiPwoXTERBUFNlcnZpY2VMaXN0UmVzcG9uc2USJAoFbGRhcHMYASADKAsyFS5maXRzLmFwaS5tdm0udjEuTERBUDJ1CgtMREFQU2VydmljZRJmCgRMaXN0EicuZml0cy5hcGkubXZtLnYxLkxEQVBTZXJ2aWNlTGlzdFJlcXVlc3QaKC5maXRzLmFwaS5tdm0udjEuTERBUFNlcnZpY2VMaXN0UmVzcG9uc2UiC8LzGAMBAgPg8xgCQq4BChNjb20uZml0cy5hcGkubXZtLnYxQglMZGFwUHJvdG9QAVotZ2l0aHViLmNvbS9maS10cy9hcGkvZ28vZml0cy9hcGkvbXZtL3YxO212bXYxogIDRkFNqgIPRml0cy5BcGkuTXZtLlYxygIPRml0c1xBcGlcTXZtXFYx4gIbRml0c1xBcGlcTXZtXFYxXEdQQk1ldGFkYXRh6gISRml0czo6QXBpOjpNdm06OlYxYgZwcm90bzM", [file_buf_validate_validate, file_fits_api_v1_common, file_fits_api_v1_predefined_rules]);
17
-
18
- /**
19
- * LDAP is an LDAP directory a Linux MVM can be integrated with.
20
- *
21
- * @generated from message fits.api.mvm.v1.LDAP
22
- */
23
- export type LDAP = Message<"fits.api.mvm.v1.LDAP"> & {
24
- /**
25
- * UUID of this LDAP directory.
26
- *
27
- * @generated from field: string uuid = 1;
28
- */
29
- uuid: string;
30
-
31
- /**
32
- * FQDN of this LDAP directory.
33
- *
34
- * @generated from field: string fqdn = 2;
35
- */
36
- fqdn: string;
37
-
38
- /**
39
- * Tenant this LDAP directory belongs to.
40
- *
41
- * @generated from field: string tenant = 3;
42
- */
43
- tenant: string;
44
- };
45
-
46
- /**
47
- * Describes the message fits.api.mvm.v1.LDAP.
48
- * Use `create(LDAPSchema)` to create a new message.
49
- */
50
- export const LDAPSchema: GenMessage<LDAP> = /*@__PURE__*/
51
- messageDesc(file_fits_api_mvm_v1_ldap, 0);
52
-
53
- /**
54
- * LDAPServiceListRequest is the request payload for an LDAP list request.
55
- *
56
- * @generated from message fits.api.mvm.v1.LDAPServiceListRequest
57
- */
58
- export type LDAPServiceListRequest = Message<"fits.api.mvm.v1.LDAPServiceListRequest"> & {
59
- /**
60
- * Tenant to list available LDAP directories for.
61
- *
62
- * @generated from field: string tenant = 1;
63
- */
64
- tenant: string;
65
- };
66
-
67
- /**
68
- * Describes the message fits.api.mvm.v1.LDAPServiceListRequest.
69
- * Use `create(LDAPServiceListRequestSchema)` to create a new message.
70
- */
71
- export const LDAPServiceListRequestSchema: GenMessage<LDAPServiceListRequest> = /*@__PURE__*/
72
- messageDesc(file_fits_api_mvm_v1_ldap, 1);
73
-
74
- /**
75
- * LDAPServiceListResponse is the response payload for an LDAP list request.
76
- *
77
- * @generated from message fits.api.mvm.v1.LDAPServiceListResponse
78
- */
79
- export type LDAPServiceListResponse = Message<"fits.api.mvm.v1.LDAPServiceListResponse"> & {
80
- /**
81
- * The available LDAP directories.
82
- *
83
- * @generated from field: repeated fits.api.mvm.v1.LDAP ldaps = 1;
84
- */
85
- ldaps: LDAP[];
86
- };
87
-
88
- /**
89
- * Describes the message fits.api.mvm.v1.LDAPServiceListResponse.
90
- * Use `create(LDAPServiceListResponseSchema)` to create a new message.
91
- */
92
- export const LDAPServiceListResponseSchema: GenMessage<LDAPServiceListResponse> = /*@__PURE__*/
93
- messageDesc(file_fits_api_mvm_v1_ldap, 2);
94
-
95
- /**
96
- * LDAPService lists LDAP directories available for managed VM (MVM) instances.
97
- *
98
- * @generated from service fits.api.mvm.v1.LDAPService
99
- */
100
- export const LDAPService: GenService<{
101
- /**
102
- * Returns a list of all LDAP directories available for a tenant.
103
- *
104
- * @generated from rpc fits.api.mvm.v1.LDAPService.List
105
- */
106
- list: {
107
- methodKind: "unary";
108
- input: typeof LDAPServiceListRequestSchema;
109
- output: typeof LDAPServiceListResponseSchema;
110
- },
111
- }> = /*@__PURE__*/
112
- serviceDesc(file_fits_api_mvm_v1_ldap, 0);
113
-