FilesClient Interface
public interface FilesClient
An instance of this class provides access to all the operations defined in FilesClient.
Method Summary
Method Details
createOrUpdate
public abstract ProjectFileInner createOrUpdate(String groupName, String serviceName, String projectName, String fileName, ProjectFileInner parameters)
Create a file resource The PUT method creates a new file or updates an existing one.
Parameters:
Returns:
createOrUpdateWithResponse
public abstract Response<ProjectFileInner> createOrUpdateWithResponse(String groupName, String serviceName, String projectName, String fileName, ProjectFileInner parameters, Context context)
Create a file resource The PUT method creates a new file or updates an existing one.
Parameters:
Returns:
delete
public abstract void delete(String groupName, String serviceName, String projectName, String fileName)
Delete file This method deletes a file.
Parameters:
deleteWithResponse
public abstract Response<Void> deleteWithResponse(String groupName, String serviceName, String projectName, String fileName, Context context)
Delete file This method deletes a file.
Parameters:
Returns:
get
public abstract ProjectFileInner get(String groupName, String serviceName, String projectName, String fileName)
Get file information The files resource is a nested, proxy-only resource representing a file stored under the project resource. This method retrieves information about a file.
Parameters:
Returns:
getWithResponse
public abstract Response<ProjectFileInner> getWithResponse(String groupName, String serviceName, String projectName, String fileName, Context context)
Get file information The files resource is a nested, proxy-only resource representing a file stored under the project resource. This method retrieves information about a file.
Parameters:
Returns:
list
public abstract PagedIterable<ProjectFileInner> list(String groupName, String serviceName, String projectName)
Get files in a project The project resource is a nested resource representing a stored migration project. This method returns a list of files owned by a project resource.
Parameters:
Returns:
list
public abstract PagedIterable<ProjectFileInner> list(String groupName, String serviceName, String projectName, Context context)
Get files in a project The project resource is a nested resource representing a stored migration project. This method returns a list of files owned by a project resource.
Parameters:
Returns:
read
public abstract FileStorageInfoInner read(String groupName, String serviceName, String projectName, String fileName)
Request storage information for downloading the file content This method is used for requesting storage information using which contents of the file can be downloaded.
Parameters:
Returns:
readWithResponse
public abstract Response<FileStorageInfoInner> readWithResponse(String groupName, String serviceName, String projectName, String fileName, Context context)
Request storage information for downloading the file content This method is used for requesting storage information using which contents of the file can be downloaded.
Parameters:
Returns:
readWrite
public abstract FileStorageInfoInner readWrite(String groupName, String serviceName, String projectName, String fileName)
Request information for reading and writing file content. This method is used for requesting information for reading and writing the file content.
Parameters:
Returns:
readWriteWithResponse
public abstract Response<FileStorageInfoInner> readWriteWithResponse(String groupName, String serviceName, String projectName, String fileName, Context context)
Request information for reading and writing file content. This method is used for requesting information for reading and writing the file content.
Parameters:
Returns:
update
public abstract ProjectFileInner update(String groupName, String serviceName, String projectName, String fileName, ProjectFileInner parameters)
Update a file This method updates an existing file.
Parameters:
Returns:
updateWithResponse
public abstract Response<ProjectFileInner> updateWithResponse(String groupName, String serviceName, String projectName, String fileName, ProjectFileInner parameters, Context context)
Update a file This method updates an existing file.
Parameters:
Returns: