Files
azuredatastudio/extensions/arc/src/models/miaaModel.ts
Charles Gagnon fe5b8157e1 Add real MIAA connection string values (#10838)
* Add real MIAA connection string values

* Add MiaaModel and fix some strings

* Remove unused var

* Test to print env vars

* Add tests

* fixes
2020-06-10 15:39:21 -07:00

29 lines
889 B
TypeScript

/*---------------------------------------------------------------------------------------------
* 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 * as vscode from 'vscode';
export class MiaaModel {
private readonly _onPasswordUpdated = new vscode.EventEmitter<string>();
public onPasswordUpdated = this._onPasswordUpdated.event;
public passwordLastUpdated?: Date;
constructor(public connectionProfile: azdata.IConnectionProfile, private _name: string) {
}
/** Returns the service's name */
public get name(): string {
return this._name;
}
/** Refreshes the model */
public async refresh() {
await Promise.all([
]);
}
}