@openshift-migration-advisor/agent-sdk 0.30.0-a29d6d3b2ee2 → 0.30.0-d689d7b6eb5f

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @openshift-migration-advisor/agent-sdk@0.30.0-a29d6d3b2ee2
1
+ # @openshift-migration-advisor/agent-sdk@0.30.0-d689d7b6eb5f
2
2
 
3
3
  A TypeScript SDK client for the raw.githubusercontent.com API.
4
4
 
@@ -202,7 +202,7 @@ and is automatically generated by the
202
202
  [OpenAPI Generator](https://openapi-generator.tech) project:
203
203
 
204
204
  - API version: `v2`
205
- - Package version: `0.30.0-a29d6d3b2ee2`
205
+ - Package version: `0.30.0-d689d7b6eb5f`
206
206
  - Generator version: `7.28.0-SNAPSHOT`
207
207
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
208
208
 
@@ -32,6 +32,10 @@ export interface VirtualMachineDetail {
32
32
  * Display name of the VirtualMachine
33
33
  */
34
34
  name: string;
35
+ /**
36
+ * Free-text notes/description for the VirtualMachine in vSphere
37
+ */
38
+ annotation?: string;
35
39
  /**
36
40
  * Identifier of the vCenter this VirtualMachine belongs to
37
41
  */
@@ -58,6 +58,7 @@ export function VirtualMachineDetailFromJSONTyped(json, ignoreDiscriminator) {
58
58
  return {
59
59
  'id': json['id'],
60
60
  'name': json['name'],
61
+ 'annotation': json['annotation'] == null ? undefined : json['annotation'],
61
62
  'vCenterID': json['vCenterID'],
62
63
  'uuid': json['uuid'] == null ? undefined : json['uuid'],
63
64
  'firmware': json['firmware'] == null ? undefined : json['firmware'],
@@ -107,6 +108,7 @@ export function VirtualMachineDetailToJSONTyped(value, ignoreDiscriminator = fal
107
108
  return {
108
109
  'id': value['id'],
109
110
  'name': value['name'],
111
+ 'annotation': value['annotation'],
110
112
  'vCenterID': value['vCenterID'],
111
113
  'uuid': value['uuid'],
112
114
  'firmware': value['firmware'],
@@ -19,6 +19,18 @@ export interface VirtualMachineNIC {
19
19
  * Virtual adapter model, such as Vmxnet3 or E1000
20
20
  */
21
21
  adapter?: string;
22
+ /**
23
+ * Port-group VLAN configuration when supplied; empty when unknown.
24
+ */
25
+ vlanId?: string;
26
+ /**
27
+ * IPv4 addresses reported for this adapter. An IP address may also contain a CIDR suffix. Empty array when unknown.
28
+ */
29
+ ipv4Addresses?: Array<string>;
30
+ /**
31
+ * IPv6 addresses reported for this adapter. An IP address may also contain a CIDR suffix. Empty array when unknown.
32
+ */
33
+ ipv6Addresses?: Array<string>;
22
34
  /**
23
35
  * MAC address
24
36
  */
@@ -26,6 +26,9 @@ export function VirtualMachineNICFromJSONTyped(json, ignoreDiscriminator) {
26
26
  }
27
27
  return {
28
28
  'adapter': json['adapter'] == null ? undefined : json['adapter'],
29
+ 'vlanId': json['vlanId'] == null ? undefined : json['vlanId'],
30
+ 'ipv4Addresses': json['ipv4Addresses'] == null ? undefined : json['ipv4Addresses'],
31
+ 'ipv6Addresses': json['ipv6Addresses'] == null ? undefined : json['ipv6Addresses'],
29
32
  'mac': json['mac'] == null ? undefined : json['mac'],
30
33
  'network': json['network'] == null ? undefined : json['network'],
31
34
  'index': json['index'] == null ? undefined : json['index'],
@@ -40,6 +43,9 @@ export function VirtualMachineNICToJSONTyped(value, ignoreDiscriminator = false)
40
43
  }
41
44
  return {
42
45
  'adapter': value['adapter'],
46
+ 'vlanId': value['vlanId'],
47
+ 'ipv4Addresses': value['ipv4Addresses'],
48
+ 'ipv6Addresses': value['ipv6Addresses'],
43
49
  'mac': value['mac'],
44
50
  'network': value['network'],
45
51
  'index': value['index'],
@@ -32,6 +32,10 @@ export interface VirtualMachineDetail {
32
32
  * Display name of the VirtualMachine
33
33
  */
34
34
  name: string;
35
+ /**
36
+ * Free-text notes/description for the VirtualMachine in vSphere
37
+ */
38
+ annotation?: string;
35
39
  /**
36
40
  * Identifier of the vCenter this VirtualMachine belongs to
37
41
  */
@@ -65,6 +65,7 @@ function VirtualMachineDetailFromJSONTyped(json, ignoreDiscriminator) {
65
65
  return {
66
66
  'id': json['id'],
67
67
  'name': json['name'],
68
+ 'annotation': json['annotation'] == null ? undefined : json['annotation'],
68
69
  'vCenterID': json['vCenterID'],
69
70
  'uuid': json['uuid'] == null ? undefined : json['uuid'],
70
71
  'firmware': json['firmware'] == null ? undefined : json['firmware'],
@@ -114,6 +115,7 @@ function VirtualMachineDetailToJSONTyped(value, ignoreDiscriminator = false) {
114
115
  return {
115
116
  'id': value['id'],
116
117
  'name': value['name'],
118
+ 'annotation': value['annotation'],
117
119
  'vCenterID': value['vCenterID'],
118
120
  'uuid': value['uuid'],
119
121
  'firmware': value['firmware'],
@@ -19,6 +19,18 @@ export interface VirtualMachineNIC {
19
19
  * Virtual adapter model, such as Vmxnet3 or E1000
20
20
  */
21
21
  adapter?: string;
22
+ /**
23
+ * Port-group VLAN configuration when supplied; empty when unknown.
24
+ */
25
+ vlanId?: string;
26
+ /**
27
+ * IPv4 addresses reported for this adapter. An IP address may also contain a CIDR suffix. Empty array when unknown.
28
+ */
29
+ ipv4Addresses?: Array<string>;
30
+ /**
31
+ * IPv6 addresses reported for this adapter. An IP address may also contain a CIDR suffix. Empty array when unknown.
32
+ */
33
+ ipv6Addresses?: Array<string>;
22
34
  /**
23
35
  * MAC address
24
36
  */
@@ -33,6 +33,9 @@ function VirtualMachineNICFromJSONTyped(json, ignoreDiscriminator) {
33
33
  }
34
34
  return {
35
35
  'adapter': json['adapter'] == null ? undefined : json['adapter'],
36
+ 'vlanId': json['vlanId'] == null ? undefined : json['vlanId'],
37
+ 'ipv4Addresses': json['ipv4Addresses'] == null ? undefined : json['ipv4Addresses'],
38
+ 'ipv6Addresses': json['ipv6Addresses'] == null ? undefined : json['ipv6Addresses'],
36
39
  'mac': json['mac'] == null ? undefined : json['mac'],
37
40
  'network': json['network'] == null ? undefined : json['network'],
38
41
  'index': json['index'] == null ? undefined : json['index'],
@@ -47,6 +50,9 @@ function VirtualMachineNICToJSONTyped(value, ignoreDiscriminator = false) {
47
50
  }
48
51
  return {
49
52
  'adapter': value['adapter'],
53
+ 'vlanId': value['vlanId'],
54
+ 'ipv4Addresses': value['ipv4Addresses'],
55
+ 'ipv6Addresses': value['ipv6Addresses'],
50
56
  'mac': value['mac'],
51
57
  'network': value['network'],
52
58
  'index': value['index'],
@@ -8,6 +8,7 @@ Name | Type
8
8
  ------------ | -------------
9
9
  `id` | string
10
10
  `name` | string
11
+ `annotation` | string
11
12
  `vCenterID` | string
12
13
  `uuid` | string
13
14
  `firmware` | string
@@ -55,6 +56,7 @@ import type { VirtualMachineDetail } from '@openshift-migration-advisor/agent-sd
55
56
  const example = {
56
57
  "id": null,
57
58
  "name": null,
59
+ "annotation": null,
58
60
  "vCenterID": null,
59
61
  "uuid": null,
60
62
  "firmware": null,
@@ -7,6 +7,9 @@
7
7
  Name | Type
8
8
  ------------ | -------------
9
9
  `adapter` | string
10
+ `vlanId` | string
11
+ `ipv4Addresses` | Array&lt;string&gt;
12
+ `ipv6Addresses` | Array&lt;string&gt;
10
13
  `mac` | string
11
14
  `network` | string
12
15
  `index` | number
@@ -19,6 +22,9 @@ import type { VirtualMachineNIC } from '@openshift-migration-advisor/agent-sdk'
19
22
  // TODO: Update the object below with actual values
20
23
  const example = {
21
24
  "adapter": null,
25
+ "vlanId": null,
26
+ "ipv4Addresses": null,
27
+ "ipv6Addresses": null,
22
28
  "mac": null,
23
29
  "network": null,
24
30
  "index": null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openshift-migration-advisor/agent-sdk",
3
- "version": "0.30.0-a29d6d3b2ee2",
3
+ "version": "0.30.0-d689d7b6eb5f",
4
4
  "description": "OpenAPI client for @openshift-migration-advisor/agent-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -91,6 +91,10 @@ export interface VirtualMachineDetail {
91
91
  * Display name of the VirtualMachine
92
92
  */
93
93
  name: string;
94
+ /**
95
+ * Free-text notes/description for the VirtualMachine in vSphere
96
+ */
97
+ annotation?: string;
94
98
  /**
95
99
  * Identifier of the vCenter this VirtualMachine belongs to
96
100
  */
@@ -271,6 +275,7 @@ export function VirtualMachineDetailFromJSONTyped(json: any, ignoreDiscriminator
271
275
 
272
276
  'id': json['id'],
273
277
  'name': json['name'],
278
+ 'annotation': json['annotation'] == null ? undefined : json['annotation'],
274
279
  'vCenterID': json['vCenterID'],
275
280
  'uuid': json['uuid'] == null ? undefined : json['uuid'],
276
281
  'firmware': json['firmware'] == null ? undefined : json['firmware'],
@@ -324,6 +329,7 @@ export function VirtualMachineDetailToJSONTyped(value?: Omit<VirtualMachineDetai
324
329
 
325
330
  'id': value['id'],
326
331
  'name': value['name'],
332
+ 'annotation': value['annotation'],
327
333
  'vCenterID': value['vCenterID'],
328
334
  'uuid': value['uuid'],
329
335
  'firmware': value['firmware'],
@@ -23,6 +23,18 @@ export interface VirtualMachineNIC {
23
23
  * Virtual adapter model, such as Vmxnet3 or E1000
24
24
  */
25
25
  adapter?: string;
26
+ /**
27
+ * Port-group VLAN configuration when supplied; empty when unknown.
28
+ */
29
+ vlanId?: string;
30
+ /**
31
+ * IPv4 addresses reported for this adapter. An IP address may also contain a CIDR suffix. Empty array when unknown.
32
+ */
33
+ ipv4Addresses?: Array<string>;
34
+ /**
35
+ * IPv6 addresses reported for this adapter. An IP address may also contain a CIDR suffix. Empty array when unknown.
36
+ */
37
+ ipv6Addresses?: Array<string>;
26
38
  /**
27
39
  * MAC address
28
40
  */
@@ -55,6 +67,9 @@ export function VirtualMachineNICFromJSONTyped(json: any, ignoreDiscriminator: b
55
67
  return {
56
68
 
57
69
  'adapter': json['adapter'] == null ? undefined : json['adapter'],
70
+ 'vlanId': json['vlanId'] == null ? undefined : json['vlanId'],
71
+ 'ipv4Addresses': json['ipv4Addresses'] == null ? undefined : json['ipv4Addresses'],
72
+ 'ipv6Addresses': json['ipv6Addresses'] == null ? undefined : json['ipv6Addresses'],
58
73
  'mac': json['mac'] == null ? undefined : json['mac'],
59
74
  'network': json['network'] == null ? undefined : json['network'],
60
75
  'index': json['index'] == null ? undefined : json['index'],
@@ -73,6 +88,9 @@ export function VirtualMachineNICToJSONTyped(value?: VirtualMachineNIC | null, i
73
88
  return {
74
89
 
75
90
  'adapter': value['adapter'],
91
+ 'vlanId': value['vlanId'],
92
+ 'ipv4Addresses': value['ipv4Addresses'],
93
+ 'ipv6Addresses': value['ipv6Addresses'],
76
94
  'mac': value['mac'],
77
95
  'network': value['network'],
78
96
  'index': value['index'],