FilesNoSubscription interface
Interface representing a FilesNoSubscription.
Methods
create(string, string, File |
Creates a new file under a workspace. |
get(string, string, Files |
Returns details of a specific file in a work space. |
list(string, Files |
Lists all the Files information under a workspace for an Azure subscription. |
upload(string, string, Upload |
This API allows you to upload content to a file |
Method Details
create(string, string, FileDetails, FilesNoSubscriptionCreateOptionalParams)
Creates a new file under a workspace.
function create(fileWorkspaceName: string, fileName: string, createFileParameters: FileDetails, options?: FilesNoSubscriptionCreateOptionalParams): Promise<FileDetails>
Parameters
- fileWorkspaceName
-
string
File workspace name.
- fileName
-
string
File name.
- createFileParameters
- FileDetails
Create file object
The options parameters.
Returns
Promise<FileDetails>
get(string, string, FilesNoSubscriptionGetOptionalParams)
Returns details of a specific file in a work space.
function get(fileWorkspaceName: string, fileName: string, options?: FilesNoSubscriptionGetOptionalParams): Promise<FileDetails>
Parameters
- fileWorkspaceName
-
string
File Workspace Name
- fileName
-
string
File Name
The options parameters.
Returns
Promise<FileDetails>
list(string, FilesNoSubscriptionListOptionalParams)
Lists all the Files information under a workspace for an Azure subscription.
function list(fileWorkspaceName: string, options?: FilesNoSubscriptionListOptionalParams): PagedAsyncIterableIterator<FileDetails, FileDetails[], PageSettings>
Parameters
- fileWorkspaceName
-
string
File Workspace Name
The options parameters.
Returns
upload(string, string, UploadFile, FilesNoSubscriptionUploadOptionalParams)
This API allows you to upload content to a file
function upload(fileWorkspaceName: string, fileName: string, uploadFile: UploadFile, options?: FilesNoSubscriptionUploadOptionalParams): Promise<void>
Parameters
- fileWorkspaceName
-
string
File WorkspaceName
- fileName
-
string
File Name
- uploadFile
- UploadFile
UploadFile object
The options parameters.
Returns
Promise<void>