public class RemoteServer extends Object implements ModelInterface
| Modifier and Type | Field and Description |
|---|---|
String |
authAccountName
Describes the authorized account
|
String |
authenticationMethod
Type of authentication method
|
String |
authSetupLink
Returns link to login with an Oauth provider
|
String |
authStatus
Either `in_setup` or `complete`
|
String |
awsAccessKey
AWS Access Key.
|
String |
awsSecretKey
AWS secret key.
|
String |
azureBlobStorageAccessKey
Azure Blob Storage secret key.
|
String |
azureBlobStorageAccount
Azure Blob Storage Account name
|
String |
azureBlobStorageContainer
Azure Blob Storage Container name
|
Boolean |
azureBlobStorageHierarchicalNamespace
Enable when storage account has hierarchical namespace feature enabled
|
String |
azureBlobStorageSasToken
Shared Access Signature (SAS) token
|
String |
azureFilesStorageAccessKey
Azure File Storage access key.
|
String |
azureFilesStorageAccount
Azure File Storage Account name
|
String |
azureFilesStorageSasToken
Shared Access Signature (SAS) token
|
String |
azureFilesStorageShareName
Azure File Storage Share name
|
String |
backblazeB2ApplicationKey
Backblaze B2 Cloud Storage applicationKey.
|
String |
backblazeB2Bucket
Backblaze B2 Cloud Storage Bucket name
|
String |
backblazeB2KeyId
Backblaze B2 Cloud Storage keyID.
|
String |
backblazeB2S3Endpoint
Backblaze B2 Cloud Storage S3 Endpoint
|
String |
cloudflareAccessKey
Cloudflare Access Key.
|
String |
cloudflareBucket
Cloudflare Bucket name
|
String |
cloudflareEndpoint
Cloudflare endpoint
|
String |
cloudflareSecretKey
Cloudflare secret key
|
Boolean |
disabled
If true, this server has been disabled due to failures.
|
Boolean |
dropboxTeams
List Team folders in root
|
Boolean |
enableDedicatedIps
`true` if remote server only accepts connections from dedicated IPs
|
String |
filebaseAccessKey
Filebase Access Key.
|
String |
filebaseBucket
Filebase Bucket name
|
String |
filebaseSecretKey
Filebase secret key
|
String |
filesAgentApiToken
Files Agent API Token
|
String |
filesAgentPermissionSet
Local permissions for files agent. read_only, write_only, or read_write
|
String |
filesAgentRoot
Agent local root path
|
String |
filesAgentVersion
Files Agent version
|
String |
googleCloudStorageBucket
Google Cloud Storage bucket name
|
String |
googleCloudStorageCredentialsJson
A JSON file that contains the private key.
|
String |
googleCloudStorageProjectId
Google Cloud Project ID
|
String |
hostname
Hostname or IP address
|
Long |
id
Remote server ID
|
String |
linodeAccessKey
Linode Access Key.
|
String |
linodeBucket
Linode Bucket name
|
String |
linodeRegion
Linode region
|
String |
linodeSecretKey
Linode secret key
|
Long |
maxConnections
Max number of parallel connections.
|
String |
name
Internal name for your reference
|
String |
oneDriveAccountType
Either personal or business_other account types
|
String |
password
Password if needed.
|
String |
pinnedRegion
If set, all communciations with this remote server are made through the provided region.
|
Boolean |
pinToSiteRegion
If true, we will ensure that all communications with this remote server are made through the primary region of the site.
|
Long |
port
Port for remote server.
|
String |
privateKey
Private key if needed.
|
String |
privateKeyPassphrase
Passphrase for private key if needed.
|
String |
rackspaceApiKey
Rackspace API key from the Rackspace Cloud Control Panel.
|
String |
rackspaceContainer
The name of the container (top level directory) where files will sync.
|
String |
rackspaceRegion
Three letter airport code for Rackspace region.
|
String |
rackspaceUsername
Rackspace username used to login to the Rackspace Cloud Control Panel.
|
String |
remoteHomePath
Initial home folder on remote server
|
Boolean |
resetAuthentication
Reset authenticated account
|
String |
s3Bucket
S3 bucket name
|
String |
s3CompatibleAccessKey
S3-compatible Access Key.
|
String |
s3CompatibleBucket
S3-compatible Bucket name
|
String |
s3CompatibleEndpoint
S3-compatible endpoint
|
String |
s3CompatibleRegion
S3-compatible endpoint
|
String |
s3CompatibleSecretKey
S3-compatible secret key
|
String |
s3Region
S3 region
|
String |
serverCertificate
Remote server certificate
|
String |
serverHostKey
Remote server SSH Host Key.
|
String |
serverType
Remote server type.
|
String |
ssl
Should we require SSL?
|
String |
sslCertificate
SSL client certificate.
|
Boolean |
supportsVersioning
If true, this remote server supports file versioning.
|
String |
username
Remote server username.
|
String |
wasabiAccessKey
Wasabi access key.
|
String |
wasabiBucket
Wasabi Bucket name
|
String |
wasabiRegion
Wasabi region
|
String |
wasabiSecretKey
Wasabi secret key.
|
| Constructor and Description |
|---|
RemoteServer() |
RemoteServer(HashMap<String,Object> parameters) |
RemoteServer(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
| Modifier and Type | Method and Description |
|---|---|
static ListIterator<RemoteServer> |
all() |
static ListIterator<RemoteServer> |
all(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
RemoteServerConfigurationFile |
configurationFile()
Post local changes, check in, and download configuration file (used by some Remote Server integrations, such as the Files.com Agent)
Parameters:
api_token - string - Files Agent API Token
permission_set - string - The permission set for the agent ['read_write', 'read_only', 'write_only']
root - string - The root directory for the agent
hostname - string
port - int64 - Incoming port for files agent connections
status - string - either running or shutdown
config_version - string - agent config version
private_key - string - The private key for the agent
public_key - string - public key
server_host_key - string
subdomain - string - Files.com subdomain site name
|
static RemoteServerConfigurationFile |
configurationFile(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static RemoteServerConfigurationFile |
configurationFile(Long id,
HashMap<String,Object> parameters)
Post local changes, check in, and download configuration file (used by some Remote Server integrations, such as the Files.com Agent)
Parameters:
api_token - string - Files Agent API Token
permission_set - string - The permission set for the agent ['read_write', 'read_only', 'write_only']
root - string - The root directory for the agent
hostname - string
port - int64 - Incoming port for files agent connections
status - string - either running or shutdown
config_version - string - agent config version
private_key - string - The private key for the agent
public_key - string - public key
server_host_key - string
subdomain - string - Files.com subdomain site name
|
static RemoteServerConfigurationFile |
configurationFile(Long id,
HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static RemoteServer |
create(HashMap<String,Object> parameters)
Parameters:
aws_access_key - string - AWS Access Key.
|
static RemoteServer |
create(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
void |
delete() |
static void |
delete(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static void |
delete(Long id,
HashMap<String,Object> parameters) |
static void |
delete(Long id,
HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static void |
destroy() |
void |
destroy(HashMap<String,Object> parameters) |
static void |
destroy(Long id,
HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static RemoteServer |
find(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static RemoteServer |
find(Long id,
HashMap<String,Object> parameters)
Parameters:
id (required) - int64 - Remote Server ID.
|
static RemoteServer |
find(Long id,
HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static RemoteServerConfigurationFile |
findConfigurationFile(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static RemoteServerConfigurationFile |
findConfigurationFile(Long id,
HashMap<String,Object> parameters)
Parameters:
id (required) - int64 - Remote Server ID.
|
static RemoteServerConfigurationFile |
findConfigurationFile(Long id,
HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static RemoteServer |
get() |
static RemoteServer |
get(Long id,
HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static ListIterator<RemoteServer> |
list()
Parameters:
cursor - string - Used for pagination.
|
static ListIterator<RemoteServer> |
list(HashMap<String,Object> parameters) |
static ListIterator<RemoteServer> |
list(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
void |
save() |
RemoteServer |
update()
Parameters:
aws_access_key - string - AWS Access Key.
|
static RemoteServer |
update(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static RemoteServer |
update(Long id,
HashMap<String,Object> parameters)
Parameters:
aws_access_key - string - AWS Access Key.
|
static RemoteServer |
update(Long id,
HashMap<String,Object> parameters,
HashMap<String,Object> options) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetOptionspublic Long id
public Boolean disabled
public String authenticationMethod
public String hostname
public String remoteHomePath
public String name
public Long port
public Long maxConnections
public Boolean pinToSiteRegion
public String pinnedRegion
public String s3Bucket
public String s3Region
public String awsAccessKey
public String serverCertificate
public String serverHostKey
public String serverType
public String ssl
public String username
public String googleCloudStorageBucket
public String googleCloudStorageProjectId
public String backblazeB2S3Endpoint
public String backblazeB2Bucket
public String wasabiBucket
public String wasabiRegion
public String wasabiAccessKey
public String rackspaceUsername
public String rackspaceRegion
public String rackspaceContainer
public String authSetupLink
public String authStatus
public String authAccountName
public String oneDriveAccountType
public String azureBlobStorageAccount
public String azureBlobStorageContainer
public Boolean azureBlobStorageHierarchicalNamespace
public String azureFilesStorageAccount
public String azureFilesStorageShareName
public String s3CompatibleBucket
public String s3CompatibleEndpoint
public String s3CompatibleRegion
public String s3CompatibleAccessKey
public Boolean enableDedicatedIps
public String filesAgentPermissionSet
public String filesAgentRoot
public String filesAgentApiToken
public String filesAgentVersion
public String filebaseBucket
public String filebaseAccessKey
public String cloudflareBucket
public String cloudflareAccessKey
public String cloudflareEndpoint
public Boolean dropboxTeams
public String linodeBucket
public String linodeAccessKey
public String linodeRegion
public Boolean supportsVersioning
public String awsSecretKey
public String password
public String privateKey
public String privateKeyPassphrase
public String sslCertificate
public String googleCloudStorageCredentialsJson
public String wasabiSecretKey
public String backblazeB2KeyId
public String backblazeB2ApplicationKey
public String rackspaceApiKey
public Boolean resetAuthentication
public String azureBlobStorageAccessKey
public String azureFilesStorageAccessKey
public String azureBlobStorageSasToken
public String azureFilesStorageSasToken
public String s3CompatibleSecretKey
public String filebaseSecretKey
public String cloudflareSecretKey
public String linodeSecretKey
public RemoteServerConfigurationFile configurationFile() throws IOException
IOExceptionpublic RemoteServer update() throws IOException
IOExceptionpublic void delete()
throws IOException
IOExceptionpublic void destroy(HashMap<String,Object> parameters) throws IOException
IOExceptionpublic void save()
throws IOException
IOExceptionpublic static ListIterator<RemoteServer> list() throws RuntimeException
RuntimeExceptionpublic static ListIterator<RemoteServer> list(HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static ListIterator<RemoteServer> list(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static ListIterator<RemoteServer> all() throws RuntimeException
RuntimeExceptionpublic static ListIterator<RemoteServer> all(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static RemoteServer find(Long id, HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static RemoteServer find(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static RemoteServer find(Long id, HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static RemoteServer get() throws RuntimeException
RuntimeExceptionpublic static RemoteServer get(Long id, HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static RemoteServerConfigurationFile findConfigurationFile(Long id, HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static RemoteServerConfigurationFile findConfigurationFile(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static RemoteServerConfigurationFile findConfigurationFile(Long id, HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static RemoteServer create(HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static RemoteServer create(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static RemoteServerConfigurationFile configurationFile(Long id, HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static RemoteServerConfigurationFile configurationFile(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static RemoteServerConfigurationFile configurationFile(Long id, HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static RemoteServer update(Long id, HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static RemoteServer update(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static RemoteServer update(Long id, HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static void delete(Long id, HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static void delete(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static void delete(Long id, HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static void destroy()
throws RuntimeException
RuntimeExceptionpublic static void destroy(Long id, HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionCopyright © 2024 com.github.files-com. All rights reserved.