/** * @author FanH */ import { AzureDeployImpl } from "./azureDeployImpl"; import { AzureUploadConfig, DeployContext, DeployStepArgs } from "../../../interface/buildAndDeployArgs"; import { AzureResourceInfo, DriverContext } from "../../../interface/commonArgs"; import { TokenCredential } from "@azure/core-auth"; import { LogProvider } from "@microsoft/teamsfx-api"; import { ReadStream } from "fs-extra"; export declare class AzureZipDeployImpl extends AzureDeployImpl { pattern: RegExp; private readonly serviceName; protected helpLink: string; protected summaries: () => string[]; protected summaryPrepare: () => string[]; constructor(args: unknown, context: DriverContext, serviceName: string, helpLink: string, summaries: string[], summaryPrepare: string[]); azureDeploy(args: DeployStepArgs, azureResource: AzureResourceInfo, azureCredential: TokenCredential): Promise; protected prepare: (args: DeployStepArgs) => Promise; /** * deploy to azure app service or azure function use zip deploy method * @param args local file needed to be deployed * @param azureResource azure resource info * @param azureCredential azure user login credential * @return the zip deploy time cost * @protected */ zipDeploy(args: DeployStepArgs, azureResource: AzureResourceInfo, azureCredential: TokenCredential): Promise; /** * pack dist folder into zip * @param args dist folder and ignore files * @param context log provider etc.. * @protected */ protected packageToZip(args: DeployStepArgs, context: DeployContext): Promise; /** * call azure app service or azure function zip deploy method * @param zipDeployEndpoint azure zip deploy endpoint * @param zipBuffer zip file buffer * @param config azure upload config, including azure account credential * @param logger log provider * @protected */ zipDeployPackage(zipDeployEndpoint: string, zipBuffer: ReadStream, config: AzureUploadConfig, logger: LogProvider): Promise; /** * create azure zip deploy endpoint * @param azureResource resource id of the website * @param config azure upload config, including azure account credential */ static getZipDeployEndpoint(azureResource: AzureResourceInfo, config: AzureUploadConfig): Promise; updateProgressbar(): void; } //# sourceMappingURL=AzureZipDeployImpl.d.ts.map