| Package | Description |
|---|---|
| com.azure.storage.file.share |
This package contains the classes to perform actions on Azure Storage File.
|
| com.azure.storage.file.share.models |
Package containing classes for AzureFileStorage.
|
| Modifier and Type | Method and Description |
|---|---|
com.azure.core.http.rest.PagedFlux<ShareItem> |
ShareServiceAsyncClient.listShares(ListSharesOptions options)
Lists the shares in the Storage account that pass the options filter.
|
com.azure.core.http.rest.PagedIterable<ShareItem> |
ShareServiceClient.listShares(ListSharesOptions options,
Duration timeout,
com.azure.core.util.Context context)
Lists the shares in the Storage account that pass the options filter.
|
| Modifier and Type | Method and Description |
|---|---|
ListSharesOptions |
ListSharesOptions.setIncludeDeleted(boolean includeDeleted)
Sets the status of including deleted shares when listing shares
|
ListSharesOptions |
ListSharesOptions.setIncludeMetadata(boolean includeMetadata)
Sets the status of including share metadata when listing shares
If listing snapshots as well this will also determine if the snapshots have their metadata included as well.
|
ListSharesOptions |
ListSharesOptions.setIncludeSnapshots(boolean includeSnapshots)
Sets the status of including share snapshots when listing shares
|
ListSharesOptions |
ListSharesOptions.setMaxResultsPerPage(Integer maxResultsPerPage)
Sets the maximum number of shares to include in a single response.
|
ListSharesOptions |
ListSharesOptions.setPrefix(String prefix)
Sets the prefix that a share must match to be included in the listing.
|
Copyright © 2021 Microsoft Corporation. All rights reserved.