Create a new connector of a supported type (among: "SQL", "FTP", "SFTP", "S3", "GCP"). If check_if_exist is enabled, the function will check if a connector with the same name already exists. If yes, it will return a message and the information of the existing connector instead of creating a new one.
create_connector(
project_id,
type,
name,
host,
port,
username,
password,
google_credentials = NULL,
check_if_exist = FALSE
)
id of the project, can be obtained with get_projects().
connector type.
connector name.
connector host.
connector port.
connector username.
connector password.
google credentials JSON (for GCP only).
boolean (FALSE by default). If TRUE, makes extra checks to see if a connector with the same name is already existing.
list - parsed content of the connector.