@rork8s/ror-resources 1.2.0-rc14 → 1.2.0-rc15

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.
@@ -12,15 +12,220 @@ export declare enum VulnerabilityDismissalReason {
12
12
  export declare enum ResourceTagProperties {
13
13
  color = "color"
14
14
  }
15
- export interface ResourceVulnerabilityReport {
16
- report: ResourceVulnerabilityReportReport;
15
+ export interface ResourceBackupJobSpec {
16
+ name: string;
17
+ status: string;
18
+ policyId: string;
19
+ schedules: ResourceBackupSchedule[];
20
+ activeTargets: ResourceBackupTarget[];
21
+ indirectBackupTargets: ResourceIndirectBackupTarget[];
22
+ backupDestinations: ResourceBackupDestination[];
17
23
  }
18
- export interface ResourceVulnerabilityEventSpec {
19
- owner: RorResourceOwnerReference;
24
+ export interface ResourceBackupStorage {
25
+ unit: string;
26
+ sourceSize: number;
27
+ logicalSize: number;
28
+ physicalSize: number;
29
+ }
30
+ export interface ResourceBackupRunDestination {
31
+ name: string;
32
+ id: string;
33
+ type: string;
34
+ status: string;
35
+ expiryTime: Time;
36
+ }
37
+ export interface ResourceBackupRun {
38
+ id: string;
39
+ backupTargets: ResourceBackupTarget[];
40
+ backupDestinations: ResourceBackupRunDestination[];
41
+ startTime: Time;
42
+ endTime: Time;
43
+ expiryTime: Time;
44
+ backupStorage: ResourceBackupStorage;
45
+ }
46
+ export interface ResourceBackupDestination {
47
+ name: string;
48
+ id: string;
49
+ type: string;
50
+ status: string;
51
+ }
52
+ export interface ResourceIndirectBackupTarget {
53
+ type: string;
54
+ ids: string[];
55
+ keyValues: {
56
+ [key: string]: string[];
57
+ };
58
+ }
59
+ export interface ResourceBackupSource {
60
+ name: string;
61
+ id: string;
62
+ uuid: string;
63
+ type: string;
64
+ }
65
+ export interface ResourceBackupTarget {
66
+ name: string;
67
+ id: string;
68
+ externalId: string;
69
+ source?: ResourceBackupSource;
70
+ }
71
+ export interface ResourceBackupRetention {
72
+ unit: string;
73
+ duration: number;
74
+ }
75
+ export interface ResourceBackupSchedule {
76
+ startTime: string;
77
+ endTime: string;
78
+ frequency: number;
79
+ unit: string;
80
+ retention: ResourceBackupRetention;
81
+ }
82
+ export interface ResourceBackupJobStatus {
83
+ name: string;
84
+ status: string;
85
+ policyId: string;
86
+ schedules: ResourceBackupSchedule[];
87
+ activeTargets: ResourceBackupTarget[];
88
+ indirectBackupTargets: ResourceIndirectBackupTarget[];
89
+ backupDestinations: ResourceBackupDestination[];
90
+ location: string;
91
+ lastUpdated: Time;
92
+ policyName: string;
93
+ runs: ResourceBackupRun[];
94
+ }
95
+ export interface ResourceBackupJob {
96
+ id: string;
97
+ provider: string;
98
+ source: string;
99
+ status: ResourceBackupJobStatus;
100
+ spec: ResourceBackupJobSpec;
101
+ }
102
+ export interface Datacenter {
103
+ id: string;
104
+ name: string;
105
+ provider: string;
106
+ location: DatacenterLocation;
107
+ apiEndpoint: string;
108
+ }
109
+ export interface DatacenterLocation {
110
+ id: string;
111
+ region: string;
112
+ country: string;
113
+ }
114
+ export interface ResourceDatacenterStatus {
115
+ workspaces: ResourceWorkspace[];
116
+ location: DatacenterLocation;
117
+ apiEndpoint: string;
118
+ }
119
+ export interface ResourceDatacenterSpec {
120
+ workspaces: ResourceWorkspace[];
121
+ }
122
+ export interface ResourceDatacenter {
123
+ spec: ResourceDatacenterSpec;
124
+ status: ResourceDatacenterStatus;
125
+ legacy: Datacenter;
126
+ }
127
+ export interface ResourceNetworkPolicyCondition {
128
+ lastTransitionTime: string;
20
129
  message: string;
130
+ observedGeneration: number;
131
+ reason: string;
132
+ status: string;
133
+ type: string;
21
134
  }
22
- export interface ResourceVulnerabilityEvent {
23
- spec: ResourceVulnerabilityEventSpec;
135
+ export interface ResourceNetworkPolicyStatus {
136
+ conditions: ResourceNetworkPolicyCondition[];
137
+ }
138
+ export interface ResourceNetworkPolicyPodSelector {
139
+ matchLabels: {
140
+ [key: string]: string;
141
+ };
142
+ }
143
+ export interface ResourceNetworkPolicyIngressRule {
144
+ from: ResourceNetworkPolicyPeer[];
145
+ ports: ResourceNetworkPolicyPort[];
146
+ }
147
+ export interface ResourceNetworkPolicySelectorExpression {
148
+ key: string;
149
+ operator: string;
150
+ values: string[];
151
+ }
152
+ export interface ResourceNetworkPolicySelector {
153
+ matchExpressions: ResourceNetworkPolicySelectorExpression[];
154
+ matchLabels: {
155
+ [key: string]: string;
156
+ };
157
+ }
158
+ export interface ResourceNetworkPolicyIpBlock {
159
+ cidr: string;
160
+ except: string[];
161
+ }
162
+ export interface ResourceNetworkPolicyPeer {
163
+ ipBlock?: ResourceNetworkPolicyIpBlock;
164
+ namespaceSelector?: ResourceNetworkPolicySelector;
165
+ podSelector?: ResourceNetworkPolicySelector;
166
+ }
167
+ export interface ResourceNetworkPolicyPort {
168
+ endPort: number;
169
+ port: IntOrString;
170
+ protocol: string;
171
+ }
172
+ export interface ResourceNetworkPolicyEgressRule {
173
+ ports: ResourceNetworkPolicyPort[];
174
+ to: ResourceNetworkPolicyPeer[];
175
+ }
176
+ export interface ResourceNetworkPolicySpec {
177
+ egress: ResourceNetworkPolicyEgressRule[];
178
+ ingress: ResourceNetworkPolicyIngressRule[];
179
+ podSelector: ResourceNetworkPolicyPodSelector;
180
+ policyTypes: string[];
181
+ }
182
+ export interface ResourceNetworkPolicy {
183
+ spec: ResourceNetworkPolicySpec;
184
+ status: ResourceNetworkPolicyStatus;
185
+ }
186
+ export interface ResourceEndpointSpecSubsetsPorts {
187
+ appProtocol?: string;
188
+ name?: string;
189
+ port?: number;
190
+ protocol?: string;
191
+ }
192
+ export interface ResourceEndpointSpecSubsetsNotReadyAddressesTargetRef {
193
+ apiVersion?: string;
194
+ fieldPath?: string;
195
+ kind?: string;
196
+ name?: string;
197
+ namespace?: string;
198
+ resourceVersion?: string;
199
+ uid?: string;
200
+ }
201
+ export interface ResourceEndpointSpecSubsetsNotReadyAddresses {
202
+ hostname?: string;
203
+ ip?: string;
204
+ nodeName?: string;
205
+ targetRef?: ResourceEndpointSpecSubsetsNotReadyAddressesTargetRef;
206
+ }
207
+ export interface ResourceEndpointSpecSubsetsAddressesTargetRef {
208
+ apiVersion?: string;
209
+ fieldPath?: string;
210
+ kind?: string;
211
+ name?: string;
212
+ namespace?: string;
213
+ resourceVersion?: string;
214
+ uid?: string;
215
+ }
216
+ export interface ResourceEndpointSpecSubsetsAddresses {
217
+ hostname?: string;
218
+ ip?: string;
219
+ nodeName?: string;
220
+ targetRef?: ResourceEndpointSpecSubsetsAddressesTargetRef;
221
+ }
222
+ export interface ResourceEndpointSpecSubsets {
223
+ addresses?: ResourceEndpointSpecSubsetsAddresses[];
224
+ notReadyAddresses?: ResourceEndpointSpecSubsetsNotReadyAddresses[];
225
+ ports?: ResourceEndpointSpecSubsetsPorts[];
226
+ }
227
+ export interface ResourceEndpoints {
228
+ subsets?: ResourceEndpointSpecSubsets[];
24
229
  }
25
230
  export interface ResourceVirtualMachineOperatingSystemStatus {
26
231
  id: string;
@@ -108,543 +313,247 @@ export interface ResourceVirtualMachine {
108
313
  status: ResourceVirtualMachineStatus;
109
314
  provider: string;
110
315
  }
111
- export interface ResourceVirtualMachineClassSpecHardwareInstanceStorage {
112
- storageClass: string;
113
- }
114
- export interface ResourceVirtualMachineClassSpecHardware {
115
- cpus: number;
116
- instanceStorage: ResourceVirtualMachineClassSpecHardwareInstanceStorage;
316
+ export interface ResourceVulnerabilityEventSpec {
317
+ owner: RorResourceOwnerReference;
318
+ message: string;
117
319
  }
118
- export interface ResourceVirtualMachineClassSpec {
119
- description: string;
120
- hardware: ResourceVirtualMachineClassSpecHardware;
320
+ export interface ResourceVulnerabilityEvent {
321
+ spec: ResourceVulnerabilityEventSpec;
121
322
  }
122
- export interface ResourceVirtualMachineClass {
123
- spec: ResourceVirtualMachineClassSpec;
124
- status: {
125
- [key: string]: string;
126
- };
323
+ export interface ResourceSlackMessageStatus {
324
+ result: number;
325
+ timestamp: Time;
326
+ error: any;
127
327
  }
128
- export interface ResourceTanzuKubernetesReleaseStatusCondition {
129
- lastTransitionTime: string;
328
+ export interface ResourceSlackMessageSpec {
329
+ channelId: string;
130
330
  message: string;
131
- reason: string;
132
- severity: string;
133
- status: string;
134
- type: string;
135
331
  }
136
- export interface ResourceTanzuKubernetesReleaseStatus {
137
- conditions: ResourceTanzuKubernetesReleaseStatusCondition[];
332
+ export interface ResourceSlackMessage {
333
+ spec: ResourceSlackMessageSpec;
334
+ status: ResourceSlackMessageStatus[];
138
335
  }
139
- export interface ResourceTanzuKubernetesReleaseSpecNodeImageRef {
336
+ export interface ResourceRouteSlackReceiver {
337
+ channelId: string;
338
+ }
339
+ export interface ResourceRouteReceiver {
340
+ slack: ResourceRouteSlackReceiver[];
341
+ }
342
+ export interface ResourceRouteMessageType {
140
343
  apiVersion: string;
141
- fieldPath: string;
142
344
  kind: string;
143
- namespace: string;
144
- uid: string;
145
345
  }
146
- export interface ResourceTanzuKubernetesReleaseSpecImage {
147
- name: string;
346
+ export interface ResourceRouteSpec {
347
+ messageType: ResourceRouteMessageType;
348
+ receivers: ResourceRouteReceiver;
349
+ }
350
+ export interface ResourceRoute {
351
+ spec: ResourceRouteSpec;
352
+ }
353
+ export interface ResourceClusterVulnerabilityReportReportStatus {
354
+ status: VulnerabilityStatus;
355
+ until?: Time;
356
+ reason?: VulnerabilityDismissalReason;
357
+ comment?: string;
358
+ riskAssessment?: string;
359
+ }
360
+ export interface ResourceClusterVulnerabilityReportReportOwner {
361
+ digest: string;
148
362
  repository: string;
149
363
  tag: string;
364
+ resource: string;
365
+ installedVersion: string;
366
+ fixedVersion: string;
367
+ namespace: string;
368
+ ownerReferences: OwnerReference[];
150
369
  }
151
- export interface ResourceTanzuKubernetesReleaseSpec {
152
- images: ResourceTanzuKubernetesReleaseSpecImage[];
153
- kubernetesVersion: string;
154
- nodeImageRef: ResourceTanzuKubernetesReleaseSpecNodeImageRef;
155
- repository: string;
156
- version: string;
370
+ export interface ResourceClusterVulnerabilityReportReport {
371
+ severity: string;
372
+ score: number;
373
+ title: string;
374
+ primaryLink: string;
375
+ firstObserved: Time;
376
+ lastObserved: Time;
377
+ owners: ResourceClusterVulnerabilityReportReportOwner[];
378
+ status: ResourceClusterVulnerabilityReportReportStatus;
157
379
  }
158
- export interface ResourceTanzuKubernetesRelease {
159
- spec: ResourceTanzuKubernetesReleaseSpec;
160
- status: ResourceTanzuKubernetesReleaseStatus;
380
+ export interface ResourceClusterVulnerabilityReportSummary {
381
+ critical: number;
382
+ high: number;
383
+ medium: number;
384
+ low: number;
385
+ unknown: number;
161
386
  }
162
- export interface ResourceTanzuKubernetesClusterStatusConditions {
163
- lastTransitionTime: string;
164
- message: string;
165
- reason: string;
166
- severity: string;
167
- status: string;
387
+ export interface ResourceClusterVulnerabilityReport {
388
+ summary: ResourceClusterVulnerabilityReportSummary;
389
+ report: {
390
+ [key: string]: ResourceClusterVulnerabilityReportReport;
391
+ };
392
+ }
393
+ export interface ResourceClusterComplianceReport {
394
+ }
395
+ export interface ResourceConfigurationSpec {
168
396
  type: string;
397
+ b64enc: boolean;
398
+ data: string;
169
399
  }
170
- export interface ResourceTanzuKubernetesClusterStatusAPIEndpoints {
171
- host: string;
172
- port: number;
400
+ export interface ResourceConfiguration {
401
+ spec: ResourceConfigurationSpec;
173
402
  }
174
- export interface ResourceTanzuKubernetesClusterStatus {
175
- apiEndpoints: ResourceTanzuKubernetesClusterStatusAPIEndpoints[];
176
- conditions: ResourceTanzuKubernetesClusterStatusConditions[];
403
+ export interface ResourceProjectSpecRole {
404
+ upn: string;
405
+ name: string;
406
+ role: string;
407
+ email: string;
408
+ phone: string;
409
+ }
410
+ export interface ResourceProjectSpec {
411
+ projectName: string;
412
+ description: string;
413
+ active: boolean;
414
+ createdTime: string;
415
+ updatedTime: string;
416
+ roles: ResourceProjectSpecRole[];
417
+ workorder: string;
418
+ serviceTag: string;
419
+ tags: string[];
420
+ }
421
+ export interface ResourceProject {
422
+ spec: ResourceProjectSpec;
423
+ }
424
+ export interface ResourceKubernetesClusterOrderStatusCondition {
425
+ type: string;
426
+ status: string;
427
+ lastTransitionTime: string;
428
+ reason: string;
429
+ message: string;
430
+ }
431
+ export interface ResourceClusterOrderStatus {
432
+ status: string;
177
433
  phase: string;
178
- totalWorkerReplicas: number;
179
- version: string;
434
+ conditions: ResourceKubernetesClusterOrderStatusCondition[];
435
+ createdTime: string;
436
+ updatedTime: string;
437
+ lastObservedTime: string;
180
438
  }
181
- export interface ResourceTanzuKubernetesClusterSpecTopologyNodePoolsVolumes {
182
- capasity: {
439
+ export interface ResourceClusterOrderSpecNodePool {
440
+ name: string;
441
+ machineClass: string;
442
+ count: number;
443
+ }
444
+ export interface ResourceClusterOrderSpec {
445
+ provider: string;
446
+ clusterName: string;
447
+ projectId: string;
448
+ orderBy: string;
449
+ environment: number;
450
+ criticality: number;
451
+ sensitivity: number;
452
+ highAvailability: boolean;
453
+ nodePools: ResourceClusterOrderSpecNodePool[];
454
+ serviceTags?: {
183
455
  [key: string]: string;
184
456
  };
185
- mountPath: string;
457
+ providerConfig?: {
458
+ [key: string]: any;
459
+ };
460
+ ownerGroup: string;
461
+ }
462
+ export interface ResourceClusterOrder {
463
+ spec: ResourceClusterOrderSpec;
464
+ status: ResourceClusterOrderStatus;
465
+ }
466
+ export interface ResourceKubernetesMachineClassStatus {
186
467
  name: string;
187
- storageClass: string;
468
+ cpu: string;
469
+ memory: string;
470
+ gpu: boolean;
188
471
  }
189
- export interface ResourceTanzuKubernetesClusterSpecTopologyNodePoolsTkrReference {
190
- fieldPath: string;
191
- kind: string;
472
+ export interface ResourceKubernetesMachineClassSpec {
192
473
  name: string;
193
- namespace: string;
194
- uid: string;
474
+ cpu: string;
475
+ memory: string;
476
+ gpu: boolean;
195
477
  }
196
- export interface ResourceTanzuKubernetesClusterSpecTopologyNodePoolsTkr {
197
- reference: ResourceTanzuKubernetesClusterSpecTopologyNodePoolsTkrReference;
478
+ export interface ResourceKubernetesMachineClass {
479
+ spec: ResourceKubernetesMachineClassSpec;
480
+ status: ResourceKubernetesMachineClassStatus;
198
481
  }
199
- export interface ResourceTanzuKubernetesClusterSpecTopologyNodePoolsTaints {
200
- effect: string;
201
- key: string;
202
- timeAdded: string;
203
- value: string;
482
+ export interface ResourceWorkspaceStatus {
483
+ datacenterId?: string;
484
+ kubernetesClusters: ResourceKubernetesCluster[];
485
+ availableMachineClasses: ResourceWorkspaceMachineClass[];
486
+ defaultMachineClass: ResourceWorkspaceMachineClass;
487
+ availableStorageClasses: ResourceWorkspaceStorageClass[];
488
+ defaultStorageClass: ResourceWorkspaceStorageClass;
204
489
  }
205
- export interface ResourceTanzuKubernetesClusterSpecTopologyNodePools {
206
- failureDomain: string;
207
- labels: {
208
- [key: string]: string;
209
- };
490
+ export interface ResourceWorkspaceStorageClass {
210
491
  name: string;
211
- nodeDrainTimeout: string;
212
- replicas: number;
213
- storageClass: string;
214
- taints: ResourceTanzuKubernetesClusterSpecTopologyNodePoolsTaints[];
215
- tkr: ResourceTanzuKubernetesClusterSpecTopologyNodePoolsTkr;
216
- vmClass: string;
217
- volumes: ResourceTanzuKubernetesClusterSpecTopologyNodePoolsVolumes[];
218
492
  }
219
- export interface ResourceTanzuKubernetesClusterSpecTopologyControlPlaneTkrReference {
493
+ export interface ResourceWorkspaceMachineClass {
220
494
  name: string;
221
- kind: string;
222
- namespace: string;
223
- uid: string;
224
495
  }
225
- export interface ResourceTanzuKubernetesClusterSpecTopologyControlPlaneTkr {
226
- reference: ResourceTanzuKubernetesClusterSpecTopologyControlPlaneTkrReference;
496
+ export interface ResourceWorkspaceSpec {
497
+ kubernetesClusters: ResourceKubernetesCluster[];
498
+ availableMachineClasses: ResourceWorkspaceMachineClass[];
499
+ defaultMachineClass: ResourceWorkspaceMachineClass;
500
+ availableStorageClasses: ResourceWorkspaceStorageClass[];
501
+ defaultStorageClass: ResourceWorkspaceStorageClass;
227
502
  }
228
- export interface ResourceTanzuKubernetesClusterSpecTopologyControlPlane {
229
- nodeDrainTimeout: string;
230
- replicas: number;
231
- storageClass: string;
232
- tkr: ResourceTanzuKubernetesClusterSpecTopologyControlPlaneTkr;
233
- vmClass: string;
503
+ export interface ResourceWorkspace {
504
+ spec: ResourceWorkspaceSpec;
505
+ status: ResourceWorkspaceStatus;
234
506
  }
235
- export interface ResourceTanzuKubernetesClusterSpecTopology {
236
- controlPlane: ResourceTanzuKubernetesClusterSpecTopologyControlPlane;
237
- nodePools: ResourceTanzuKubernetesClusterSpecTopologyNodePools[];
507
+ export interface ResourceProvider {
238
508
  }
239
- export interface ResourceTanzuKubernetesClusterSpecSettingsStorage {
240
- classes: string[];
241
- defaultClass: string;
509
+ export interface KubernetesClusterCondition {
510
+ type: string;
511
+ status: string;
512
+ lastTransitionTime: string;
513
+ reason: string;
514
+ message: string;
242
515
  }
243
- export interface ResourceTanzuKubernetesClusterSpecSettingsNetworkTrustAdditionalTrustedCA {
244
- data: string;
516
+ export interface KubernetesClusterEndpoint {
245
517
  name: string;
518
+ address: string;
246
519
  }
247
- export interface ResourceTanzuKubernetesClusterSpecSettingsNetworkTrust {
248
- additionalTrustedCAs: ResourceTanzuKubernetesClusterSpecSettingsNetworkTrustAdditionalTrustedCA[];
249
- }
250
- export interface ResourceTanzuKubernetesClusterSpecSettingsNetworkServices {
251
- cidrBlocks: string[];
252
- }
253
- export interface ResourceTanzuKubernetesClusterSpecSettingsNetworkProxy {
254
- httpProxy: string;
255
- httpsProxy: string;
256
- noProxy: string;
520
+ export interface KubernetesClusterVersion {
521
+ name: string;
522
+ version: string;
523
+ branch: string;
257
524
  }
258
- export interface ResourceTanzuKubernetesClusterSpecSettingsNetworkPods {
259
- cidrBlocks: string[];
525
+ export interface KubernetesClusterAutoscalingConfig {
526
+ enabled: boolean;
527
+ minReplicas: number;
528
+ maxReplicas: number;
260
529
  }
261
- export interface ResourceTanzuKubernetesClusterSpecSettingsNetworkCni {
530
+ export interface KubernetesClusterNodePoolStatus {
262
531
  name: string;
532
+ status: string;
533
+ message: string;
534
+ scale: number;
535
+ machineClass: string;
536
+ autoscaling: KubernetesClusterAutoscalingConfig;
537
+ resources: KubernetesClusterStatusClusterStatusResources;
263
538
  }
264
- export interface ResourceTanzuKubernetesClusterSpecSettingsNetwork {
265
- cni: ResourceTanzuKubernetesClusterSpecSettingsNetworkCni;
266
- pods: ResourceTanzuKubernetesClusterSpecSettingsNetworkPods;
267
- proxy: ResourceTanzuKubernetesClusterSpecSettingsNetworkProxy;
268
- serviceDomain: string;
269
- services: ResourceTanzuKubernetesClusterSpecSettingsNetworkServices;
270
- trust: ResourceTanzuKubernetesClusterSpecSettingsNetworkTrust;
539
+ export interface KubernetesClusterControlPlaneStatus {
540
+ status: string;
541
+ message: string;
542
+ scale: number;
543
+ machineClass: string;
544
+ resources: KubernetesClusterStatusClusterStatusResources;
271
545
  }
272
- export interface ResourceTanzuKubernetesClusterSpecSettings {
273
- network: ResourceTanzuKubernetesClusterSpecSettingsNetwork;
274
- storage: ResourceTanzuKubernetesClusterSpecSettingsStorage;
546
+ export interface KubernetesClusterStatusPrice {
547
+ monthly: number;
548
+ yearly: number;
275
549
  }
276
- export interface ResourceTanzuKubernetesClusterSpecDistribution {
277
- fullVersion: string;
278
- version: string;
550
+ export interface Quantity {
551
+ Format: string;
279
552
  }
280
- export interface ResourceTanuzKuberntesClusterSpec {
281
- distribution: ResourceTanzuKubernetesClusterSpecDistribution;
282
- settings: ResourceTanzuKubernetesClusterSpecSettings;
283
- topology: ResourceTanzuKubernetesClusterSpecTopology;
284
- }
285
- export interface ResourceTanzuKubernetesCluster {
286
- spec: ResourceTanuzKuberntesClusterSpec;
287
- status?: ResourceTanzuKubernetesClusterStatus;
288
- }
289
- export interface ResourceStorageClass {
290
- allowVolumeExpansion: boolean;
291
- provisioner: string;
292
- reclaimPolicy: string;
293
- volumeBindingMode: string;
294
- }
295
- export interface ResourceStatefulSetStatus {
296
- replicas: number;
297
- availableReplicas: number;
298
- currentReplicas: number;
299
- readyReplicas: number;
300
- updatedReplicas: number;
301
- }
302
- export interface ResourceStatefulSet {
303
- status: ResourceStatefulSetStatus;
304
- }
305
- export interface ResourceSlackMessageStatus {
306
- result: number;
307
- timestamp: Time;
308
- error: any;
309
- }
310
- export interface ResourceSlackMessageSpec {
311
- channelId: string;
312
- message: string;
313
- }
314
- export interface ResourceSlackMessage {
315
- spec: ResourceSlackMessageSpec;
316
- status: ResourceSlackMessageStatus[];
317
- }
318
- export interface ResourceServicePorts {
319
- appProtocol: string;
320
- name: string;
321
- port: number;
322
- protocol: string;
323
- targetPort: IntOrString;
324
- }
325
- export interface ResourceServiceSpec {
326
- type: string;
327
- selector: {
328
- [key: string]: string;
329
- };
330
- ports: ResourceServicePorts[];
331
- clusterIP: string;
332
- clusterIPs: string[];
333
- externalIPs?: string[];
334
- externalName?: string;
335
- ipFamilies: string[];
336
- ipFamilyPolicy: string;
337
- internalTrafficPolicy: string;
338
- externalTrafficPolicy: string;
339
- }
340
- export interface ResourceService {
341
- spec: ResourceServiceSpec;
342
- }
343
- export interface ResourceRouteSlackReceiver {
344
- channelId: string;
345
- }
346
- export interface ResourceRouteReceiver {
347
- slack: ResourceRouteSlackReceiver[];
348
- }
349
- export interface ResourceRouteMessageType {
350
- apiVersion: string;
351
- kind: string;
352
- }
353
- export interface ResourceRouteSpec {
354
- messageType: ResourceRouteMessageType;
355
- receivers: ResourceRouteReceiver;
356
- }
357
- export interface ResourceRoute {
358
- spec: ResourceRouteSpec;
359
- }
360
- export interface ResourceReplicaSetStatus {
361
- availableReplicas: number;
362
- readyReplicas: number;
363
- replicas: number;
364
- }
365
- export interface ResourceReplicaSetSpecSelectorMatchExpressions {
366
- key: string;
367
- operator: string;
368
- values: string[];
369
- }
370
- export interface ResourceReplicaSetSpecSelector {
371
- matchExpressions: ResourceReplicaSetSpecSelectorMatchExpressions[];
372
- matchLabels: {
373
- [key: string]: string;
374
- };
375
- }
376
- export interface ResourceReplicaSetSpec {
377
- replicas: number;
378
- selector: ResourceReplicaSetSpecSelector;
379
- }
380
- export interface ResourceReplicaSet {
381
- spec: ResourceReplicaSetSpec;
382
- status: ResourceReplicaSetStatus;
383
- }
384
- export interface ResourceRbacAssessmentReport {
385
- report: ResourceVulnerabilityReportReport;
386
- }
387
- export interface ResourceProjectSpecRole {
388
- upn: string;
389
- name: string;
390
- role: string;
391
- email: string;
392
- phone: string;
393
- }
394
- export interface ResourceProjectSpec {
395
- projectName: string;
396
- description: string;
397
- active: boolean;
398
- createdTime: string;
399
- updatedTime: string;
400
- roles: ResourceProjectSpecRole[];
401
- workorder: string;
402
- serviceTag: string;
403
- tags: string[];
404
- }
405
- export interface ResourceProject {
406
- spec: ResourceProjectSpec;
407
- }
408
- export interface ResourcePolicyReportSummary {
409
- error: number;
410
- fail: number;
411
- pass: number;
412
- skip: number;
413
- warn: number;
414
- }
415
- export interface ResourcePolicyReportResultsResources {
416
- uid: string;
417
- apiVersion: string;
418
- kind: string;
419
- name: string;
420
- }
421
- export interface ResourcePolicyReportResults {
422
- policy: string;
423
- message: string;
424
- category: string;
425
- properties: {
426
- [key: string]: string;
427
- };
428
- severity: string;
429
- result: string;
430
- resources: ResourcePolicyReportResultsResources[];
431
- }
432
- export interface ResourcePolicyReport {
433
- results: ResourcePolicyReportResults[];
434
- summary: ResourcePolicyReportSummary;
435
- lastReported?: string;
436
- }
437
- export interface ResourcePodStatus {
438
- message?: string;
439
- phase?: string;
440
- reason?: string;
441
- startTime?: string;
442
- }
443
- export interface ResourcePodSpecContainersPorts {
444
- name?: string;
445
- containerPort?: number;
446
- protocol?: string;
447
- }
448
- export interface ResourcePodSpecContainers {
449
- name?: string;
450
- image?: string;
451
- ports?: ResourcePodSpecContainersPorts[];
452
- }
453
- export interface ResourcePodSpec {
454
- containers?: ResourcePodSpecContainers[];
455
- serviceAccountName?: string;
456
- nodeName?: string;
457
- }
458
- export interface ResourcePod {
459
- spec?: ResourcePodSpec;
460
- status?: ResourcePodStatus;
461
- }
462
- export interface ResourcePersistentVolumeClaimStatus {
463
- accessModes: string[];
464
- capacity: {
465
- [key: string]: string;
466
- };
467
- phase: string;
468
- }
469
- export interface ResourcePersistentVolumeClaimSpecResources {
470
- limits?: {
471
- [key: string]: string;
472
- };
473
- requests: {
474
- [key: string]: string;
475
- };
476
- }
477
- export interface ResourcePersistentVolumeClaimSpec {
478
- accessModes: string[];
479
- resources: ResourcePersistentVolumeClaimSpecResources;
480
- storageClassName: string;
481
- volumeMode: string;
482
- volumeName: string;
483
- }
484
- export interface ResourcePersistentVolumeClaim {
485
- spec: ResourcePersistentVolumeClaimSpec;
486
- status: ResourcePersistentVolumeClaimStatus;
487
- }
488
- export interface ResourceNodeStatusNodeinfo {
489
- architecture: string;
490
- bootID: string;
491
- containerRuntimeVersion: string;
492
- kernelVersion: string;
493
- kubeProxyVersion: string;
494
- kubeletVersion: string;
495
- machineID: string;
496
- operatingSystem: string;
497
- osImage: string;
498
- systemUUID: string;
499
- }
500
- export interface ResourceNodeStatusConditions {
501
- lastHeartbeatTime: string;
502
- lastTransitionTime: string;
503
- message: string;
504
- reason: string;
505
- status: string;
506
- type: string;
507
- }
508
- export interface ResourceNodeStatusCapacity {
509
- cpu: string;
510
- ephemeralStorage: string;
511
- memory: string;
512
- pods: string;
513
- }
514
- export interface ResourceNodeStatusAddresses {
515
- address: string;
516
- type: string;
517
- }
518
- export interface ResourceNodeStatus {
519
- addresses: ResourceNodeStatusAddresses[];
520
- capacity: ResourceNodeStatusCapacity;
521
- conditions: ResourceNodeStatusConditions[];
522
- nodeInfo: ResourceNodeStatusNodeinfo;
523
- }
524
- export interface ResourceNodeSpecTaints {
525
- effect: string;
526
- key: string;
527
- }
528
- export interface ResourceNodeSpec {
529
- podCIDR?: string;
530
- podCIDRs?: string[];
531
- providerID?: string;
532
- taints?: ResourceNodeSpecTaints[];
533
- }
534
- export interface ResourceNode {
535
- spec: ResourceNodeSpec;
536
- status: ResourceNodeStatus;
537
- }
538
- export interface ResourceNetworkPolicyCondition {
539
- lastTransitionTime: string;
540
- message: string;
541
- observedGeneration: number;
542
- reason: string;
543
- status: string;
544
- type: string;
545
- }
546
- export interface ResourceNetworkPolicyStatus {
547
- conditions: ResourceNetworkPolicyCondition[];
548
- }
549
- export interface ResourceNetworkPolicyPodSelector {
550
- matchLabels: {
551
- [key: string]: string;
552
- };
553
- }
554
- export interface ResourceNetworkPolicyIngressRule {
555
- from: ResourceNetworkPolicyPeer[];
556
- ports: ResourceNetworkPolicyPort[];
557
- }
558
- export interface ResourceNetworkPolicySelectorExpression {
559
- key: string;
560
- operator: string;
561
- values: string[];
562
- }
563
- export interface ResourceNetworkPolicySelector {
564
- matchExpressions: ResourceNetworkPolicySelectorExpression[];
565
- matchLabels: {
566
- [key: string]: string;
567
- };
568
- }
569
- export interface ResourceNetworkPolicyIpBlock {
570
- cidr: string;
571
- except: string[];
572
- }
573
- export interface ResourceNetworkPolicyPeer {
574
- ipBlock?: ResourceNetworkPolicyIpBlock;
575
- namespaceSelector?: ResourceNetworkPolicySelector;
576
- podSelector?: ResourceNetworkPolicySelector;
577
- }
578
- export interface IntOrString {
579
- Type: number;
580
- IntVal: number;
581
- StrVal: string;
582
- }
583
- export interface ResourceNetworkPolicyPort {
584
- endPort: number;
585
- port: IntOrString;
586
- protocol: string;
587
- }
588
- export interface ResourceNetworkPolicyEgressRule {
589
- ports: ResourceNetworkPolicyPort[];
590
- to: ResourceNetworkPolicyPeer[];
591
- }
592
- export interface ResourceNetworkPolicySpec {
593
- egress: ResourceNetworkPolicyEgressRule[];
594
- ingress: ResourceNetworkPolicyIngressRule[];
595
- podSelector: ResourceNetworkPolicyPodSelector;
596
- policyTypes: string[];
597
- }
598
- export interface ResourceNetworkPolicy {
599
- spec: ResourceNetworkPolicySpec;
600
- status: ResourceNetworkPolicyStatus;
601
- }
602
- export interface ResourceNamespace {
603
- }
604
- export interface KubernetesClusterCondition {
605
- type: string;
606
- status: string;
607
- lastTransitionTime: string;
608
- reason: string;
609
- message: string;
610
- }
611
- export interface KubernetesClusterVersion {
612
- name: string;
613
- version: string;
614
- branch: string;
615
- }
616
- export interface KubernetesClusterAutoscalingConfig {
617
- enabled: boolean;
618
- minReplicas: number;
619
- maxReplicas: number;
620
- }
621
- export interface KubernetesClusterNodePoolStatus {
622
- name: string;
623
- status: string;
624
- message: string;
625
- scale: number;
626
- machineClass: string;
627
- autoscaling: KubernetesClusterAutoscalingConfig;
628
- resources: KubernetesClusterStatusClusterStatusResources;
629
- }
630
- export interface KubernetesClusterControlPlaneStatus {
631
- status: string;
632
- message: string;
633
- scale: number;
634
- machineClass: string;
635
- resources: KubernetesClusterStatusClusterStatusResources;
636
- }
637
- export interface KubernetesClusterStatusPrice {
638
- monthly: number;
639
- yearly: number;
640
- }
641
- export interface Quantity {
642
- Format: string;
643
- }
644
- export interface KubernetesClusterStatusClusterStatusResource {
645
- capacity: Quantity;
646
- used: Quantity;
647
- percentage: number;
553
+ export interface KubernetesClusterStatusClusterStatusResource {
554
+ capacity: Quantity;
555
+ used: Quantity;
556
+ percentage: number;
648
557
  }
649
558
  export interface KubernetesClusterStatusClusterStatusResources {
650
559
  cpu: KubernetesClusterStatusClusterStatusResource;
@@ -662,7 +571,7 @@ export interface KubernetesClusterClusterDetails {
662
571
  export interface KubernetesClusterClusterState {
663
572
  cluster: KubernetesClusterClusterDetails;
664
573
  versions: KubernetesClusterVersion[];
665
- controlplaneendpoint: string;
574
+ endpoints: KubernetesClusterEndpoint[];
666
575
  egressIP: string;
667
576
  lastUpdated: Time;
668
577
  lastUpdatedBy: string;
@@ -673,6 +582,11 @@ export interface KubernetesClusterStatus {
673
582
  phase: string;
674
583
  conditions: KubernetesClusterCondition[];
675
584
  }
585
+ export interface KubernetesClusterTaint {
586
+ key: string;
587
+ value: string;
588
+ effect: string;
589
+ }
676
590
  export interface KubernetesClusterAutoscalingSpec {
677
591
  enabled: boolean;
678
592
  minReplicas: number;
@@ -682,10 +596,12 @@ export interface KubernetesClusterAutoscalingSpec {
682
596
  export interface KubernetesClusterNodePool {
683
597
  machineClass: string;
684
598
  provider: string;
599
+ version: string;
685
600
  name: string;
686
601
  replicas: number;
687
602
  autoscaling: KubernetesClusterAutoscalingSpec;
688
603
  metadata: KubernetesClusterSpecMetadataDetails;
604
+ taint: KubernetesClusterTaint[];
689
605
  }
690
606
  export interface KubernetesClusterWorkers {
691
607
  nodePools: KubernetesClusterNodePool[];
@@ -705,6 +621,7 @@ export interface KubernetesClusterSpecMetadataDetails {
705
621
  }
706
622
  export interface KubernetesClusterSpecControlPlane {
707
623
  replicas: number;
624
+ version: string;
708
625
  provider: string;
709
626
  machineClass: string;
710
627
  metadata: KubernetesClusterSpecMetadataDetails;
@@ -727,171 +644,199 @@ export interface KubernetesClusterSpecData {
727
644
  environment: string;
728
645
  }
729
646
  export interface KubernetesClusterSpec {
730
- data?: KubernetesClusterSpecData;
731
- topology?: KubernetesClusterSpecTopology;
647
+ data: KubernetesClusterSpecData;
648
+ topology: KubernetesClusterSpecTopology;
732
649
  }
733
650
  export interface ResourceKubernetesCluster {
734
651
  spec: KubernetesClusterSpec;
735
652
  status?: KubernetesClusterStatus;
736
653
  }
737
- export interface ResourceIngressStatusLoadBalancerIngress {
738
- hostname: string;
739
- ip: string;
654
+ export interface ResourceVirtualMachineClassSpecHardwareInstanceStorage {
655
+ storageClass: string;
740
656
  }
741
- export interface ResourceIngressStatusLoadBalancer {
742
- ingress: ResourceIngressStatusLoadBalancerIngress[];
657
+ export interface ResourceVirtualMachineClassSpecHardware {
658
+ cpus: number;
659
+ instanceStorage: ResourceVirtualMachineClassSpecHardwareInstanceStorage;
660
+ }
661
+ export interface ResourceVirtualMachineClassSpec {
662
+ description: string;
663
+ hardware: ResourceVirtualMachineClassSpecHardware;
743
664
  }
744
- export interface ResourceIngressStatus {
745
- loadBalancer: ResourceIngressStatusLoadBalancer;
665
+ export interface ResourceVirtualMachineClass {
666
+ spec: ResourceVirtualMachineClassSpec;
667
+ status: {
668
+ [key: string]: string;
669
+ };
746
670
  }
747
- export interface ResourceIngressSpecTls {
748
- hosts: string[];
749
- secretName: string;
671
+ export interface ResourceTanzuKubernetesReleaseStatusCondition {
672
+ lastTransitionTime: string;
673
+ message: string;
674
+ reason: string;
675
+ severity: string;
676
+ status: string;
677
+ type: string;
750
678
  }
751
- export interface ResourceIngressSpecRulesHttpPaths {
752
- backend: ResourceIngressSpecRulesHttpPathsBackend;
753
- path: string;
754
- pathType: string;
679
+ export interface ResourceTanzuKubernetesReleaseStatus {
680
+ conditions: ResourceTanzuKubernetesReleaseStatusCondition[];
755
681
  }
756
- export interface ResourceIngressSpecRulesHttp {
757
- paths: ResourceIngressSpecRulesHttpPaths[];
682
+ export interface ResourceTanzuKubernetesReleaseSpecNodeImageRef {
683
+ apiVersion: string;
684
+ fieldPath: string;
685
+ kind: string;
686
+ namespace: string;
687
+ uid: string;
758
688
  }
759
- export interface ResourceIngressSpecRules {
760
- apiGroup: string;
761
- http: ResourceIngressSpecRulesHttp;
689
+ export interface ResourceTanzuKubernetesReleaseSpecImage {
690
+ name: string;
691
+ repository: string;
692
+ tag: string;
762
693
  }
763
- export interface ResourceIngressSpecBackendServicePort {
764
- name?: string;
765
- number?: number;
694
+ export interface ResourceTanzuKubernetesReleaseSpec {
695
+ images: ResourceTanzuKubernetesReleaseSpecImage[];
696
+ kubernetesVersion: string;
697
+ nodeImageRef: ResourceTanzuKubernetesReleaseSpecNodeImageRef;
698
+ repository: string;
699
+ version: string;
766
700
  }
767
- export interface ResourceIngressSpecBackendService {
768
- name?: string;
769
- port?: ResourceIngressSpecBackendServicePort;
701
+ export interface ResourceTanzuKubernetesRelease {
702
+ spec: ResourceTanzuKubernetesReleaseSpec;
703
+ status: ResourceTanzuKubernetesReleaseStatus;
770
704
  }
771
- export interface ResourceIngressSpecBackendResource {
772
- apiGroup?: string;
773
- kind?: string;
774
- name?: string;
705
+ export interface ResourceTanzuKubernetesClusterStatusConditions {
706
+ lastTransitionTime: string;
707
+ message: string;
708
+ reason: string;
709
+ severity: string;
710
+ status: string;
711
+ type: string;
775
712
  }
776
- export interface ResourceIngressSpecRulesHttpPathsBackend {
777
- resource?: ResourceIngressSpecBackendResource;
778
- service?: ResourceIngressSpecBackendService;
713
+ export interface ResourceTanzuKubernetesClusterStatusAPIEndpoints {
714
+ host: string;
715
+ port: number;
779
716
  }
780
- export interface ResourceIngressSpec {
781
- defaultBackend?: ResourceIngressSpecRulesHttpPathsBackend;
782
- ingressClassName: string;
783
- rules: ResourceIngressSpecRules[];
784
- tls: ResourceIngressSpecTls[];
717
+ export interface ResourceTanzuKubernetesClusterStatus {
718
+ apiEndpoints: ResourceTanzuKubernetesClusterStatusAPIEndpoints[];
719
+ conditions: ResourceTanzuKubernetesClusterStatusConditions[];
720
+ phase: string;
721
+ totalWorkerReplicas: number;
722
+ version: string;
785
723
  }
786
- export interface ResourceIngress {
787
- spec: ResourceIngressSpec;
788
- status: ResourceIngressStatus;
724
+ export interface ResourceTanzuKubernetesClusterSpecTopologyNodePoolsVolumes {
725
+ capasity: {
726
+ [key: string]: string;
727
+ };
728
+ mountPath: string;
729
+ name: string;
730
+ storageClass: string;
789
731
  }
790
- export interface ResourceIngressClassSpecParameters {
791
- apiGroup: string;
732
+ export interface ResourceTanzuKubernetesClusterSpecTopologyNodePoolsTkrReference {
733
+ fieldPath: string;
792
734
  kind: string;
793
735
  name: string;
794
736
  namespace: string;
795
- scope: string;
737
+ uid: string;
796
738
  }
797
- export interface ResourceIngressClassSpec {
798
- controller: string;
799
- parameters: ResourceIngressClassSpecParameters;
739
+ export interface ResourceTanzuKubernetesClusterSpecTopologyNodePoolsTkr {
740
+ reference: ResourceTanzuKubernetesClusterSpecTopologyNodePoolsTkrReference;
800
741
  }
801
- export interface ResourceIngressClass {
802
- spec: ResourceIngressClassSpec;
742
+ export interface ResourceTanzuKubernetesClusterSpecTopologyNodePoolsTaints {
743
+ effect: string;
744
+ key: string;
745
+ timeAdded: string;
746
+ value: string;
803
747
  }
804
- export interface ResourceExposedSecretReport {
805
- report: ResourceVulnerabilityReportReport;
748
+ export interface ResourceTanzuKubernetesClusterSpecTopologyNodePools {
749
+ failureDomain: string;
750
+ labels: {
751
+ [key: string]: string;
752
+ };
753
+ name: string;
754
+ nodeDrainTimeout: string;
755
+ replicas: number;
756
+ storageClass: string;
757
+ taints: ResourceTanzuKubernetesClusterSpecTopologyNodePoolsTaints[];
758
+ tkr: ResourceTanzuKubernetesClusterSpecTopologyNodePoolsTkr;
759
+ vmClass: string;
760
+ volumes: ResourceTanzuKubernetesClusterSpecTopologyNodePoolsVolumes[];
806
761
  }
807
- export interface ResourceEndpointSpecSubsetsPorts {
808
- appProtocol?: string;
809
- name?: string;
810
- port?: number;
811
- protocol?: string;
762
+ export interface ResourceTanzuKubernetesClusterSpecTopologyControlPlaneTkrReference {
763
+ name: string;
764
+ kind: string;
765
+ namespace: string;
766
+ uid: string;
812
767
  }
813
- export interface ResourceEndpointSpecSubsetsNotReadyAddressesTargetRef {
814
- apiVersion?: string;
815
- fieldPath?: string;
816
- kind?: string;
817
- name?: string;
818
- namespace?: string;
819
- resourceVersion?: string;
820
- uid?: string;
768
+ export interface ResourceTanzuKubernetesClusterSpecTopologyControlPlaneTkr {
769
+ reference: ResourceTanzuKubernetesClusterSpecTopologyControlPlaneTkrReference;
821
770
  }
822
- export interface ResourceEndpointSpecSubsetsNotReadyAddresses {
823
- hostname?: string;
824
- ip?: string;
825
- nodeName?: string;
826
- targetRef?: ResourceEndpointSpecSubsetsNotReadyAddressesTargetRef;
771
+ export interface ResourceTanzuKubernetesClusterSpecTopologyControlPlane {
772
+ nodeDrainTimeout: string;
773
+ replicas: number;
774
+ storageClass: string;
775
+ tkr: ResourceTanzuKubernetesClusterSpecTopologyControlPlaneTkr;
776
+ vmClass: string;
827
777
  }
828
- export interface ResourceEndpointSpecSubsetsAddressesTargetRef {
829
- apiVersion?: string;
830
- fieldPath?: string;
831
- kind?: string;
832
- name?: string;
833
- namespace?: string;
834
- resourceVersion?: string;
835
- uid?: string;
778
+ export interface ResourceTanzuKubernetesClusterSpecTopology {
779
+ controlPlane: ResourceTanzuKubernetesClusterSpecTopologyControlPlane;
780
+ nodePools: ResourceTanzuKubernetesClusterSpecTopologyNodePools[];
836
781
  }
837
- export interface ResourceEndpointSpecSubsetsAddresses {
838
- hostname?: string;
839
- ip?: string;
840
- nodeName?: string;
841
- targetRef?: ResourceEndpointSpecSubsetsAddressesTargetRef;
782
+ export interface ResourceTanzuKubernetesClusterSpecSettingsStorage {
783
+ classes: string[];
784
+ defaultClass: string;
842
785
  }
843
- export interface ResourceEndpointSpecSubsets {
844
- addresses?: ResourceEndpointSpecSubsetsAddresses[];
845
- notReadyAddresses?: ResourceEndpointSpecSubsetsNotReadyAddresses[];
846
- ports?: ResourceEndpointSpecSubsetsPorts[];
786
+ export interface ResourceTanzuKubernetesClusterSpecSettingsNetworkTrustAdditionalTrustedCA {
787
+ data: string;
788
+ name: string;
847
789
  }
848
- export interface ResourceEndpoints {
849
- subsets?: ResourceEndpointSpecSubsets[];
790
+ export interface ResourceTanzuKubernetesClusterSpecSettingsNetworkTrust {
791
+ additionalTrustedCAs: ResourceTanzuKubernetesClusterSpecSettingsNetworkTrustAdditionalTrustedCA[];
850
792
  }
851
- export interface ResourceDeploymentStatus {
852
- replicas: number;
853
- availableReplicas: number;
854
- readyReplicas: number;
855
- updatedReplicas: number;
793
+ export interface ResourceTanzuKubernetesClusterSpecSettingsNetworkServices {
794
+ cidrBlocks: string[];
856
795
  }
857
- export interface ResourceDeployment {
858
- status: ResourceDeploymentStatus;
796
+ export interface ResourceTanzuKubernetesClusterSpecSettingsNetworkProxy {
797
+ httpProxy: string;
798
+ httpsProxy: string;
799
+ noProxy: string;
859
800
  }
860
- export interface DatacenterLocation {
861
- id: string;
862
- region: string;
863
- country: string;
801
+ export interface ResourceTanzuKubernetesClusterSpecSettingsNetworkPods {
802
+ cidrBlocks: string[];
864
803
  }
865
- export interface Datacenter {
866
- id: string;
804
+ export interface ResourceTanzuKubernetesClusterSpecSettingsNetworkCni {
867
805
  name: string;
868
- provider: string;
869
- location: DatacenterLocation;
870
- apiEndpoint: string;
871
806
  }
872
- export interface ResourceDatacenter {
873
- spec: ResourceDaemonSetStatus;
874
- legacy: Datacenter;
807
+ export interface ResourceTanzuKubernetesClusterSpecSettingsNetwork {
808
+ cni: ResourceTanzuKubernetesClusterSpecSettingsNetworkCni;
809
+ pods: ResourceTanzuKubernetesClusterSpecSettingsNetworkPods;
810
+ proxy: ResourceTanzuKubernetesClusterSpecSettingsNetworkProxy;
811
+ serviceDomain: string;
812
+ services: ResourceTanzuKubernetesClusterSpecSettingsNetworkServices;
813
+ trust: ResourceTanzuKubernetesClusterSpecSettingsNetworkTrust;
875
814
  }
876
- export interface ResourceDaemonSetStatus {
877
- numberReady: number;
878
- numberUnavailable: number;
879
- currentReplicas: number;
880
- numberAvailable: number;
881
- updatedNumberScheduled: number;
882
- desiredNumberScheduled: number;
883
- currentNumberScheduled: number;
815
+ export interface ResourceTanzuKubernetesClusterSpecSettings {
816
+ network: ResourceTanzuKubernetesClusterSpecSettingsNetwork;
817
+ storage: ResourceTanzuKubernetesClusterSpecSettingsStorage;
884
818
  }
885
- export interface ResourceDaemonSet {
886
- status: ResourceDaemonSetStatus;
819
+ export interface ResourceTanzuKubernetesClusterSpecDistribution {
820
+ fullVersion: string;
821
+ version: string;
887
822
  }
888
- export interface ResourceConfigurationSpec {
889
- type: string;
890
- b64enc: boolean;
891
- data: string;
823
+ export interface ResourceTanuzKuberntesClusterSpec {
824
+ distribution: ResourceTanzuKubernetesClusterSpecDistribution;
825
+ settings: ResourceTanzuKubernetesClusterSpecSettings;
826
+ topology: ResourceTanzuKubernetesClusterSpecTopology;
892
827
  }
893
- export interface ResourceConfiguration {
894
- spec: ResourceConfigurationSpec;
828
+ export interface ResourceTanzuKubernetesCluster {
829
+ spec: ResourceTanuzKuberntesClusterSpec;
830
+ status?: ResourceTanzuKubernetesClusterStatus;
831
+ }
832
+ export interface ResourceRbacAssessmentReport {
833
+ report: ResourceVulnerabilityReportReport;
834
+ }
835
+ export interface ResourceConfigAuditReport {
836
+ report: ResourceVulnerabilityReportReport;
837
+ }
838
+ export interface ResourceExposedSecretReport {
839
+ report: ResourceVulnerabilityReportReport;
895
840
  }
896
841
  export interface ResourceVulnerabilityReportReportVulnerability {
897
842
  vulnerabilityID: string;
@@ -927,208 +872,205 @@ export interface ResourceVulnerabilityReportReport {
927
872
  updateTimestamp: string;
928
873
  vulnerabilities: ResourceVulnerabilityReportReportVulnerability[];
929
874
  }
930
- export interface ResourceConfigAuditReport {
875
+ export interface ResourceVulnerabilityReport {
931
876
  report: ResourceVulnerabilityReportReport;
932
877
  }
933
- export interface ResourceClusterVulnerabilityReportReportStatus {
934
- status: VulnerabilityStatus;
935
- until?: Time;
936
- reason?: VulnerabilityDismissalReason;
937
- comment?: string;
938
- riskAssessment?: string;
939
- }
940
- export interface ResourceClusterVulnerabilityReportReportOwner {
941
- digest: string;
942
- repository: string;
943
- tag: string;
944
- resource: string;
945
- installedVersion: string;
946
- fixedVersion: string;
878
+ export interface ResourceIngressClassSpecParameters {
879
+ apiGroup: string;
880
+ kind: string;
881
+ name: string;
947
882
  namespace: string;
948
- ownerReferences: OwnerReference[];
883
+ scope: string;
949
884
  }
950
- export interface ResourceClusterVulnerabilityReportReport {
951
- severity: string;
952
- score: number;
953
- title: string;
954
- primaryLink: string;
955
- firstObserved: Time;
956
- lastObserved: Time;
957
- owners: ResourceClusterVulnerabilityReportReportOwner[];
958
- status: ResourceClusterVulnerabilityReportReportStatus;
885
+ export interface ResourceIngressClassSpec {
886
+ controller: string;
887
+ parameters: ResourceIngressClassSpecParameters;
959
888
  }
960
- export interface ResourceClusterVulnerabilityReportSummary {
961
- critical: number;
962
- high: number;
963
- medium: number;
964
- low: number;
965
- unknown: number;
889
+ export interface ResourceIngressClass {
890
+ spec: ResourceIngressClassSpec;
966
891
  }
967
- export interface ResourceClusterVulnerabilityReport {
968
- summary: ResourceClusterVulnerabilityReportSummary;
969
- report: {
970
- [key: string]: ResourceClusterVulnerabilityReportReport;
971
- };
892
+ export interface ResourceIngressStatusLoadBalancerIngress {
893
+ hostname: string;
894
+ ip: string;
972
895
  }
973
- export interface ResourceKubernetesClusterOrderStatusCondition {
974
- type: string;
975
- status: string;
976
- lastTransitionTime: string;
977
- reason: string;
978
- message: string;
896
+ export interface ResourceIngressStatusLoadBalancer {
897
+ ingress: ResourceIngressStatusLoadBalancerIngress[];
979
898
  }
980
- export interface ResourceClusterOrderStatus {
981
- status: string;
982
- phase: string;
983
- conditions: ResourceKubernetesClusterOrderStatusCondition[];
984
- createdTime: string;
985
- updatedTime: string;
986
- lastObservedTime: string;
899
+ export interface ResourceIngressStatus {
900
+ loadBalancer: ResourceIngressStatusLoadBalancer;
987
901
  }
988
- export interface ResourceClusterOrderSpecNodePool {
989
- name: string;
990
- machineClass: string;
991
- count: number;
902
+ export interface ResourceIngressSpecTls {
903
+ hosts: string[];
904
+ secretName: string;
992
905
  }
993
- export interface ResourceClusterOrderSpec {
994
- provider: string;
995
- clusterName: string;
996
- projectId: string;
997
- orderBy: string;
998
- environment: number;
999
- criticality: number;
1000
- sensitivity: number;
1001
- highAvailability: boolean;
1002
- nodePools: ResourceClusterOrderSpecNodePool[];
1003
- serviceTags?: {
1004
- [key: string]: string;
1005
- };
1006
- providerConfig?: {
1007
- [key: string]: any;
1008
- };
1009
- ownerGroup: string;
906
+ export interface ResourceIngressSpecRulesHttpPaths {
907
+ backend: ResourceIngressSpecRulesHttpPathsBackend;
908
+ path: string;
909
+ pathType: string;
1010
910
  }
1011
- export interface ResourceClusterOrder {
1012
- spec: ResourceClusterOrderSpec;
1013
- status: ResourceClusterOrderStatus;
911
+ export interface ResourceIngressSpecRulesHttp {
912
+ paths: ResourceIngressSpecRulesHttpPaths[];
1014
913
  }
1015
- export interface ResourceClusterComplianceReport {
914
+ export interface ResourceIngressSpecRules {
915
+ apiGroup: string;
916
+ http: ResourceIngressSpecRulesHttp;
1016
917
  }
1017
- export interface ResourceCertificateStatusCondition {
1018
- lastTransitionTime: string;
1019
- observedGeneration: number;
1020
- message: string;
1021
- reason: string;
1022
- status: string;
1023
- type: string;
918
+ export interface ResourceIngressSpecBackendServicePort {
919
+ name?: string;
920
+ number?: number;
1024
921
  }
1025
- export interface ResourceCertificateStatus {
1026
- notBefore: string;
1027
- notAfter: string;
1028
- renewalTime: string;
1029
- conditions: ResourceCertificateStatusCondition[];
922
+ export interface ResourceIngressSpecBackendService {
923
+ name?: string;
924
+ port?: ResourceIngressSpecBackendServicePort;
1030
925
  }
1031
- export interface ResourceCertificateSpecIssuerref {
1032
- group: string;
1033
- kind: string;
1034
- name: string;
926
+ export interface ResourceIngressSpecBackendResource {
927
+ apiGroup?: string;
928
+ kind?: string;
929
+ name?: string;
1035
930
  }
1036
- export interface ResourceCertificateSpec {
1037
- dnsNames: string[];
1038
- secretName: string;
1039
- issuerRef: ResourceCertificateSpecIssuerref;
1040
- usages?: string[];
931
+ export interface ResourceIngressSpecRulesHttpPathsBackend {
932
+ resource?: ResourceIngressSpecBackendResource;
933
+ service?: ResourceIngressSpecBackendService;
1041
934
  }
1042
- export interface ResourceCertificate {
1043
- spec: ResourceCertificateSpec;
1044
- status: ResourceCertificateStatus;
935
+ export interface ResourceIngressSpec {
936
+ defaultBackend?: ResourceIngressSpecRulesHttpPathsBackend;
937
+ ingressClassName: string;
938
+ rules: ResourceIngressSpecRules[];
939
+ tls: ResourceIngressSpecTls[];
1045
940
  }
1046
- export interface ResourceBackupJobSpec {
1047
- name: string;
1048
- status: string;
1049
- policyId: string;
1050
- schedules: ResourceBackupSchedule[];
1051
- activeTargets: ResourceBackupTarget[];
1052
- indirectBackupTargets: ResourceIndirectBackupTarget[];
1053
- backupDestinations: ResourceBackupDestination[];
941
+ export interface ResourceIngress {
942
+ spec: ResourceIngressSpec;
943
+ status: ResourceIngressStatus;
1054
944
  }
1055
- export interface ResourceBackupStorage {
1056
- unit: string;
1057
- sourceSize: number;
1058
- logicalSize: number;
1059
- physicalSize: number;
945
+ export interface ResourceDaemonSetStatus {
946
+ numberReady: number;
947
+ numberUnavailable: number;
948
+ currentReplicas: number;
949
+ numberAvailable: number;
950
+ updatedNumberScheduled: number;
951
+ desiredNumberScheduled: number;
952
+ currentNumberScheduled: number;
1060
953
  }
1061
- export interface ResourceBackupRunDestination {
1062
- name: string;
1063
- id: string;
1064
- type: string;
1065
- status: string;
1066
- expiryTime: Time;
954
+ export interface ResourceDaemonSet {
955
+ status: ResourceDaemonSetStatus;
1067
956
  }
1068
- export interface ResourceBackupRun {
1069
- id: string;
1070
- backupTargets: ResourceBackupTarget[];
1071
- backupDestinations: ResourceBackupRunDestination[];
1072
- startTime: Time;
1073
- endTime: Time;
1074
- expiryTime: Time;
1075
- backupStorage: ResourceBackupStorage;
957
+ export interface ResourceStatefulSetStatus {
958
+ replicas: number;
959
+ availableReplicas: number;
960
+ currentReplicas: number;
961
+ readyReplicas: number;
962
+ updatedReplicas: number;
1076
963
  }
1077
- export interface ResourceBackupDestination {
1078
- name: string;
1079
- id: string;
1080
- type: string;
1081
- status: string;
964
+ export interface ResourceStatefulSet {
965
+ status: ResourceStatefulSetStatus;
1082
966
  }
1083
- export interface ResourceIndirectBackupTarget {
1084
- type: string;
1085
- ids: string[];
1086
- keyValues: {
1087
- [key: string]: string[];
967
+ export interface ResourceReplicaSetStatus {
968
+ availableReplicas: number;
969
+ readyReplicas: number;
970
+ replicas: number;
971
+ }
972
+ export interface ResourceReplicaSetSpecSelectorMatchExpressions {
973
+ key: string;
974
+ operator: string;
975
+ values: string[];
976
+ }
977
+ export interface ResourceReplicaSetSpecSelector {
978
+ matchExpressions: ResourceReplicaSetSpecSelectorMatchExpressions[];
979
+ matchLabels: {
980
+ [key: string]: string;
1088
981
  };
1089
982
  }
1090
- export interface ResourceBackupSource {
983
+ export interface ResourceReplicaSetSpec {
984
+ replicas: number;
985
+ selector: ResourceReplicaSetSpecSelector;
986
+ }
987
+ export interface ResourceReplicaSet {
988
+ spec: ResourceReplicaSetSpec;
989
+ status: ResourceReplicaSetStatus;
990
+ }
991
+ export interface ResourcePodStatus {
992
+ message?: string;
993
+ phase?: string;
994
+ reason?: string;
995
+ startTime?: string;
996
+ }
997
+ export interface ResourcePodSpecContainersPorts {
998
+ name?: string;
999
+ containerPort?: number;
1000
+ protocol?: string;
1001
+ }
1002
+ export interface ResourcePodSpecContainers {
1003
+ name?: string;
1004
+ image?: string;
1005
+ ports?: ResourcePodSpecContainersPorts[];
1006
+ }
1007
+ export interface ResourcePodSpec {
1008
+ containers?: ResourcePodSpecContainers[];
1009
+ serviceAccountName?: string;
1010
+ nodeName?: string;
1011
+ }
1012
+ export interface ResourcePod {
1013
+ spec?: ResourcePodSpec;
1014
+ status?: ResourcePodStatus;
1015
+ }
1016
+ export interface IntOrString {
1017
+ Type: number;
1018
+ IntVal: number;
1019
+ StrVal: string;
1020
+ }
1021
+ export interface ResourceServicePorts {
1022
+ appProtocol: string;
1091
1023
  name: string;
1092
- id: string;
1093
- uuid: string;
1024
+ port: number;
1025
+ protocol: string;
1026
+ targetPort: IntOrString;
1027
+ }
1028
+ export interface ResourceServiceSpec {
1094
1029
  type: string;
1030
+ selector: {
1031
+ [key: string]: string;
1032
+ };
1033
+ ports: ResourceServicePorts[];
1034
+ clusterIP: string;
1035
+ clusterIPs: string[];
1036
+ externalIPs?: string[];
1037
+ externalName?: string;
1038
+ ipFamilies: string[];
1039
+ ipFamilyPolicy: string;
1040
+ internalTrafficPolicy: string;
1041
+ externalTrafficPolicy: string;
1095
1042
  }
1096
- export interface ResourceBackupTarget {
1097
- name: string;
1098
- id: string;
1099
- externalId: string;
1100
- source?: ResourceBackupSource;
1043
+ export interface ResourceService {
1044
+ spec: ResourceServiceSpec;
1101
1045
  }
1102
- export interface ResourceBackupRetention {
1103
- unit: string;
1104
- duration: number;
1046
+ export interface ResourceCertificateStatusCondition {
1047
+ lastTransitionTime: string;
1048
+ observedGeneration: number;
1049
+ message: string;
1050
+ reason: string;
1051
+ status: string;
1052
+ type: string;
1105
1053
  }
1106
- export interface ResourceBackupSchedule {
1107
- startTime: string;
1108
- endTime: string;
1109
- frequency: number;
1110
- unit: string;
1111
- retention: ResourceBackupRetention;
1054
+ export interface ResourceCertificateStatus {
1055
+ notBefore: string;
1056
+ notAfter: string;
1057
+ renewalTime: string;
1058
+ conditions: ResourceCertificateStatusCondition[];
1112
1059
  }
1113
- export interface ResourceBackupJobStatus {
1060
+ export interface ResourceCertificateSpecIssuerref {
1061
+ group: string;
1062
+ kind: string;
1114
1063
  name: string;
1115
- status: string;
1116
- policyId: string;
1117
- schedules: ResourceBackupSchedule[];
1118
- activeTargets: ResourceBackupTarget[];
1119
- indirectBackupTargets: ResourceIndirectBackupTarget[];
1120
- backupDestinations: ResourceBackupDestination[];
1121
- location: string;
1122
- lastUpdated: Time;
1123
- policyName: string;
1124
- runs: ResourceBackupRun[];
1125
1064
  }
1126
- export interface ResourceBackupJob {
1127
- id: string;
1128
- provider: string;
1129
- source: string;
1130
- status: ResourceBackupJobStatus;
1131
- spec: ResourceBackupJobSpec;
1065
+ export interface ResourceCertificateSpec {
1066
+ dnsNames: string[];
1067
+ secretName: string;
1068
+ issuerRef: ResourceCertificateSpecIssuerref;
1069
+ usages?: string[];
1070
+ }
1071
+ export interface ResourceCertificate {
1072
+ spec: ResourceCertificateSpec;
1073
+ status: ResourceCertificateStatus;
1132
1074
  }
1133
1075
  export interface ResourceAppProjectSpec {
1134
1076
  description: string;
@@ -1200,6 +1142,128 @@ export interface ResourceApplication {
1200
1142
  spec: ResourceApplicationSpec;
1201
1143
  status: ResourceApplicationStatus;
1202
1144
  }
1145
+ export interface ResourcePolicyReportSummary {
1146
+ error: number;
1147
+ fail: number;
1148
+ pass: number;
1149
+ skip: number;
1150
+ warn: number;
1151
+ }
1152
+ export interface ResourcePolicyReportResultsResources {
1153
+ uid: string;
1154
+ apiVersion: string;
1155
+ kind: string;
1156
+ name: string;
1157
+ }
1158
+ export interface ResourcePolicyReportResults {
1159
+ policy: string;
1160
+ message: string;
1161
+ category: string;
1162
+ properties: {
1163
+ [key: string]: string;
1164
+ };
1165
+ severity: string;
1166
+ result: string;
1167
+ resources: ResourcePolicyReportResultsResources[];
1168
+ }
1169
+ export interface ResourcePolicyReport {
1170
+ results: ResourcePolicyReportResults[];
1171
+ summary: ResourcePolicyReportSummary;
1172
+ lastReported?: string;
1173
+ }
1174
+ export interface ResourceStorageClass {
1175
+ allowVolumeExpansion: boolean;
1176
+ provisioner: string;
1177
+ reclaimPolicy: string;
1178
+ volumeBindingMode: string;
1179
+ }
1180
+ export interface ResourceDeploymentStatus {
1181
+ replicas: number;
1182
+ availableReplicas: number;
1183
+ readyReplicas: number;
1184
+ updatedReplicas: number;
1185
+ }
1186
+ export interface ResourceDeployment {
1187
+ status: ResourceDeploymentStatus;
1188
+ }
1189
+ export interface ResourcePersistentVolumeClaimStatus {
1190
+ accessModes: string[];
1191
+ capacity: {
1192
+ [key: string]: string;
1193
+ };
1194
+ phase: string;
1195
+ }
1196
+ export interface ResourcePersistentVolumeClaimSpecResources {
1197
+ limits?: {
1198
+ [key: string]: string;
1199
+ };
1200
+ requests: {
1201
+ [key: string]: string;
1202
+ };
1203
+ }
1204
+ export interface ResourcePersistentVolumeClaimSpec {
1205
+ accessModes: string[];
1206
+ resources: ResourcePersistentVolumeClaimSpecResources;
1207
+ storageClassName: string;
1208
+ volumeMode: string;
1209
+ volumeName: string;
1210
+ }
1211
+ export interface ResourcePersistentVolumeClaim {
1212
+ spec: ResourcePersistentVolumeClaimSpec;
1213
+ status: ResourcePersistentVolumeClaimStatus;
1214
+ }
1215
+ export interface ResourceNodeStatusNodeinfo {
1216
+ architecture: string;
1217
+ bootID: string;
1218
+ containerRuntimeVersion: string;
1219
+ kernelVersion: string;
1220
+ kubeProxyVersion: string;
1221
+ kubeletVersion: string;
1222
+ machineID: string;
1223
+ operatingSystem: string;
1224
+ osImage: string;
1225
+ systemUUID: string;
1226
+ }
1227
+ export interface ResourceNodeStatusConditions {
1228
+ lastHeartbeatTime: string;
1229
+ lastTransitionTime: string;
1230
+ message: string;
1231
+ reason: string;
1232
+ status: string;
1233
+ type: string;
1234
+ }
1235
+ export interface ResourceNodeStatusCapacity {
1236
+ cpu: string;
1237
+ ephemeralStorage: string;
1238
+ memory: string;
1239
+ pods: string;
1240
+ }
1241
+ export interface ResourceNodeStatusAddresses {
1242
+ address: string;
1243
+ type: string;
1244
+ }
1245
+ export interface ResourceNodeStatus {
1246
+ addresses: ResourceNodeStatusAddresses[];
1247
+ capacity: ResourceNodeStatusCapacity;
1248
+ conditions: ResourceNodeStatusConditions[];
1249
+ nodeInfo: ResourceNodeStatusNodeinfo;
1250
+ }
1251
+ export interface ResourceNodeSpecTaints {
1252
+ effect: string;
1253
+ key: string;
1254
+ }
1255
+ export interface ResourceNodeSpec {
1256
+ podCIDR?: string;
1257
+ podCIDRs?: string[];
1258
+ providerID?: string;
1259
+ taints?: ResourceNodeSpecTaints[];
1260
+ }
1261
+ export interface ResourceNode {
1262
+ spec: ResourceNodeSpec;
1263
+ status: ResourceNodeStatus;
1264
+ }
1265
+ export interface ResourceNamespace {
1266
+ }
1203
1267
  export interface ResourceTag {
1204
1268
  key: string;
1205
1269
  value: string;
@@ -1267,43 +1331,46 @@ export interface Resource {
1267
1331
  apiVersion?: string;
1268
1332
  metadata?: ObjectMeta;
1269
1333
  rormeta: ResourceRorMeta;
1270
- application?: ResourceApplication;
1271
- appproject?: ResourceAppProject;
1272
- backupjob?: ResourceBackupJob;
1273
- certificate?: ResourceCertificate;
1274
- clustercompliancereport?: ResourceClusterComplianceReport;
1275
- clusterorder?: ResourceClusterOrder;
1276
- clustervulnerabilityreport?: ResourceClusterVulnerabilityReport;
1277
- configauditreport?: ResourceConfigAuditReport;
1278
- configuration?: ResourceConfiguration;
1279
- daemonset?: ResourceDaemonSet;
1280
- datacenter?: ResourceDatacenter;
1281
- deployment?: ResourceDeployment;
1282
- endpoints?: ResourceEndpoints;
1283
- exposedsecretreport?: ResourceExposedSecretReport;
1284
- ingressclass?: ResourceIngressClass;
1285
- ingress?: ResourceIngress;
1286
- kubernetescluster?: ResourceKubernetesCluster;
1287
1334
  namespace?: ResourceNamespace;
1288
- networkpolicy?: ResourceNetworkPolicy;
1289
1335
  node?: ResourceNode;
1290
1336
  persistentvolumeclaim?: ResourcePersistentVolumeClaim;
1291
- pod?: ResourcePod;
1337
+ deployment?: ResourceDeployment;
1338
+ storageclass?: ResourceStorageClass;
1292
1339
  policyreport?: ResourcePolicyReport;
1293
- project?: ResourceProject;
1294
- rbacassessmentreport?: ResourceRbacAssessmentReport;
1295
- replicaset?: ResourceReplicaSet;
1296
- route?: ResourceRoute;
1340
+ application?: ResourceApplication;
1341
+ appproject?: ResourceAppProject;
1342
+ certificate?: ResourceCertificate;
1297
1343
  service?: ResourceService;
1298
- slackmessage?: ResourceSlackMessage;
1344
+ pod?: ResourcePod;
1345
+ replicaset?: ResourceReplicaSet;
1299
1346
  statefulset?: ResourceStatefulSet;
1300
- storageclass?: ResourceStorageClass;
1347
+ daemonset?: ResourceDaemonSet;
1348
+ ingress?: ResourceIngress;
1349
+ ingressclass?: ResourceIngressClass;
1350
+ vulnerabilityreport?: ResourceVulnerabilityReport;
1351
+ exposedsecretreport?: ResourceExposedSecretReport;
1352
+ configauditreport?: ResourceConfigAuditReport;
1353
+ rbacassessmentreport?: ResourceRbacAssessmentReport;
1301
1354
  tanzukubernetescluster?: ResourceTanzuKubernetesCluster;
1302
1355
  tanzukubernetesrelease?: ResourceTanzuKubernetesRelease;
1303
1356
  virtualmachineclass?: ResourceVirtualMachineClass;
1304
- virtualmachine?: ResourceVirtualMachine;
1357
+ kubernetescluster?: ResourceKubernetesCluster;
1358
+ provider?: ResourceProvider;
1359
+ workspace?: ResourceWorkspace;
1360
+ kubernetesmachineclass?: ResourceKubernetesMachineClass;
1361
+ clusterorder?: ResourceClusterOrder;
1362
+ project?: ResourceProject;
1363
+ configuration?: ResourceConfiguration;
1364
+ clustercompliancereport?: ResourceClusterComplianceReport;
1365
+ clustervulnerabilityreport?: ResourceClusterVulnerabilityReport;
1366
+ route?: ResourceRoute;
1367
+ slackmessage?: ResourceSlackMessage;
1305
1368
  vulnerabilityevent?: ResourceVulnerabilityEvent;
1306
- vulnerabilityreport?: ResourceVulnerabilityReport;
1369
+ virtualmachine?: ResourceVirtualMachine;
1370
+ endpoints?: ResourceEndpoints;
1371
+ networkpolicy?: ResourceNetworkPolicy;
1372
+ datacenter?: ResourceDatacenter;
1373
+ backupjob?: ResourceBackupJob;
1307
1374
  }
1308
1375
  export interface ResourceSet {
1309
1376
  resources?: Resource[];