bfg-common 1.4.648 → 1.4.649
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/common/monitor/overview/filters/Filters.vue +232 -234
- package/components/common/monitor/overview/filters/lib/config/filterOptions.ts +5 -27
- package/components/common/monitor/overview/filters/lib/models/interfaces.ts +9 -10
- package/components/common/monitor/overview/filters/lib/models/types.ts +13 -15
- package/package.json +1 -1
|
@@ -1,234 +1,232 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="horizontal-flex-container overview-chart-title-bar">
|
|
3
|
-
<div class="horizontal-flex-container">
|
|
4
|
-
<label for="periodSelect" class="label-select"
|
|
5
|
-
>{{ localization.inventoryMonitor.period }}:</label
|
|
6
|
-
>
|
|
7
|
-
<div v-if="!disabledPeriodOptions" class="select">
|
|
8
|
-
<select
|
|
9
|
-
id="periodSelect"
|
|
10
|
-
v-model="selectedPeriod"
|
|
11
|
-
data-id="period-select"
|
|
12
|
-
>
|
|
13
|
-
<option
|
|
14
|
-
v-for="(item, index) in periodOptions"
|
|
15
|
-
:key="index"
|
|
16
|
-
:value="item.value"
|
|
17
|
-
>
|
|
18
|
-
{{ item.text }}
|
|
19
|
-
</option>
|
|
20
|
-
</select>
|
|
21
|
-
</div>
|
|
22
|
-
<span v-else class="single-option">{{ periodOptions[0].text }}</span>
|
|
23
|
-
</div>
|
|
24
|
-
<div v-show="isShowCustomIntervalButton">
|
|
25
|
-
<a
|
|
26
|
-
id="show-interval-modal-button"
|
|
27
|
-
data-id="show-interval-modal-button"
|
|
28
|
-
@click="onShowIntervalModal"
|
|
29
|
-
>{{ localization.inventoryMonitor.changeCustomInterval }}</a
|
|
30
|
-
>
|
|
31
|
-
</div>
|
|
32
|
-
<div v-if="!disabledPeriodOptions" class="chart-title">
|
|
33
|
-
{{ chartTitleDate }}
|
|
34
|
-
</div>
|
|
35
|
-
<div class="view-select-label horizontal-flex-container">
|
|
36
|
-
<label for="viewSelect" class="label-select"
|
|
37
|
-
>{{ localization.common.view }}:</label
|
|
38
|
-
>
|
|
39
|
-
<div class="select">
|
|
40
|
-
<select id="viewSelect" v-model="selectedView" data-id="view-select">
|
|
41
|
-
<option
|
|
42
|
-
v-for="(item, index) in viewOptions"
|
|
43
|
-
:key="index"
|
|
44
|
-
:value="item.value"
|
|
45
|
-
>
|
|
46
|
-
{{ item.text }}
|
|
47
|
-
</option>
|
|
48
|
-
</select>
|
|
49
|
-
</div>
|
|
50
|
-
</div>
|
|
51
|
-
</div>
|
|
52
|
-
|
|
53
|
-
<common-monitor-overview-filters-custom-interval-modal
|
|
54
|
-
v-if="isShowIntervalModal"
|
|
55
|
-
:selected-periods="props.selectedPeriods"
|
|
56
|
-
:format-date="props.formatDate"
|
|
57
|
-
:current-lang="props.currentLang"
|
|
58
|
-
@hide="onHideIntervalModal"
|
|
59
|
-
@submit="onSubmitIntervalModal"
|
|
60
|
-
/>
|
|
61
|
-
</template>
|
|
62
|
-
|
|
63
|
-
<script setup lang="ts">
|
|
64
|
-
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
65
|
-
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
66
|
-
import type {
|
|
67
|
-
import type {
|
|
68
|
-
import
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
} from '~/components/common/monitor/
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
const
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
)
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
)
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
const
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
//
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
const
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
)
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
)
|
|
164
|
-
|
|
165
|
-
const
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
}
|
|
234
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="horizontal-flex-container overview-chart-title-bar">
|
|
3
|
+
<div class="horizontal-flex-container">
|
|
4
|
+
<label for="periodSelect" class="label-select"
|
|
5
|
+
>{{ localization.inventoryMonitor.period }}:</label
|
|
6
|
+
>
|
|
7
|
+
<div v-if="!disabledPeriodOptions" class="select">
|
|
8
|
+
<select
|
|
9
|
+
id="periodSelect"
|
|
10
|
+
v-model="selectedPeriod"
|
|
11
|
+
data-id="period-select"
|
|
12
|
+
>
|
|
13
|
+
<option
|
|
14
|
+
v-for="(item, index) in periodOptions"
|
|
15
|
+
:key="index"
|
|
16
|
+
:value="item.value"
|
|
17
|
+
>
|
|
18
|
+
{{ item.text }}
|
|
19
|
+
</option>
|
|
20
|
+
</select>
|
|
21
|
+
</div>
|
|
22
|
+
<span v-else class="single-option">{{ periodOptions[0].text }}</span>
|
|
23
|
+
</div>
|
|
24
|
+
<div v-show="isShowCustomIntervalButton">
|
|
25
|
+
<a
|
|
26
|
+
id="show-interval-modal-button"
|
|
27
|
+
data-id="show-interval-modal-button"
|
|
28
|
+
@click="onShowIntervalModal"
|
|
29
|
+
>{{ localization.inventoryMonitor.changeCustomInterval }}</a
|
|
30
|
+
>
|
|
31
|
+
</div>
|
|
32
|
+
<div v-if="!disabledPeriodOptions" class="chart-title">
|
|
33
|
+
{{ chartTitleDate }}
|
|
34
|
+
</div>
|
|
35
|
+
<div class="view-select-label horizontal-flex-container">
|
|
36
|
+
<label for="viewSelect" class="label-select"
|
|
37
|
+
>{{ localization.common.view }}:</label
|
|
38
|
+
>
|
|
39
|
+
<div class="select">
|
|
40
|
+
<select id="viewSelect" v-model="selectedView" data-id="view-select">
|
|
41
|
+
<option
|
|
42
|
+
v-for="(item, index) in viewOptions"
|
|
43
|
+
:key="index"
|
|
44
|
+
:value="item.value"
|
|
45
|
+
>
|
|
46
|
+
{{ item.text }}
|
|
47
|
+
</option>
|
|
48
|
+
</select>
|
|
49
|
+
</div>
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
|
|
53
|
+
<common-monitor-overview-filters-custom-interval-modal
|
|
54
|
+
v-if="isShowIntervalModal"
|
|
55
|
+
:selected-periods="props.selectedPeriods"
|
|
56
|
+
:format-date="props.formatDate"
|
|
57
|
+
:current-lang="props.currentLang"
|
|
58
|
+
@hide="onHideIntervalModal"
|
|
59
|
+
@submit="onSubmitIntervalModal"
|
|
60
|
+
/>
|
|
61
|
+
</template>
|
|
62
|
+
|
|
63
|
+
<script setup lang="ts">
|
|
64
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
65
|
+
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
66
|
+
import type { UI_I_MonitorGraphPayload } from '~/components/common/monitor/lib/models/interfaces'
|
|
67
|
+
import type { UI_T_OverviewViewType } from '~/components/common/monitor/overview/filters/lib/models/types'
|
|
68
|
+
import {
|
|
69
|
+
periodFunc,
|
|
70
|
+
viewFunc,
|
|
71
|
+
} from '~/components/common/monitor/overview/filters/lib/config/filterOptions'
|
|
72
|
+
import { getValidDateByOptionFunc } from '~/components/common/monitor/lib/config/getValidDateByOption'
|
|
73
|
+
|
|
74
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
75
|
+
const { $formattedDatetime } = useNuxtApp()
|
|
76
|
+
|
|
77
|
+
const props = defineProps<{
|
|
78
|
+
startDate: number
|
|
79
|
+
endDate: number
|
|
80
|
+
chartType: 'spline' | 'pie'
|
|
81
|
+
view: UI_T_OverviewViewType
|
|
82
|
+
selectedPeriods: number[]
|
|
83
|
+
formatDate: string
|
|
84
|
+
currentLang: string
|
|
85
|
+
formatTime?: string
|
|
86
|
+
}>()
|
|
87
|
+
|
|
88
|
+
const emits = defineEmits<{
|
|
89
|
+
(event: 'update-filters', value: UI_I_MonitorGraphPayload): void
|
|
90
|
+
(event: 'update-custom-date', value: number[]): void
|
|
91
|
+
}>()
|
|
92
|
+
|
|
93
|
+
const selectedPeriod = ref<string>('')
|
|
94
|
+
const periodOptions = computed<UI_I_OptionItem[]>(() =>
|
|
95
|
+
periodFunc(localization.value)
|
|
96
|
+
)
|
|
97
|
+
watch(
|
|
98
|
+
() => periodOptions.value,
|
|
99
|
+
(newValue: UI_I_OptionItem[]) => {
|
|
100
|
+
if (newValue) selectedPeriod.value = newValue[0].value
|
|
101
|
+
},
|
|
102
|
+
{ immediate: true }
|
|
103
|
+
)
|
|
104
|
+
|
|
105
|
+
const isShowCustomIntervalButton = computed<boolean>(
|
|
106
|
+
() => selectedPeriod.value === 'custom_interval'
|
|
107
|
+
)
|
|
108
|
+
|
|
109
|
+
const isShowIntervalModal = ref<boolean>(false)
|
|
110
|
+
const onShowIntervalModal = (): void => {
|
|
111
|
+
isShowIntervalModal.value = true
|
|
112
|
+
}
|
|
113
|
+
const onHideIntervalModal = (): void => {
|
|
114
|
+
isShowIntervalModal.value = false
|
|
115
|
+
}
|
|
116
|
+
const onSubmitIntervalModal = (customDates: number[]): void => {
|
|
117
|
+
customDatesData.value = customDates
|
|
118
|
+
sendUpdatedFilters()
|
|
119
|
+
onHideIntervalModal()
|
|
120
|
+
emits('update-custom-date', customDates)
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
const chartTitleDate = computed<string>(() => {
|
|
124
|
+
const startValue = props.startDate
|
|
125
|
+
const endValue = props.endDate
|
|
126
|
+
if (!startValue && !endValue) return ''
|
|
127
|
+
|
|
128
|
+
const start = $formattedDatetime(
|
|
129
|
+
startValue,
|
|
130
|
+
props.formatDate,
|
|
131
|
+
true,
|
|
132
|
+
'',
|
|
133
|
+
props.formatTime
|
|
134
|
+
)
|
|
135
|
+
const end = $formattedDatetime(
|
|
136
|
+
endValue,
|
|
137
|
+
props.formatDate,
|
|
138
|
+
true,
|
|
139
|
+
'',
|
|
140
|
+
props.formatTime
|
|
141
|
+
)
|
|
142
|
+
return `${start} - ${end}`
|
|
143
|
+
})
|
|
144
|
+
|
|
145
|
+
// const disabledPeriodOptions = computed<boolean>(
|
|
146
|
+
// () => props.chartType === 'pie' || !chartTitleDate.value
|
|
147
|
+
// )
|
|
148
|
+
|
|
149
|
+
const disabledPeriodOptions = computed<boolean>(() => props.chartType === 'pie')
|
|
150
|
+
|
|
151
|
+
const selectedView = ref<string>('')
|
|
152
|
+
const viewOptions = computed<UI_I_OptionItem[]>(() =>
|
|
153
|
+
viewFunc(localization.value, props.view)
|
|
154
|
+
)
|
|
155
|
+
watch(
|
|
156
|
+
() => viewOptions.value,
|
|
157
|
+
(newValue: UI_I_OptionItem[]) => {
|
|
158
|
+
if (newValue) selectedView.value = newValue[0].value
|
|
159
|
+
},
|
|
160
|
+
{ immediate: true }
|
|
161
|
+
)
|
|
162
|
+
|
|
163
|
+
const customDatesData = ref<number[]>([])
|
|
164
|
+
const sendUpdatedFilters = (): void => {
|
|
165
|
+
const currentPeriod =
|
|
166
|
+
selectedPeriod.value === 'custom_interval'
|
|
167
|
+
? customDatesData.value
|
|
168
|
+
: getValidDateByOptionFunc(selectedPeriod.value)
|
|
169
|
+
const filters: UI_I_MonitorGraphPayload = {
|
|
170
|
+
period: currentPeriod,
|
|
171
|
+
view: selectedView.value,
|
|
172
|
+
periodName: selectedPeriod.value,
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
emits('update-filters', filters)
|
|
176
|
+
}
|
|
177
|
+
watch(
|
|
178
|
+
() => [selectedPeriod.value, selectedView.value],
|
|
179
|
+
(newValue: string[]) => {
|
|
180
|
+
newValue[0] !== 'custom_interval' && sendUpdatedFilters()
|
|
181
|
+
},
|
|
182
|
+
{ immediate: true }
|
|
183
|
+
)
|
|
184
|
+
</script>
|
|
185
|
+
|
|
186
|
+
<style scoped lang="scss">
|
|
187
|
+
.horizontal-flex-container {
|
|
188
|
+
display: flex;
|
|
189
|
+
flex-direction: row;
|
|
190
|
+
align-items: center;
|
|
191
|
+
line-height: 20px;
|
|
192
|
+
flex-shrink: 0;
|
|
193
|
+
padding-top: 5px;
|
|
194
|
+
|
|
195
|
+
.select {
|
|
196
|
+
position: relative;
|
|
197
|
+
|
|
198
|
+
select {
|
|
199
|
+
height: 20px;
|
|
200
|
+
margin: 5px;
|
|
201
|
+
color: var(--global-font-color);
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
.single-option {
|
|
205
|
+
margin-left: 5px;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.chart-title {
|
|
209
|
+
color: var(--global-font-color);
|
|
210
|
+
text-overflow: ellipsis;
|
|
211
|
+
white-space: nowrap;
|
|
212
|
+
overflow: hidden;
|
|
213
|
+
margin: 6px;
|
|
214
|
+
font-weight: 700;
|
|
215
|
+
text-transform: uppercase;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
#show-interval-modal-button {
|
|
219
|
+
cursor: pointer;
|
|
220
|
+
color: var(--dropdown-item-color);
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.view-select-label {
|
|
224
|
+
margin-left: auto;
|
|
225
|
+
padding-right: 7px;
|
|
226
|
+
padding-left: 7px;
|
|
227
|
+
text-overflow: ellipsis;
|
|
228
|
+
white-space: nowrap;
|
|
229
|
+
align-items: center;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
</style>
|
|
@@ -2,7 +2,6 @@ import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
|
2
2
|
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
3
3
|
import type { UI_I_OverviewViewOptionData } from '~/components/common/monitor/overview/filters/lib/models/interfaces'
|
|
4
4
|
import type { UI_T_OverviewViewType } from '~/components/common/monitor/overview/filters/lib/models/types'
|
|
5
|
-
import type { UI_T_Project } from '~/lib/models/types'
|
|
6
5
|
|
|
7
6
|
export const periodFunc = (
|
|
8
7
|
localization: UI_I_Localization
|
|
@@ -35,21 +34,19 @@ export const periodFunc = (
|
|
|
35
34
|
|
|
36
35
|
export const viewFunc = (
|
|
37
36
|
localization: UI_I_Localization,
|
|
38
|
-
viewType: UI_T_OverviewViewType
|
|
39
|
-
project: UI_T_Project
|
|
37
|
+
viewType: UI_T_OverviewViewType
|
|
40
38
|
): UI_I_OptionItem[] => {
|
|
41
39
|
const host = [
|
|
42
40
|
{ text: localization.inventoryMonitor.overview, value: 'overview' },
|
|
43
41
|
{ text: localization.common.memory, value: 'memory' },
|
|
44
42
|
{ text: localization.common.network, value: 'network' },
|
|
45
43
|
{ text: localization.common.disks, value: 'disks' },
|
|
46
|
-
|
|
47
|
-
]
|
|
48
|
-
if (project === 'procurator')
|
|
49
|
-
host.push({
|
|
44
|
+
{
|
|
50
45
|
text: localization.inventoryMonitor.spaceUtilization,
|
|
51
46
|
value: 'spaceUtilization',
|
|
52
|
-
}
|
|
47
|
+
},
|
|
48
|
+
// { text: localization.common.virtual_machines, value: 'virtual_machines' },
|
|
49
|
+
]
|
|
53
50
|
|
|
54
51
|
const viewData: UI_I_OverviewViewOptionData = {
|
|
55
52
|
zone: [{ text: localization.inventoryMonitor.overview, value: 'overview' }],
|
|
@@ -78,25 +75,6 @@ export const viewFunc = (
|
|
|
78
75
|
cluster: [
|
|
79
76
|
{ text: localization.inventoryMonitor.overview, value: 'overview' },
|
|
80
77
|
],
|
|
81
|
-
datastore: [
|
|
82
|
-
{ text: localization.inventoryMonitor.overview, value: 'overview' },
|
|
83
|
-
{
|
|
84
|
-
text: localization.inventoryMonitor.spaceUtilization,
|
|
85
|
-
value: 'space_utilization',
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
text: localization.common.storageIo,
|
|
89
|
-
value: 'storage_io',
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
text: localization.common.hosts,
|
|
93
|
-
value: 'hosts',
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
text: localization.common.vms_amount,
|
|
97
|
-
value: 'vms_amount',
|
|
98
|
-
},
|
|
99
|
-
],
|
|
100
78
|
}
|
|
101
79
|
|
|
102
80
|
return viewData[viewType]
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
2
|
-
|
|
3
|
-
export interface UI_I_OverviewViewOptionData {
|
|
4
|
-
zone: UI_I_OptionItem[]
|
|
5
|
-
datacenter: UI_I_OptionItem[]
|
|
6
|
-
host: UI_I_OptionItem[]
|
|
7
|
-
vm: UI_I_OptionItem[]
|
|
8
|
-
cluster: UI_I_OptionItem[]
|
|
9
|
-
|
|
10
|
-
}
|
|
1
|
+
import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
|
|
2
|
+
|
|
3
|
+
export interface UI_I_OverviewViewOptionData {
|
|
4
|
+
zone: UI_I_OptionItem[]
|
|
5
|
+
datacenter: UI_I_OptionItem[]
|
|
6
|
+
host: UI_I_OptionItem[]
|
|
7
|
+
vm: UI_I_OptionItem[]
|
|
8
|
+
cluster: UI_I_OptionItem[]
|
|
9
|
+
}
|
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
export type UI_T_OverviewViewType =
|
|
2
|
-
| 'zone'
|
|
3
|
-
| 'host'
|
|
4
|
-
| 'vm'
|
|
5
|
-
| 'datacenter'
|
|
6
|
-
| 'cluster'
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
| '
|
|
11
|
-
| '
|
|
12
|
-
| '
|
|
13
|
-
| '
|
|
14
|
-
| 'datacenters'
|
|
15
|
-
| 'datastore'
|
|
1
|
+
export type UI_T_OverviewViewType =
|
|
2
|
+
| 'zone'
|
|
3
|
+
| 'host'
|
|
4
|
+
| 'vm'
|
|
5
|
+
| 'datacenter'
|
|
6
|
+
| 'cluster'
|
|
7
|
+
|
|
8
|
+
export type UI_T_OverviewRequestType =
|
|
9
|
+
| 'cluster'
|
|
10
|
+
| 'zone'
|
|
11
|
+
| 'hosts'
|
|
12
|
+
| 'vms'
|
|
13
|
+
| 'datacenters'
|