-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathvscode-azurecontainerapps.api.d.ts
More file actions
40 lines (34 loc) · 1.35 KB
/
vscode-azurecontainerapps.api.d.ts
File metadata and controls
40 lines (34 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
export interface AzureContainerAppsExtensionApi {
apiVersion: string;
deployWorkspaceProject(options: DeployWorkspaceProjectOptionsContract): Promise<DeployWorkspaceProjectResults>;
}
export interface DeployWorkspaceProjectOptionsContract {
// Existing resources
subscriptionId?: string;
resourceGroupId?: string;
// Workspace deployment paths (absolute fs path)
rootPath?: string;
srcPath?: string;
dockerfilePath?: string;
// Options
suppressRegistryPrompt?: boolean;
suppressConfirmation?: boolean; // Suppress any [resource] confirmation prompts
suppressContainerAppCreation?: boolean;
shouldSaveDeploySettings?: boolean;
}
export interface DeployWorkspaceProjectResults {
resourceGroupId?: string;
logAnalyticsWorkspaceId?: string;
managedEnvironmentId?: string;
containerAppId?: string;
// ACR
registryId?: string;
registryLoginServer?: string;
registryUsername?: string;
registryPassword?: string;
imageName?: string;
}