FilesClient Interface

public interface FilesClient

An instance of this class provides access to all the operations defined in FilesClient.

Method Summary

Modifier and Type Method and Description
abstract FileDetailsInner create(String fileWorkspaceName, String fileName, FileDetailsInner createFileParameters)

Creates a new file under a workspace for the specified subscription.

abstract Response<FileDetailsInner> createWithResponse(String fileWorkspaceName, String fileName, FileDetailsInner createFileParameters, Context context)

Creates a new file under a workspace for the specified subscription.

abstract FileDetailsInner get(String fileWorkspaceName, String fileName)

Returns details of a specific file in a work space.

abstract Response<FileDetailsInner> getWithResponse(String fileWorkspaceName, String fileName, Context context)

Returns details of a specific file in a work space.

abstract PagedIterable<FileDetailsInner> list(String fileWorkspaceName)

Lists all the Files information under a workspace for an Azure subscription.

abstract PagedIterable<FileDetailsInner> list(String fileWorkspaceName, Context context)

Lists all the Files information under a workspace for an Azure subscription.

abstract void upload(String fileWorkspaceName, String fileName, UploadFile uploadFile)

This API allows you to upload content to a file.

abstract Response<Void> uploadWithResponse(String fileWorkspaceName, String fileName, UploadFile uploadFile, Context context)

This API allows you to upload content to a file.

Method Details

create

public abstract FileDetailsInner create(String fileWorkspaceName, String fileName, FileDetailsInner createFileParameters)

Creates a new file under a workspace for the specified subscription.

Parameters:

fileWorkspaceName - File workspace name.
fileName - File name.
createFileParameters - Create file object.

Returns:

object that represents File Details resource.

createWithResponse

public abstract Response<FileDetailsInner> createWithResponse(String fileWorkspaceName, String fileName, FileDetailsInner createFileParameters, Context context)

Creates a new file under a workspace for the specified subscription.

Parameters:

fileWorkspaceName - File workspace name.
fileName - File name.
createFileParameters - Create file object.
context - The context to associate with this operation.

Returns:

object that represents File Details resource along with Response<T>.

get

public abstract FileDetailsInner get(String fileWorkspaceName, String fileName)

Returns details of a specific file in a work space.

Parameters:

fileWorkspaceName - File Workspace Name.
fileName - File Name.

Returns:

object that represents File Details resource.

getWithResponse

public abstract Response<FileDetailsInner> getWithResponse(String fileWorkspaceName, String fileName, Context context)

Returns details of a specific file in a work space.

Parameters:

fileWorkspaceName - File Workspace Name.
fileName - File Name.
context - The context to associate with this operation.

Returns:

object that represents File Details resource along with Response<T>.

list

public abstract PagedIterable<FileDetailsInner> list(String fileWorkspaceName)

Lists all the Files information under a workspace for an Azure subscription.

Parameters:

fileWorkspaceName - File Workspace Name.

Returns:

object that represents a collection of File resources as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<FileDetailsInner> list(String fileWorkspaceName, Context context)

Lists all the Files information under a workspace for an Azure subscription.

Parameters:

fileWorkspaceName - File Workspace Name.
context - The context to associate with this operation.

Returns:

object that represents a collection of File resources as paginated response with PagedIterable<T>.

upload

public abstract void upload(String fileWorkspaceName, String fileName, UploadFile uploadFile)

This API allows you to upload content to a file.

Parameters:

fileWorkspaceName - File WorkspaceName.
fileName - File Name.
uploadFile - UploadFile object.

uploadWithResponse

public abstract Response<Void> uploadWithResponse(String fileWorkspaceName, String fileName, UploadFile uploadFile, Context context)

This API allows you to upload content to a file.

Parameters:

fileWorkspaceName - File WorkspaceName.
fileName - File Name.
uploadFile - UploadFile object.
context - The context to associate with this operation.

Returns:

Applies to