Uses of Class
com.azure.storage.file.share.ShareDirectoryClient
Package
Description
This package contains the classes to perform actions on Azure Storage File.
-
Uses of ShareDirectoryClient in com.azure.storage.file.share
Modifier and TypeMethodDescriptionShareFileClientBuilder.buildDirectoryClient()
Creates aShareDirectoryClient
based on options set in the builder.ShareClient.createDirectory
(String directoryName) Creates the directory in the share with the given name.ShareClient.createDirectoryIfNotExists
(String directoryName) Creates the directory in the share with the given name if it does not exist.ShareDirectoryClient.createSubdirectory
(String subdirectoryName) Creates a subdirectory under current directory with specific name and returns a response of ShareDirectoryClient to interact with it.ShareDirectoryClient.createSubdirectoryIfNotExists
(String subdirectoryName) Creates a subdirectory under current directory with specified name if it does not exist.ShareClient.getDirectoryClient
(String directoryName) Constructs aShareDirectoryClient
that interacts with the specified directory.ShareClient.getRootDirectoryClient()
Constructs aShareDirectoryClient
that interacts with the root directory in the share.ShareDirectoryClient.getSubdirectoryClient
(String subdirectoryName) Constructs a ShareDirectoryClient that interacts with the specified directory.Moves the directory to another location within the share.Modifier and TypeMethodDescriptioncom.azure.core.http.rest.Response<ShareDirectoryClient>
ShareClient.createDirectoryIfNotExistsWithResponse
(String directoryName, ShareDirectoryCreateOptions options, Duration timeout, com.azure.core.util.Context context) Creates the directory if it does not exist in the share with the given name and associates the passed metadata to it.com.azure.core.http.rest.Response<ShareDirectoryClient>
ShareClient.createDirectoryWithResponse
(String directoryName, FileSmbProperties smbProperties, String filePermission, Map<String, String> metadata, Duration timeout, com.azure.core.util.Context context) Creates the directory in the share with the given name and associates the passed metadata to it.com.azure.core.http.rest.Response<ShareDirectoryClient>
ShareDirectoryClient.createSubdirectoryIfNotExistsWithResponse
(String subdirectoryName, ShareDirectoryCreateOptions options, Duration timeout, com.azure.core.util.Context context) Creates a subdirectory under current directory with specific name and metadata if it does not exist.com.azure.core.http.rest.Response<ShareDirectoryClient>
ShareDirectoryClient.createSubdirectoryWithResponse
(String subdirectoryName, FileSmbProperties smbProperties, String filePermission, Map<String, String> metadata, Duration timeout, com.azure.core.util.Context context) Creates a subdirectory under current directory with specific name , metadata and returns a response of ShareDirectoryClient to interact with it.com.azure.core.http.rest.Response<ShareDirectoryClient>
ShareDirectoryClient.renameWithResponse
(ShareFileRenameOptions options, Duration timeout, com.azure.core.util.Context context) Moves the directory to another location within the share.