mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-16 01:25:36 -05:00
Agent/proxy ui (#1880)
* finished basic proxy ui * finished proxy UI and logic * made changes to accomodate toolsservice side changes
This commit is contained in:
committed by
Karl Burtram
parent
713c74adfd
commit
74c4b7311e
17
src/sql/sqlops.d.ts
vendored
17
src/sql/sqlops.d.ts
vendored
@@ -1503,6 +1503,9 @@ declare module 'sqlops' {
|
||||
updateProxy(ownerUri: string, originalProxyName: string, proxyInfo: AgentProxyInfo): Thenable<UpdateAgentOperatorResult>;
|
||||
deleteProxy(ownerUri: string, proxyInfo: AgentProxyInfo): Thenable<ResultStatus>;
|
||||
|
||||
// Credential method
|
||||
getCredentials(ownerUri: string): Thenable<GetCredentialsResult>;
|
||||
|
||||
// Job Schedule management methods
|
||||
getJobSchedules(ownerUri: string): Thenable<AgentJobSchedulesResult>;
|
||||
createJobSchedule(ownerUri: string, scheduleInfo: AgentJobScheduleInfo): Thenable<CreateAgentJobScheduleResult>;
|
||||
@@ -1512,6 +1515,20 @@ declare module 'sqlops' {
|
||||
registerOnUpdated(handler: () => any): void;
|
||||
}
|
||||
|
||||
// Security service interfaces ------------------------------------------------------------------------
|
||||
export interface CredentialInfo {
|
||||
id: number;
|
||||
identity: string;
|
||||
name: string;
|
||||
dateLastModified: string;
|
||||
createDate: string;
|
||||
providerName: string;
|
||||
}
|
||||
|
||||
export interface GetCredentialsResult extends ResultStatus {
|
||||
credentials: CredentialInfo[];
|
||||
}
|
||||
|
||||
// Task service interfaces ----------------------------------------------------------------------------
|
||||
export enum TaskStatus {
|
||||
notStarted = 0,
|
||||
|
||||
Reference in New Issue
Block a user