@lansweeper/discovery-sensor-proto 2.68.0 → 2.69.0
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/gen-proto/discovery_sections_esxi_grpc_pb.js +1 -0
- package/gen-proto/discovery_sections_esxi_pb.d.ts +698 -0
- package/gen-proto/discovery_sections_esxi_pb.js +5803 -0
- package/gen-proto/discovery_sections_vcenter_grpc_pb.js +1 -0
- package/gen-proto/discovery_sections_vcenter_pb.d.ts +387 -0
- package/gen-proto/discovery_sections_vcenter_pb.js +3267 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/import/discovery_common_vmware_grpc_pb.js +1 -0
- package/gen-proto/import/discovery_common_vmware_pb.d.ts +281 -0
- package/gen-proto/import/discovery_common_vmware_pb.js +2299 -0
- package/gen-proto/index.d.ts +3 -0
- package/gen-proto/index.js +7 -1
- package/package.json +2 -2
- package/proto/discovery_sections_api.proto +17 -0
- package/proto/discovery_sections_esxi.proto +141 -0
- package/proto/discovery_sections_vcenter.proto +86 -0
- package/proto/import/discovery_common_vmware.proto +58 -0
package/gen-proto/index.d.ts
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
export * from "./discovery_events_pb.d";
|
|
2
2
|
export * from "./discovery_sections_api_pb.d";
|
|
3
3
|
export * from "./discovery_sections_drac_pb.d";
|
|
4
|
+
export * from "./discovery_sections_esxi_pb.d";
|
|
4
5
|
export * from "./discovery_sections_mac_pb.d";
|
|
5
6
|
export * from "./discovery_sections_ot_pb.d";
|
|
6
7
|
export * from "./discovery_sections_other_pb.d";
|
|
7
8
|
export * from "./discovery_sections_unix_pb.d";
|
|
9
|
+
export * from "./discovery_sections_vcenter_pb.d";
|
|
8
10
|
export * from "./discovery_sections_windows_pb.d";
|
|
9
11
|
export * from "./import/discovery_common_pb.d";
|
|
12
|
+
export * from "./import/discovery_common_vmware_pb.d";
|
package/gen-proto/index.js
CHANGED
|
@@ -4,6 +4,8 @@ const discovery_sections_api_grpc_pb = require("./discovery_sections_api_grpc_pb
|
|
|
4
4
|
const discovery_sections_api_pb = require("./discovery_sections_api_pb");
|
|
5
5
|
const discovery_sections_drac_grpc_pb = require("./discovery_sections_drac_grpc_pb");
|
|
6
6
|
const discovery_sections_drac_pb = require("./discovery_sections_drac_pb");
|
|
7
|
+
const discovery_sections_esxi_grpc_pb = require("./discovery_sections_esxi_grpc_pb");
|
|
8
|
+
const discovery_sections_esxi_pb = require("./discovery_sections_esxi_pb");
|
|
7
9
|
const discovery_sections_mac_grpc_pb = require("./discovery_sections_mac_grpc_pb");
|
|
8
10
|
const discovery_sections_mac_pb = require("./discovery_sections_mac_pb");
|
|
9
11
|
const discovery_sections_ot_grpc_pb = require("./discovery_sections_ot_grpc_pb");
|
|
@@ -12,8 +14,12 @@ const discovery_sections_other_grpc_pb = require("./discovery_sections_other_grp
|
|
|
12
14
|
const discovery_sections_other_pb = require("./discovery_sections_other_pb");
|
|
13
15
|
const discovery_sections_unix_grpc_pb = require("./discovery_sections_unix_grpc_pb");
|
|
14
16
|
const discovery_sections_unix_pb = require("./discovery_sections_unix_pb");
|
|
17
|
+
const discovery_sections_vcenter_grpc_pb = require("./discovery_sections_vcenter_grpc_pb");
|
|
18
|
+
const discovery_sections_vcenter_pb = require("./discovery_sections_vcenter_pb");
|
|
15
19
|
const discovery_sections_windows_grpc_pb = require("./discovery_sections_windows_grpc_pb");
|
|
16
20
|
const discovery_sections_windows_pb = require("./discovery_sections_windows_pb");
|
|
17
21
|
const discovery_common_grpc_pb = require("./import/discovery_common_grpc_pb");
|
|
18
22
|
const discovery_common_pb = require("./import/discovery_common_pb");
|
|
19
|
-
|
|
23
|
+
const discovery_common_vmware_grpc_pb = require("./import/discovery_common_vmware_grpc_pb");
|
|
24
|
+
const discovery_common_vmware_pb = require("./import/discovery_common_vmware_pb");
|
|
25
|
+
Object.assign(exports, discovery_events_grpc_pb, discovery_events_pb, discovery_sections_api_grpc_pb, discovery_sections_api_pb, discovery_sections_drac_grpc_pb, discovery_sections_drac_pb, discovery_sections_esxi_grpc_pb, discovery_sections_esxi_pb, discovery_sections_mac_grpc_pb, discovery_sections_mac_pb, discovery_sections_ot_grpc_pb, discovery_sections_ot_pb, discovery_sections_other_grpc_pb, discovery_sections_other_pb, discovery_sections_unix_grpc_pb, discovery_sections_unix_pb, discovery_sections_vcenter_grpc_pb, discovery_sections_vcenter_pb, discovery_sections_windows_grpc_pb, discovery_sections_windows_pb, discovery_common_grpc_pb, discovery_common_pb, discovery_common_vmware_grpc_pb, discovery_common_vmware_pb)
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lansweeper/discovery-sensor-proto",
|
|
3
3
|
"description": "Discovery Sensor proto",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.69.0",
|
|
5
5
|
"main": "gen-proto/index.js",
|
|
6
6
|
"types": "gen-proto/index.d.ts",
|
|
7
7
|
"license": "MIT",
|
|
@@ -16,5 +16,5 @@
|
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"@types/google-protobuf": "^3.15.5"
|
|
18
18
|
},
|
|
19
|
-
"gitHead": "
|
|
19
|
+
"gitHead": "63eb034d5ead0611d51c212eef92e8607226f30b"
|
|
20
20
|
}
|
|
@@ -769,6 +769,7 @@ message Office365User {
|
|
|
769
769
|
|
|
770
770
|
/* ESXI API scanning root object */
|
|
771
771
|
message Esxi {
|
|
772
|
+
option deprecated = true;
|
|
772
773
|
google.protobuf.StringValue hostname = 1;
|
|
773
774
|
google.protobuf.StringValue version = 2;
|
|
774
775
|
google.protobuf.StringValue datacenter_id = 3;
|
|
@@ -817,11 +818,13 @@ message Esxi {
|
|
|
817
818
|
|
|
818
819
|
/* VCenter API scanning root object */
|
|
819
820
|
message VCenter {
|
|
821
|
+
option deprecated = true;
|
|
820
822
|
VmwareProductInfo product_info = 1;
|
|
821
823
|
repeated DataCenter datacenters = 2;
|
|
822
824
|
}
|
|
823
825
|
|
|
824
826
|
message VmwareProductInfo {
|
|
827
|
+
option deprecated = true;
|
|
825
828
|
google.protobuf.StringValue name = 1;
|
|
826
829
|
google.protobuf.StringValue api_type = 2;
|
|
827
830
|
google.protobuf.StringValue api_version = 3;
|
|
@@ -839,6 +842,7 @@ message VmwareProductInfo {
|
|
|
839
842
|
}
|
|
840
843
|
|
|
841
844
|
message VmwareDisk {
|
|
845
|
+
option deprecated = true;
|
|
842
846
|
google.protobuf.StringValue name = 1;
|
|
843
847
|
google.protobuf.StringValue url = 2;
|
|
844
848
|
int64 total_space = 3;
|
|
@@ -846,6 +850,7 @@ message VmwareDisk {
|
|
|
846
850
|
}
|
|
847
851
|
|
|
848
852
|
message Datastore {
|
|
853
|
+
option deprecated = true;
|
|
849
854
|
google.protobuf.StringValue internal_key = 1;
|
|
850
855
|
google.protobuf.Int32Value datacenter_id = 2;
|
|
851
856
|
google.protobuf.Int32Value datastore_cluster_id = 3;
|
|
@@ -864,12 +869,14 @@ message Datastore {
|
|
|
864
869
|
}
|
|
865
870
|
|
|
866
871
|
message DatastoreClusterDrsPodConfigRule {
|
|
872
|
+
option deprecated = true;
|
|
867
873
|
google.protobuf.StringValue name = 1;
|
|
868
874
|
google.protobuf.BoolValue enabled = 2;
|
|
869
875
|
google.protobuf.Int32Value type = 3;
|
|
870
876
|
}
|
|
871
877
|
|
|
872
878
|
message DatastoreClusterDrsVmOverride {
|
|
879
|
+
option deprecated = true;
|
|
873
880
|
google.protobuf.BoolValue enabled = 1;
|
|
874
881
|
google.protobuf.StringValue behaviour = 2;
|
|
875
882
|
google.protobuf.BoolValue intra_vm_affinity = 3;
|
|
@@ -877,6 +884,7 @@ message DatastoreClusterDrsVmOverride {
|
|
|
877
884
|
}
|
|
878
885
|
|
|
879
886
|
message DatastoreCluster {
|
|
887
|
+
option deprecated = true;
|
|
880
888
|
string internal_key = 1;
|
|
881
889
|
google.protobuf.StringValue name = 2;
|
|
882
890
|
int64 capacity = 3;
|
|
@@ -888,6 +896,7 @@ message DatastoreCluster {
|
|
|
888
896
|
}
|
|
889
897
|
|
|
890
898
|
message DatastoreClusterStorageDrs {
|
|
899
|
+
option deprecated = true;
|
|
891
900
|
bool enabled = 1;
|
|
892
901
|
bool io_load_balance_enabled = 2;
|
|
893
902
|
google.protobuf.StringValue default_vm_behaviour = 3;
|
|
@@ -900,6 +909,7 @@ message DatastoreClusterStorageDrs {
|
|
|
900
909
|
}
|
|
901
910
|
|
|
902
911
|
message VmwareGuestNetwork {
|
|
912
|
+
option deprecated = true;
|
|
903
913
|
google.protobuf.StringValue name = 1;
|
|
904
914
|
google.protobuf.StringValue dns_addresses = 2;
|
|
905
915
|
google.protobuf.StringValue domain_name = 3;
|
|
@@ -913,16 +923,19 @@ message VmwareGuestNetwork {
|
|
|
913
923
|
}
|
|
914
924
|
|
|
915
925
|
message Snapshot {
|
|
926
|
+
option deprecated = true;
|
|
916
927
|
string internal_key = 1;
|
|
917
928
|
google.protobuf.StringValue name = 2;
|
|
918
929
|
google.protobuf.Timestamp create_time = 3;
|
|
919
930
|
}
|
|
920
931
|
|
|
921
932
|
message AssetMacAddress {
|
|
933
|
+
option deprecated = true;
|
|
922
934
|
google.protobuf.StringValue mac = 1;
|
|
923
935
|
}
|
|
924
936
|
|
|
925
937
|
message VirtualMachine {
|
|
938
|
+
option deprecated = true;
|
|
926
939
|
string internal_key = 1;
|
|
927
940
|
google.protobuf.StringValue esxi_key = 2;
|
|
928
941
|
optional google.protobuf.Timestamp boot_time = 3;
|
|
@@ -954,6 +967,7 @@ message VirtualMachine {
|
|
|
954
967
|
}
|
|
955
968
|
|
|
956
969
|
enum NetworkType {
|
|
970
|
+
option deprecated = true;
|
|
957
971
|
no_network_type = 0;
|
|
958
972
|
physical = 1;
|
|
959
973
|
virtual = 2;
|
|
@@ -961,6 +975,7 @@ enum NetworkType {
|
|
|
961
975
|
}
|
|
962
976
|
|
|
963
977
|
message VmwareNetwork {
|
|
978
|
+
option deprecated = true;
|
|
964
979
|
google.protobuf.Int32Value asset_id = 1;
|
|
965
980
|
google.protobuf.StringValue name = 2;
|
|
966
981
|
NetworkType network_type = 3;
|
|
@@ -973,6 +988,7 @@ message VmwareNetwork {
|
|
|
973
988
|
}
|
|
974
989
|
|
|
975
990
|
message EsxiCluster {
|
|
991
|
+
option deprecated = true;
|
|
976
992
|
google.protobuf.StringValue name = 1;
|
|
977
993
|
google.protobuf.StringValue internal_key = 2;
|
|
978
994
|
google.protobuf.StringValue parent_folder = 3;
|
|
@@ -989,6 +1005,7 @@ message EsxiCluster {
|
|
|
989
1005
|
}
|
|
990
1006
|
|
|
991
1007
|
message DataCenter {
|
|
1008
|
+
option deprecated = true;
|
|
992
1009
|
string internal_key = 1;
|
|
993
1010
|
google.protobuf.StringValue name = 2;
|
|
994
1011
|
repeated Datastore datastores = 3;
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package com.lansweeper.discovery.sensor.esxi.v1;
|
|
4
|
+
|
|
5
|
+
option java_multiple_files = true;
|
|
6
|
+
|
|
7
|
+
option csharp_namespace = "Lansweeper.Discovery.Model.Proto.Sensor.Esxi";
|
|
8
|
+
option go_package = "./generated-go/esxi;esxi";
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
import "google/protobuf/wrappers.proto";
|
|
13
|
+
import "google/protobuf/timestamp.proto";
|
|
14
|
+
import "import/discovery_common_vmware.proto";
|
|
15
|
+
|
|
16
|
+
/* ESXI API scanning root object */
|
|
17
|
+
message Esxi {
|
|
18
|
+
string esxi_guid = 1;
|
|
19
|
+
google.protobuf.StringValue hostname = 2;
|
|
20
|
+
google.protobuf.StringValue version = 3;
|
|
21
|
+
google.protobuf.StringValue datacenter_id = 4;
|
|
22
|
+
string internal_key = 5;
|
|
23
|
+
google.protobuf.StringValue parent_folder = 6;
|
|
24
|
+
com.lansweeper.discovery.sensor.vmware.v1.VmwareProductInfo product_info = 7;
|
|
25
|
+
google.protobuf.BoolValue admin_disabled = 8;
|
|
26
|
+
repeated VirtualMachine virtual_machines = 9;
|
|
27
|
+
repeated VmwareNetwork network_devices = 10;
|
|
28
|
+
repeated com.lansweeper.discovery.sensor.vmware.v1.Datastore datastores = 11;
|
|
29
|
+
google.protobuf.StringValue dns_addresses = 12;
|
|
30
|
+
google.protobuf.StringValue default_gateway = 13;
|
|
31
|
+
google.protobuf.StringValue domain_name = 14;
|
|
32
|
+
google.protobuf.BoolValue dhcp = 15;
|
|
33
|
+
google.protobuf.StringValue connection_state = 16;
|
|
34
|
+
google.protobuf.StringValue power_state = 17;
|
|
35
|
+
optional google.protobuf.Timestamp boot_time = 18;
|
|
36
|
+
google.protobuf.Int64Value up_time = 19;
|
|
37
|
+
google.protobuf.Int64Value host_max_virtual_disk_capacity = 20;
|
|
38
|
+
google.protobuf.StringValue ip_address = 21;
|
|
39
|
+
google.protobuf.Int32Value port = 22;
|
|
40
|
+
google.protobuf.StringValue ssl_thumbprint = 23;
|
|
41
|
+
google.protobuf.StringValue management_server_ip = 24;
|
|
42
|
+
google.protobuf.StringValue vendor = 25;
|
|
43
|
+
google.protobuf.StringValue uuid = 26;
|
|
44
|
+
google.protobuf.StringValue model = 27;
|
|
45
|
+
google.protobuf.Int64Value memory_size = 28;
|
|
46
|
+
google.protobuf.StringValue cpu_model = 29;
|
|
47
|
+
google.protobuf.Int32Value cpu_mhz = 30;
|
|
48
|
+
google.protobuf.Int32Value num_cpu_packages = 31;
|
|
49
|
+
google.protobuf.StringValue cpu_packages_descriptions = 32;
|
|
50
|
+
google.protobuf.Int32Value num_cpu_cores = 33;
|
|
51
|
+
google.protobuf.Int32Value num_cpu_threads = 34;
|
|
52
|
+
google.protobuf.Int32Value num_nics = 35;
|
|
53
|
+
google.protobuf.Int32Value num_hbas = 36;
|
|
54
|
+
google.protobuf.StringValue bios_version = 37;
|
|
55
|
+
optional google.protobuf.Timestamp bios_date = 38;
|
|
56
|
+
google.protobuf.StringValue serial = 39;
|
|
57
|
+
google.protobuf.BoolValue ht_active = 40;
|
|
58
|
+
google.protobuf.BoolValue ht_available = 41;
|
|
59
|
+
google.protobuf.Int32Value num_cpu = 42;
|
|
60
|
+
google.protobuf.Int32Value num_cores_per_socket = 43;
|
|
61
|
+
google.protobuf.StringValue mac_address = 44;
|
|
62
|
+
google.protobuf.StringValue full_host_name = 45;
|
|
63
|
+
google.protobuf.StringValue esxi_cluster_guid = 46;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
message VirtualMachine {
|
|
67
|
+
string virtual_machine_guid = 1;
|
|
68
|
+
string internal_key = 2;
|
|
69
|
+
google.protobuf.StringValue esxi_key = 3;
|
|
70
|
+
optional google.protobuf.Timestamp boot_time = 4;
|
|
71
|
+
repeated VmwareGuestNetwork network_devices = 5;
|
|
72
|
+
google.protobuf.StringValue guest_id = 6;
|
|
73
|
+
google.protobuf.StringValue guest_full_name = 7;
|
|
74
|
+
google.protobuf.StringValue host_name = 8;
|
|
75
|
+
google.protobuf.StringValue domain_name = 9;
|
|
76
|
+
google.protobuf.StringValue fqdn = 10;
|
|
77
|
+
google.protobuf.StringValue version = 11;
|
|
78
|
+
google.protobuf.StringValue ipv4_address = 12;
|
|
79
|
+
google.protobuf.StringValue config_name = 13;
|
|
80
|
+
google.protobuf.DoubleValue memory_size_mb = 14;
|
|
81
|
+
google.protobuf.Int32Value num_cpu = 15;
|
|
82
|
+
google.protobuf.Int32Value num_ethernet_cards = 16;
|
|
83
|
+
google.protobuf.Int32Value num_virtual_disks = 17;
|
|
84
|
+
google.protobuf.StringValue instance_uuid = 18;
|
|
85
|
+
google.protobuf.Int64Value unshared_storage = 19;
|
|
86
|
+
google.protobuf.StringValue is_running = 20;
|
|
87
|
+
repeated Snapshot snapshots = 21;
|
|
88
|
+
google.protobuf.StringValue tools_version = 22;
|
|
89
|
+
google.protobuf.StringValue tools_status = 23;
|
|
90
|
+
google.protobuf.StringValue tools_version_status = 24;
|
|
91
|
+
google.protobuf.StringValue tools_running_status = 25;
|
|
92
|
+
google.protobuf.StringValue mac_address = 26;
|
|
93
|
+
bool is_vm_ware_guest = 27;
|
|
94
|
+
repeated AssetMacAddress asset_mac_addresses = 28;
|
|
95
|
+
google.protobuf.StringValue esxi_guid = 29;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
message AssetMacAddress {
|
|
99
|
+
google.protobuf.StringValue mac = 1;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
message Snapshot {
|
|
103
|
+
string internal_key = 1;
|
|
104
|
+
google.protobuf.StringValue name = 2;
|
|
105
|
+
google.protobuf.Timestamp create_time = 3;
|
|
106
|
+
google.protobuf.StringValue virtual_machine_guid = 4;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
message VmwareGuestNetwork {
|
|
110
|
+
google.protobuf.StringValue name = 1;
|
|
111
|
+
google.protobuf.StringValue dns_addresses = 2;
|
|
112
|
+
google.protobuf.StringValue domain_name = 3;
|
|
113
|
+
google.protobuf.BoolValue ipv4_dhcp_enabled = 4;
|
|
114
|
+
google.protobuf.BoolValue ipv6_dhcp_enabled = 5;
|
|
115
|
+
google.protobuf.StringValue ipv6_addresses = 6;
|
|
116
|
+
google.protobuf.BoolValue is_connected = 7;
|
|
117
|
+
google.protobuf.StringValue mac = 8;
|
|
118
|
+
google.protobuf.StringValue ip_address = 9;
|
|
119
|
+
google.protobuf.StringValue subnet_mask = 10;
|
|
120
|
+
google.protobuf.StringValue virtual_machine_guid = 11;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
enum NetworkType {
|
|
124
|
+
no_network_type = 0;
|
|
125
|
+
physical = 1;
|
|
126
|
+
virtual = 2;
|
|
127
|
+
console = 3;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
message VmwareNetwork {
|
|
131
|
+
google.protobuf.Int32Value asset_id = 1;
|
|
132
|
+
google.protobuf.StringValue name = 2;
|
|
133
|
+
NetworkType network_type = 3;
|
|
134
|
+
google.protobuf.StringValue ipv6_addresses = 4;
|
|
135
|
+
google.protobuf.Int32Value speed = 5;
|
|
136
|
+
google.protobuf.Int32Value mtu = 6;
|
|
137
|
+
google.protobuf.StringValue mac = 7;
|
|
138
|
+
google.protobuf.StringValue ip_address = 8;
|
|
139
|
+
google.protobuf.StringValue subnet_mask = 9;
|
|
140
|
+
google.protobuf.StringValue esxi_guid = 10;
|
|
141
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package com.lansweeper.discovery.sensor.vcenter.v1;
|
|
4
|
+
|
|
5
|
+
option java_multiple_files = true;
|
|
6
|
+
|
|
7
|
+
option csharp_namespace = "Lansweeper.Discovery.Model.Proto.Sensor.VCenter";
|
|
8
|
+
option go_package = "./generated-go/vcenter;vcenter";
|
|
9
|
+
|
|
10
|
+
import "google/protobuf/wrappers.proto";
|
|
11
|
+
import "import/discovery_common_vmware.proto";
|
|
12
|
+
import "discovery_sections_esxi.proto";
|
|
13
|
+
|
|
14
|
+
/* VCenter API scanning root object */
|
|
15
|
+
message VCenter {
|
|
16
|
+
com.lansweeper.discovery.sensor.vmware.v1.VmwareProductInfo product_info = 1;
|
|
17
|
+
repeated DataCenter datacenters = 2;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
message DatastoreClusterDrsPodConfigRule {
|
|
21
|
+
google.protobuf.StringValue name = 1;
|
|
22
|
+
google.protobuf.BoolValue enabled = 2;
|
|
23
|
+
google.protobuf.Int32Value type = 3;
|
|
24
|
+
google.protobuf.StringValue data_cluster_guid = 4;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
message DatastoreClusterDrsVmOverride {
|
|
28
|
+
google.protobuf.BoolValue enabled = 1;
|
|
29
|
+
google.protobuf.StringValue behaviour = 2;
|
|
30
|
+
google.protobuf.BoolValue intra_vm_affinity = 3;
|
|
31
|
+
google.protobuf.StringValue intra_vm_anti_affinity = 4;
|
|
32
|
+
google.protobuf.StringValue data_cluster_guid = 5;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
message DatastoreCluster {
|
|
36
|
+
string data_cluster_guid = 1;
|
|
37
|
+
string internal_key = 2;
|
|
38
|
+
google.protobuf.StringValue name = 3;
|
|
39
|
+
int64 capacity = 4;
|
|
40
|
+
int64 free_space = 5;
|
|
41
|
+
optional DatastoreClusterStorageDrs datastore_cluster_storage_drs = 6;
|
|
42
|
+
repeated com.lansweeper.discovery.sensor.vmware.v1.Datastore datastores = 7;
|
|
43
|
+
repeated DatastoreClusterDrsPodConfigRule datastore_cluster_drs_pod_config_rules = 8;
|
|
44
|
+
repeated DatastoreClusterDrsVmOverride datastore_cluster_drs_vm_overrides = 9;
|
|
45
|
+
google.protobuf.StringValue datacenter_guid = 10;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
message DatastoreClusterStorageDrs {
|
|
49
|
+
bool enabled = 1;
|
|
50
|
+
bool io_load_balance_enabled = 2;
|
|
51
|
+
google.protobuf.StringValue default_vm_behaviour = 3;
|
|
52
|
+
google.protobuf.Int32Value load_balance_interval = 4;
|
|
53
|
+
google.protobuf.BoolValue default_intra_vm_affinity = 5;
|
|
54
|
+
google.protobuf.Int32Value space_utilization_threshold = 6;
|
|
55
|
+
google.protobuf.Int32Value min_space_utilization_difference = 7;
|
|
56
|
+
google.protobuf.Int32Value io_latency_threshold = 8;
|
|
57
|
+
google.protobuf.Int32Value io_load_imbalance_threshold = 9;
|
|
58
|
+
google.protobuf.StringValue data_cluster_guid = 10;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
message EsxiCluster {
|
|
62
|
+
google.protobuf.StringValue esxi_cluster_guid = 1;
|
|
63
|
+
google.protobuf.StringValue name = 2;
|
|
64
|
+
google.protobuf.StringValue internal_key = 3;
|
|
65
|
+
google.protobuf.StringValue parent_folder = 4;
|
|
66
|
+
repeated com.lansweeper.discovery.sensor.esxi.v1.Esxi hosts = 5;
|
|
67
|
+
int32 total_cpu = 6;
|
|
68
|
+
int64 total_memory = 7;
|
|
69
|
+
int32 num_cpu_cores = 8;
|
|
70
|
+
int32 num_cpu_threads = 9;
|
|
71
|
+
int32 effective_cpu = 10;
|
|
72
|
+
int64 effective_memory = 11;
|
|
73
|
+
int32 num_hosts = 12;
|
|
74
|
+
int32 num_effective_hosts = 13;
|
|
75
|
+
google.protobuf.StringValue overall_status = 14;
|
|
76
|
+
google.protobuf.StringValue datacenter_guid = 15;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
message DataCenter {
|
|
80
|
+
string internal_key = 1;
|
|
81
|
+
google.protobuf.StringValue name = 2;
|
|
82
|
+
repeated com.lansweeper.discovery.sensor.vmware.v1.Datastore datastores = 3;
|
|
83
|
+
repeated DatastoreCluster datastore_clusters = 4;
|
|
84
|
+
repeated com.lansweeper.discovery.sensor.esxi.v1.Esxi hosts = 5;
|
|
85
|
+
repeated EsxiCluster host_clusters = 6;
|
|
86
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package com.lansweeper.discovery.sensor.vmware.v1;
|
|
4
|
+
|
|
5
|
+
option java_multiple_files = true;
|
|
6
|
+
|
|
7
|
+
option csharp_namespace = "Lansweeper.Discovery.Model.Proto.Sensor.Vmware";
|
|
8
|
+
option go_package = "github.com/Lansweeper/lansweeperapis/packages/discovery/sensor/grpc/generated-go/vmware;vmware";
|
|
9
|
+
|
|
10
|
+
import "google/protobuf/wrappers.proto";
|
|
11
|
+
import "google/protobuf/timestamp.proto";
|
|
12
|
+
|
|
13
|
+
message VmwareProductInfo {
|
|
14
|
+
google.protobuf.StringValue name = 1;
|
|
15
|
+
google.protobuf.StringValue api_type = 2;
|
|
16
|
+
google.protobuf.StringValue api_version = 3;
|
|
17
|
+
google.protobuf.StringValue build = 4;
|
|
18
|
+
google.protobuf.StringValue full_name = 5;
|
|
19
|
+
google.protobuf.StringValue instance_uuid = 6;
|
|
20
|
+
google.protobuf.StringValue license_product_name = 7;
|
|
21
|
+
google.protobuf.StringValue license_product_version = 8;
|
|
22
|
+
google.protobuf.StringValue locale_build = 9;
|
|
23
|
+
google.protobuf.StringValue locale_version = 10;
|
|
24
|
+
google.protobuf.StringValue os_type = 11;
|
|
25
|
+
google.protobuf.StringValue product_line_id = 12;
|
|
26
|
+
google.protobuf.StringValue vendor = 13;
|
|
27
|
+
google.protobuf.StringValue version = 14;
|
|
28
|
+
google.protobuf.StringValue vcenter_guid = 15;
|
|
29
|
+
google.protobuf.StringValue esxi_guid = 16;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
message Datastore {
|
|
33
|
+
google.protobuf.StringValue internal_key = 1;
|
|
34
|
+
google.protobuf.Int32Value datacenter_id = 2;
|
|
35
|
+
google.protobuf.Int32Value datastore_cluster_id = 3;
|
|
36
|
+
repeated VmwareDisk disks = 4;
|
|
37
|
+
google.protobuf.Int64Value uncommitted = 5;
|
|
38
|
+
google.protobuf.BoolValue accessible = 6;
|
|
39
|
+
google.protobuf.BoolValue multiple_host_access = 7;
|
|
40
|
+
google.protobuf.StringValue type = 8;
|
|
41
|
+
google.protobuf.StringValue maintenance_mode = 9;
|
|
42
|
+
google.protobuf.Int64Value max_physical_rdm_file_size = 10;
|
|
43
|
+
google.protobuf.Int64Value max_virtual_rdm_file_size = 11;
|
|
44
|
+
google.protobuf.Int64Value max_file_size = 12;
|
|
45
|
+
google.protobuf.Int64Value max_virtual_disk_capacity = 13;
|
|
46
|
+
google.protobuf.Int64Value max_memory_file_size = 14;
|
|
47
|
+
optional google.protobuf.Timestamp timestamp = 15;
|
|
48
|
+
google.protobuf.StringValue datacenter_guid = 16;
|
|
49
|
+
google.protobuf.StringValue datastore_cluster_guid = 17;
|
|
50
|
+
google.protobuf.StringValue esxi_guid = 18;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
message VmwareDisk {
|
|
54
|
+
google.protobuf.StringValue name = 1;
|
|
55
|
+
google.protobuf.StringValue url = 2;
|
|
56
|
+
int64 total_space = 3;
|
|
57
|
+
int64 free_space = 4;
|
|
58
|
+
}
|