mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-21 09:51:11 +00:00
Cleanup Synapse+Spark Logic (#813)
This commit is contained in:
@@ -391,16 +391,6 @@ export interface GeospatialConfig {
|
||||
type: string;
|
||||
}
|
||||
|
||||
export interface GatewayDatabaseAccount {
|
||||
MediaLink: string;
|
||||
DatabasesLink: string;
|
||||
MaxMediaStorageUsageInMB: number;
|
||||
CurrentMediaStorageUsageInMB: number;
|
||||
EnableMultipleWriteLocations?: boolean;
|
||||
WritableLocations: RegionEndpoint[];
|
||||
ReadableLocations: RegionEndpoint[];
|
||||
}
|
||||
|
||||
export interface RegionEndpoint {
|
||||
name: string;
|
||||
documentAccountEndpoint: string;
|
||||
@@ -421,13 +411,6 @@ export interface AccountKeys {
|
||||
secondaryReadonlyMasterKey: string;
|
||||
}
|
||||
|
||||
export interface AfecFeature {
|
||||
id: string;
|
||||
name: string;
|
||||
properties: { state: string };
|
||||
type: string;
|
||||
}
|
||||
|
||||
export interface OperationStatus {
|
||||
status: string;
|
||||
id?: string;
|
||||
@@ -507,91 +490,6 @@ export interface MongoParameters extends RpParameters {
|
||||
analyticalStorageTtl?: number;
|
||||
}
|
||||
|
||||
export interface SparkClusterLibrary {
|
||||
name: string;
|
||||
}
|
||||
|
||||
export interface Library extends SparkClusterLibrary {
|
||||
properties: {
|
||||
kind: "Jar";
|
||||
source: {
|
||||
kind: "HttpsUri";
|
||||
uri: string;
|
||||
libraryFileName: string;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
export interface LibraryFeedResponse {
|
||||
value: Library[];
|
||||
}
|
||||
|
||||
export interface ArmResource {
|
||||
id: string;
|
||||
location: string;
|
||||
name: string;
|
||||
type: string;
|
||||
tags: { [key: string]: string };
|
||||
}
|
||||
|
||||
export interface ArcadiaWorkspaceIdentity {
|
||||
type: string;
|
||||
principalId: string;
|
||||
tenantId: string;
|
||||
}
|
||||
|
||||
export interface ArcadiaWorkspaceProperties {
|
||||
managedResourceGroupName: string;
|
||||
provisioningState: string;
|
||||
sqlAdministratorLogin: string;
|
||||
connectivityEndpoints: {
|
||||
artifacts: string;
|
||||
dev: string;
|
||||
spark: string;
|
||||
sql: string;
|
||||
web: string;
|
||||
};
|
||||
defaultDataLakeStorage: {
|
||||
accountUrl: string;
|
||||
filesystem: string;
|
||||
};
|
||||
}
|
||||
|
||||
export interface ArcadiaWorkspaceFeedResponse {
|
||||
value: ArcadiaWorkspace[];
|
||||
}
|
||||
|
||||
export interface ArcadiaWorkspace extends ArmResource {
|
||||
identity: ArcadiaWorkspaceIdentity;
|
||||
properties: ArcadiaWorkspaceProperties;
|
||||
}
|
||||
|
||||
export interface SparkPoolFeedResponse {
|
||||
value: SparkPool[];
|
||||
}
|
||||
|
||||
export interface SparkPoolProperties {
|
||||
creationDate: string;
|
||||
sparkVersion: string;
|
||||
nodeCount: number;
|
||||
nodeSize: string;
|
||||
nodeSizeFamily: string;
|
||||
provisioningState: string;
|
||||
autoScale: {
|
||||
enabled: boolean;
|
||||
minNodeCount: number;
|
||||
maxNodeCount: number;
|
||||
};
|
||||
autoPause: {
|
||||
enabled: boolean;
|
||||
delayInMinutes: number;
|
||||
};
|
||||
}
|
||||
|
||||
export interface SparkPool extends ArmResource {
|
||||
properties: SparkPoolProperties;
|
||||
}
|
||||
|
||||
export interface MemoryUsageInfo {
|
||||
freeKB: number;
|
||||
totalKB: number;
|
||||
|
||||
Reference in New Issue
Block a user