mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
profile page and summary page (#4769)
* add cluster name to page * implement profile page -1 * fix compilation error due to new method * profile page 0328 * summary page * make divcontainer accessible * handle disposable * add support for "coming soon" cards
This commit is contained in:
@@ -50,6 +50,7 @@ export interface ContainerRegistryInfo {
|
||||
}
|
||||
|
||||
export interface TargetClusterTypeInfo {
|
||||
enabled: boolean;
|
||||
type: TargetClusterType;
|
||||
name: string;
|
||||
fullName: string;
|
||||
@@ -80,4 +81,44 @@ export enum ClusterType {
|
||||
Minikube,
|
||||
Kubernetes,
|
||||
Other
|
||||
}
|
||||
|
||||
export interface ClusterProfile {
|
||||
name: string;
|
||||
sqlServerMasterConfiguration: SQLServerMasterConfiguration;
|
||||
computePoolConfiguration: PoolConfiguration;
|
||||
dataPoolConfiguration: PoolConfiguration;
|
||||
storagePoolConfiguration: PoolConfiguration;
|
||||
sparkPoolConfiguration: PoolConfiguration;
|
||||
}
|
||||
|
||||
export interface PoolConfiguration {
|
||||
type: ClusterPoolType;
|
||||
scale: number;
|
||||
maxScale?: number;
|
||||
hardwareLabel?: string;
|
||||
}
|
||||
|
||||
export interface SQLServerMasterConfiguration extends PoolConfiguration {
|
||||
engineOnly: boolean;
|
||||
}
|
||||
|
||||
export enum ClusterPoolType {
|
||||
SQL,
|
||||
Compute,
|
||||
Data,
|
||||
Storage,
|
||||
Spark
|
||||
}
|
||||
|
||||
export interface ClusterResourceSummary {
|
||||
hardwareLabels: HardwareLabel[];
|
||||
}
|
||||
|
||||
export interface HardwareLabel {
|
||||
name: string;
|
||||
totalNodes: number;
|
||||
totalCores: number;
|
||||
totalMemoryInGB: number;
|
||||
totalDisks: number;
|
||||
}
|
||||
Reference in New Issue
Block a user