Skip to content
DocsTry Aspire
DocsTry

addSftp

Method
📦 CommunityToolkit.Aspire.Hosting.Sftp v13.4.0
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addSftp(
name: string,
port?: number): SftpContainerResource;
}

Signature

methodaddSftpbuilder
Adds atmoz SFTP to the application model.
addSftp(
name: string,
port?: number): SftpContainerResource
namestring
portnumberoptional
SftpContainerResource

Applies to

This method applies to the following types: