Uses of Class
com.azure.storage.file.share.models.ShareRequestConditions
Package
Description
This package contains the classes to perform actions on Azure Storage File.
Package containing classes for AzureFileStorage.
Package containing options model classes used by Azure Storage File Shares.
-
Uses of ShareRequestConditions in com.azure.storage.file.share
Modifier and TypeMethodDescriptionShareFileAsyncClient.abortCopyWithResponse
(String copyId, ShareRequestConditions requestConditions) Aborts a pending Copy File operation, and leaves a destination file with zero length and full metadata.com.azure.core.http.rest.Response<Void>
ShareFileClient.abortCopyWithResponse
(String copyId, ShareRequestConditions requestConditions, Duration timeout, com.azure.core.util.Context context) Aborts a pending Copy File operation, and leaves a destination file with zero length and full metadata.com.azure.core.util.polling.PollerFlux<ShareFileCopyInfo,
Void> ShareFileAsyncClient.beginCopy
(String sourceUrl, FileSmbProperties smbProperties, String filePermission, PermissionCopyModeType filePermissionCopyMode, Boolean ignoreReadOnly, Boolean setArchiveAttribute, Map<String, String> metadata, Duration pollInterval, ShareRequestConditions destinationRequestConditions) Copies a blob or file to a destination file within the storage account.com.azure.core.util.polling.SyncPoller<ShareFileCopyInfo,
Void> ShareFileClient.beginCopy
(String sourceUrl, FileSmbProperties smbProperties, String filePermission, PermissionCopyModeType filePermissionCopyMode, Boolean ignoreReadOnly, Boolean setArchiveAttribute, Map<String, String> metadata, Duration pollInterval, ShareRequestConditions destinationRequestConditions) Copies a blob or file to a destination file within the storage account.Mono<com.azure.core.http.rest.Response<ShareFileUploadInfo>>
ShareFileAsyncClient.clearRangeWithResponse
(long length, long offset, ShareRequestConditions requestConditions) Clear a range of bytes to specific of a file in storage file service.com.azure.core.http.rest.Response<ShareFileUploadInfo>
ShareFileClient.clearRangeWithResponse
(long length, long offset, ShareRequestConditions requestConditions, Duration timeout, com.azure.core.util.Context context) Clears a range of bytes to specific of a file in storage file service.Mono<com.azure.core.http.rest.Response<ShareFileAsyncClient>>
ShareAsyncClient.createFileWithResponse
(String fileName, long maxSize, ShareFileHttpHeaders httpHeaders, FileSmbProperties smbProperties, String filePermission, Map<String, String> metadata, ShareRequestConditions requestConditions) Creates the file in the share with the given name, file max size and associates the passed properties to it.com.azure.core.http.rest.Response<ShareFileClient>
ShareClient.createFileWithResponse
(String fileName, long maxSize, ShareFileHttpHeaders httpHeaders, FileSmbProperties smbProperties, String filePermission, Map<String, String> metadata, ShareRequestConditions requestConditions, Duration timeout, com.azure.core.util.Context context) Creates the file in the share with the given name, file max size and associates the passed properties to it.Mono<com.azure.core.http.rest.Response<ShareFileAsyncClient>>
ShareDirectoryAsyncClient.createFileWithResponse
(String fileName, long maxSize, ShareFileHttpHeaders httpHeaders, FileSmbProperties smbProperties, String filePermission, Map<String, String> metadata, ShareRequestConditions requestConditions) Creates a file in this directory with specific name and returns a response of ShareDirectoryInfo to interact with it.com.azure.core.http.rest.Response<ShareFileClient>
ShareDirectoryClient.createFileWithResponse
(String fileName, long maxSize, ShareFileHttpHeaders httpHeaders, FileSmbProperties smbProperties, String filePermission, Map<String, String> metadata, ShareRequestConditions requestConditions, Duration timeout, com.azure.core.util.Context context) Creates a file in this directory with specific name and returns a response of ShareDirectoryInfo to interact with it.Mono<com.azure.core.http.rest.Response<ShareFileInfo>>
ShareFileAsyncClient.createWithResponse
(long maxSize, ShareFileHttpHeaders httpHeaders, FileSmbProperties smbProperties, String filePermission, Map<String, String> metadata, ShareRequestConditions requestConditions) Creates a file in the storage account and returns a response of ShareFileInfo to interact with it.com.azure.core.http.rest.Response<ShareFileInfo>
ShareFileClient.createWithResponse
(long maxSize, ShareFileHttpHeaders httpHeaders, FileSmbProperties smbProperties, String filePermission, Map<String, String> metadata, ShareRequestConditions requestConditions, Duration timeout, com.azure.core.util.Context context) Creates a file in the storage account and returns a response of ShareFileInfo to interact with it.ShareAsyncClient.deleteFileIfExistsWithResponse
(String fileName, ShareRequestConditions requestConditions) Deletes the specified file in the share if it exists.com.azure.core.http.rest.Response<Boolean>
ShareClient.deleteFileIfExistsWithResponse
(String fileName, ShareRequestConditions requestConditions, Duration timeout, com.azure.core.util.Context context) Deletes the specified file in the share if it exists.ShareDirectoryAsyncClient.deleteFileIfExistsWithResponse
(String fileName, ShareRequestConditions requestConditions) Deletes the file with specific name in this directory if it exists.com.azure.core.http.rest.Response<Boolean>
ShareDirectoryClient.deleteFileIfExistsWithResponse
(String fileName, ShareRequestConditions requestConditions, Duration timeout, com.azure.core.util.Context context) Deletes the file with specific name in this directory if it exists.ShareAsyncClient.deleteFileWithResponse
(String fileName, ShareRequestConditions requestConditions) Deletes the specified file in the share.com.azure.core.http.rest.Response<Void>
ShareClient.deleteFileWithResponse
(String fileName, ShareRequestConditions requestConditions, Duration timeout, com.azure.core.util.Context context) Deletes the specified file in the share.ShareDirectoryAsyncClient.deleteFileWithResponse
(String fileName, ShareRequestConditions requestConditions) Deletes the file with specific name in this directory.com.azure.core.http.rest.Response<Void>
ShareDirectoryClient.deleteFileWithResponse
(String fileName, ShareRequestConditions requestConditions, Duration timeout, com.azure.core.util.Context context) Deletes the file with specific name in this directory.ShareFileAsyncClient.deleteIfExistsWithResponse
(ShareRequestConditions requestConditions) Deletes the file associate with the client if it does not exist.com.azure.core.http.rest.Response<Boolean>
ShareFileClient.deleteIfExistsWithResponse
(ShareRequestConditions requestConditions, Duration timeout, com.azure.core.util.Context context) Deletes the file associate with the client if it exists.ShareFileAsyncClient.deleteWithResponse
(ShareRequestConditions requestConditions) Deletes the file associate with the client.com.azure.core.http.rest.Response<Void>
ShareFileClient.deleteWithResponse
(ShareRequestConditions requestConditions, Duration timeout, com.azure.core.util.Context context) Deletes the file associate with the client.Mono<com.azure.core.http.rest.Response<ShareFileProperties>>
ShareFileAsyncClient.downloadToFileWithResponse
(String downloadFilePath, ShareFileRange range, ShareRequestConditions requestConditions) Downloads a file from the system, including its metadata and properties into a file specified by the path.com.azure.core.http.rest.Response<ShareFileProperties>
ShareFileClient.downloadToFileWithResponse
(String downloadFilePath, ShareFileRange range, ShareRequestConditions requestConditions, Duration timeout, com.azure.core.util.Context context) Downloads a file from the system, including its metadata and properties into a file specified by the path.ShareFileAsyncClient.downloadWithResponse
(ShareFileRange range, Boolean rangeGetContentMD5, ShareRequestConditions requestConditions) Downloads a file from the system, including its metadata and propertiesShareFileClient.downloadWithResponse
(OutputStream stream, ShareFileRange range, Boolean rangeGetContentMD5, ShareRequestConditions requestConditions, Duration timeout, com.azure.core.util.Context context) Downloads a file from the system, including its metadata and propertiesMono<com.azure.core.http.rest.Response<ShareFileProperties>>
ShareFileAsyncClient.getPropertiesWithResponse
(ShareRequestConditions requestConditions) Retrieves the properties of the storage account's file.com.azure.core.http.rest.Response<ShareFileProperties>
ShareFileClient.getPropertiesWithResponse
(ShareRequestConditions requestConditions, Duration timeout, com.azure.core.util.Context context) Retrieves the properties of the storage account's file.com.azure.core.http.rest.PagedFlux<ShareFileRange>
ShareFileAsyncClient.listRanges
(ShareFileRange range, ShareRequestConditions requestConditions) List of valid ranges for a file.com.azure.core.http.rest.PagedIterable<ShareFileRange>
ShareFileClient.listRanges
(ShareFileRange range, ShareRequestConditions requestConditions, Duration timeout, com.azure.core.util.Context context) List of valid ranges for a file.Mono<com.azure.core.http.rest.Response<ShareFileMetadataInfo>>
ShareFileAsyncClient.setMetadataWithResponse
(Map<String, String> metadata, ShareRequestConditions requestConditions) Sets the user-defined metadata to associate to the file.com.azure.core.http.rest.Response<ShareFileMetadataInfo>
ShareFileClient.setMetadataWithResponse
(Map<String, String> metadata, ShareRequestConditions requestConditions, Duration timeout, com.azure.core.util.Context context) Sets the user-defined metadata to associate to the file.Mono<com.azure.core.http.rest.Response<ShareFileInfo>>
ShareFileAsyncClient.setPropertiesWithResponse
(long newFileSize, ShareFileHttpHeaders httpHeaders, FileSmbProperties smbProperties, String filePermission, ShareRequestConditions requestConditions) Sets the user-defined file properties to associate to the file.com.azure.core.http.rest.Response<ShareFileInfo>
ShareFileClient.setPropertiesWithResponse
(long newFileSize, ShareFileHttpHeaders httpHeaders, FileSmbProperties smbProperties, String filePermission, ShareRequestConditions requestConditions, Duration timeout, com.azure.core.util.Context context) Sets the user-defined httpHeaders to associate to the file.ShareFileAsyncClient.uploadFromFile
(String uploadFilePath, ShareRequestConditions requestConditions) Uploads file to storage file service.void
ShareFileClient.uploadFromFile
(String uploadFilePath, ShareRequestConditions requestConditions) Uploads file to storage file service.Mono<com.azure.core.http.rest.Response<ShareFileUploadRangeFromUrlInfo>>
ShareFileAsyncClient.uploadRangeFromUrlWithResponse
(long length, long destinationOffset, long sourceOffset, String sourceUrl, ShareRequestConditions destinationRequestConditions) Uploads a range of bytes from one file to another file.com.azure.core.http.rest.Response<ShareFileUploadRangeFromUrlInfo>
ShareFileClient.uploadRangeFromUrlWithResponse
(long length, long destinationOffset, long sourceOffset, String sourceUrl, ShareRequestConditions requestConditions, Duration timeout, com.azure.core.util.Context context) Uploads a range of bytes from one file to another file.Mono<com.azure.core.http.rest.Response<ShareFileUploadInfo>>
ShareFileAsyncClient.uploadWithResponse
(Flux<ByteBuffer> data, long length, Long offset, ShareRequestConditions requestConditions) Deprecated.com.azure.core.http.rest.Response<ShareFileUploadInfo>
ShareFileClient.uploadWithResponse
(InputStream data, long length, Long offset, ShareRequestConditions requestConditions, Duration timeout, com.azure.core.util.Context context) Deprecated. -
Uses of ShareRequestConditions in com.azure.storage.file.share.models
Modifier and TypeMethodDescriptionShareFileUploadOptions.getRequestConditions()
Gets theShareRequestConditions
.ShareFileUploadRangeOptions.getRequestConditions()
Gets theShareRequestConditions
.ShareRequestConditions.setLeaseId
(String leaseId) Optionally limits requests to files and shares that match the lease ID.Modifier and TypeMethodDescriptionShareFileUploadOptions.setRequestConditions
(ShareRequestConditions requestConditions) Sets theShareRequestConditions
.ShareFileUploadRangeOptions.setRequestConditions
(ShareRequestConditions requestConditions) Sets theShareRequestConditions
. -
Uses of ShareRequestConditions in com.azure.storage.file.share.options
Modifier and TypeMethodDescriptionShareFileCopyOptions.getDestinationRequestConditions()
Gets theShareRequestConditions
.ShareFileRenameOptions.getDestinationRequestConditions()
ShareFileUploadRangeFromUrlOptions.getDestinationRequestConditions()
ShareDeleteOptions.getRequestConditions()
ShareFileCreateOptions.getRequestConditions()
Gets theShareRequestConditions
.ShareFileDownloadOptions.getRequestConditions()
ShareFileListRangesDiffOptions.getRequestConditions()
ShareGetAccessPolicyOptions.getRequestConditions()
ShareGetPropertiesOptions.getRequestConditions()
ShareGetStatisticsOptions.getRequestConditions()
ShareSetAccessPolicyOptions.getRequestConditions()
ShareSetMetadataOptions.getRequestConditions()
ShareSetPropertiesOptions.getRequestConditions()
ShareFileRenameOptions.getSourceRequestConditions()
Modifier and TypeMethodDescriptionShareFileCopyOptions.setDestinationRequestConditions
(ShareRequestConditions requestConditions) Sets theShareRequestConditions
to add conditions on copying the file.ShareFileRenameOptions.setDestinationRequestConditions
(ShareRequestConditions destinationRequestConditions) ShareFileUploadRangeFromUrlOptions.setDestinationRequestConditions
(ShareRequestConditions destinationRequestConditions) ShareDeleteOptions.setRequestConditions
(ShareRequestConditions requestConditions) ShareFileCreateOptions.setRequestConditions
(ShareRequestConditions requestConditions) Sets theShareRequestConditions
.ShareFileDownloadOptions.setRequestConditions
(ShareRequestConditions requestConditions) ShareFileListRangesDiffOptions.setRequestConditions
(ShareRequestConditions requestConditions) ShareGetAccessPolicyOptions.setRequestConditions
(ShareRequestConditions requestConditions) ShareGetPropertiesOptions.setRequestConditions
(ShareRequestConditions requestConditions) ShareGetStatisticsOptions.setRequestConditions
(ShareRequestConditions requestConditions) ShareSetAccessPolicyOptions.setRequestConditions
(ShareRequestConditions requestConditions) ShareSetMetadataOptions.setRequestConditions
(ShareRequestConditions requestConditions) ShareSetPropertiesOptions.setRequestConditions
(ShareRequestConditions requestConditions) ShareFileRenameOptions.setSourceRequestConditions
(ShareRequestConditions sourceRequestConditions)
ShareFileAsyncClient.uploadRangeWithResponse(ShareFileUploadRangeOptions)
instead.