SftpContainerResource
Handle
interface SftpContainerResource extends IComputeResource, IExpressionValue, IManifestExpressionProvider, IResource, IResourceWithArgs, IResourceWithConnectionString, IResourceWithEndpoints, IResourceWithEnvironment, IResourceWithProbes, IResourceWithWaitSupport, IValueProvider, IValueWithReferences { readonly connectionStringExpression: ReferenceExpression; readonly host: EndpointReferenceExpression; readonly port: EndpointReferenceExpression; readonly uriExpression: ReferenceExpression; withHostKeyFile( keyFile: string, keyType: KeyType): SftpContainerResource; withUserKeyFile( username: string, keyFile: string, keyType: KeyType): SftpContainerResource; withUsersFile(usersFile: string): SftpContainerResource;} 7 members
Properties
property
connectionStringExpression ReferenceExpression get ConnectionString for the atmoz SFTP server in the form of sftp://host:port.
property
host EndpointReferenceExpression get Gets the host endpoint reference for this resource.
property
port EndpointReferenceExpression get Gets the port endpoint reference for this resource.
property
uriExpression ReferenceExpression get Gets the connection URI expression for the atmoz SFTP endpoint.
Methods
Adds a bind mount for the specified host key file to an SFTP container resource.
withHostKeyFile( keyFile: string, keyType: KeyType): SftpContainerResourceParameters
keyFile string keyType KeyType Returns
SftpContainerResource Adds a bind mount for the public key file of the specified user to an SFTP container resource.
withUserKeyFile( username: string, keyFile: string, keyType: KeyType): SftpContainerResourceParameters
username string keyFile string keyType KeyType Returns
SftpContainerResource Adds a bind mount for the users.conf file to an SFTP container resource.
withUsersFile(usersFile: string): SftpContainerResourceParameters
usersFile string Returns
SftpContainerResource