Class SftpServerLinkedService
java.lang.Object
com.azure.resourcemanager.datafactory.models.LinkedService
com.azure.resourcemanager.datafactory.models.SftpServerLinkedService
A linked service for an SSH File Transfer Protocol (SFTP) server.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of SftpServerLinkedService class. -
Method Summary
Modifier and TypeMethodDescriptionGet the authenticationType property: The authentication type to be used to connect to the FTP server.Get the encryptedCredential property: The encrypted credential used for authentication.host()Get the host property: The SFTP server host name.Get the hostKeyFingerprint property: The host key finger-print of the SFTP server.Get the passPhrase property: The password to decrypt the SSH private key if the SSH private key is encrypted.password()Get the password property: Password to logon the SFTP server for Basic authentication.port()Get the port property: The TCP port number that the SFTP server uses to listen for client connections.Get the privateKeyContent property: Base64 encoded SSH private key content for SshPublicKey authentication.Get the privateKeyPath property: The SSH private key file path for SshPublicKey authentication.Get the skipHostKeyValidation property: If true, skip the SSH host key validation.username()Get the username property: The username used to log on to the SFTP server.voidvalidate()Validates the instance.withAnnotations(List<Object> annotations) Set the annotations property: List of tags that can be used for describing the linked service.withAuthenticationType(SftpAuthenticationType authenticationType) Set the authenticationType property: The authentication type to be used to connect to the FTP server.withConnectVia(IntegrationRuntimeReference connectVia) Set the connectVia property: The integration runtime reference.withDescription(String description) Set the description property: Linked service description.withEncryptedCredential(Object encryptedCredential) Set the encryptedCredential property: The encrypted credential used for authentication.Set the host property: The SFTP server host name.withHostKeyFingerprint(Object hostKeyFingerprint) Set the hostKeyFingerprint property: The host key finger-print of the SFTP server.withParameters(Map<String, ParameterSpecification> parameters) Set the parameters property: Parameters for linked service.withPassPhrase(SecretBase passPhrase) Set the passPhrase property: The password to decrypt the SSH private key if the SSH private key is encrypted.withPassword(SecretBase password) Set the password property: Password to logon the SFTP server for Basic authentication.Set the port property: The TCP port number that the SFTP server uses to listen for client connections.withPrivateKeyContent(SecretBase privateKeyContent) Set the privateKeyContent property: Base64 encoded SSH private key content for SshPublicKey authentication.withPrivateKeyPath(Object privateKeyPath) Set the privateKeyPath property: The SSH private key file path for SshPublicKey authentication.withSkipHostKeyValidation(Object skipHostKeyValidation) Set the skipHostKeyValidation property: If true, skip the SSH host key validation.withUsername(Object username) Set the username property: The username used to log on to the SFTP server.Methods inherited from class com.azure.resourcemanager.datafactory.models.LinkedService
additionalProperties, annotations, connectVia, description, parameters, withAdditionalProperties
-
Constructor Details
-
SftpServerLinkedService
public SftpServerLinkedService()Creates an instance of SftpServerLinkedService class.
-
-
Method Details
-
withConnectVia
Set the connectVia property: The integration runtime reference.- Overrides:
withConnectViain classLinkedService- Parameters:
connectVia- the connectVia value to set.- Returns:
- the LinkedService object itself.
-
withDescription
Set the description property: Linked service description.- Overrides:
withDescriptionin classLinkedService- Parameters:
description- the description value to set.- Returns:
- the LinkedService object itself.
-
withParameters
Set the parameters property: Parameters for linked service.- Overrides:
withParametersin classLinkedService- Parameters:
parameters- the parameters value to set.- Returns:
- the LinkedService object itself.
-
withAnnotations
Set the annotations property: List of tags that can be used for describing the linked service.- Overrides:
withAnnotationsin classLinkedService- Parameters:
annotations- the annotations value to set.- Returns:
- the LinkedService object itself.
-
host
Get the host property: The SFTP server host name. Type: string (or Expression with resultType string).- Returns:
- the host value.
-
withHost
Set the host property: The SFTP server host name. Type: string (or Expression with resultType string).- Parameters:
host- the host value to set.- Returns:
- the SftpServerLinkedService object itself.
-
port
Get the port property: The TCP port number that the SFTP server uses to listen for client connections. Default value is 22. Type: integer (or Expression with resultType integer), minimum: 0.- Returns:
- the port value.
-
withPort
Set the port property: The TCP port number that the SFTP server uses to listen for client connections. Default value is 22. Type: integer (or Expression with resultType integer), minimum: 0.- Parameters:
port- the port value to set.- Returns:
- the SftpServerLinkedService object itself.
-
authenticationType
Get the authenticationType property: The authentication type to be used to connect to the FTP server.- Returns:
- the authenticationType value.
-
withAuthenticationType
Set the authenticationType property: The authentication type to be used to connect to the FTP server.- Parameters:
authenticationType- the authenticationType value to set.- Returns:
- the SftpServerLinkedService object itself.
-
username
Get the username property: The username used to log on to the SFTP server. Type: string (or Expression with resultType string).- Returns:
- the username value.
-
withUsername
Set the username property: The username used to log on to the SFTP server. Type: string (or Expression with resultType string).- Parameters:
username- the username value to set.- Returns:
- the SftpServerLinkedService object itself.
-
password
Get the password property: Password to logon the SFTP server for Basic authentication.- Returns:
- the password value.
-
withPassword
Set the password property: Password to logon the SFTP server for Basic authentication.- Parameters:
password- the password value to set.- Returns:
- the SftpServerLinkedService object itself.
-
encryptedCredential
Get the encryptedCredential property: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).- Returns:
- the encryptedCredential value.
-
withEncryptedCredential
Set the encryptedCredential property: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).- Parameters:
encryptedCredential- the encryptedCredential value to set.- Returns:
- the SftpServerLinkedService object itself.
-
privateKeyPath
Get the privateKeyPath property: The SSH private key file path for SshPublicKey authentication. Only valid for on-premises copy. For on-premises copy with SshPublicKey authentication, either PrivateKeyPath or PrivateKeyContent should be specified. SSH private key should be OpenSSH format. Type: string (or Expression with resultType string).- Returns:
- the privateKeyPath value.
-
withPrivateKeyPath
Set the privateKeyPath property: The SSH private key file path for SshPublicKey authentication. Only valid for on-premises copy. For on-premises copy with SshPublicKey authentication, either PrivateKeyPath or PrivateKeyContent should be specified. SSH private key should be OpenSSH format. Type: string (or Expression with resultType string).- Parameters:
privateKeyPath- the privateKeyPath value to set.- Returns:
- the SftpServerLinkedService object itself.
-
privateKeyContent
Get the privateKeyContent property: Base64 encoded SSH private key content for SshPublicKey authentication. For on-premises copy with SshPublicKey authentication, either PrivateKeyPath or PrivateKeyContent should be specified. SSH private key should be OpenSSH format.- Returns:
- the privateKeyContent value.
-
withPrivateKeyContent
Set the privateKeyContent property: Base64 encoded SSH private key content for SshPublicKey authentication. For on-premises copy with SshPublicKey authentication, either PrivateKeyPath or PrivateKeyContent should be specified. SSH private key should be OpenSSH format.- Parameters:
privateKeyContent- the privateKeyContent value to set.- Returns:
- the SftpServerLinkedService object itself.
-
passPhrase
Get the passPhrase property: The password to decrypt the SSH private key if the SSH private key is encrypted.- Returns:
- the passPhrase value.
-
withPassPhrase
Set the passPhrase property: The password to decrypt the SSH private key if the SSH private key is encrypted.- Parameters:
passPhrase- the passPhrase value to set.- Returns:
- the SftpServerLinkedService object itself.
-
skipHostKeyValidation
Get the skipHostKeyValidation property: If true, skip the SSH host key validation. Default value is false. Type: boolean (or Expression with resultType boolean).- Returns:
- the skipHostKeyValidation value.
-
withSkipHostKeyValidation
Set the skipHostKeyValidation property: If true, skip the SSH host key validation. Default value is false. Type: boolean (or Expression with resultType boolean).- Parameters:
skipHostKeyValidation- the skipHostKeyValidation value to set.- Returns:
- the SftpServerLinkedService object itself.
-
hostKeyFingerprint
Get the hostKeyFingerprint property: The host key finger-print of the SFTP server. When SkipHostKeyValidation is false, HostKeyFingerprint should be specified. Type: string (or Expression with resultType string).- Returns:
- the hostKeyFingerprint value.
-
withHostKeyFingerprint
Set the hostKeyFingerprint property: The host key finger-print of the SFTP server. When SkipHostKeyValidation is false, HostKeyFingerprint should be specified. Type: string (or Expression with resultType string).- Parameters:
hostKeyFingerprint- the hostKeyFingerprint value to set.- Returns:
- the SftpServerLinkedService object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classLinkedService- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-