Machine Learning Model Registry - Iteration1 (#9105)

* Machine learning services extension - model registration wizard
This commit is contained in:
Leila Lali
2020-02-26 09:19:48 -08:00
committed by GitHub
parent 067fcc8dfb
commit ff207859d6
46 changed files with 3990 additions and 210 deletions

View File

@@ -0,0 +1,34 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the Source EULA. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import * as azdata from 'azdata';
import { azureResource } from '../typings/azure-resource';
import { Workspace } from '@azure/arm-machinelearningservices/esm/models';
import { WorkspaceModel } from '../modelManagement/interfaces';
export interface IDataComponent<T> {
data: T | undefined;
}
export interface IPageView {
registerComponent: (modelBuilder: azdata.ModelBuilder) => azdata.Component;
component: azdata.Component | undefined;
onEnter?: () => Promise<void>;
onLeave?: () => Promise<void>;
refresh: () => Promise<void>;
viewPanel: azdata.window.ModelViewPanel | undefined;
title: string;
}
export interface AzureWorkspaceResource {
account?: azdata.Account,
subscription?: azureResource.AzureResourceSubscription,
group?: azureResource.AzureResource,
workspace?: Workspace
}
export interface AzureModelResource extends AzureWorkspaceResource {
model?: WorkspaceModel;
}