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
connectionStringExpressionReferenceExpressiongetConnectionString for the atmoz SFTP server in the form of sftp://host:port.
property
hostEndpointReferenceExpressiongetGets the host endpoint reference for this resource.
property
portEndpointReferenceExpressiongetGets the port endpoint reference for this resource.
property
uriExpressionReferenceExpressiongetGets 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
keyFilestringkeyTypeKeyTypeReturns
SftpContainerResourceAdds 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
usernamestringkeyFilestringkeyTypeKeyTypeReturns
SftpContainerResourceAdds a bind mount for the users.conf file to an SFTP container resource.
withUsersFile(usersFile: string): SftpContainerResourceParameters
usersFilestringReturns
SftpContainerResource