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 getConnectionString for the atmoz SFTP server in the form of sftp://host:port.
property
hostEndpointReferenceExpression getGets the host endpoint reference for this resource.
property
portEndpointReferenceExpression getGets the port endpoint reference for this resource.
property
uriExpression ReferenceExpression getGets 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 stringkeyType 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
usernamestringkeyFile stringkeyType KeyType Returns
SftpContainerResource Adds a bind mount for the users.conf file to an SFTP container resource.
withUsersFile(usersFile: string): SftpContainerResourceParameters
usersFile stringReturns
SftpContainerResource