@rork8s/ror-resources 1.2.0-rc11 → 1.2.0-rc13

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,211 +12,15 @@ export declare enum VulnerabilityDismissalReason {
12
12
  export declare enum ResourceTagProperties {
13
13
  color = "color"
14
14
  }
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[];
23
- }
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 DatacenterLocation {
103
- id: string;
104
- region: string;
105
- country: string;
106
- }
107
- export interface Datacenter {
108
- id: string;
109
- name: string;
110
- provider: string;
111
- location: DatacenterLocation;
112
- apiEndpoint: string;
113
- }
114
- export interface ResourceDatacenter {
115
- spec: ResourceDaemonSetStatus;
116
- legacy: Datacenter;
15
+ export interface ResourceVulnerabilityReport {
16
+ report: ResourceVulnerabilityReportReport;
117
17
  }
118
- export interface ResourceNetworkPolicyCondition {
119
- lastTransitionTime: string;
18
+ export interface ResourceVulnerabilityEventSpec {
19
+ owner: RorResourceOwnerReference;
120
20
  message: string;
121
- observedGeneration: number;
122
- reason: string;
123
- status: string;
124
- type: string;
125
- }
126
- export interface ResourceNetworkPolicyStatus {
127
- conditions: ResourceNetworkPolicyCondition[];
128
- }
129
- export interface ResourceNetworkPolicyPodSelector {
130
- matchLabels: {
131
- [key: string]: string;
132
- };
133
- }
134
- export interface ResourceNetworkPolicyIngressRule {
135
- from: ResourceNetworkPolicyPeer[];
136
- ports: ResourceNetworkPolicyPort[];
137
- }
138
- export interface ResourceNetworkPolicySelectorExpression {
139
- key: string;
140
- operator: string;
141
- values: string[];
142
- }
143
- export interface ResourceNetworkPolicySelector {
144
- matchExpressions: ResourceNetworkPolicySelectorExpression[];
145
- matchLabels: {
146
- [key: string]: string;
147
- };
148
- }
149
- export interface ResourceNetworkPolicyIpBlock {
150
- cidr: string;
151
- except: string[];
152
- }
153
- export interface ResourceNetworkPolicyPeer {
154
- ipBlock?: ResourceNetworkPolicyIpBlock;
155
- namespaceSelector?: ResourceNetworkPolicySelector;
156
- podSelector?: ResourceNetworkPolicySelector;
157
- }
158
- export interface ResourceNetworkPolicyPort {
159
- endPort: number;
160
- port: IntOrString;
161
- protocol: string;
162
- }
163
- export interface ResourceNetworkPolicyEgressRule {
164
- ports: ResourceNetworkPolicyPort[];
165
- to: ResourceNetworkPolicyPeer[];
166
- }
167
- export interface ResourceNetworkPolicySpec {
168
- egress: ResourceNetworkPolicyEgressRule[];
169
- ingress: ResourceNetworkPolicyIngressRule[];
170
- podSelector: ResourceNetworkPolicyPodSelector;
171
- policyTypes: string[];
172
- }
173
- export interface ResourceNetworkPolicy {
174
- spec: ResourceNetworkPolicySpec;
175
- status: ResourceNetworkPolicyStatus;
176
- }
177
- export interface ResourceEndpointSpecSubsetsPorts {
178
- appProtocol?: string;
179
- name?: string;
180
- port?: number;
181
- protocol?: string;
182
- }
183
- export interface ResourceEndpointSpecSubsetsNotReadyAddressesTargetRef {
184
- apiVersion?: string;
185
- fieldPath?: string;
186
- kind?: string;
187
- name?: string;
188
- namespace?: string;
189
- resourceVersion?: string;
190
- uid?: string;
191
- }
192
- export interface ResourceEndpointSpecSubsetsNotReadyAddresses {
193
- hostname?: string;
194
- ip?: string;
195
- nodeName?: string;
196
- targetRef?: ResourceEndpointSpecSubsetsNotReadyAddressesTargetRef;
197
- }
198
- export interface ResourceEndpointSpecSubsetsAddressesTargetRef {
199
- apiVersion?: string;
200
- fieldPath?: string;
201
- kind?: string;
202
- name?: string;
203
- namespace?: string;
204
- resourceVersion?: string;
205
- uid?: string;
206
- }
207
- export interface ResourceEndpointSpecSubsetsAddresses {
208
- hostname?: string;
209
- ip?: string;
210
- nodeName?: string;
211
- targetRef?: ResourceEndpointSpecSubsetsAddressesTargetRef;
212
- }
213
- export interface ResourceEndpointSpecSubsets {
214
- addresses?: ResourceEndpointSpecSubsetsAddresses[];
215
- notReadyAddresses?: ResourceEndpointSpecSubsetsNotReadyAddresses[];
216
- ports?: ResourceEndpointSpecSubsetsPorts[];
217
21
  }
218
- export interface ResourceEndpoints {
219
- subsets?: ResourceEndpointSpecSubsets[];
22
+ export interface ResourceVulnerabilityEvent {
23
+ spec: ResourceVulnerabilityEventSpec;
220
24
  }
221
25
  export interface ResourceVirtualMachineOperatingSystemStatus {
222
26
  id: string;
@@ -304,302 +108,40 @@ export interface ResourceVirtualMachine {
304
108
  status: ResourceVirtualMachineStatus;
305
109
  provider: string;
306
110
  }
307
- export interface ResourceVulnerabilityEventSpec {
308
- owner: RorResourceOwnerReference;
309
- message: string;
310
- }
311
- export interface ResourceVulnerabilityEvent {
312
- spec: ResourceVulnerabilityEventSpec;
111
+ export interface ResourceVirtualMachineClassSpecHardwareInstanceStorage {
112
+ storageClass: string;
313
113
  }
314
- export interface ResourceSlackMessageStatus {
315
- result: number;
316
- timestamp: Time;
317
- error: any;
114
+ export interface ResourceVirtualMachineClassSpecHardware {
115
+ cpus: number;
116
+ instanceStorage: ResourceVirtualMachineClassSpecHardwareInstanceStorage;
318
117
  }
319
- export interface ResourceSlackMessageSpec {
320
- channelId: string;
321
- message: string;
118
+ export interface ResourceVirtualMachineClassSpec {
119
+ description: string;
120
+ hardware: ResourceVirtualMachineClassSpecHardware;
322
121
  }
323
- export interface ResourceSlackMessage {
324
- spec: ResourceSlackMessageSpec;
325
- status: ResourceSlackMessageStatus[];
122
+ export interface ResourceVirtualMachineClass {
123
+ spec: ResourceVirtualMachineClassSpec;
124
+ status: {
125
+ [key: string]: string;
126
+ };
326
127
  }
327
- export interface ResourceRouteSlackReceiver {
328
- channelId: string;
128
+ export interface ResourceTanzuKubernetesReleaseStatusCondition {
129
+ lastTransitionTime: string;
130
+ message: string;
131
+ reason: string;
132
+ severity: string;
133
+ status: string;
134
+ type: string;
329
135
  }
330
- export interface ResourceRouteReceiver {
331
- slack: ResourceRouteSlackReceiver[];
136
+ export interface ResourceTanzuKubernetesReleaseStatus {
137
+ conditions: ResourceTanzuKubernetesReleaseStatusCondition[];
332
138
  }
333
- export interface ResourceRouteMessageType {
139
+ export interface ResourceTanzuKubernetesReleaseSpecNodeImageRef {
334
140
  apiVersion: string;
141
+ fieldPath: string;
335
142
  kind: string;
336
- }
337
- export interface ResourceRouteSpec {
338
- messageType: ResourceRouteMessageType;
339
- receivers: ResourceRouteReceiver;
340
- }
341
- export interface ResourceRoute {
342
- spec: ResourceRouteSpec;
343
- }
344
- export interface ResourceClusterVulnerabilityReportReportStatus {
345
- status: VulnerabilityStatus;
346
- until?: Time;
347
- reason?: VulnerabilityDismissalReason;
348
- comment?: string;
349
- riskAssessment?: string;
350
- }
351
- export interface ResourceClusterVulnerabilityReportReportOwner {
352
- digest: string;
353
- repository: string;
354
- tag: string;
355
- resource: string;
356
- installedVersion: string;
357
- fixedVersion: string;
358
- namespace: string;
359
- ownerReferences: OwnerReference[];
360
- }
361
- export interface ResourceClusterVulnerabilityReportReport {
362
- severity: string;
363
- score: number;
364
- title: string;
365
- primaryLink: string;
366
- firstObserved: Time;
367
- lastObserved: Time;
368
- owners: ResourceClusterVulnerabilityReportReportOwner[];
369
- status: ResourceClusterVulnerabilityReportReportStatus;
370
- }
371
- export interface ResourceClusterVulnerabilityReportSummary {
372
- critical: number;
373
- high: number;
374
- medium: number;
375
- low: number;
376
- unknown: number;
377
- }
378
- export interface ResourceClusterVulnerabilityReport {
379
- summary: ResourceClusterVulnerabilityReportSummary;
380
- report: {
381
- [key: string]: ResourceClusterVulnerabilityReportReport;
382
- };
383
- }
384
- export interface ResourceClusterComplianceReport {
385
- }
386
- export interface ResourceConfigurationSpec {
387
- type: string;
388
- b64enc: boolean;
389
- data: string;
390
- }
391
- export interface ResourceConfiguration {
392
- spec: ResourceConfigurationSpec;
393
- }
394
- export interface ResourceProjectSpecRole {
395
- upn: string;
396
- name: string;
397
- role: string;
398
- email: string;
399
- phone: string;
400
- }
401
- export interface ResourceProjectSpec {
402
- projectName: string;
403
- description: string;
404
- active: boolean;
405
- createdTime: string;
406
- updatedTime: string;
407
- roles: ResourceProjectSpecRole[];
408
- workorder: string;
409
- serviceTag: string;
410
- tags: string[];
411
- }
412
- export interface ResourceProject {
413
- spec: ResourceProjectSpec;
414
- }
415
- export interface ResourceKubernetesClusterOrderStatusCondition {
416
- type: string;
417
- status: string;
418
- lastTransitionTime: string;
419
- reason: string;
420
- message: string;
421
- }
422
- export interface ResourceClusterOrderStatus {
423
- status: string;
424
- phase: string;
425
- conditions: ResourceKubernetesClusterOrderStatusCondition[];
426
- createdTime: string;
427
- updatedTime: string;
428
- lastObservedTime: string;
429
- }
430
- export interface ResourceClusterOrderSpecNodePool {
431
- name: string;
432
- machineClass: string;
433
- count: number;
434
- }
435
- export interface ResourceClusterOrderSpec {
436
- provider: string;
437
- clusterName: string;
438
- projectId: string;
439
- orderBy: string;
440
- environment: number;
441
- criticality: number;
442
- sensitivity: number;
443
- highAvailability: boolean;
444
- nodePools: ResourceClusterOrderSpecNodePool[];
445
- serviceTags?: {
446
- [key: string]: string;
447
- };
448
- providerConfig?: {
449
- [key: string]: any;
450
- };
451
- ownerGroup: string;
452
- }
453
- export interface ResourceClusterOrder {
454
- spec: ResourceClusterOrderSpec;
455
- status: ResourceClusterOrderStatus;
456
- }
457
- export interface Condition {
458
- type: string;
459
- status: string;
460
- lastTransitionTime: string;
461
- reason: string;
462
- message: string;
463
- }
464
- export interface Time {
465
- }
466
- export interface Version {
467
- name: string;
468
- version: string;
469
- branch: string;
470
- }
471
- export interface NodePoolStatus {
472
- name: string;
473
- status: string;
474
- message: string;
475
- }
476
- export interface WorkerStatus {
477
- nodepools: NodePoolStatus[];
478
- }
479
- export interface ControlPlaneStatus {
480
- status: string;
481
- message: string;
482
- }
483
- export interface Resource {
484
- name: string;
485
- allocated: string;
486
- usage: string;
487
- }
488
- export interface ClusterDetails {
489
- externalId: string;
490
- resources: Resource[];
491
- controlplane: ControlPlaneStatus;
492
- workers: WorkerStatus;
493
- }
494
- export interface ClusterState {
495
- cluster: ClusterDetails;
496
- versions: Version[];
497
- controlplaneendpoint: string;
498
- egressIP: string;
499
- lastUpdated: Time;
500
- lastUpdatedBy: string;
501
- created: Time;
502
- }
503
- export interface KubernetesClusterStatus {
504
- state: ClusterState;
505
- phase: string;
506
- conditions: Condition[];
507
- }
508
- export interface Autoscaling {
509
- enabled: boolean;
510
- minReplicas: number;
511
- maxReplicas: number;
512
- scalingRules: string[];
513
- }
514
- export interface NodePool {
515
- machineClass: string;
516
- provider: string;
517
- name: string;
518
- replicas: number;
519
- autoscaling: Autoscaling;
520
- metadata: MetadataDetails;
521
- }
522
- export interface Workers {
523
- nodePools: NodePool[];
524
- }
525
- export interface Storage {
526
- class: string;
527
- path: string;
528
- size: string;
529
- }
530
- export interface MetadataDetails {
531
- labels: {
532
- [key: string]: string;
533
- };
534
- annotations: {
535
- [key: string]: string;
536
- };
537
- }
538
- export interface ControlPlane {
539
- replicas: number;
540
- provider: string;
541
- machineClass: string;
542
- metadata: MetadataDetails;
543
- storage: Storage[];
544
- }
545
- export interface KubernetesClusterSpecTopology {
546
- version: string;
547
- controlplane: ControlPlane;
548
- workers: Workers;
549
- }
550
- export interface KubernetesClusterSpecData {
551
- clusterId: string;
552
- provider: string;
553
- datacenter: string;
554
- region: string;
555
- zone: string;
556
- project: string;
557
- workspace: string;
558
- workorder: string;
559
- environment: string;
560
- }
561
- export interface KubernetesClusterSpec {
562
- data?: KubernetesClusterSpecData;
563
- topology?: KubernetesClusterSpecTopology;
564
- }
565
- export interface ResourceKubernetesCluster {
566
- spec: KubernetesClusterSpec;
567
- status?: KubernetesClusterStatus;
568
- }
569
- export interface ResourceVirtualMachineClassSpecHardwareInstanceStorage {
570
- storageClass: string;
571
- }
572
- export interface ResourceVirtualMachineClassSpecHardware {
573
- cpus: number;
574
- instanceStorage: ResourceVirtualMachineClassSpecHardwareInstanceStorage;
575
- }
576
- export interface ResourceVirtualMachineClassSpec {
577
- description: string;
578
- hardware: ResourceVirtualMachineClassSpecHardware;
579
- }
580
- export interface ResourceVirtualMachineClass {
581
- spec: ResourceVirtualMachineClassSpec;
582
- status: {
583
- [key: string]: string;
584
- };
585
- }
586
- export interface ResourceTanzuKubernetesReleaseStatusCondition {
587
- lastTransitionTime: string;
588
- message: string;
589
- reason: string;
590
- severity: string;
591
- status: string;
592
- type: string;
593
- }
594
- export interface ResourceTanzuKubernetesReleaseStatus {
595
- conditions: ResourceTanzuKubernetesReleaseStatusCondition[];
596
- }
597
- export interface ResourceTanzuKubernetesReleaseSpecNodeImageRef {
598
- apiVersion: string;
599
- fieldPath: string;
600
- kind: string;
601
- namespace: string;
602
- uid: string;
143
+ namespace: string;
144
+ uid: string;
603
145
  }
604
146
  export interface ResourceTanzuKubernetesReleaseSpecImage {
605
147
  name: string;
@@ -744,140 +286,76 @@ export interface ResourceTanzuKubernetesCluster {
744
286
  spec: ResourceTanuzKuberntesClusterSpec;
745
287
  status?: ResourceTanzuKubernetesClusterStatus;
746
288
  }
747
- export interface ResourceRbacAssessmentReport {
748
- report: ResourceVulnerabilityReportReport;
289
+ export interface ResourceStorageClass {
290
+ allowVolumeExpansion: boolean;
291
+ provisioner: string;
292
+ reclaimPolicy: string;
293
+ volumeBindingMode: string;
749
294
  }
750
- export interface ResourceConfigAuditReport {
751
- report: ResourceVulnerabilityReportReport;
295
+ export interface ResourceStatefulSetStatus {
296
+ replicas: number;
297
+ availableReplicas: number;
298
+ currentReplicas: number;
299
+ readyReplicas: number;
300
+ updatedReplicas: number;
752
301
  }
753
- export interface ResourceExposedSecretReport {
754
- report: ResourceVulnerabilityReportReport;
302
+ export interface ResourceStatefulSet {
303
+ status: ResourceStatefulSetStatus;
755
304
  }
756
- export interface ResourceVulnerabilityReportReportVulnerability {
757
- vulnerabilityID: string;
758
- severity: string;
759
- score: number;
760
- title: string;
761
- resource: string;
762
- primaryLink: string;
763
- installedVersion: string;
764
- fixedVersion: string;
765
- }
766
- export interface ResourceVulnerabilityReportReportArtifact {
767
- digest: string;
768
- repository: string;
769
- tag: string;
770
- }
771
- export interface AquaReportScanner {
772
- name: string;
773
- vendor: string;
774
- version: string;
775
- }
776
- export interface AquaReportSummary {
777
- criticalCount: number;
778
- highCount: number;
779
- lowCount: number;
780
- mediumCount: number;
781
- total?: number;
305
+ export interface ResourceSlackMessageStatus {
306
+ result: number;
307
+ timestamp: Time;
308
+ error: any;
782
309
  }
783
- export interface ResourceVulnerabilityReportReport {
784
- summary: AquaReportSummary;
785
- scanner: AquaReportScanner;
786
- artifact: ResourceVulnerabilityReportReportArtifact;
787
- updateTimestamp: string;
788
- vulnerabilities: ResourceVulnerabilityReportReportVulnerability[];
310
+ export interface ResourceSlackMessageSpec {
311
+ channelId: string;
312
+ message: string;
789
313
  }
790
- export interface ResourceVulnerabilityReport {
791
- report: ResourceVulnerabilityReportReport;
314
+ export interface ResourceSlackMessage {
315
+ spec: ResourceSlackMessageSpec;
316
+ status: ResourceSlackMessageStatus[];
792
317
  }
793
- export interface ResourceIngressClassSpecParameters {
794
- apiGroup: string;
795
- kind: string;
318
+ export interface ResourceServicePorts {
319
+ appProtocol: string;
796
320
  name: string;
797
- namespace: string;
798
- scope: string;
799
- }
800
- export interface ResourceIngressClassSpec {
801
- controller: string;
802
- parameters: ResourceIngressClassSpecParameters;
803
- }
804
- export interface ResourceIngressClass {
805
- spec: ResourceIngressClassSpec;
806
- }
807
- export interface ResourceIngressStatusLoadBalancerIngress {
808
- hostname: string;
809
- ip: string;
810
- }
811
- export interface ResourceIngressStatusLoadBalancer {
812
- ingress: ResourceIngressStatusLoadBalancerIngress[];
813
- }
814
- export interface ResourceIngressStatus {
815
- loadBalancer: ResourceIngressStatusLoadBalancer;
816
- }
817
- export interface ResourceIngressSpecTls {
818
- hosts: string[];
819
- secretName: string;
820
- }
821
- export interface ResourceIngressSpecRulesHttpPaths {
822
- backend: ResourceIngressSpecRulesHttpPathsBackend;
823
- path: string;
824
- pathType: string;
825
- }
826
- export interface ResourceIngressSpecRulesHttp {
827
- paths: ResourceIngressSpecRulesHttpPaths[];
828
- }
829
- export interface ResourceIngressSpecRules {
830
- apiGroup: string;
831
- http: ResourceIngressSpecRulesHttp;
832
- }
833
- export interface ResourceIngressSpecBackendServicePort {
834
- name?: string;
835
- number?: number;
836
- }
837
- export interface ResourceIngressSpecBackendService {
838
- name?: string;
839
- port?: ResourceIngressSpecBackendServicePort;
840
- }
841
- export interface ResourceIngressSpecBackendResource {
842
- apiGroup?: string;
843
- kind?: string;
844
- name?: string;
321
+ port: number;
322
+ protocol: string;
323
+ targetPort: IntOrString;
845
324
  }
846
- export interface ResourceIngressSpecRulesHttpPathsBackend {
847
- resource?: ResourceIngressSpecBackendResource;
848
- service?: ResourceIngressSpecBackendService;
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;
849
339
  }
850
- export interface ResourceIngressSpec {
851
- defaultBackend?: ResourceIngressSpecRulesHttpPathsBackend;
852
- ingressClassName: string;
853
- rules: ResourceIngressSpecRules[];
854
- tls: ResourceIngressSpecTls[];
340
+ export interface ResourceService {
341
+ spec: ResourceServiceSpec;
855
342
  }
856
- export interface ResourceIngress {
857
- spec: ResourceIngressSpec;
858
- status: ResourceIngressStatus;
343
+ export interface ResourceRouteSlackReceiver {
344
+ channelId: string;
859
345
  }
860
- export interface ResourceDaemonSetStatus {
861
- numberReady: number;
862
- numberUnavailable: number;
863
- currentReplicas: number;
864
- numberAvailable: number;
865
- updatedNumberScheduled: number;
866
- desiredNumberScheduled: number;
867
- currentNumberScheduled: number;
346
+ export interface ResourceRouteReceiver {
347
+ slack: ResourceRouteSlackReceiver[];
868
348
  }
869
- export interface ResourceDaemonSet {
870
- status: ResourceDaemonSetStatus;
349
+ export interface ResourceRouteMessageType {
350
+ apiVersion: string;
351
+ kind: string;
871
352
  }
872
- export interface ResourceStatefulSetStatus {
873
- replicas: number;
874
- availableReplicas: number;
875
- currentReplicas: number;
876
- readyReplicas: number;
877
- updatedReplicas: number;
353
+ export interface ResourceRouteSpec {
354
+ messageType: ResourceRouteMessageType;
355
+ receivers: ResourceRouteReceiver;
878
356
  }
879
- export interface ResourceStatefulSet {
880
- status: ResourceStatefulSetStatus;
357
+ export interface ResourceRoute {
358
+ spec: ResourceRouteSpec;
881
359
  }
882
360
  export interface ResourceReplicaSetStatus {
883
361
  availableReplicas: number;
@@ -903,6 +381,59 @@ export interface ResourceReplicaSet {
903
381
  spec: ResourceReplicaSetSpec;
904
382
  status: ResourceReplicaSetStatus;
905
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
+ }
906
437
  export interface ResourcePodStatus {
907
438
  message?: string;
908
439
  phase?: string;
@@ -928,64 +459,676 @@ export interface ResourcePod {
928
459
  spec?: ResourcePodSpec;
929
460
  status?: ResourcePodStatus;
930
461
  }
931
- export interface IntOrString {
932
- Type: number;
933
- IntVal: number;
934
- StrVal: string;
935
- }
936
- export interface ResourceServicePorts {
937
- appProtocol: string;
938
- name: string;
939
- port: number;
940
- protocol: string;
941
- targetPort: IntOrString;
462
+ export interface ResourcePersistentVolumeClaimStatus {
463
+ accessModes: string[];
464
+ capacity: {
465
+ [key: string]: string;
466
+ };
467
+ phase: string;
942
468
  }
943
- export interface ResourceServiceSpec {
944
- type: string;
945
- selector: {
469
+ export interface ResourcePersistentVolumeClaimSpecResources {
470
+ limits?: {
946
471
  [key: string]: string;
947
472
  };
948
- ports: ResourceServicePorts[];
949
- clusterIP: string;
950
- clusterIPs: string[];
951
- externalIPs?: string[];
952
- externalName?: string;
953
- ipFamilies: string[];
954
- ipFamilyPolicy: string;
955
- internalTrafficPolicy: string;
956
- externalTrafficPolicy: string;
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;
648
+ }
649
+ export interface KubernetesClusterStatusClusterStatusResources {
650
+ cpu: KubernetesClusterStatusClusterStatusResource;
651
+ memory: KubernetesClusterStatusClusterStatusResource;
652
+ gpu: KubernetesClusterStatusClusterStatusResource;
653
+ disk: KubernetesClusterStatusClusterStatusResource;
654
+ }
655
+ export interface KubernetesClusterClusterDetails {
656
+ externalId: string;
657
+ resources: KubernetesClusterStatusClusterStatusResources;
658
+ price: KubernetesClusterStatusPrice;
659
+ controlplane: KubernetesClusterControlPlaneStatus;
660
+ nodepools: KubernetesClusterNodePoolStatus[];
661
+ }
662
+ export interface KubernetesClusterClusterState {
663
+ cluster: KubernetesClusterClusterDetails;
664
+ versions: KubernetesClusterVersion[];
665
+ controlplaneendpoint: string;
666
+ egressIP: string;
667
+ lastUpdated: Time;
668
+ lastUpdatedBy: string;
669
+ created: Time;
670
+ }
671
+ export interface KubernetesClusterStatus {
672
+ state: KubernetesClusterClusterState;
673
+ phase: string;
674
+ conditions: KubernetesClusterCondition[];
675
+ }
676
+ export interface KubernetesClusterAutoscalingSpec {
677
+ enabled: boolean;
678
+ minReplicas: number;
679
+ maxReplicas: number;
680
+ scalingRules: string[];
681
+ }
682
+ export interface KubernetesClusterNodePool {
683
+ machineClass: string;
684
+ provider: string;
685
+ name: string;
686
+ replicas: number;
687
+ autoscaling: KubernetesClusterAutoscalingSpec;
688
+ metadata: KubernetesClusterSpecMetadataDetails;
689
+ }
690
+ export interface KubernetesClusterWorkers {
691
+ nodePools: KubernetesClusterNodePool[];
692
+ }
693
+ export interface KubernetesClusterStorage {
694
+ class: string;
695
+ path: string;
696
+ size: string;
697
+ }
698
+ export interface KubernetesClusterSpecMetadataDetails {
699
+ labels: {
700
+ [key: string]: string;
701
+ };
702
+ annotations: {
703
+ [key: string]: string;
704
+ };
705
+ }
706
+ export interface KubernetesClusterSpecControlPlane {
707
+ replicas: number;
708
+ provider: string;
709
+ machineClass: string;
710
+ metadata: KubernetesClusterSpecMetadataDetails;
711
+ storage: KubernetesClusterStorage[];
712
+ }
713
+ export interface KubernetesClusterSpecTopology {
714
+ version: string;
715
+ controlplane: KubernetesClusterSpecControlPlane;
716
+ workers: KubernetesClusterWorkers;
717
+ }
718
+ export interface KubernetesClusterSpecData {
719
+ clusterId: string;
720
+ provider: string;
721
+ datacenter: string;
722
+ region: string;
723
+ zone: string;
724
+ project: string;
725
+ workspace: string;
726
+ workorder: string;
727
+ environment: string;
728
+ }
729
+ export interface KubernetesClusterSpec {
730
+ data?: KubernetesClusterSpecData;
731
+ topology?: KubernetesClusterSpecTopology;
732
+ }
733
+ export interface ResourceKubernetesCluster {
734
+ spec: KubernetesClusterSpec;
735
+ status?: KubernetesClusterStatus;
736
+ }
737
+ export interface ResourceIngressStatusLoadBalancerIngress {
738
+ hostname: string;
739
+ ip: string;
740
+ }
741
+ export interface ResourceIngressStatusLoadBalancer {
742
+ ingress: ResourceIngressStatusLoadBalancerIngress[];
743
+ }
744
+ export interface ResourceIngressStatus {
745
+ loadBalancer: ResourceIngressStatusLoadBalancer;
746
+ }
747
+ export interface ResourceIngressSpecTls {
748
+ hosts: string[];
749
+ secretName: string;
750
+ }
751
+ export interface ResourceIngressSpecRulesHttpPaths {
752
+ backend: ResourceIngressSpecRulesHttpPathsBackend;
753
+ path: string;
754
+ pathType: string;
755
+ }
756
+ export interface ResourceIngressSpecRulesHttp {
757
+ paths: ResourceIngressSpecRulesHttpPaths[];
758
+ }
759
+ export interface ResourceIngressSpecRules {
760
+ apiGroup: string;
761
+ http: ResourceIngressSpecRulesHttp;
762
+ }
763
+ export interface ResourceIngressSpecBackendServicePort {
764
+ name?: string;
765
+ number?: number;
766
+ }
767
+ export interface ResourceIngressSpecBackendService {
768
+ name?: string;
769
+ port?: ResourceIngressSpecBackendServicePort;
770
+ }
771
+ export interface ResourceIngressSpecBackendResource {
772
+ apiGroup?: string;
773
+ kind?: string;
774
+ name?: string;
775
+ }
776
+ export interface ResourceIngressSpecRulesHttpPathsBackend {
777
+ resource?: ResourceIngressSpecBackendResource;
778
+ service?: ResourceIngressSpecBackendService;
779
+ }
780
+ export interface ResourceIngressSpec {
781
+ defaultBackend?: ResourceIngressSpecRulesHttpPathsBackend;
782
+ ingressClassName: string;
783
+ rules: ResourceIngressSpecRules[];
784
+ tls: ResourceIngressSpecTls[];
785
+ }
786
+ export interface ResourceIngress {
787
+ spec: ResourceIngressSpec;
788
+ status: ResourceIngressStatus;
789
+ }
790
+ export interface ResourceIngressClassSpecParameters {
791
+ apiGroup: string;
792
+ kind: string;
793
+ name: string;
794
+ namespace: string;
795
+ scope: string;
796
+ }
797
+ export interface ResourceIngressClassSpec {
798
+ controller: string;
799
+ parameters: ResourceIngressClassSpecParameters;
800
+ }
801
+ export interface ResourceIngressClass {
802
+ spec: ResourceIngressClassSpec;
803
+ }
804
+ export interface ResourceExposedSecretReport {
805
+ report: ResourceVulnerabilityReportReport;
806
+ }
807
+ export interface ResourceEndpointSpecSubsetsPorts {
808
+ appProtocol?: string;
809
+ name?: string;
810
+ port?: number;
811
+ protocol?: string;
812
+ }
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;
821
+ }
822
+ export interface ResourceEndpointSpecSubsetsNotReadyAddresses {
823
+ hostname?: string;
824
+ ip?: string;
825
+ nodeName?: string;
826
+ targetRef?: ResourceEndpointSpecSubsetsNotReadyAddressesTargetRef;
827
+ }
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;
836
+ }
837
+ export interface ResourceEndpointSpecSubsetsAddresses {
838
+ hostname?: string;
839
+ ip?: string;
840
+ nodeName?: string;
841
+ targetRef?: ResourceEndpointSpecSubsetsAddressesTargetRef;
842
+ }
843
+ export interface ResourceEndpointSpecSubsets {
844
+ addresses?: ResourceEndpointSpecSubsetsAddresses[];
845
+ notReadyAddresses?: ResourceEndpointSpecSubsetsNotReadyAddresses[];
846
+ ports?: ResourceEndpointSpecSubsetsPorts[];
847
+ }
848
+ export interface ResourceEndpoints {
849
+ subsets?: ResourceEndpointSpecSubsets[];
850
+ }
851
+ export interface ResourceDeploymentStatus {
852
+ replicas: number;
853
+ availableReplicas: number;
854
+ readyReplicas: number;
855
+ updatedReplicas: number;
856
+ }
857
+ export interface ResourceDeployment {
858
+ status: ResourceDeploymentStatus;
859
+ }
860
+ export interface DatacenterLocation {
861
+ id: string;
862
+ region: string;
863
+ country: string;
864
+ }
865
+ export interface Datacenter {
866
+ id: string;
867
+ name: string;
868
+ provider: string;
869
+ location: DatacenterLocation;
870
+ apiEndpoint: string;
871
+ }
872
+ export interface ResourceDatacenter {
873
+ spec: ResourceDaemonSetStatus;
874
+ legacy: Datacenter;
875
+ }
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;
884
+ }
885
+ export interface ResourceDaemonSet {
886
+ status: ResourceDaemonSetStatus;
887
+ }
888
+ export interface ResourceConfigurationSpec {
889
+ type: string;
890
+ b64enc: boolean;
891
+ data: string;
892
+ }
893
+ export interface ResourceConfiguration {
894
+ spec: ResourceConfigurationSpec;
895
+ }
896
+ export interface ResourceVulnerabilityReportReportVulnerability {
897
+ vulnerabilityID: string;
898
+ severity: string;
899
+ score: number;
900
+ title: string;
901
+ resource: string;
902
+ primaryLink: string;
903
+ installedVersion: string;
904
+ fixedVersion: string;
905
+ }
906
+ export interface ResourceVulnerabilityReportReportArtifact {
907
+ digest: string;
908
+ repository: string;
909
+ tag: string;
910
+ }
911
+ export interface AquaReportScanner {
912
+ name: string;
913
+ vendor: string;
914
+ version: string;
915
+ }
916
+ export interface AquaReportSummary {
917
+ criticalCount: number;
918
+ highCount: number;
919
+ lowCount: number;
920
+ mediumCount: number;
921
+ total?: number;
922
+ }
923
+ export interface ResourceVulnerabilityReportReport {
924
+ summary: AquaReportSummary;
925
+ scanner: AquaReportScanner;
926
+ artifact: ResourceVulnerabilityReportReportArtifact;
927
+ updateTimestamp: string;
928
+ vulnerabilities: ResourceVulnerabilityReportReportVulnerability[];
929
+ }
930
+ export interface ResourceConfigAuditReport {
931
+ report: ResourceVulnerabilityReportReport;
932
+ }
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;
947
+ namespace: string;
948
+ ownerReferences: OwnerReference[];
949
+ }
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;
959
+ }
960
+ export interface ResourceClusterVulnerabilityReportSummary {
961
+ critical: number;
962
+ high: number;
963
+ medium: number;
964
+ low: number;
965
+ unknown: number;
966
+ }
967
+ export interface ResourceClusterVulnerabilityReport {
968
+ summary: ResourceClusterVulnerabilityReportSummary;
969
+ report: {
970
+ [key: string]: ResourceClusterVulnerabilityReportReport;
971
+ };
972
+ }
973
+ export interface ResourceKubernetesClusterOrderStatusCondition {
974
+ type: string;
975
+ status: string;
976
+ lastTransitionTime: string;
977
+ reason: string;
978
+ message: string;
979
+ }
980
+ export interface ResourceClusterOrderStatus {
981
+ status: string;
982
+ phase: string;
983
+ conditions: ResourceKubernetesClusterOrderStatusCondition[];
984
+ createdTime: string;
985
+ updatedTime: string;
986
+ lastObservedTime: string;
987
+ }
988
+ export interface ResourceClusterOrderSpecNodePool {
989
+ name: string;
990
+ machineClass: string;
991
+ count: number;
992
+ }
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;
1010
+ }
1011
+ export interface ResourceClusterOrder {
1012
+ spec: ResourceClusterOrderSpec;
1013
+ status: ResourceClusterOrderStatus;
1014
+ }
1015
+ export interface ResourceClusterComplianceReport {
1016
+ }
1017
+ export interface ResourceCertificateStatusCondition {
1018
+ lastTransitionTime: string;
1019
+ observedGeneration: number;
1020
+ message: string;
1021
+ reason: string;
1022
+ status: string;
1023
+ type: string;
1024
+ }
1025
+ export interface ResourceCertificateStatus {
1026
+ notBefore: string;
1027
+ notAfter: string;
1028
+ renewalTime: string;
1029
+ conditions: ResourceCertificateStatusCondition[];
1030
+ }
1031
+ export interface ResourceCertificateSpecIssuerref {
1032
+ group: string;
1033
+ kind: string;
1034
+ name: string;
1035
+ }
1036
+ export interface ResourceCertificateSpec {
1037
+ dnsNames: string[];
1038
+ secretName: string;
1039
+ issuerRef: ResourceCertificateSpecIssuerref;
1040
+ usages?: string[];
1041
+ }
1042
+ export interface ResourceCertificate {
1043
+ spec: ResourceCertificateSpec;
1044
+ status: ResourceCertificateStatus;
1045
+ }
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[];
1054
+ }
1055
+ export interface ResourceBackupStorage {
1056
+ unit: string;
1057
+ sourceSize: number;
1058
+ logicalSize: number;
1059
+ physicalSize: number;
1060
+ }
1061
+ export interface ResourceBackupRunDestination {
1062
+ name: string;
1063
+ id: string;
1064
+ type: string;
1065
+ status: string;
1066
+ expiryTime: Time;
957
1067
  }
958
- export interface ResourceService {
959
- spec: ResourceServiceSpec;
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;
960
1076
  }
961
- export interface ResourceCertificateStatusCondition {
962
- lastTransitionTime: string;
963
- observedGeneration: number;
964
- message: string;
965
- reason: string;
1077
+ export interface ResourceBackupDestination {
1078
+ name: string;
1079
+ id: string;
1080
+ type: string;
966
1081
  status: string;
1082
+ }
1083
+ export interface ResourceIndirectBackupTarget {
967
1084
  type: string;
1085
+ ids: string[];
1086
+ keyValues: {
1087
+ [key: string]: string[];
1088
+ };
968
1089
  }
969
- export interface ResourceCertificateStatus {
970
- notBefore: string;
971
- notAfter: string;
972
- renewalTime: string;
973
- conditions: ResourceCertificateStatusCondition[];
1090
+ export interface ResourceBackupSource {
1091
+ name: string;
1092
+ id: string;
1093
+ uuid: string;
1094
+ type: string;
974
1095
  }
975
- export interface ResourceCertificateSpecIssuerref {
976
- group: string;
977
- kind: string;
1096
+ export interface ResourceBackupTarget {
978
1097
  name: string;
1098
+ id: string;
1099
+ externalId: string;
1100
+ source?: ResourceBackupSource;
979
1101
  }
980
- export interface ResourceCertificateSpec {
981
- dnsNames: string[];
982
- secretName: string;
983
- issuerRef: ResourceCertificateSpecIssuerref;
984
- usages?: string[];
1102
+ export interface ResourceBackupRetention {
1103
+ unit: string;
1104
+ duration: number;
985
1105
  }
986
- export interface ResourceCertificate {
987
- spec: ResourceCertificateSpec;
988
- status: ResourceCertificateStatus;
1106
+ export interface ResourceBackupSchedule {
1107
+ startTime: string;
1108
+ endTime: string;
1109
+ frequency: number;
1110
+ unit: string;
1111
+ retention: ResourceBackupRetention;
1112
+ }
1113
+ export interface ResourceBackupJobStatus {
1114
+ 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
+ }
1126
+ export interface ResourceBackupJob {
1127
+ id: string;
1128
+ provider: string;
1129
+ source: string;
1130
+ status: ResourceBackupJobStatus;
1131
+ spec: ResourceBackupJobSpec;
989
1132
  }
990
1133
  export interface ResourceAppProjectSpec {
991
1134
  description: string;
@@ -1057,128 +1200,6 @@ export interface ResourceApplication {
1057
1200
  spec: ResourceApplicationSpec;
1058
1201
  status: ResourceApplicationStatus;
1059
1202
  }
1060
- export interface ResourcePolicyReportSummary {
1061
- error: number;
1062
- fail: number;
1063
- pass: number;
1064
- skip: number;
1065
- warn: number;
1066
- }
1067
- export interface ResourcePolicyReportResultsResources {
1068
- uid: string;
1069
- apiVersion: string;
1070
- kind: string;
1071
- name: string;
1072
- }
1073
- export interface ResourcePolicyReportResults {
1074
- policy: string;
1075
- message: string;
1076
- category: string;
1077
- properties: {
1078
- [key: string]: string;
1079
- };
1080
- severity: string;
1081
- result: string;
1082
- resources: ResourcePolicyReportResultsResources[];
1083
- }
1084
- export interface ResourcePolicyReport {
1085
- results: ResourcePolicyReportResults[];
1086
- summary: ResourcePolicyReportSummary;
1087
- lastReported?: string;
1088
- }
1089
- export interface ResourceStorageClass {
1090
- allowVolumeExpansion: boolean;
1091
- provisioner: string;
1092
- reclaimPolicy: string;
1093
- volumeBindingMode: string;
1094
- }
1095
- export interface ResourceDeploymentStatus {
1096
- replicas: number;
1097
- availableReplicas: number;
1098
- readyReplicas: number;
1099
- updatedReplicas: number;
1100
- }
1101
- export interface ResourceDeployment {
1102
- status: ResourceDeploymentStatus;
1103
- }
1104
- export interface ResourcePersistentVolumeClaimStatus {
1105
- accessModes: string[];
1106
- capacity: {
1107
- [key: string]: string;
1108
- };
1109
- phase: string;
1110
- }
1111
- export interface ResourcePersistentVolumeClaimSpecResources {
1112
- limits?: {
1113
- [key: string]: string;
1114
- };
1115
- requests: {
1116
- [key: string]: string;
1117
- };
1118
- }
1119
- export interface ResourcePersistentVolumeClaimSpec {
1120
- accessModes: string[];
1121
- resources: ResourcePersistentVolumeClaimSpecResources;
1122
- storageClassName: string;
1123
- volumeMode: string;
1124
- volumeName: string;
1125
- }
1126
- export interface ResourcePersistentVolumeClaim {
1127
- spec: ResourcePersistentVolumeClaimSpec;
1128
- status: ResourcePersistentVolumeClaimStatus;
1129
- }
1130
- export interface ResourceNodeStatusNodeinfo {
1131
- architecture: string;
1132
- bootID: string;
1133
- containerRuntimeVersion: string;
1134
- kernelVersion: string;
1135
- kubeProxyVersion: string;
1136
- kubeletVersion: string;
1137
- machineID: string;
1138
- operatingSystem: string;
1139
- osImage: string;
1140
- systemUUID: string;
1141
- }
1142
- export interface ResourceNodeStatusConditions {
1143
- lastHeartbeatTime: string;
1144
- lastTransitionTime: string;
1145
- message: string;
1146
- reason: string;
1147
- status: string;
1148
- type: string;
1149
- }
1150
- export interface ResourceNodeStatusCapacity {
1151
- cpu: string;
1152
- ephemeralStorage: string;
1153
- memory: string;
1154
- pods: string;
1155
- }
1156
- export interface ResourceNodeStatusAddresses {
1157
- address: string;
1158
- type: string;
1159
- }
1160
- export interface ResourceNodeStatus {
1161
- addresses: ResourceNodeStatusAddresses[];
1162
- capacity: ResourceNodeStatusCapacity;
1163
- conditions: ResourceNodeStatusConditions[];
1164
- nodeInfo: ResourceNodeStatusNodeinfo;
1165
- }
1166
- export interface ResourceNodeSpecTaints {
1167
- effect: string;
1168
- key: string;
1169
- }
1170
- export interface ResourceNodeSpec {
1171
- podCIDR?: string;
1172
- podCIDRs?: string[];
1173
- providerID?: string;
1174
- taints?: ResourceNodeSpecTaints[];
1175
- }
1176
- export interface ResourceNode {
1177
- spec: ResourceNodeSpec;
1178
- status: ResourceNodeStatus;
1179
- }
1180
- export interface ResourceNamespace {
1181
- }
1182
1203
  export interface ResourceTag {
1183
1204
  key: string;
1184
1205
  value: string;
@@ -1246,43 +1267,43 @@ export interface Resource {
1246
1267
  apiVersion?: string;
1247
1268
  metadata?: ObjectMeta;
1248
1269
  rormeta: ResourceRorMeta;
1249
- namespace?: ResourceNamespace;
1250
- node?: ResourceNode;
1251
- persistentvolumeclaim?: ResourcePersistentVolumeClaim;
1252
- deployment?: ResourceDeployment;
1253
- storageclass?: ResourceStorageClass;
1254
- policyreport?: ResourcePolicyReport;
1255
1270
  application?: ResourceApplication;
1256
1271
  appproject?: ResourceAppProject;
1272
+ backupjob?: ResourceBackupJob;
1257
1273
  certificate?: ResourceCertificate;
1258
- service?: ResourceService;
1259
- pod?: ResourcePod;
1260
- replicaset?: ResourceReplicaSet;
1261
- statefulset?: ResourceStatefulSet;
1274
+ clustercompliancereport?: ResourceClusterComplianceReport;
1275
+ clusterorder?: ResourceClusterOrder;
1276
+ clustervulnerabilityreport?: ResourceClusterVulnerabilityReport;
1277
+ configauditreport?: ResourceConfigAuditReport;
1278
+ configuration?: ResourceConfiguration;
1262
1279
  daemonset?: ResourceDaemonSet;
1263
- ingress?: ResourceIngress;
1264
- ingressclass?: ResourceIngressClass;
1265
- vulnerabilityreport?: ResourceVulnerabilityReport;
1280
+ datacenter?: ResourceDatacenter;
1281
+ deployment?: ResourceDeployment;
1282
+ endpoints?: ResourceEndpoints;
1266
1283
  exposedsecretreport?: ResourceExposedSecretReport;
1267
- configauditreport?: ResourceConfigAuditReport;
1268
- rbacassessmentreport?: ResourceRbacAssessmentReport;
1269
- tanzukubernetescluster?: ResourceTanzuKubernetesCluster;
1270
- tanzukubernetesrelease?: ResourceTanzuKubernetesRelease;
1271
- virtualmachineclass?: ResourceVirtualMachineClass;
1284
+ ingressclass?: ResourceIngressClass;
1285
+ ingress?: ResourceIngress;
1272
1286
  kubernetescluster?: ResourceKubernetesCluster;
1273
- clusterorder?: ResourceClusterOrder;
1287
+ namespace?: ResourceNamespace;
1288
+ networkpolicy?: ResourceNetworkPolicy;
1289
+ node?: ResourceNode;
1290
+ persistentvolumeclaim?: ResourcePersistentVolumeClaim;
1291
+ pod?: ResourcePod;
1292
+ policyreport?: ResourcePolicyReport;
1274
1293
  project?: ResourceProject;
1275
- configuration?: ResourceConfiguration;
1276
- clustercompliancereport?: ResourceClusterComplianceReport;
1277
- clustervulnerabilityreport?: ResourceClusterVulnerabilityReport;
1294
+ rbacassessmentreport?: ResourceRbacAssessmentReport;
1295
+ replicaset?: ResourceReplicaSet;
1278
1296
  route?: ResourceRoute;
1297
+ service?: ResourceService;
1279
1298
  slackmessage?: ResourceSlackMessage;
1280
- vulnerabilityevent?: ResourceVulnerabilityEvent;
1299
+ statefulset?: ResourceStatefulSet;
1300
+ storageclass?: ResourceStorageClass;
1301
+ tanzukubernetescluster?: ResourceTanzuKubernetesCluster;
1302
+ tanzukubernetesrelease?: ResourceTanzuKubernetesRelease;
1303
+ virtualmachineclass?: ResourceVirtualMachineClass;
1281
1304
  virtualmachine?: ResourceVirtualMachine;
1282
- endpoints?: ResourceEndpoints;
1283
- networkpolicy?: ResourceNetworkPolicy;
1284
- datacenter?: ResourceDatacenter;
1285
- backupjob?: ResourceBackupJob;
1305
+ vulnerabilityevent?: ResourceVulnerabilityEvent;
1306
+ vulnerabilityreport?: ResourceVulnerabilityReport;
1286
1307
  }
1287
1308
  export interface ResourceSet {
1288
1309
  resources?: Resource[];