diff --git a/sdk/storage/azure-storage-file/src/main/java/com/azure/storage/file/DirectoryAsyncClient.java b/sdk/storage/azure-storage-file/src/main/java/com/azure/storage/file/DirectoryAsyncClient.java index 2c88dbf1bbb3..e5a044464b8d 100644 --- a/sdk/storage/azure-storage-file/src/main/java/com/azure/storage/file/DirectoryAsyncClient.java +++ b/sdk/storage/azure-storage-file/src/main/java/com/azure/storage/file/DirectoryAsyncClient.java @@ -141,6 +141,9 @@ public DirectoryAsyncClient getSubDirectoryClient(String subDirectoryName) { * * {@codesnippet com.azure.storage.file.directoryAsyncClient.create} * + *
For more information, see the + * Azure Docs.
+ * * @return A response containing the directory info and the status of creating the directory. * @throws StorageErrorException If the directory has already existed, the parent directory does not exist or directory name is an invalid resource name. */ @@ -157,6 +160,9 @@ public MonoFor more information, see the + * Azure Docs.
+ * * @param metadata Optional metadata to associate with the directory * @return A response containing the directory info and the status of creating the directory. * @throws StorageErrorException If the directory has already existed, the parent directory does not exist or directory name is an invalid resource name. @@ -175,6 +181,9 @@ public MonoFor more information, see the + * Azure Docs.
+ * * @return A response that only contains headers and response status code * @throws StorageErrorException If the share doesn't exist */ @@ -193,6 +202,9 @@ public MonoFor more information, see the + * Azure Docs.
+ * * @return Storage directory properties */ public MonoFor more information, see the + * Azure Docs.
+ * * @param metadata Optional metadata to set on the directory, if null is passed the metadata for the directory is cleared * @return information about the directory * @throws StorageErrorException If the directory doesn't exist or the metadata contains invalid keys @@ -233,6 +248,9 @@ public MonoFor more information, see the + * Azure Docs.
+ * * @return {@link FileRef File info} in the storage directory */ public FluxFor more information, see the + * Azure Docs.
+ * * @param prefix Optional prefix which filters the results to return only files and directories whose name begins with. * @param maxResults Optional maximum number of files and/or directories to return per page. * If the request does not specify maxresults or specifies a value greater than 5,000, the server will return up to 5,000 items. @@ -267,6 +288,9 @@ public FluxFor more information, see the + * Azure Docs.
+ * * @param maxResult Optional maximum number of results will return per page * @param recursive Specifies operation should apply to the directory specified in the URI, its files, its subdirectories and their files. * @return {@link HandleItem handles} in the directory that satisfy the requirements @@ -287,6 +311,9 @@ public FluxFor more information, see the + * Azure Docs.
+ * * @param handleId Specifies the handle ID to be closed. Use an asterisk ('*') as a wildcard string to specify all handles. * @param recursive A boolean value that specifies if the operation should also apply to the files and subdirectories of the directory specified in the URI. * @return The counts of number of handles closed @@ -305,6 +332,9 @@ public FluxFor more information, see the + * Azure Docs.
+ * * @param subDirectoryName Name of the subdirectory * @return A response containing the subdirectory client and the status of creating the directory. * @throws StorageErrorException If the subdirectory has already existed, the parent directory does not exist or directory is an invalid resource name. @@ -322,6 +352,9 @@ public MonoFor more information, see the + * Azure Docs.
+ * * @param subDirectoryName Name of the subdirectory * @param metadata Optional metadata to associate with the subdirectory * @return A response containing the subdirectory client and the status of creating the directory. @@ -342,6 +375,9 @@ public MonoFor more information, see the + * Azure Docs.
+ * * @param subDirectoryName Name of the subdirectory * @return A response that only contains headers and response status code * @throws StorageErrorException If the subdirectory doesn't exist, the parent directory does not exist or subdirectory name is an invalid resource name. @@ -360,6 +396,9 @@ public MonoFor more information, see the + * Azure Docs.
+ * * @param fileName Name of the file * @param maxSize Size of the file * @return A response containing the FileAsyncClient and the status of creating the directory. @@ -378,6 +417,9 @@ public MonoFor more information, see the + * Azure Docs.
+ * * @param fileName Name of the file * @param maxSize Max size of the file * @param httpHeaders the Http headers set to the file @@ -399,6 +441,9 @@ public MonoFor more information, see the + * Azure Docs.
+ * * @param fileName Name of the file * @return A response that only contains headers and response status code * @throws StorageErrorException If the directory doesn't exist or the file doesn't exist or file name is an invalid resource name. diff --git a/sdk/storage/azure-storage-file/src/main/java/com/azure/storage/file/DirectoryClient.java b/sdk/storage/azure-storage-file/src/main/java/com/azure/storage/file/DirectoryClient.java index 44c84a0dade2..7de1792d0c35 100644 --- a/sdk/storage/azure-storage-file/src/main/java/com/azure/storage/file/DirectoryClient.java +++ b/sdk/storage/azure-storage-file/src/main/java/com/azure/storage/file/DirectoryClient.java @@ -91,6 +91,9 @@ public DirectoryClient getSubDirectoryClient(String subDirectoryName) { * * {@codesnippet com.azure.storage.file.directoryClient.createDirectory} * + *For more information, see the + * Azure Docs.
+ * * @return A response containing the directory info and the status of creating the directory. * @throws StorageErrorException If the directory has already existed, the parent directory does not exist or directory name is an invalid resource name. */ @@ -107,6 +110,9 @@ public ResponseFor more information, see the + * Azure Docs.
+ * * @param metadata Optional metadata to associate with the directory. * @return A response containing the directory info and the status of creating the directory. * @throws StorageErrorException If the directory has already existed, the parent directory does not exist or directory name is an invalid resource name. @@ -124,6 +130,9 @@ public ResponseFor more information, see the + * Azure Docs.
+ * * @return A response that only contains headers and response status code * @throws StorageErrorException If the share doesn't exist */ @@ -141,6 +150,9 @@ public VoidResponse delete() { * * {@codesnippet com.azure.storage.file.directoryClient.getProperties} * + *For more information, see the + * Azure Docs.
+ * * @return Storage directory properties */ public ResponseFor more information, see the + * Azure Docs.
+ * * @param metadata Optional metadata to set on the directory, if null is passed the metadata for the directory is cleared * @return information about the directory * @throws StorageErrorException If the directory doesn't exist or the metadata contains invalid keys @@ -179,6 +194,9 @@ public ResponseFor more information, see the + * Azure Docs.
+ * * @return {@link FileRef File info} in the storage directory */ public IterableFor more information, see the + * Azure Docs.
+ * * @param prefix Optional prefix which filters the results to return only files and directories whose name begins with. * @param maxResults Optional maximum number of files and/or directories to return per page. * If the request does not specify maxresults or specifies a value greater than 5,000, the server will return up to 5,000 items. @@ -212,6 +233,9 @@ public IterableFor more information, see the + * Azure Docs.
+ * * @param maxResult Optional maximum number of results will return per page * @param recursive Specifies operation should apply to the directory specified in the URI, its files, its subdirectories and their files. * @return {@link HandleItem handles} in the directory that satisfy the requirements @@ -231,6 +255,9 @@ public IterableFor more information, see the + * Azure Docs.
+ * * @param handleId Specifies the handle ID to be closed. Use an asterisk ('*') as a wildcard string to specify all handles. * @param recursive A boolean value that specifies if the operation should also apply to the files and subdirectories of the directory specified in the URI. * @return The counts of number of handles closed. @@ -248,6 +275,9 @@ public IterableFor more information, see the + * Azure Docs.
+ * * @param subDirectoryName Name of the subdirectory * @return A response containing the subdirectory client and the status of creating the directory. * @throws StorageErrorException If the subdirectory has already existed, the parent directory does not exist or directory is an invalid resource name. @@ -265,6 +295,9 @@ public ResponseFor more information, see the + * Azure Docs.
+ * * @param subDirectoryName Name of the subdirectory * @param metadata Optional metadata to associate with the subdirectory * @return A response containing the subdirectory client and the status of creating the directory. @@ -284,6 +317,9 @@ public ResponseFor more information, see the + * Azure Docs.
+ * * @param subDirectoryName Name of the subdirectory * @return A response that only contains headers and response status code * @throws StorageErrorException If the subdirectory doesn't exist, the parent directory does not exist or subdirectory name is an invalid resource name. @@ -301,6 +337,9 @@ public VoidResponse deleteSubDirectory(String subDirectoryName) { * * {@codesnippet com.azure.storage.file.directoryClient.createFile#string-long} * + *For more information, see the + * Azure Docs.
+ * * @param fileName Name of the file * @param maxSize Size of the file * @return A response containing the FileClient and the status of creating the directory. @@ -319,6 +358,9 @@ public ResponseFor more information, see the + * Azure Docs.
+ * * @param fileName Name of the file * @param maxSize Max size of the file * @param httpHeaders the Http headers set to the file @@ -340,6 +382,9 @@ public ResponseFor more information, see the + * Azure Docs.
+ * * @param fileName Name of the file * @return A response that only contains headers and response status code * @throws StorageErrorException If the directory doesn't exist or the file doesn't exist or file name is an invalid resource name. diff --git a/sdk/storage/azure-storage-file/src/main/java/com/azure/storage/file/FileAsyncClient.java b/sdk/storage/azure-storage-file/src/main/java/com/azure/storage/file/FileAsyncClient.java index 4105edd38b20..ce3b9b561530 100644 --- a/sdk/storage/azure-storage-file/src/main/java/com/azure/storage/file/FileAsyncClient.java +++ b/sdk/storage/azure-storage-file/src/main/java/com/azure/storage/file/FileAsyncClient.java @@ -140,6 +140,9 @@ public URL getFileUrl() { * * {@codesnippet com.azure.storage.file.fileClient.create} * + *For more information, see the + * Azure Docs.
+ * * @param maxSize The maximum size in bytes for the file, up to 1 TiB. * @return A response containing the file info and the status of creating the file. * @throws StorageErrorException If the file has already existed, the parent directory does not exist or fileName is an invalid resource name. @@ -157,10 +160,13 @@ public MonoFor more information, see the + * Azure Docs.
+ * * @param maxSize The maximum size in bytes for the file, up to 1 TiB. * @param httpHeaders Additional parameters for the operation. * @param metadata Optional name-value pairs associated with the file as metadata. Metadata names must adhere to the naming rules. - * @see C# identifiers + * @see C# identifiers * @return A response containing the directory info and the status of creating the directory. * @throws StorageErrorException If the directory has already existed, the parent directory does not exist or directory is an invalid resource name. */ @@ -178,9 +184,12 @@ public MonoFor more information, see the + * Azure Docs.
+ * * @param sourceUrl Specifies the URL of the source file or blob, up to 2 KB in length. * @param metadata Optional name-value pairs associated with the file as metadata. Metadata names must adhere to the naming rules. - * * @see C# identifiers + * @see C# identifiers * @return A response containing the file copy info and the status of copying the file. */ public MonoFor more information, see the + * Azure Docs.
+ * * @param downloadFilePath The path where store the downloaded file * @return An empty response. */ @@ -230,6 +245,9 @@ public MonoFor more information, see the + * Azure Docs.
+ * * @param downloadFilePath The path where store the downloaded file * @param range Optional byte range which returns file data only from the specified range. * @return An empty response. @@ -297,6 +315,9 @@ private FluxFor more information, see the + * Azure Docs.
+ * * @return A response that only contains headers and response status code */ public MonoFor more information, see the + * Azure Docs.
+ * * @param range Optional byte range which returns file data only from the specified range. * @param rangeGetContentMD5 Optional boolean which the service returns the MD5 hash for the range when it sets to true, as long as the range is less than or equal to 4 MB in size. * @return A response that only contains headers and response status code @@ -331,6 +355,9 @@ public MonoFor more information, see the + * Azure Docs.
+ * * @return A response that only contains headers and response status code * @throws StorageErrorException If the directory doesn't exist or the file doesn't exist. */ @@ -349,6 +376,9 @@ public MonoFor more information, see the + * Azure Docs.
+ * * @return Storage file properties */ public MonoFor more information, see the + * Azure Docs.
+ * * @param newFileSize New file size of the file * @param httpHeaders Resizes a file to the specified size. If the specified byte value is less than the current size of the file, then all ranges above the specified byte value are cleared. * @return Response of the information about the file @@ -396,13 +429,16 @@ public MonoFor more information, see the + * Azure Docs.
+ * * @param metadata Options.Metadata to set on the file, if null is passed the metadata for the file is cleared * @return information about the file * @throws StorageErrorException If the file doesn't exist or the metadata contains invalid keys */ public MonoFor more information, see the + * Azure Docs.
+ * * @param data The data which will upload to the storage file. * @param length Specifies the number of bytes being transmitted in the request body. When the FileRangeWriteType is set to clear, the value of this header must be set to zero.. * @return A response that only contains headers and response status code @@ -434,6 +473,9 @@ public MonoFor more information, see the + * Azure Docs.
+ * * @param data The data which will upload to the storage file. * @param offset Optional starting point of the upload range. It will start from the beginning if it is {@code null} * @param length Specifies the number of bytes being transmitted in the request body. When the FileRangeWriteType is set to clear, the value of this header must be set to zero. @@ -460,6 +502,11 @@ public MonoFor more information, see the + * Azure Docs Create File + * and + * Azure Docs Upload.
+ * * @param uploadFilePath The path where store the source file to upload * @return An empty response. */ @@ -476,6 +523,11 @@ public MonoFor more information, see the + * Azure Docs Create File + * and + * Azure Docs Upload.
+ * * @param uploadFilePath The path where store the source file to upload * @param type You may specify one of the following options: *For more information, see the + * Azure Docs.
+ * * @return {@link FileRange ranges} in the files. */ public FluxFor more information, see the + * Azure Docs.
+ * * @param range Optional byte range which returns file data only from the specified range. * @return {@link FileRange ranges} in the files that satisfy the requirements */ @@ -555,6 +613,9 @@ public FluxFor more information, see the + * Azure Docs.
+ * * @return {@link HandleItem handles} in the files that satisfy the requirements */ public FluxFor more information, see the + * Azure Docs.
+ * * @param maxResults Optional maximum number of results will return per page * @return {@link HandleItem handles} in the file that satisfy the requirements */ @@ -589,6 +653,9 @@ public FluxFor more information, see the + * Azure Docs.
+ * * @param handleId Specifies the handle ID to be closed. Use an asterisk ('*') as a wildcard string to specify all handles. * @return The counts of number of handles closed */ @@ -717,7 +784,7 @@ private ResponseFor more information, see the + * Azure Docs.
+ * * @param maxSize The maximum size in bytes for the file, up to 1 TiB. * @return A response containing the file info and the status of creating the file. * @throws StorageErrorException If the file has already existed, the parent directory does not exist or fileName is an invalid resource name. @@ -85,10 +88,13 @@ public ResponseFor more information, see the + * Azure Docs.
+ * * @param maxSize The maximum size in bytes for the file, up to 1 TiB. * @param httpHeaders Additional parameters for the operation. * @param metadata Optional name-value pairs associated with the file as metadata. Metadata names must adhere to the naming rules. - * @see C# identifiers + * @see C# identifiers * @return A response containing the directory info and the status of creating the directory. * @throws StorageErrorException If the directory has already existed, the parent directory does not exist or directory is an invalid resource name. */ @@ -105,6 +111,9 @@ public ResponseFor more information, see the + * Azure Docs.
+ * * @param sourceUrl Specifies the URL of the source file or blob, up to 2 KB in length. * @param metadata Optional name-value pairs associated with the file as metadata. Metadata names must adhere to the naming rules. * @see C# identifiers @@ -123,6 +132,9 @@ public ResponseFor more information, see the + * Azure Docs.
+ * * @param copyId Specifies the copy id which has copying pending status associate with it. * @return A response containing the status of aborting copy the file. */ @@ -139,6 +151,9 @@ public VoidResponse abortCopy(String copyId) { * * {@codesnippet com.azure.storage.file.fileClient.downloadToFile#string} * + *For more information, see the + * Azure Docs.
+ * * @param downloadFilePath The path where store the downloaded file */ public void downloadToFile(String downloadFilePath) { @@ -154,6 +169,9 @@ public void downloadToFile(String downloadFilePath) { * * {@codesnippet com.azure.storage.file.fileClient.downloadToFile#string-filerange} * + *For more information, see the + * Azure Docs.
+ * * @param downloadFilePath The path where store the downloaded file * @param range Optional byte range which returns file data only from the specified range. */ @@ -170,6 +188,9 @@ public void downloadToFile(String downloadFilePath, FileRange range) { * * {@codesnippet com.azure.storage.file.fileClient.downloadWithProperties} * + *For more information, see the + * Azure Docs.
+ * * @return A response that only contains headers and response status code */ public ResponseFor more information, see the + * Azure Docs.
+ * * @param range Optional byte range which returns file data only from the specified range. * @param rangeGetContentMD5 Optional boolean which the service returns the MD5 hash for the range when it sets to true, as long as the range is less than or equal to 4 MB in size. * @return A response that only contains headers and response status code @@ -202,6 +226,9 @@ public ResponseFor more information, see the + * Azure Docs.
+ * * @return A response that only contains headers and response status code * @throws StorageErrorException If the directory doesn't exist or the file doesn't exist. */ @@ -219,6 +246,9 @@ public VoidResponse delete() { * * {@codesnippet com.azure.storage.file.fileClient.getProperties} * + *For more information, see the + * Azure Docs.
+ * * @return Storage file properties */ public ResponseFor more information, see the + * Azure Docs.
+ * * @param newFileSize New file size of the file * @param httpHeaders Resizes a file to the specified size. If the specified byte value is less than the current size of the file, then all ranges above the specified byte value are cleared. * @return Response of the information about the file @@ -264,6 +297,9 @@ public ResponseFor more information, see the + * Azure Docs.
+ * * @param metadata Options.Metadata to set on the file, if null is passed the metadata for the file is cleared * @return information about the file * @throws StorageErrorException If the file doesn't exist or the metadata contains invalid keys @@ -281,6 +317,9 @@ public ResponseFor more information, see the + * Azure Docs.
+ * * @param data The data which will upload to the storage file. * @param length Specifies the number of bytes being transmitted in the request body. When the FileRangeWriteType is set to clear, the value of this header must be set to zero.. * @return A response that only contains headers and response status code @@ -299,6 +338,9 @@ public ResponseFor more information, see the + * Azure Docs.
+ * * @param data The data which will upload to the storage file. * @param offset Optional starting point of the upload range. It will start from the beginning if it is {@code null} * @param length Specifies the number of bytes being transmitted in the request body. When the FileRangeWriteType is set to clear, the value of this header must be set to zero. @@ -323,6 +365,11 @@ public ResponseFor more information, see the + * Azure Docs Create File + * and + * Azure Docs Upload.
+ * * @param uploadFilePath The path where store the source file to upload */ public void uploadFromFile(String uploadFilePath) { @@ -338,6 +385,11 @@ public void uploadFromFile(String uploadFilePath) { * * {@codesnippet com.azure.storage.file.fileClient.uploadFromFile#string-filerangewritetype} * + *For more information, see the + * Azure Docs Create File + * and + * Azure Docs Upload.
+ * * @param uploadFilePath The path where store the source file to upload * @param type You may specify one of the following options: *For more information, see the + * Azure Docs.
+ * * @return {@link FileRange ranges} in the files. */ public IterableFor more information, see the + * Azure Docs.
+ * * @param range Optional byte range which returns file data only from the specified range. * @return {@link FileRange ranges} in the files that satisfy the requirements */ @@ -389,6 +447,9 @@ public IterableFor more information, see the + * Azure Docs.
+ * * @return {@link HandleItem handles} in the files that satisfy the requirements */ public IterableFor more information, see the + * Azure Docs.
+ * * @param maxResults Optional max number of results returned per page * @return {@link HandleItem handles} in the file that satisfy the requirements */ @@ -422,6 +486,9 @@ public IterableFor more information, see the + * Azure Docs.
+ * * @param handleId Specifies the handle ID to be closed. Use an asterisk ('*') as a wildcard string to specify all handles. * @return The counts of number of handles closed */ diff --git a/sdk/storage/azure-storage-file/src/main/java/com/azure/storage/file/FileServiceAsyncClient.java b/sdk/storage/azure-storage-file/src/main/java/com/azure/storage/file/FileServiceAsyncClient.java index 981b78a4ace5..e545c18965a5 100644 --- a/sdk/storage/azure-storage-file/src/main/java/com/azure/storage/file/FileServiceAsyncClient.java +++ b/sdk/storage/azure-storage-file/src/main/java/com/azure/storage/file/FileServiceAsyncClient.java @@ -99,6 +99,9 @@ public ShareAsyncClient getShareAsyncClient(String shareName) { * * {@codesnippet com.azure.storage.file.fileServiceAsyncClient.listShares} * + *For more information, see the + * Azure Docs.
+ * * @return {@link ShareItem Shares} in the storage account without their metadata or snapshots */ public FluxFor more information, see the + * Azure Docs.
+ * * @param options Options for listing shares * @return {@link ShareItem Shares} in the storage account that satisfy the filter requirements */ @@ -196,6 +202,9 @@ private PublisherFor more information, see the + * Azure Docs.
+ * * @return Storage account File service properties */ public MonoFor more information, see the + * Azure Docs.
+ * * @param properties Storage account File service properties * @return A response that only contains headers and response status code * @throws StorageErrorException When one of the following is true @@ -248,6 +260,9 @@ public MonoFor more information, see the + * Azure Docs.
+ * * @param shareName Name of the share * @return A response containing the ShareAsyncClient and the status of creating the share. * @throws StorageErrorException If a share with the same name already exists @@ -270,6 +285,9 @@ public MonoFor more information, see the + * Azure Docs.
+ * * @param shareName Name of the share * @param metadata Optional metadata to associate with the share * @param quotaInGB Optional maximum size the share is allowed to grow to in GB. This must be greater than 0 and @@ -294,6 +312,9 @@ public MonoFor more information, see the + * Azure Docs.
+ * * @param shareName Name of the share * @param snapshot Identifier of the snapshot * @return A response that only contains headers and response status code diff --git a/sdk/storage/azure-storage-file/src/main/java/com/azure/storage/file/FileServiceClient.java b/sdk/storage/azure-storage-file/src/main/java/com/azure/storage/file/FileServiceClient.java index 2dd4656926e1..f1603d94c448 100644 --- a/sdk/storage/azure-storage-file/src/main/java/com/azure/storage/file/FileServiceClient.java +++ b/sdk/storage/azure-storage-file/src/main/java/com/azure/storage/file/FileServiceClient.java @@ -75,6 +75,9 @@ public ShareClient getShareClient(String shareName) { * * {@codesnippet com.azure.storage.file.fileServiceClient.listShares} * + *For more information, see the + * Azure Docs.
+ * * @return {@link ShareItem Shares} in the storage account without their metadata or snapshots */ public IterableFor more information, see the + * Azure Docs.
+ * * @param options Options for listing shares * @return {@link ShareItem Shares} in the storage account that satisfy the filter requirements */ @@ -120,6 +126,9 @@ public IterableFor more information, see the + * Azure Docs.
+ * * @return Storage account File service properties */ public ResponseFor more information, see the + * Azure Docs.
+ * * @param properties Storage account File service properties * @return A response that only contains headers and response status code * @throws StorageErrorException When one of the following is true @@ -167,8 +179,12 @@ public VoidResponse setProperties(FileServiceProperties properties) { *Code Samples
* *Create the share with share name of "myshare"
+ * * {@codesnippet com.azure.storage.file.fileServiceClient.createShare#string} * + *For more information, see the + * Azure Docs.
+ * * @param shareName Name of the share * @return A response containing the ShareClient and the status of creating the share. * @throws StorageErrorException If a share with the same name already exists @@ -191,6 +207,9 @@ public ResponseFor more information, see the + * Azure Docs.
+ * * @param shareName Name of the share * @param metadata Optional metadata to associate with the share * @param quotaInGB Optional maximum size the share is allowed to grow to in GB. This must be greater than 0 and @@ -213,6 +232,9 @@ public ResponseFor more information, see the + * Azure Docs.
+ * * @param shareName Name of the share * @return A response that only contains headers and response status code * @throws StorageErrorException If the share doesn't exist @@ -231,6 +253,9 @@ public VoidResponse deleteShare(String shareName) { * * {@codesnippet com.azure.storage.file.fileServiceClient.deleteShare#string-string} * + *For more information, see the + * Azure Docs.
+ * * @param shareName Name of the share * @param snapshot Identifier of the snapshot * @return A response that only contains headers and response status code diff --git a/sdk/storage/azure-storage-file/src/main/java/com/azure/storage/file/ShareAsyncClient.java b/sdk/storage/azure-storage-file/src/main/java/com/azure/storage/file/ShareAsyncClient.java index 789baa8a8181..eed4f7cb9190 100644 --- a/sdk/storage/azure-storage-file/src/main/java/com/azure/storage/file/ShareAsyncClient.java +++ b/sdk/storage/azure-storage-file/src/main/java/com/azure/storage/file/ShareAsyncClient.java @@ -134,6 +134,9 @@ public DirectoryAsyncClient getDirectoryClient(String directoryName) { * * {@codesnippet com.azure.storage.file.shareAsyncClient.create} * + *For more information, see the + * Azure Docs.
+ * * @return A response containing information about the share and the status its creation. * @throws StorageErrorException If the share already exists with different metadata */ @@ -154,6 +157,9 @@ public MonoFor more information, see the + * Azure Docs.
+ * * @param metadata Optional metadata to associate with the share * @param quotaInGB Optional maximum size the share is allowed to grow to in GB. This must be greater than 0 and * less than or equal to 5120. The default value is 5120. @@ -175,6 +181,9 @@ public MonoFor more information, see the + * Azure Docs.
+ * * @return A response containing information about the snapshot of share. * @throws StorageErrorException If the share doesn't exist, there are 200 snapshots of the share, or a snapshot is * in progress for the share @@ -192,6 +201,9 @@ public MonoFor more information, see the + * Azure Docs.
+ * * @param metadata Optional metadata to associate with the snapshot. If {@code null} the metadata of the share * will be copied to the snapshot. * @return A response containing information about the snapshot of share. @@ -212,6 +224,9 @@ public MonoFor more information, see the + * Azure Docs.
+ * * @return A response that only contains headers and response status code * @throws StorageErrorException If the share doesn't exist */ @@ -230,6 +245,9 @@ public MonoFor more information, see the + * Azure Docs.
+ * * @return the properties of the share * @throws StorageErrorException If the share doesn't exist */ @@ -247,6 +265,9 @@ public MonoFor more information, see the + * Azure Docs.
+ * * @param quotaInGB Size in GB to limit the share's growth. The quota in GB must be between 1 and 5120. * @return information about the share * @throws StorageErrorException If the share doesn't exist or {@code quotaInGB} is outside the allowed bounds @@ -271,6 +292,9 @@ public MonoFor more information, see the + * Azure Docs.
+ * * @param metadata Metadata to set on the share, if null is passed the metadata for the share is cleared * @return information about the share * @throws StorageErrorException If the share doesn't exist or the metadata contains invalid keys @@ -289,6 +313,9 @@ public MonoFor more information, see the + * Azure Docs.
+ * * @return The stored access policies specified on the queue. * @throws StorageErrorException If the share doesn't exist */ @@ -306,6 +333,9 @@ public FluxFor more information, see the + * Azure Docs.
+ * * @param permissions Access policies to set on the queue * @return A response that only contains headers and response status code * @throws StorageErrorException If the share doesn't exist, a stored access policy doesn't have all fields filled out, @@ -325,6 +355,9 @@ public MonoFor more information, see the + * Azure Docs.
+ * * @return the storage statistics of the share */ public MonoCreate the directory "mydirectory"
* * {@codesnippet com.azure.storage.file.shareAsyncClient.createDirectory#string} - * * + * + *For more information, see the + * Azure Docs.
+ * * @param directoryName Name of the directory * @return A response containing a {@link DirectoryAsyncClient} to interact with the created directory and the * status of its creation. @@ -360,6 +396,9 @@ public MonoFor more information, see the + * Azure Docs.
+ * * @param directoryName Name of the directory * @param metadata Optional metadata to associate with the directory * @return A response containing a {@link DirectoryAsyncClient} to interact with the created directory and the @@ -382,6 +421,9 @@ public MonoFor more information, see the + * Azure Docs.
+ * * @param directoryName Name of the directory * @return A response that only contains headers and response status code * @throws StorageErrorException If the share doesn't exist or the directory isn't empty diff --git a/sdk/storage/azure-storage-file/src/main/java/com/azure/storage/file/ShareClient.java b/sdk/storage/azure-storage-file/src/main/java/com/azure/storage/file/ShareClient.java index 2d5c1859eee2..d5c5ee54b5eb 100644 --- a/sdk/storage/azure-storage-file/src/main/java/com/azure/storage/file/ShareClient.java +++ b/sdk/storage/azure-storage-file/src/main/java/com/azure/storage/file/ShareClient.java @@ -84,6 +84,9 @@ public DirectoryClient getDirectoryClient(String directoryName) { * * {@codesnippet com.azure.storage.file.shareClient.create} * + *For more information, see the + * Azure Docs.
+ * * @return A response containing information about the share and the status its creation. * @throws StorageErrorException If the share already exists with different metadata */ @@ -104,6 +107,9 @@ public ResponseFor more information, see the + * Azure Docs.
+ * * @param metadata Optional metadata to associate with the share * @param quotaInGB Optional maximum size the share is allowed to grow to in GB. This must be greater than 0 and * less than or equal to 5120. The default value is 5120. @@ -122,7 +128,9 @@ public ResponseCreate a snapshot
* - * {@codesnippet com.azure.storage.file.shareClient.createSnapshot} + * + *For more information, see the + * Azure Docs.
* * @return A response containing information about the snapshot of share. * @throws StorageErrorException If the share doesn't exist, there are 200 snapshots of the share, or a snapshot is @@ -141,6 +149,9 @@ public ResponseFor more information, see the + * Azure Docs.
+ * * @param metadata Optional metadata to associate with the snapshot. If {@code null} the metadata of the share * will be copied to the snapshot. * @return A response containing information about the snapshot of share. @@ -160,6 +171,9 @@ public ResponseFor more information, see the + * Azure Docs.
+ * * @return A response that only contains headers and response status code * @throws StorageErrorException If the share doesn't exist */ @@ -177,6 +191,9 @@ public VoidResponse delete() { * * {@codesnippet com.azure.storage.file.shareClient.getProperties} * + *For more information, see the + * Azure Docs.
+ * * @return the properties of the share * @throws StorageErrorException If the share doesn't exist */ @@ -193,6 +210,9 @@ public ResponseFor more information, see the + * Azure Docs.
+ * * @param quotaInGB Size in GB to limit the share's growth. The quota in GB must be between 1 and 5120. * @return information about the share * @throws StorageErrorException If the share doesn't exist or {@code quotaInGB} is outside the allowed bounds @@ -216,6 +236,9 @@ public ResponseFor more information, see the + * Azure Docs.
+ * * @param metadata Metadata to set on the share, if null is passed the metadata for the share is cleared * @return information about the share * @throws StorageErrorException If the share doesn't exist or the metadata contains invalid keys @@ -233,6 +256,9 @@ public ResponseFor more information, see the + * Azure Docs.
+ * * @return The stored access policies specified on the queue. * @throws StorageErrorException If the share doesn't exist */ @@ -249,6 +275,9 @@ public IterableFor more information, see the + * Azure Docs.
+ * * @param permissions Access policies to set on the queue * @return A response that only contains headers and response status code * @throws StorageErrorException If the share doesn't exist, a stored access policy doesn't have all fields filled out, @@ -267,6 +296,9 @@ public ResponseFor more information, see the + * Azure Docs.
+ * * @return the storage statistics of the share */ public ResponseFor more information, see the + * Azure Docs.
+ * * @param directoryName Name of the directory * @return A response containing a {@link DirectoryClient} to interact with the created directory and the * status of its creation. @@ -301,6 +336,9 @@ public ResponseFor more information, see the + * Azure Docs.
+ * * @param directoryName Name of the directory * @param metadata Optional metadata to associate with the directory * @return A response containing a {@link DirectoryAsyncClient} to interact with the created directory and the @@ -323,6 +361,9 @@ public Response