-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathIDeployBaseContext.ts
More file actions
25 lines (21 loc) · 1.16 KB
/
IDeployBaseContext.ts
File metadata and controls
25 lines (21 loc) · 1.16 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
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { EnvironmentVar, RegistryCredentials, Secret } from "@azure/arm-appcontainers";
import { ISubscriptionActionContext } from "@microsoft/vscode-azext-utils";
import { AzureSubscription } from "@microsoft/vscode-azureresources-api";
import { ImageSourceValues } from "../../constants";
import { ContainerAppModel } from "../../tree/ContainerAppItem";
export interface IDeployBaseContext extends ISubscriptionActionContext {
subscription: AzureSubscription;
targetContainer?: ContainerAppModel;
imageSource?: ImageSourceValues;
buildType?: string;
showQuickStartImage?: boolean;
// Base image attributes used as a precursor for either creating or updating a container app
image?: string;
environmentVariables?: EnvironmentVar[];
registries?: RegistryCredentials[];
secrets?: Secret[];
}