Class FilesImpl
- java.lang.Object
-
- com.microsoft.azure.batch.protocol.implementation.FilesImpl
-
-
Constructor Summary
Constructors Constructor Description FilesImpl(retrofit2.Retrofit retrofit, BatchServiceClientImpl client)
Initializes an instance of FilesImpl.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deleteFromComputeNode(String poolId, String nodeId, String filePath)
Deletes the specified file from the Compute Node.void
deleteFromComputeNode(String poolId, String nodeId, String filePath, Boolean recursive, FileDeleteFromComputeNodeOptions fileDeleteFromComputeNodeOptions)
Deletes the specified file from the Compute Node.rx.Observable<Void>
deleteFromComputeNodeAsync(String poolId, String nodeId, String filePath)
Deletes the specified file from the Compute Node.com.microsoft.rest.ServiceFuture<Void>
deleteFromComputeNodeAsync(String poolId, String nodeId, String filePath, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Deletes the specified file from the Compute Node.rx.Observable<Void>
deleteFromComputeNodeAsync(String poolId, String nodeId, String filePath, Boolean recursive, FileDeleteFromComputeNodeOptions fileDeleteFromComputeNodeOptions)
Deletes the specified file from the Compute Node.com.microsoft.rest.ServiceFuture<Void>
deleteFromComputeNodeAsync(String poolId, String nodeId, String filePath, Boolean recursive, FileDeleteFromComputeNodeOptions fileDeleteFromComputeNodeOptions, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Deletes the specified file from the Compute Node.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,FileDeleteFromComputeNodeHeaders>>
deleteFromComputeNodeWithServiceResponseAsync(String poolId, String nodeId, String filePath)
Deletes the specified file from the Compute Node.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,FileDeleteFromComputeNodeHeaders>>
deleteFromComputeNodeWithServiceResponseAsync(String poolId, String nodeId, String filePath, Boolean recursive, FileDeleteFromComputeNodeOptions fileDeleteFromComputeNodeOptions)
Deletes the specified file from the Compute Node.void
deleteFromTask(String jobId, String taskId, String filePath)
Deletes the specified Task file from the Compute Node where the Task ran.void
deleteFromTask(String jobId, String taskId, String filePath, Boolean recursive, FileDeleteFromTaskOptions fileDeleteFromTaskOptions)
Deletes the specified Task file from the Compute Node where the Task ran.rx.Observable<Void>
deleteFromTaskAsync(String jobId, String taskId, String filePath)
Deletes the specified Task file from the Compute Node where the Task ran.com.microsoft.rest.ServiceFuture<Void>
deleteFromTaskAsync(String jobId, String taskId, String filePath, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Deletes the specified Task file from the Compute Node where the Task ran.rx.Observable<Void>
deleteFromTaskAsync(String jobId, String taskId, String filePath, Boolean recursive, FileDeleteFromTaskOptions fileDeleteFromTaskOptions)
Deletes the specified Task file from the Compute Node where the Task ran.com.microsoft.rest.ServiceFuture<Void>
deleteFromTaskAsync(String jobId, String taskId, String filePath, Boolean recursive, FileDeleteFromTaskOptions fileDeleteFromTaskOptions, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Deletes the specified Task file from the Compute Node where the Task ran.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,FileDeleteFromTaskHeaders>>
deleteFromTaskWithServiceResponseAsync(String jobId, String taskId, String filePath)
Deletes the specified Task file from the Compute Node where the Task ran.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,FileDeleteFromTaskHeaders>>
deleteFromTaskWithServiceResponseAsync(String jobId, String taskId, String filePath, Boolean recursive, FileDeleteFromTaskOptions fileDeleteFromTaskOptions)
Deletes the specified Task file from the Compute Node where the Task ran.InputStream
getFromComputeNode(String poolId, String nodeId, String filePath)
Returns the content of the specified Compute Node file.InputStream
getFromComputeNode(String poolId, String nodeId, String filePath, FileGetFromComputeNodeOptions fileGetFromComputeNodeOptions)
Returns the content of the specified Compute Node file.void
getFromComputeNode(String poolId, String nodeId, String filePath, FileGetFromComputeNodeOptions fileGetFromComputeNodeOptions, OutputStream outputStream)
Returns the content of the specified compute node file.void
getFromComputeNode(String poolId, String nodeId, String filePath, OutputStream outputStream)
Returns the content of the specified task file.rx.Observable<InputStream>
getFromComputeNodeAsync(String poolId, String nodeId, String filePath)
Returns the content of the specified Compute Node file.rx.Observable<InputStream>
getFromComputeNodeAsync(String poolId, String nodeId, String filePath, FileGetFromComputeNodeOptions fileGetFromComputeNodeOptions)
Returns the content of the specified Compute Node file.com.microsoft.rest.ServiceFuture<InputStream>
getFromComputeNodeAsync(String poolId, String nodeId, String filePath, FileGetFromComputeNodeOptions fileGetFromComputeNodeOptions, com.microsoft.rest.ServiceCallback<InputStream> serviceCallback)
Returns the content of the specified Compute Node file.com.microsoft.rest.ServiceFuture<InputStream>
getFromComputeNodeAsync(String poolId, String nodeId, String filePath, com.microsoft.rest.ServiceCallback<InputStream> serviceCallback)
Returns the content of the specified Compute Node file.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<InputStream,FileGetFromComputeNodeHeaders>>
getFromComputeNodeWithServiceResponseAsync(String poolId, String nodeId, String filePath)
Returns the content of the specified Compute Node file.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<InputStream,FileGetFromComputeNodeHeaders>>
getFromComputeNodeWithServiceResponseAsync(String poolId, String nodeId, String filePath, FileGetFromComputeNodeOptions fileGetFromComputeNodeOptions)
Returns the content of the specified Compute Node file.InputStream
getFromTask(String jobId, String taskId, String filePath)
Returns the content of the specified Task file.InputStream
getFromTask(String jobId, String taskId, String filePath, FileGetFromTaskOptions fileGetFromTaskOptions)
Returns the content of the specified Task file.void
getFromTask(String jobId, String taskId, String filePath, FileGetFromTaskOptions fileGetFromTaskOptions, OutputStream outputStream)
Returns the content of the specified task file.void
getFromTask(String jobId, String taskId, String filePath, OutputStream outputStream)
Returns the content of the specified task file.rx.Observable<InputStream>
getFromTaskAsync(String jobId, String taskId, String filePath)
Returns the content of the specified Task file.rx.Observable<InputStream>
getFromTaskAsync(String jobId, String taskId, String filePath, FileGetFromTaskOptions fileGetFromTaskOptions)
Returns the content of the specified Task file.com.microsoft.rest.ServiceFuture<InputStream>
getFromTaskAsync(String jobId, String taskId, String filePath, FileGetFromTaskOptions fileGetFromTaskOptions, com.microsoft.rest.ServiceCallback<InputStream> serviceCallback)
Returns the content of the specified Task file.com.microsoft.rest.ServiceFuture<InputStream>
getFromTaskAsync(String jobId, String taskId, String filePath, com.microsoft.rest.ServiceCallback<InputStream> serviceCallback)
Returns the content of the specified Task file.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<InputStream,FileGetFromTaskHeaders>>
getFromTaskWithServiceResponseAsync(String jobId, String taskId, String filePath)
Returns the content of the specified Task file.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<InputStream,FileGetFromTaskHeaders>>
getFromTaskWithServiceResponseAsync(String jobId, String taskId, String filePath, FileGetFromTaskOptions fileGetFromTaskOptions)
Returns the content of the specified Task file.void
getPropertiesFromComputeNode(String poolId, String nodeId, String filePath)
Gets the properties of the specified Compute Node file.void
getPropertiesFromComputeNode(String poolId, String nodeId, String filePath, FileGetPropertiesFromComputeNodeOptions fileGetPropertiesFromComputeNodeOptions)
Gets the properties of the specified Compute Node file.rx.Observable<Void>
getPropertiesFromComputeNodeAsync(String poolId, String nodeId, String filePath)
Gets the properties of the specified Compute Node file.rx.Observable<Void>
getPropertiesFromComputeNodeAsync(String poolId, String nodeId, String filePath, FileGetPropertiesFromComputeNodeOptions fileGetPropertiesFromComputeNodeOptions)
Gets the properties of the specified Compute Node file.com.microsoft.rest.ServiceFuture<Void>
getPropertiesFromComputeNodeAsync(String poolId, String nodeId, String filePath, FileGetPropertiesFromComputeNodeOptions fileGetPropertiesFromComputeNodeOptions, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Gets the properties of the specified Compute Node file.com.microsoft.rest.ServiceFuture<Void>
getPropertiesFromComputeNodeAsync(String poolId, String nodeId, String filePath, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Gets the properties of the specified Compute Node file.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,FileGetPropertiesFromComputeNodeHeaders>>
getPropertiesFromComputeNodeWithServiceResponseAsync(String poolId, String nodeId, String filePath)
Gets the properties of the specified Compute Node file.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,FileGetPropertiesFromComputeNodeHeaders>>
getPropertiesFromComputeNodeWithServiceResponseAsync(String poolId, String nodeId, String filePath, FileGetPropertiesFromComputeNodeOptions fileGetPropertiesFromComputeNodeOptions)
Gets the properties of the specified Compute Node file.void
getPropertiesFromTask(String jobId, String taskId, String filePath)
Gets the properties of the specified Task file.void
getPropertiesFromTask(String jobId, String taskId, String filePath, FileGetPropertiesFromTaskOptions fileGetPropertiesFromTaskOptions)
Gets the properties of the specified Task file.rx.Observable<Void>
getPropertiesFromTaskAsync(String jobId, String taskId, String filePath)
Gets the properties of the specified Task file.rx.Observable<Void>
getPropertiesFromTaskAsync(String jobId, String taskId, String filePath, FileGetPropertiesFromTaskOptions fileGetPropertiesFromTaskOptions)
Gets the properties of the specified Task file.com.microsoft.rest.ServiceFuture<Void>
getPropertiesFromTaskAsync(String jobId, String taskId, String filePath, FileGetPropertiesFromTaskOptions fileGetPropertiesFromTaskOptions, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Gets the properties of the specified Task file.com.microsoft.rest.ServiceFuture<Void>
getPropertiesFromTaskAsync(String jobId, String taskId, String filePath, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Gets the properties of the specified Task file.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,FileGetPropertiesFromTaskHeaders>>
getPropertiesFromTaskWithServiceResponseAsync(String jobId, String taskId, String filePath)
Gets the properties of the specified Task file.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,FileGetPropertiesFromTaskHeaders>>
getPropertiesFromTaskWithServiceResponseAsync(String jobId, String taskId, String filePath, FileGetPropertiesFromTaskOptions fileGetPropertiesFromTaskOptions)
Gets the properties of the specified Task file.com.microsoft.azure.PagedList<NodeFile>
listFromComputeNode(String poolId, String nodeId)
Lists all of the files in Task directories on the specified Compute Node.com.microsoft.azure.PagedList<NodeFile>
listFromComputeNode(String poolId, String nodeId, Boolean recursive, FileListFromComputeNodeOptions fileListFromComputeNodeOptions)
Lists all of the files in Task directories on the specified Compute Node.rx.Observable<com.microsoft.azure.Page<NodeFile>>
listFromComputeNodeAsync(String poolId, String nodeId)
Lists all of the files in Task directories on the specified Compute Node.com.microsoft.rest.ServiceFuture<List<NodeFile>>
listFromComputeNodeAsync(String poolId, String nodeId, com.microsoft.azure.ListOperationCallback<NodeFile> serviceCallback)
Lists all of the files in Task directories on the specified Compute Node.rx.Observable<com.microsoft.azure.Page<NodeFile>>
listFromComputeNodeAsync(String poolId, String nodeId, Boolean recursive, FileListFromComputeNodeOptions fileListFromComputeNodeOptions)
Lists all of the files in Task directories on the specified Compute Node.com.microsoft.rest.ServiceFuture<List<NodeFile>>
listFromComputeNodeAsync(String poolId, String nodeId, Boolean recursive, FileListFromComputeNodeOptions fileListFromComputeNodeOptions, com.microsoft.azure.ListOperationCallback<NodeFile> serviceCallback)
Lists all of the files in Task directories on the specified Compute Node.com.microsoft.azure.PagedList<NodeFile>
listFromComputeNodeNext(String nextPageLink)
Lists all of the files in Task directories on the specified Compute Node.com.microsoft.azure.PagedList<NodeFile>
listFromComputeNodeNext(String nextPageLink, FileListFromComputeNodeNextOptions fileListFromComputeNodeNextOptions)
Lists all of the files in Task directories on the specified Compute Node.rx.Observable<com.microsoft.azure.Page<NodeFile>>
listFromComputeNodeNextAsync(String nextPageLink)
Lists all of the files in Task directories on the specified Compute Node.rx.Observable<com.microsoft.azure.Page<NodeFile>>
listFromComputeNodeNextAsync(String nextPageLink, FileListFromComputeNodeNextOptions fileListFromComputeNodeNextOptions)
Lists all of the files in Task directories on the specified Compute Node.com.microsoft.rest.ServiceFuture<List<NodeFile>>
listFromComputeNodeNextAsync(String nextPageLink, FileListFromComputeNodeNextOptions fileListFromComputeNodeNextOptions, com.microsoft.rest.ServiceFuture<List<NodeFile>> serviceFuture, com.microsoft.azure.ListOperationCallback<NodeFile> serviceCallback)
Lists all of the files in Task directories on the specified Compute Node.com.microsoft.rest.ServiceFuture<List<NodeFile>>
listFromComputeNodeNextAsync(String nextPageLink, com.microsoft.rest.ServiceFuture<List<NodeFile>> serviceFuture, com.microsoft.azure.ListOperationCallback<NodeFile> serviceCallback)
Lists all of the files in Task directories on the specified Compute Node.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<NodeFile>,FileListFromComputeNodeHeaders>>
listFromComputeNodeNextSinglePageAsync(String nextPageLink)
Lists all of the files in Task directories on the specified Compute Node.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<NodeFile>,FileListFromComputeNodeHeaders>>
listFromComputeNodeNextSinglePageAsync(String nextPageLink, FileListFromComputeNodeNextOptions fileListFromComputeNodeNextOptions)
Lists all of the files in Task directories on the specified Compute Node.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<NodeFile>,FileListFromComputeNodeHeaders>>
listFromComputeNodeNextWithServiceResponseAsync(String nextPageLink)
Lists all of the files in Task directories on the specified Compute Node.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<NodeFile>,FileListFromComputeNodeHeaders>>
listFromComputeNodeNextWithServiceResponseAsync(String nextPageLink, FileListFromComputeNodeNextOptions fileListFromComputeNodeNextOptions)
Lists all of the files in Task directories on the specified Compute Node.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<NodeFile>,FileListFromComputeNodeHeaders>>
listFromComputeNodeSinglePageAsync(String poolId, String nodeId)
Lists all of the files in Task directories on the specified Compute Node.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<NodeFile>,FileListFromComputeNodeHeaders>>
listFromComputeNodeSinglePageAsync(String poolId, String nodeId, Boolean recursive, FileListFromComputeNodeOptions fileListFromComputeNodeOptions)
Lists all of the files in Task directories on the specified Compute Node.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<NodeFile>,FileListFromComputeNodeHeaders>>
listFromComputeNodeWithServiceResponseAsync(String poolId, String nodeId)
Lists all of the files in Task directories on the specified Compute Node.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<NodeFile>,FileListFromComputeNodeHeaders>>
listFromComputeNodeWithServiceResponseAsync(String poolId, String nodeId, Boolean recursive, FileListFromComputeNodeOptions fileListFromComputeNodeOptions)
Lists all of the files in Task directories on the specified Compute Node.com.microsoft.azure.PagedList<NodeFile>
listFromTask(String jobId, String taskId)
Lists the files in a Task's directory on its Compute Node.com.microsoft.azure.PagedList<NodeFile>
listFromTask(String jobId, String taskId, Boolean recursive, FileListFromTaskOptions fileListFromTaskOptions)
Lists the files in a Task's directory on its Compute Node.rx.Observable<com.microsoft.azure.Page<NodeFile>>
listFromTaskAsync(String jobId, String taskId)
Lists the files in a Task's directory on its Compute Node.com.microsoft.rest.ServiceFuture<List<NodeFile>>
listFromTaskAsync(String jobId, String taskId, com.microsoft.azure.ListOperationCallback<NodeFile> serviceCallback)
Lists the files in a Task's directory on its Compute Node.rx.Observable<com.microsoft.azure.Page<NodeFile>>
listFromTaskAsync(String jobId, String taskId, Boolean recursive, FileListFromTaskOptions fileListFromTaskOptions)
Lists the files in a Task's directory on its Compute Node.com.microsoft.rest.ServiceFuture<List<NodeFile>>
listFromTaskAsync(String jobId, String taskId, Boolean recursive, FileListFromTaskOptions fileListFromTaskOptions, com.microsoft.azure.ListOperationCallback<NodeFile> serviceCallback)
Lists the files in a Task's directory on its Compute Node.com.microsoft.azure.PagedList<NodeFile>
listFromTaskNext(String nextPageLink)
Lists the files in a Task's directory on its Compute Node.com.microsoft.azure.PagedList<NodeFile>
listFromTaskNext(String nextPageLink, FileListFromTaskNextOptions fileListFromTaskNextOptions)
Lists the files in a Task's directory on its Compute Node.rx.Observable<com.microsoft.azure.Page<NodeFile>>
listFromTaskNextAsync(String nextPageLink)
Lists the files in a Task's directory on its Compute Node.rx.Observable<com.microsoft.azure.Page<NodeFile>>
listFromTaskNextAsync(String nextPageLink, FileListFromTaskNextOptions fileListFromTaskNextOptions)
Lists the files in a Task's directory on its Compute Node.com.microsoft.rest.ServiceFuture<List<NodeFile>>
listFromTaskNextAsync(String nextPageLink, FileListFromTaskNextOptions fileListFromTaskNextOptions, com.microsoft.rest.ServiceFuture<List<NodeFile>> serviceFuture, com.microsoft.azure.ListOperationCallback<NodeFile> serviceCallback)
Lists the files in a Task's directory on its Compute Node.com.microsoft.rest.ServiceFuture<List<NodeFile>>
listFromTaskNextAsync(String nextPageLink, com.microsoft.rest.ServiceFuture<List<NodeFile>> serviceFuture, com.microsoft.azure.ListOperationCallback<NodeFile> serviceCallback)
Lists the files in a Task's directory on its Compute Node.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<NodeFile>,FileListFromTaskHeaders>>
listFromTaskNextSinglePageAsync(String nextPageLink)
Lists the files in a Task's directory on its Compute Node.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<NodeFile>,FileListFromTaskHeaders>>
listFromTaskNextSinglePageAsync(String nextPageLink, FileListFromTaskNextOptions fileListFromTaskNextOptions)
Lists the files in a Task's directory on its Compute Node.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<NodeFile>,FileListFromTaskHeaders>>
listFromTaskNextWithServiceResponseAsync(String nextPageLink)
Lists the files in a Task's directory on its Compute Node.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<NodeFile>,FileListFromTaskHeaders>>
listFromTaskNextWithServiceResponseAsync(String nextPageLink, FileListFromTaskNextOptions fileListFromTaskNextOptions)
Lists the files in a Task's directory on its Compute Node.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<NodeFile>,FileListFromTaskHeaders>>
listFromTaskSinglePageAsync(String jobId, String taskId)
Lists the files in a Task's directory on its Compute Node.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<NodeFile>,FileListFromTaskHeaders>>
listFromTaskSinglePageAsync(String jobId, String taskId, Boolean recursive, FileListFromTaskOptions fileListFromTaskOptions)
Lists the files in a Task's directory on its Compute Node.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<NodeFile>,FileListFromTaskHeaders>>
listFromTaskWithServiceResponseAsync(String jobId, String taskId)
Lists the files in a Task's directory on its Compute Node.rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<NodeFile>,FileListFromTaskHeaders>>
listFromTaskWithServiceResponseAsync(String jobId, String taskId, Boolean recursive, FileListFromTaskOptions fileListFromTaskOptions)
Lists the files in a Task's directory on its Compute Node.
-
-
-
Constructor Detail
-
FilesImpl
public FilesImpl(retrofit2.Retrofit retrofit, BatchServiceClientImpl client)
Initializes an instance of FilesImpl.- Parameters:
retrofit
- the Retrofit instance built from a Retrofit Builder.client
- the instance of the service client containing this operation class.
-
-
Method Detail
-
getFromTask
public void getFromTask(String jobId, String taskId, String filePath, OutputStream outputStream)
Description copied from interface:Files
Returns the content of the specified task file.- Specified by:
getFromTask
in interfaceFiles
- Parameters:
jobId
- The ID of the job that contains the task.taskId
- The ID of the task whose file you want to retrieve.filePath
- The path to the task file that you want to get the content of.outputStream
- The OutputStream object which data will be written to if successful.- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getFromTask
public void getFromTask(String jobId, String taskId, String filePath, FileGetFromTaskOptions fileGetFromTaskOptions, OutputStream outputStream)
Description copied from interface:Files
Returns the content of the specified task file.- Specified by:
getFromTask
in interfaceFiles
- Parameters:
taskId
- The ID of the task whose file you want to retrieve.filePath
- The path to the task file that you want to get the content of.fileGetFromTaskOptions
- Additional parameters for the operationoutputStream
- The OutputStream object which data will be written to if successful.jobId
- The ID of the job that contains the task.- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getFromComputeNode
public void getFromComputeNode(String poolId, String nodeId, String filePath, OutputStream outputStream)
Description copied from interface:Files
Returns the content of the specified task file.- Specified by:
getFromComputeNode
in interfaceFiles
- Parameters:
poolId
- The ID of the pool that contains the compute node.nodeId
- The ID of the compute node that contains the file.filePath
- The path to the compute node file that you want to get the content of.outputStream
- The OutputStream object which data will be written to if successful.- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getFromComputeNode
public void getFromComputeNode(String poolId, String nodeId, String filePath, FileGetFromComputeNodeOptions fileGetFromComputeNodeOptions, OutputStream outputStream)
Description copied from interface:Files
Returns the content of the specified compute node file.- Specified by:
getFromComputeNode
in interfaceFiles
- Parameters:
nodeId
- The ID of the compute node that contains the file.filePath
- The path to the compute node file that you want to get the content of.fileGetFromComputeNodeOptions
- Additional parameters for the operationoutputStream
- The OutputStream object which data will be written to if successful.poolId
- The ID of the pool that contains the compute node.- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
deleteFromTask
public void deleteFromTask(String jobId, String taskId, String filePath)
Deletes the specified Task file from the Compute Node where the Task ran.- Specified by:
deleteFromTask
in interfaceFiles
- Parameters:
jobId
- The ID of the Job that contains the Task.taskId
- The ID of the Task whose file you want to delete.filePath
- The path to the Task file or directory that you want to delete.- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
deleteFromTaskAsync
public com.microsoft.rest.ServiceFuture<Void> deleteFromTaskAsync(String jobId, String taskId, String filePath, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Deletes the specified Task file from the Compute Node where the Task ran.- Specified by:
deleteFromTaskAsync
in interfaceFiles
- Parameters:
jobId
- The ID of the Job that contains the Task.taskId
- The ID of the Task whose file you want to delete.filePath
- The path to the Task file or directory that you want to delete.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteFromTaskAsync
public rx.Observable<Void> deleteFromTaskAsync(String jobId, String taskId, String filePath)
Deletes the specified Task file from the Compute Node where the Task ran.- Specified by:
deleteFromTaskAsync
in interfaceFiles
- Parameters:
jobId
- The ID of the Job that contains the Task.taskId
- The ID of the Task whose file you want to delete.filePath
- The path to the Task file or directory that you want to delete.- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteFromTaskWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,FileDeleteFromTaskHeaders>> deleteFromTaskWithServiceResponseAsync(String jobId, String taskId, String filePath)
Deletes the specified Task file from the Compute Node where the Task ran.- Specified by:
deleteFromTaskWithServiceResponseAsync
in interfaceFiles
- Parameters:
jobId
- The ID of the Job that contains the Task.taskId
- The ID of the Task whose file you want to delete.filePath
- The path to the Task file or directory that you want to delete.- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteFromTask
public void deleteFromTask(String jobId, String taskId, String filePath, Boolean recursive, FileDeleteFromTaskOptions fileDeleteFromTaskOptions)
Deletes the specified Task file from the Compute Node where the Task ran.- Specified by:
deleteFromTask
in interfaceFiles
- Parameters:
jobId
- The ID of the Job that contains the Task.taskId
- The ID of the Task whose file you want to delete.filePath
- The path to the Task file or directory that you want to delete.recursive
- Whether to delete children of a directory. If the filePath parameter represents a directory instead of a file, you can set recursive to true to delete the directory and all of the files and subdirectories in it. If recursive is false then the directory must be empty or deletion will fail.fileDeleteFromTaskOptions
- Additional parameters for the operation- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
deleteFromTaskAsync
public com.microsoft.rest.ServiceFuture<Void> deleteFromTaskAsync(String jobId, String taskId, String filePath, Boolean recursive, FileDeleteFromTaskOptions fileDeleteFromTaskOptions, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Deletes the specified Task file from the Compute Node where the Task ran.- Specified by:
deleteFromTaskAsync
in interfaceFiles
- Parameters:
jobId
- The ID of the Job that contains the Task.taskId
- The ID of the Task whose file you want to delete.filePath
- The path to the Task file or directory that you want to delete.recursive
- Whether to delete children of a directory. If the filePath parameter represents a directory instead of a file, you can set recursive to true to delete the directory and all of the files and subdirectories in it. If recursive is false then the directory must be empty or deletion will fail.fileDeleteFromTaskOptions
- Additional parameters for the operationserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteFromTaskAsync
public rx.Observable<Void> deleteFromTaskAsync(String jobId, String taskId, String filePath, Boolean recursive, FileDeleteFromTaskOptions fileDeleteFromTaskOptions)
Deletes the specified Task file from the Compute Node where the Task ran.- Specified by:
deleteFromTaskAsync
in interfaceFiles
- Parameters:
jobId
- The ID of the Job that contains the Task.taskId
- The ID of the Task whose file you want to delete.filePath
- The path to the Task file or directory that you want to delete.recursive
- Whether to delete children of a directory. If the filePath parameter represents a directory instead of a file, you can set recursive to true to delete the directory and all of the files and subdirectories in it. If recursive is false then the directory must be empty or deletion will fail.fileDeleteFromTaskOptions
- Additional parameters for the operation- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteFromTaskWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,FileDeleteFromTaskHeaders>> deleteFromTaskWithServiceResponseAsync(String jobId, String taskId, String filePath, Boolean recursive, FileDeleteFromTaskOptions fileDeleteFromTaskOptions)
Deletes the specified Task file from the Compute Node where the Task ran.- Specified by:
deleteFromTaskWithServiceResponseAsync
in interfaceFiles
- Parameters:
jobId
- The ID of the Job that contains the Task.taskId
- The ID of the Task whose file you want to delete.filePath
- The path to the Task file or directory that you want to delete.recursive
- Whether to delete children of a directory. If the filePath parameter represents a directory instead of a file, you can set recursive to true to delete the directory and all of the files and subdirectories in it. If recursive is false then the directory must be empty or deletion will fail.fileDeleteFromTaskOptions
- Additional parameters for the operation- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getFromTask
public InputStream getFromTask(String jobId, String taskId, String filePath)
Returns the content of the specified Task file.- Specified by:
getFromTask
in interfaceFiles
- Parameters:
jobId
- The ID of the Job that contains the Task.taskId
- The ID of the Task whose file you want to retrieve.filePath
- The path to the Task file that you want to get the content of.- Returns:
- the InputStream object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getFromTaskAsync
public com.microsoft.rest.ServiceFuture<InputStream> getFromTaskAsync(String jobId, String taskId, String filePath, com.microsoft.rest.ServiceCallback<InputStream> serviceCallback)
Returns the content of the specified Task file.- Specified by:
getFromTaskAsync
in interfaceFiles
- Parameters:
jobId
- The ID of the Job that contains the Task.taskId
- The ID of the Task whose file you want to retrieve.filePath
- The path to the Task file that you want to get the content of.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getFromTaskAsync
public rx.Observable<InputStream> getFromTaskAsync(String jobId, String taskId, String filePath)
Returns the content of the specified Task file.- Specified by:
getFromTaskAsync
in interfaceFiles
- Parameters:
jobId
- The ID of the Job that contains the Task.taskId
- The ID of the Task whose file you want to retrieve.filePath
- The path to the Task file that you want to get the content of.- Returns:
- the observable to the InputStream object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getFromTaskWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<InputStream,FileGetFromTaskHeaders>> getFromTaskWithServiceResponseAsync(String jobId, String taskId, String filePath)
Returns the content of the specified Task file.- Specified by:
getFromTaskWithServiceResponseAsync
in interfaceFiles
- Parameters:
jobId
- The ID of the Job that contains the Task.taskId
- The ID of the Task whose file you want to retrieve.filePath
- The path to the Task file that you want to get the content of.- Returns:
- the observable to the InputStream object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getFromTask
public InputStream getFromTask(String jobId, String taskId, String filePath, FileGetFromTaskOptions fileGetFromTaskOptions)
Returns the content of the specified Task file.- Specified by:
getFromTask
in interfaceFiles
- Parameters:
jobId
- The ID of the Job that contains the Task.taskId
- The ID of the Task whose file you want to retrieve.filePath
- The path to the Task file that you want to get the content of.fileGetFromTaskOptions
- Additional parameters for the operation- Returns:
- the InputStream object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getFromTaskAsync
public com.microsoft.rest.ServiceFuture<InputStream> getFromTaskAsync(String jobId, String taskId, String filePath, FileGetFromTaskOptions fileGetFromTaskOptions, com.microsoft.rest.ServiceCallback<InputStream> serviceCallback)
Returns the content of the specified Task file.- Specified by:
getFromTaskAsync
in interfaceFiles
- Parameters:
jobId
- The ID of the Job that contains the Task.taskId
- The ID of the Task whose file you want to retrieve.filePath
- The path to the Task file that you want to get the content of.fileGetFromTaskOptions
- Additional parameters for the operationserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getFromTaskAsync
public rx.Observable<InputStream> getFromTaskAsync(String jobId, String taskId, String filePath, FileGetFromTaskOptions fileGetFromTaskOptions)
Returns the content of the specified Task file.- Specified by:
getFromTaskAsync
in interfaceFiles
- Parameters:
jobId
- The ID of the Job that contains the Task.taskId
- The ID of the Task whose file you want to retrieve.filePath
- The path to the Task file that you want to get the content of.fileGetFromTaskOptions
- Additional parameters for the operation- Returns:
- the observable to the InputStream object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getFromTaskWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<InputStream,FileGetFromTaskHeaders>> getFromTaskWithServiceResponseAsync(String jobId, String taskId, String filePath, FileGetFromTaskOptions fileGetFromTaskOptions)
Returns the content of the specified Task file.- Specified by:
getFromTaskWithServiceResponseAsync
in interfaceFiles
- Parameters:
jobId
- The ID of the Job that contains the Task.taskId
- The ID of the Task whose file you want to retrieve.filePath
- The path to the Task file that you want to get the content of.fileGetFromTaskOptions
- Additional parameters for the operation- Returns:
- the observable to the InputStream object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getPropertiesFromTask
public void getPropertiesFromTask(String jobId, String taskId, String filePath)
Gets the properties of the specified Task file.- Specified by:
getPropertiesFromTask
in interfaceFiles
- Parameters:
jobId
- The ID of the Job that contains the Task.taskId
- The ID of the Task whose file you want to get the properties of.filePath
- The path to the Task file that you want to get the properties of.- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getPropertiesFromTaskAsync
public com.microsoft.rest.ServiceFuture<Void> getPropertiesFromTaskAsync(String jobId, String taskId, String filePath, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Gets the properties of the specified Task file.- Specified by:
getPropertiesFromTaskAsync
in interfaceFiles
- Parameters:
jobId
- The ID of the Job that contains the Task.taskId
- The ID of the Task whose file you want to get the properties of.filePath
- The path to the Task file that you want to get the properties of.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getPropertiesFromTaskAsync
public rx.Observable<Void> getPropertiesFromTaskAsync(String jobId, String taskId, String filePath)
Gets the properties of the specified Task file.- Specified by:
getPropertiesFromTaskAsync
in interfaceFiles
- Parameters:
jobId
- The ID of the Job that contains the Task.taskId
- The ID of the Task whose file you want to get the properties of.filePath
- The path to the Task file that you want to get the properties of.- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getPropertiesFromTaskWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,FileGetPropertiesFromTaskHeaders>> getPropertiesFromTaskWithServiceResponseAsync(String jobId, String taskId, String filePath)
Gets the properties of the specified Task file.- Specified by:
getPropertiesFromTaskWithServiceResponseAsync
in interfaceFiles
- Parameters:
jobId
- The ID of the Job that contains the Task.taskId
- The ID of the Task whose file you want to get the properties of.filePath
- The path to the Task file that you want to get the properties of.- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getPropertiesFromTask
public void getPropertiesFromTask(String jobId, String taskId, String filePath, FileGetPropertiesFromTaskOptions fileGetPropertiesFromTaskOptions)
Gets the properties of the specified Task file.- Specified by:
getPropertiesFromTask
in interfaceFiles
- Parameters:
jobId
- The ID of the Job that contains the Task.taskId
- The ID of the Task whose file you want to get the properties of.filePath
- The path to the Task file that you want to get the properties of.fileGetPropertiesFromTaskOptions
- Additional parameters for the operation- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getPropertiesFromTaskAsync
public com.microsoft.rest.ServiceFuture<Void> getPropertiesFromTaskAsync(String jobId, String taskId, String filePath, FileGetPropertiesFromTaskOptions fileGetPropertiesFromTaskOptions, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Gets the properties of the specified Task file.- Specified by:
getPropertiesFromTaskAsync
in interfaceFiles
- Parameters:
jobId
- The ID of the Job that contains the Task.taskId
- The ID of the Task whose file you want to get the properties of.filePath
- The path to the Task file that you want to get the properties of.fileGetPropertiesFromTaskOptions
- Additional parameters for the operationserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getPropertiesFromTaskAsync
public rx.Observable<Void> getPropertiesFromTaskAsync(String jobId, String taskId, String filePath, FileGetPropertiesFromTaskOptions fileGetPropertiesFromTaskOptions)
Gets the properties of the specified Task file.- Specified by:
getPropertiesFromTaskAsync
in interfaceFiles
- Parameters:
jobId
- The ID of the Job that contains the Task.taskId
- The ID of the Task whose file you want to get the properties of.filePath
- The path to the Task file that you want to get the properties of.fileGetPropertiesFromTaskOptions
- Additional parameters for the operation- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getPropertiesFromTaskWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,FileGetPropertiesFromTaskHeaders>> getPropertiesFromTaskWithServiceResponseAsync(String jobId, String taskId, String filePath, FileGetPropertiesFromTaskOptions fileGetPropertiesFromTaskOptions)
Gets the properties of the specified Task file.- Specified by:
getPropertiesFromTaskWithServiceResponseAsync
in interfaceFiles
- Parameters:
jobId
- The ID of the Job that contains the Task.taskId
- The ID of the Task whose file you want to get the properties of.filePath
- The path to the Task file that you want to get the properties of.fileGetPropertiesFromTaskOptions
- Additional parameters for the operation- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteFromComputeNode
public void deleteFromComputeNode(String poolId, String nodeId, String filePath)
Deletes the specified file from the Compute Node.- Specified by:
deleteFromComputeNode
in interfaceFiles
- Parameters:
poolId
- The ID of the Pool that contains the Compute Node.nodeId
- The ID of the Compute Node from which you want to delete the file.filePath
- The path to the file or directory that you want to delete.- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
deleteFromComputeNodeAsync
public com.microsoft.rest.ServiceFuture<Void> deleteFromComputeNodeAsync(String poolId, String nodeId, String filePath, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Deletes the specified file from the Compute Node.- Specified by:
deleteFromComputeNodeAsync
in interfaceFiles
- Parameters:
poolId
- The ID of the Pool that contains the Compute Node.nodeId
- The ID of the Compute Node from which you want to delete the file.filePath
- The path to the file or directory that you want to delete.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteFromComputeNodeAsync
public rx.Observable<Void> deleteFromComputeNodeAsync(String poolId, String nodeId, String filePath)
Deletes the specified file from the Compute Node.- Specified by:
deleteFromComputeNodeAsync
in interfaceFiles
- Parameters:
poolId
- The ID of the Pool that contains the Compute Node.nodeId
- The ID of the Compute Node from which you want to delete the file.filePath
- The path to the file or directory that you want to delete.- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteFromComputeNodeWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,FileDeleteFromComputeNodeHeaders>> deleteFromComputeNodeWithServiceResponseAsync(String poolId, String nodeId, String filePath)
Deletes the specified file from the Compute Node.- Specified by:
deleteFromComputeNodeWithServiceResponseAsync
in interfaceFiles
- Parameters:
poolId
- The ID of the Pool that contains the Compute Node.nodeId
- The ID of the Compute Node from which you want to delete the file.filePath
- The path to the file or directory that you want to delete.- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteFromComputeNode
public void deleteFromComputeNode(String poolId, String nodeId, String filePath, Boolean recursive, FileDeleteFromComputeNodeOptions fileDeleteFromComputeNodeOptions)
Deletes the specified file from the Compute Node.- Specified by:
deleteFromComputeNode
in interfaceFiles
- Parameters:
poolId
- The ID of the Pool that contains the Compute Node.nodeId
- The ID of the Compute Node from which you want to delete the file.filePath
- The path to the file or directory that you want to delete.recursive
- Whether to delete children of a directory. If the filePath parameter represents a directory instead of a file, you can set recursive to true to delete the directory and all of the files and subdirectories in it. If recursive is false then the directory must be empty or deletion will fail.fileDeleteFromComputeNodeOptions
- Additional parameters for the operation- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
deleteFromComputeNodeAsync
public com.microsoft.rest.ServiceFuture<Void> deleteFromComputeNodeAsync(String poolId, String nodeId, String filePath, Boolean recursive, FileDeleteFromComputeNodeOptions fileDeleteFromComputeNodeOptions, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Deletes the specified file from the Compute Node.- Specified by:
deleteFromComputeNodeAsync
in interfaceFiles
- Parameters:
poolId
- The ID of the Pool that contains the Compute Node.nodeId
- The ID of the Compute Node from which you want to delete the file.filePath
- The path to the file or directory that you want to delete.recursive
- Whether to delete children of a directory. If the filePath parameter represents a directory instead of a file, you can set recursive to true to delete the directory and all of the files and subdirectories in it. If recursive is false then the directory must be empty or deletion will fail.fileDeleteFromComputeNodeOptions
- Additional parameters for the operationserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteFromComputeNodeAsync
public rx.Observable<Void> deleteFromComputeNodeAsync(String poolId, String nodeId, String filePath, Boolean recursive, FileDeleteFromComputeNodeOptions fileDeleteFromComputeNodeOptions)
Deletes the specified file from the Compute Node.- Specified by:
deleteFromComputeNodeAsync
in interfaceFiles
- Parameters:
poolId
- The ID of the Pool that contains the Compute Node.nodeId
- The ID of the Compute Node from which you want to delete the file.filePath
- The path to the file or directory that you want to delete.recursive
- Whether to delete children of a directory. If the filePath parameter represents a directory instead of a file, you can set recursive to true to delete the directory and all of the files and subdirectories in it. If recursive is false then the directory must be empty or deletion will fail.fileDeleteFromComputeNodeOptions
- Additional parameters for the operation- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
deleteFromComputeNodeWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,FileDeleteFromComputeNodeHeaders>> deleteFromComputeNodeWithServiceResponseAsync(String poolId, String nodeId, String filePath, Boolean recursive, FileDeleteFromComputeNodeOptions fileDeleteFromComputeNodeOptions)
Deletes the specified file from the Compute Node.- Specified by:
deleteFromComputeNodeWithServiceResponseAsync
in interfaceFiles
- Parameters:
poolId
- The ID of the Pool that contains the Compute Node.nodeId
- The ID of the Compute Node from which you want to delete the file.filePath
- The path to the file or directory that you want to delete.recursive
- Whether to delete children of a directory. If the filePath parameter represents a directory instead of a file, you can set recursive to true to delete the directory and all of the files and subdirectories in it. If recursive is false then the directory must be empty or deletion will fail.fileDeleteFromComputeNodeOptions
- Additional parameters for the operation- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getFromComputeNode
public InputStream getFromComputeNode(String poolId, String nodeId, String filePath)
Returns the content of the specified Compute Node file.- Specified by:
getFromComputeNode
in interfaceFiles
- Parameters:
poolId
- The ID of the Pool that contains the Compute Node.nodeId
- The ID of the Compute Node that contains the file.filePath
- The path to the Compute Node file that you want to get the content of.- Returns:
- the InputStream object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getFromComputeNodeAsync
public com.microsoft.rest.ServiceFuture<InputStream> getFromComputeNodeAsync(String poolId, String nodeId, String filePath, com.microsoft.rest.ServiceCallback<InputStream> serviceCallback)
Returns the content of the specified Compute Node file.- Specified by:
getFromComputeNodeAsync
in interfaceFiles
- Parameters:
poolId
- The ID of the Pool that contains the Compute Node.nodeId
- The ID of the Compute Node that contains the file.filePath
- The path to the Compute Node file that you want to get the content of.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getFromComputeNodeAsync
public rx.Observable<InputStream> getFromComputeNodeAsync(String poolId, String nodeId, String filePath)
Returns the content of the specified Compute Node file.- Specified by:
getFromComputeNodeAsync
in interfaceFiles
- Parameters:
poolId
- The ID of the Pool that contains the Compute Node.nodeId
- The ID of the Compute Node that contains the file.filePath
- The path to the Compute Node file that you want to get the content of.- Returns:
- the observable to the InputStream object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getFromComputeNodeWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<InputStream,FileGetFromComputeNodeHeaders>> getFromComputeNodeWithServiceResponseAsync(String poolId, String nodeId, String filePath)
Returns the content of the specified Compute Node file.- Specified by:
getFromComputeNodeWithServiceResponseAsync
in interfaceFiles
- Parameters:
poolId
- The ID of the Pool that contains the Compute Node.nodeId
- The ID of the Compute Node that contains the file.filePath
- The path to the Compute Node file that you want to get the content of.- Returns:
- the observable to the InputStream object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getFromComputeNode
public InputStream getFromComputeNode(String poolId, String nodeId, String filePath, FileGetFromComputeNodeOptions fileGetFromComputeNodeOptions)
Returns the content of the specified Compute Node file.- Specified by:
getFromComputeNode
in interfaceFiles
- Parameters:
poolId
- The ID of the Pool that contains the Compute Node.nodeId
- The ID of the Compute Node that contains the file.filePath
- The path to the Compute Node file that you want to get the content of.fileGetFromComputeNodeOptions
- Additional parameters for the operation- Returns:
- the InputStream object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getFromComputeNodeAsync
public com.microsoft.rest.ServiceFuture<InputStream> getFromComputeNodeAsync(String poolId, String nodeId, String filePath, FileGetFromComputeNodeOptions fileGetFromComputeNodeOptions, com.microsoft.rest.ServiceCallback<InputStream> serviceCallback)
Returns the content of the specified Compute Node file.- Specified by:
getFromComputeNodeAsync
in interfaceFiles
- Parameters:
poolId
- The ID of the Pool that contains the Compute Node.nodeId
- The ID of the Compute Node that contains the file.filePath
- The path to the Compute Node file that you want to get the content of.fileGetFromComputeNodeOptions
- Additional parameters for the operationserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getFromComputeNodeAsync
public rx.Observable<InputStream> getFromComputeNodeAsync(String poolId, String nodeId, String filePath, FileGetFromComputeNodeOptions fileGetFromComputeNodeOptions)
Returns the content of the specified Compute Node file.- Specified by:
getFromComputeNodeAsync
in interfaceFiles
- Parameters:
poolId
- The ID of the Pool that contains the Compute Node.nodeId
- The ID of the Compute Node that contains the file.filePath
- The path to the Compute Node file that you want to get the content of.fileGetFromComputeNodeOptions
- Additional parameters for the operation- Returns:
- the observable to the InputStream object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getFromComputeNodeWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<InputStream,FileGetFromComputeNodeHeaders>> getFromComputeNodeWithServiceResponseAsync(String poolId, String nodeId, String filePath, FileGetFromComputeNodeOptions fileGetFromComputeNodeOptions)
Returns the content of the specified Compute Node file.- Specified by:
getFromComputeNodeWithServiceResponseAsync
in interfaceFiles
- Parameters:
poolId
- The ID of the Pool that contains the Compute Node.nodeId
- The ID of the Compute Node that contains the file.filePath
- The path to the Compute Node file that you want to get the content of.fileGetFromComputeNodeOptions
- Additional parameters for the operation- Returns:
- the observable to the InputStream object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getPropertiesFromComputeNode
public void getPropertiesFromComputeNode(String poolId, String nodeId, String filePath)
Gets the properties of the specified Compute Node file.- Specified by:
getPropertiesFromComputeNode
in interfaceFiles
- Parameters:
poolId
- The ID of the Pool that contains the Compute Node.nodeId
- The ID of the Compute Node that contains the file.filePath
- The path to the Compute Node file that you want to get the properties of.- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getPropertiesFromComputeNodeAsync
public com.microsoft.rest.ServiceFuture<Void> getPropertiesFromComputeNodeAsync(String poolId, String nodeId, String filePath, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Gets the properties of the specified Compute Node file.- Specified by:
getPropertiesFromComputeNodeAsync
in interfaceFiles
- Parameters:
poolId
- The ID of the Pool that contains the Compute Node.nodeId
- The ID of the Compute Node that contains the file.filePath
- The path to the Compute Node file that you want to get the properties of.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getPropertiesFromComputeNodeAsync
public rx.Observable<Void> getPropertiesFromComputeNodeAsync(String poolId, String nodeId, String filePath)
Gets the properties of the specified Compute Node file.- Specified by:
getPropertiesFromComputeNodeAsync
in interfaceFiles
- Parameters:
poolId
- The ID of the Pool that contains the Compute Node.nodeId
- The ID of the Compute Node that contains the file.filePath
- The path to the Compute Node file that you want to get the properties of.- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getPropertiesFromComputeNodeWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,FileGetPropertiesFromComputeNodeHeaders>> getPropertiesFromComputeNodeWithServiceResponseAsync(String poolId, String nodeId, String filePath)
Gets the properties of the specified Compute Node file.- Specified by:
getPropertiesFromComputeNodeWithServiceResponseAsync
in interfaceFiles
- Parameters:
poolId
- The ID of the Pool that contains the Compute Node.nodeId
- The ID of the Compute Node that contains the file.filePath
- The path to the Compute Node file that you want to get the properties of.- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getPropertiesFromComputeNode
public void getPropertiesFromComputeNode(String poolId, String nodeId, String filePath, FileGetPropertiesFromComputeNodeOptions fileGetPropertiesFromComputeNodeOptions)
Gets the properties of the specified Compute Node file.- Specified by:
getPropertiesFromComputeNode
in interfaceFiles
- Parameters:
poolId
- The ID of the Pool that contains the Compute Node.nodeId
- The ID of the Compute Node that contains the file.filePath
- The path to the Compute Node file that you want to get the properties of.fileGetPropertiesFromComputeNodeOptions
- Additional parameters for the operation- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
getPropertiesFromComputeNodeAsync
public com.microsoft.rest.ServiceFuture<Void> getPropertiesFromComputeNodeAsync(String poolId, String nodeId, String filePath, FileGetPropertiesFromComputeNodeOptions fileGetPropertiesFromComputeNodeOptions, com.microsoft.rest.ServiceCallback<Void> serviceCallback)
Gets the properties of the specified Compute Node file.- Specified by:
getPropertiesFromComputeNodeAsync
in interfaceFiles
- Parameters:
poolId
- The ID of the Pool that contains the Compute Node.nodeId
- The ID of the Compute Node that contains the file.filePath
- The path to the Compute Node file that you want to get the properties of.fileGetPropertiesFromComputeNodeOptions
- Additional parameters for the operationserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getPropertiesFromComputeNodeAsync
public rx.Observable<Void> getPropertiesFromComputeNodeAsync(String poolId, String nodeId, String filePath, FileGetPropertiesFromComputeNodeOptions fileGetPropertiesFromComputeNodeOptions)
Gets the properties of the specified Compute Node file.- Specified by:
getPropertiesFromComputeNodeAsync
in interfaceFiles
- Parameters:
poolId
- The ID of the Pool that contains the Compute Node.nodeId
- The ID of the Compute Node that contains the file.filePath
- The path to the Compute Node file that you want to get the properties of.fileGetPropertiesFromComputeNodeOptions
- Additional parameters for the operation- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
getPropertiesFromComputeNodeWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<Void,FileGetPropertiesFromComputeNodeHeaders>> getPropertiesFromComputeNodeWithServiceResponseAsync(String poolId, String nodeId, String filePath, FileGetPropertiesFromComputeNodeOptions fileGetPropertiesFromComputeNodeOptions)
Gets the properties of the specified Compute Node file.- Specified by:
getPropertiesFromComputeNodeWithServiceResponseAsync
in interfaceFiles
- Parameters:
poolId
- The ID of the Pool that contains the Compute Node.nodeId
- The ID of the Compute Node that contains the file.filePath
- The path to the Compute Node file that you want to get the properties of.fileGetPropertiesFromComputeNodeOptions
- Additional parameters for the operation- Returns:
- the
ServiceResponseWithHeaders
object if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromTask
public com.microsoft.azure.PagedList<NodeFile> listFromTask(String jobId, String taskId)
Lists the files in a Task's directory on its Compute Node.- Specified by:
listFromTask
in interfaceFiles
- Parameters:
jobId
- The ID of the Job that contains the Task.taskId
- The ID of the Task whose files you want to list.- Returns:
- the PagedList<NodeFile> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
listFromTaskAsync
public com.microsoft.rest.ServiceFuture<List<NodeFile>> listFromTaskAsync(String jobId, String taskId, com.microsoft.azure.ListOperationCallback<NodeFile> serviceCallback)
Lists the files in a Task's directory on its Compute Node.- Specified by:
listFromTaskAsync
in interfaceFiles
- Parameters:
jobId
- The ID of the Job that contains the Task.taskId
- The ID of the Task whose files you want to list.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromTaskAsync
public rx.Observable<com.microsoft.azure.Page<NodeFile>> listFromTaskAsync(String jobId, String taskId)
Lists the files in a Task's directory on its Compute Node.- Specified by:
listFromTaskAsync
in interfaceFiles
- Parameters:
jobId
- The ID of the Job that contains the Task.taskId
- The ID of the Task whose files you want to list.- Returns:
- the observable to the PagedList<NodeFile> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromTaskWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<NodeFile>,FileListFromTaskHeaders>> listFromTaskWithServiceResponseAsync(String jobId, String taskId)
Lists the files in a Task's directory on its Compute Node.- Specified by:
listFromTaskWithServiceResponseAsync
in interfaceFiles
- Parameters:
jobId
- The ID of the Job that contains the Task.taskId
- The ID of the Task whose files you want to list.- Returns:
- the observable to the PagedList<NodeFile> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromTaskSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<NodeFile>,FileListFromTaskHeaders>> listFromTaskSinglePageAsync(String jobId, String taskId)
Lists the files in a Task's directory on its Compute Node.- Parameters:
jobId
- The ID of the Job that contains the Task.taskId
- The ID of the Task whose files you want to list.- Returns:
- the PagedList<NodeFile> object wrapped in
ServiceResponseWithHeaders
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromTask
public com.microsoft.azure.PagedList<NodeFile> listFromTask(String jobId, String taskId, Boolean recursive, FileListFromTaskOptions fileListFromTaskOptions)
Lists the files in a Task's directory on its Compute Node.- Specified by:
listFromTask
in interfaceFiles
- Parameters:
jobId
- The ID of the Job that contains the Task.taskId
- The ID of the Task whose files you want to list.recursive
- Whether to list children of the Task directory. This parameter can be used in combination with the filter parameter to list specific type of files.fileListFromTaskOptions
- Additional parameters for the operation- Returns:
- the PagedList<NodeFile> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
listFromTaskAsync
public com.microsoft.rest.ServiceFuture<List<NodeFile>> listFromTaskAsync(String jobId, String taskId, Boolean recursive, FileListFromTaskOptions fileListFromTaskOptions, com.microsoft.azure.ListOperationCallback<NodeFile> serviceCallback)
Lists the files in a Task's directory on its Compute Node.- Specified by:
listFromTaskAsync
in interfaceFiles
- Parameters:
jobId
- The ID of the Job that contains the Task.taskId
- The ID of the Task whose files you want to list.recursive
- Whether to list children of the Task directory. This parameter can be used in combination with the filter parameter to list specific type of files.fileListFromTaskOptions
- Additional parameters for the operationserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromTaskAsync
public rx.Observable<com.microsoft.azure.Page<NodeFile>> listFromTaskAsync(String jobId, String taskId, Boolean recursive, FileListFromTaskOptions fileListFromTaskOptions)
Lists the files in a Task's directory on its Compute Node.- Specified by:
listFromTaskAsync
in interfaceFiles
- Parameters:
jobId
- The ID of the Job that contains the Task.taskId
- The ID of the Task whose files you want to list.recursive
- Whether to list children of the Task directory. This parameter can be used in combination with the filter parameter to list specific type of files.fileListFromTaskOptions
- Additional parameters for the operation- Returns:
- the observable to the PagedList<NodeFile> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromTaskWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<NodeFile>,FileListFromTaskHeaders>> listFromTaskWithServiceResponseAsync(String jobId, String taskId, Boolean recursive, FileListFromTaskOptions fileListFromTaskOptions)
Lists the files in a Task's directory on its Compute Node.- Specified by:
listFromTaskWithServiceResponseAsync
in interfaceFiles
- Parameters:
jobId
- The ID of the Job that contains the Task.taskId
- The ID of the Task whose files you want to list.recursive
- Whether to list children of the Task directory. This parameter can be used in combination with the filter parameter to list specific type of files.fileListFromTaskOptions
- Additional parameters for the operation- Returns:
- the observable to the PagedList<NodeFile> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromTaskSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<NodeFile>,FileListFromTaskHeaders>> listFromTaskSinglePageAsync(String jobId, String taskId, Boolean recursive, FileListFromTaskOptions fileListFromTaskOptions)
Lists the files in a Task's directory on its Compute Node. ServiceResponseWithHeaders, FileListFromTaskHeaders> * @param jobId The ID of the Job that contains the Task. ServiceResponseWithHeaders , FileListFromTaskHeaders> * @param taskId The ID of the Task whose files you want to list. ServiceResponseWithHeaders , FileListFromTaskHeaders> * @param recursive Whether to list children of the Task directory. This parameter can be used in combination with the filter parameter to list specific type of files. ServiceResponseWithHeaders , FileListFromTaskHeaders> * @param fileListFromTaskOptions Additional parameters for the operation - Returns:
- the PagedList<NodeFile> object wrapped in
ServiceResponseWithHeaders
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromComputeNode
public com.microsoft.azure.PagedList<NodeFile> listFromComputeNode(String poolId, String nodeId)
Lists all of the files in Task directories on the specified Compute Node.- Specified by:
listFromComputeNode
in interfaceFiles
- Parameters:
poolId
- The ID of the Pool that contains the Compute Node.nodeId
- The ID of the Compute Node whose files you want to list.- Returns:
- the PagedList<NodeFile> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
listFromComputeNodeAsync
public com.microsoft.rest.ServiceFuture<List<NodeFile>> listFromComputeNodeAsync(String poolId, String nodeId, com.microsoft.azure.ListOperationCallback<NodeFile> serviceCallback)
Lists all of the files in Task directories on the specified Compute Node.- Specified by:
listFromComputeNodeAsync
in interfaceFiles
- Parameters:
poolId
- The ID of the Pool that contains the Compute Node.nodeId
- The ID of the Compute Node whose files you want to list.serviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromComputeNodeAsync
public rx.Observable<com.microsoft.azure.Page<NodeFile>> listFromComputeNodeAsync(String poolId, String nodeId)
Lists all of the files in Task directories on the specified Compute Node.- Specified by:
listFromComputeNodeAsync
in interfaceFiles
- Parameters:
poolId
- The ID of the Pool that contains the Compute Node.nodeId
- The ID of the Compute Node whose files you want to list.- Returns:
- the observable to the PagedList<NodeFile> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromComputeNodeWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<NodeFile>,FileListFromComputeNodeHeaders>> listFromComputeNodeWithServiceResponseAsync(String poolId, String nodeId)
Lists all of the files in Task directories on the specified Compute Node.- Specified by:
listFromComputeNodeWithServiceResponseAsync
in interfaceFiles
- Parameters:
poolId
- The ID of the Pool that contains the Compute Node.nodeId
- The ID of the Compute Node whose files you want to list.- Returns:
- the observable to the PagedList<NodeFile> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromComputeNodeSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<NodeFile>,FileListFromComputeNodeHeaders>> listFromComputeNodeSinglePageAsync(String poolId, String nodeId)
Lists all of the files in Task directories on the specified Compute Node.- Parameters:
poolId
- The ID of the Pool that contains the Compute Node.nodeId
- The ID of the Compute Node whose files you want to list.- Returns:
- the PagedList<NodeFile> object wrapped in
ServiceResponseWithHeaders
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromComputeNode
public com.microsoft.azure.PagedList<NodeFile> listFromComputeNode(String poolId, String nodeId, Boolean recursive, FileListFromComputeNodeOptions fileListFromComputeNodeOptions)
Lists all of the files in Task directories on the specified Compute Node.- Specified by:
listFromComputeNode
in interfaceFiles
- Parameters:
poolId
- The ID of the Pool that contains the Compute Node.nodeId
- The ID of the Compute Node whose files you want to list.recursive
- Whether to list children of a directory.fileListFromComputeNodeOptions
- Additional parameters for the operation- Returns:
- the PagedList<NodeFile> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
listFromComputeNodeAsync
public com.microsoft.rest.ServiceFuture<List<NodeFile>> listFromComputeNodeAsync(String poolId, String nodeId, Boolean recursive, FileListFromComputeNodeOptions fileListFromComputeNodeOptions, com.microsoft.azure.ListOperationCallback<NodeFile> serviceCallback)
Lists all of the files in Task directories on the specified Compute Node.- Specified by:
listFromComputeNodeAsync
in interfaceFiles
- Parameters:
poolId
- The ID of the Pool that contains the Compute Node.nodeId
- The ID of the Compute Node whose files you want to list.recursive
- Whether to list children of a directory.fileListFromComputeNodeOptions
- Additional parameters for the operationserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromComputeNodeAsync
public rx.Observable<com.microsoft.azure.Page<NodeFile>> listFromComputeNodeAsync(String poolId, String nodeId, Boolean recursive, FileListFromComputeNodeOptions fileListFromComputeNodeOptions)
Lists all of the files in Task directories on the specified Compute Node.- Specified by:
listFromComputeNodeAsync
in interfaceFiles
- Parameters:
poolId
- The ID of the Pool that contains the Compute Node.nodeId
- The ID of the Compute Node whose files you want to list.recursive
- Whether to list children of a directory.fileListFromComputeNodeOptions
- Additional parameters for the operation- Returns:
- the observable to the PagedList<NodeFile> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromComputeNodeWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<NodeFile>,FileListFromComputeNodeHeaders>> listFromComputeNodeWithServiceResponseAsync(String poolId, String nodeId, Boolean recursive, FileListFromComputeNodeOptions fileListFromComputeNodeOptions)
Lists all of the files in Task directories on the specified Compute Node.- Specified by:
listFromComputeNodeWithServiceResponseAsync
in interfaceFiles
- Parameters:
poolId
- The ID of the Pool that contains the Compute Node.nodeId
- The ID of the Compute Node whose files you want to list.recursive
- Whether to list children of a directory.fileListFromComputeNodeOptions
- Additional parameters for the operation- Returns:
- the observable to the PagedList<NodeFile> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromComputeNodeSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<NodeFile>,FileListFromComputeNodeHeaders>> listFromComputeNodeSinglePageAsync(String poolId, String nodeId, Boolean recursive, FileListFromComputeNodeOptions fileListFromComputeNodeOptions)
Lists all of the files in Task directories on the specified Compute Node. ServiceResponseWithHeaders, FileListFromComputeNodeHeaders> * @param poolId The ID of the Pool that contains the Compute Node. ServiceResponseWithHeaders , FileListFromComputeNodeHeaders> * @param nodeId The ID of the Compute Node whose files you want to list. ServiceResponseWithHeaders , FileListFromComputeNodeHeaders> * @param recursive Whether to list children of a directory. ServiceResponseWithHeaders , FileListFromComputeNodeHeaders> * @param fileListFromComputeNodeOptions Additional parameters for the operation - Returns:
- the PagedList<NodeFile> object wrapped in
ServiceResponseWithHeaders
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromTaskNext
public com.microsoft.azure.PagedList<NodeFile> listFromTaskNext(String nextPageLink)
Lists the files in a Task's directory on its Compute Node.- Specified by:
listFromTaskNext
in interfaceFiles
- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the PagedList<NodeFile> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
listFromTaskNextAsync
public com.microsoft.rest.ServiceFuture<List<NodeFile>> listFromTaskNextAsync(String nextPageLink, com.microsoft.rest.ServiceFuture<List<NodeFile>> serviceFuture, com.microsoft.azure.ListOperationCallback<NodeFile> serviceCallback)
Lists the files in a Task's directory on its Compute Node.- Specified by:
listFromTaskNextAsync
in interfaceFiles
- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.serviceFuture
- the ServiceFuture object tracking the Retrofit callsserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromTaskNextAsync
public rx.Observable<com.microsoft.azure.Page<NodeFile>> listFromTaskNextAsync(String nextPageLink)
Lists the files in a Task's directory on its Compute Node.- Specified by:
listFromTaskNextAsync
in interfaceFiles
- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the observable to the PagedList<NodeFile> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromTaskNextWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<NodeFile>,FileListFromTaskHeaders>> listFromTaskNextWithServiceResponseAsync(String nextPageLink)
Lists the files in a Task's directory on its Compute Node.- Specified by:
listFromTaskNextWithServiceResponseAsync
in interfaceFiles
- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the observable to the PagedList<NodeFile> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromTaskNextSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<NodeFile>,FileListFromTaskHeaders>> listFromTaskNextSinglePageAsync(String nextPageLink)
Lists the files in a Task's directory on its Compute Node.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the PagedList<NodeFile> object wrapped in
ServiceResponseWithHeaders
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromTaskNext
public com.microsoft.azure.PagedList<NodeFile> listFromTaskNext(String nextPageLink, FileListFromTaskNextOptions fileListFromTaskNextOptions)
Lists the files in a Task's directory on its Compute Node.- Specified by:
listFromTaskNext
in interfaceFiles
- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.fileListFromTaskNextOptions
- Additional parameters for the operation- Returns:
- the PagedList<NodeFile> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
listFromTaskNextAsync
public com.microsoft.rest.ServiceFuture<List<NodeFile>> listFromTaskNextAsync(String nextPageLink, FileListFromTaskNextOptions fileListFromTaskNextOptions, com.microsoft.rest.ServiceFuture<List<NodeFile>> serviceFuture, com.microsoft.azure.ListOperationCallback<NodeFile> serviceCallback)
Lists the files in a Task's directory on its Compute Node.- Specified by:
listFromTaskNextAsync
in interfaceFiles
- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.fileListFromTaskNextOptions
- Additional parameters for the operationserviceFuture
- the ServiceFuture object tracking the Retrofit callsserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromTaskNextAsync
public rx.Observable<com.microsoft.azure.Page<NodeFile>> listFromTaskNextAsync(String nextPageLink, FileListFromTaskNextOptions fileListFromTaskNextOptions)
Lists the files in a Task's directory on its Compute Node.- Specified by:
listFromTaskNextAsync
in interfaceFiles
- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.fileListFromTaskNextOptions
- Additional parameters for the operation- Returns:
- the observable to the PagedList<NodeFile> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromTaskNextWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<NodeFile>,FileListFromTaskHeaders>> listFromTaskNextWithServiceResponseAsync(String nextPageLink, FileListFromTaskNextOptions fileListFromTaskNextOptions)
Lists the files in a Task's directory on its Compute Node.- Specified by:
listFromTaskNextWithServiceResponseAsync
in interfaceFiles
- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.fileListFromTaskNextOptions
- Additional parameters for the operation- Returns:
- the observable to the PagedList<NodeFile> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromTaskNextSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<NodeFile>,FileListFromTaskHeaders>> listFromTaskNextSinglePageAsync(String nextPageLink, FileListFromTaskNextOptions fileListFromTaskNextOptions)
Lists the files in a Task's directory on its Compute Node. ServiceResponseWithHeaders, FileListFromTaskHeaders> * @param nextPageLink The NextLink from the previous successful call to List operation. ServiceResponseWithHeaders , FileListFromTaskHeaders> * @param fileListFromTaskNextOptions Additional parameters for the operation - Returns:
- the PagedList<NodeFile> object wrapped in
ServiceResponseWithHeaders
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromComputeNodeNext
public com.microsoft.azure.PagedList<NodeFile> listFromComputeNodeNext(String nextPageLink)
Lists all of the files in Task directories on the specified Compute Node.- Specified by:
listFromComputeNodeNext
in interfaceFiles
- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the PagedList<NodeFile> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
listFromComputeNodeNextAsync
public com.microsoft.rest.ServiceFuture<List<NodeFile>> listFromComputeNodeNextAsync(String nextPageLink, com.microsoft.rest.ServiceFuture<List<NodeFile>> serviceFuture, com.microsoft.azure.ListOperationCallback<NodeFile> serviceCallback)
Lists all of the files in Task directories on the specified Compute Node.- Specified by:
listFromComputeNodeNextAsync
in interfaceFiles
- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.serviceFuture
- the ServiceFuture object tracking the Retrofit callsserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromComputeNodeNextAsync
public rx.Observable<com.microsoft.azure.Page<NodeFile>> listFromComputeNodeNextAsync(String nextPageLink)
Lists all of the files in Task directories on the specified Compute Node.- Specified by:
listFromComputeNodeNextAsync
in interfaceFiles
- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the observable to the PagedList<NodeFile> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromComputeNodeNextWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<NodeFile>,FileListFromComputeNodeHeaders>> listFromComputeNodeNextWithServiceResponseAsync(String nextPageLink)
Lists all of the files in Task directories on the specified Compute Node.- Specified by:
listFromComputeNodeNextWithServiceResponseAsync
in interfaceFiles
- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the observable to the PagedList<NodeFile> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromComputeNodeNextSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<NodeFile>,FileListFromComputeNodeHeaders>> listFromComputeNodeNextSinglePageAsync(String nextPageLink)
Lists all of the files in Task directories on the specified Compute Node.- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.- Returns:
- the PagedList<NodeFile> object wrapped in
ServiceResponseWithHeaders
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromComputeNodeNext
public com.microsoft.azure.PagedList<NodeFile> listFromComputeNodeNext(String nextPageLink, FileListFromComputeNodeNextOptions fileListFromComputeNodeNextOptions)
Lists all of the files in Task directories on the specified Compute Node.- Specified by:
listFromComputeNodeNext
in interfaceFiles
- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.fileListFromComputeNodeNextOptions
- Additional parameters for the operation- Returns:
- the PagedList<NodeFile> object if successful.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validationBatchErrorException
- thrown if the request is rejected by serverRuntimeException
- all other wrapped checked exceptions if the request fails to be sent
-
listFromComputeNodeNextAsync
public com.microsoft.rest.ServiceFuture<List<NodeFile>> listFromComputeNodeNextAsync(String nextPageLink, FileListFromComputeNodeNextOptions fileListFromComputeNodeNextOptions, com.microsoft.rest.ServiceFuture<List<NodeFile>> serviceFuture, com.microsoft.azure.ListOperationCallback<NodeFile> serviceCallback)
Lists all of the files in Task directories on the specified Compute Node.- Specified by:
listFromComputeNodeNextAsync
in interfaceFiles
- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.fileListFromComputeNodeNextOptions
- Additional parameters for the operationserviceFuture
- the ServiceFuture object tracking the Retrofit callsserviceCallback
- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFuture
object - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromComputeNodeNextAsync
public rx.Observable<com.microsoft.azure.Page<NodeFile>> listFromComputeNodeNextAsync(String nextPageLink, FileListFromComputeNodeNextOptions fileListFromComputeNodeNextOptions)
Lists all of the files in Task directories on the specified Compute Node.- Specified by:
listFromComputeNodeNextAsync
in interfaceFiles
- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.fileListFromComputeNodeNextOptions
- Additional parameters for the operation- Returns:
- the observable to the PagedList<NodeFile> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromComputeNodeNextWithServiceResponseAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<NodeFile>,FileListFromComputeNodeHeaders>> listFromComputeNodeNextWithServiceResponseAsync(String nextPageLink, FileListFromComputeNodeNextOptions fileListFromComputeNodeNextOptions)
Lists all of the files in Task directories on the specified Compute Node.- Specified by:
listFromComputeNodeNextWithServiceResponseAsync
in interfaceFiles
- Parameters:
nextPageLink
- The NextLink from the previous successful call to List operation.fileListFromComputeNodeNextOptions
- Additional parameters for the operation- Returns:
- the observable to the PagedList<NodeFile> object
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
listFromComputeNodeNextSinglePageAsync
public rx.Observable<com.microsoft.rest.ServiceResponseWithHeaders<com.microsoft.azure.Page<NodeFile>,FileListFromComputeNodeHeaders>> listFromComputeNodeNextSinglePageAsync(String nextPageLink, FileListFromComputeNodeNextOptions fileListFromComputeNodeNextOptions)
Lists all of the files in Task directories on the specified Compute Node. ServiceResponseWithHeaders, FileListFromComputeNodeHeaders> * @param nextPageLink The NextLink from the previous successful call to List operation. ServiceResponseWithHeaders , FileListFromComputeNodeHeaders> * @param fileListFromComputeNodeNextOptions Additional parameters for the operation - Returns:
- the PagedList<NodeFile> object wrapped in
ServiceResponseWithHeaders
if successful. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation
-
-