| Package | Description |
|---|---|
| com.azure.storage.file.share |
This package contains the classes to perform actions on Azure Storage File.
|
| com.azure.storage.file.share.sas |
Package containing SAS (shared access signature) classes used by Azure Storage File Shares.
|
| Modifier and Type | Method and Description |
|---|---|
String |
ShareDirectoryAsyncClient.generateSas(ShareServiceSasSignatureValues shareServiceSasSignatureValues)
Generates a service SAS for the directory using the specified
ShareServiceSasSignatureValues |
String |
ShareFileClient.generateSas(ShareServiceSasSignatureValues shareServiceSasSignatureValues)
Generates a service SAS for the file using the specified
ShareServiceSasSignatureValues |
String |
ShareAsyncClient.generateSas(ShareServiceSasSignatureValues shareServiceSasSignatureValues)
Generates a service sas for the queue using the specified
ShareServiceSasSignatureValues |
String |
ShareClient.generateSas(ShareServiceSasSignatureValues shareServiceSasSignatureValues)
Generates a service sas for the queue using the specified
ShareServiceSasSignatureValues |
String |
ShareDirectoryClient.generateSas(ShareServiceSasSignatureValues shareServiceSasSignatureValues)
Generates a service SAS for the directory using the specified
ShareServiceSasSignatureValues |
String |
ShareFileAsyncClient.generateSas(ShareServiceSasSignatureValues shareServiceSasSignatureValues)
Generates a service SAS for the file using the specified
ShareServiceSasSignatureValues |
String |
ShareDirectoryAsyncClient.generateSas(ShareServiceSasSignatureValues shareServiceSasSignatureValues,
com.azure.core.util.Context context)
Generates a service SAS for the directory using the specified
ShareServiceSasSignatureValues |
String |
ShareFileClient.generateSas(ShareServiceSasSignatureValues shareServiceSasSignatureValues,
com.azure.core.util.Context context)
Generates a service SAS for the file using the specified
ShareServiceSasSignatureValues |
String |
ShareAsyncClient.generateSas(ShareServiceSasSignatureValues shareServiceSasSignatureValues,
com.azure.core.util.Context context)
Generates a service sas for the queue using the specified
ShareServiceSasSignatureValues |
String |
ShareClient.generateSas(ShareServiceSasSignatureValues shareServiceSasSignatureValues,
com.azure.core.util.Context context)
Generates a service sas for the queue using the specified
ShareServiceSasSignatureValues |
String |
ShareDirectoryClient.generateSas(ShareServiceSasSignatureValues shareServiceSasSignatureValues,
com.azure.core.util.Context context)
Generates a service SAS for the directory using the specified
ShareServiceSasSignatureValues |
String |
ShareFileAsyncClient.generateSas(ShareServiceSasSignatureValues shareServiceSasSignatureValues,
com.azure.core.util.Context context)
Generates a service SAS for the file using the specified
ShareServiceSasSignatureValues |
| Modifier and Type | Method and Description |
|---|---|
ShareServiceSasSignatureValues |
ShareServiceSasSignatureValues.setCacheControl(String cacheControl)
Sets the cache-control header for the SAS.
|
ShareServiceSasSignatureValues |
ShareServiceSasSignatureValues.setContentDisposition(String contentDisposition)
Sets the content-disposition header for the SAS.
|
ShareServiceSasSignatureValues |
ShareServiceSasSignatureValues.setContentEncoding(String contentEncoding)
Sets the content-encoding header for the SAS.
|
ShareServiceSasSignatureValues |
ShareServiceSasSignatureValues.setContentLanguage(String contentLanguage)
Sets the content-language header for the SAS.
|
ShareServiceSasSignatureValues |
ShareServiceSasSignatureValues.setContentType(String contentType)
Sets the content-type header for the SAS.
|
ShareServiceSasSignatureValues |
ShareServiceSasSignatureValues.setExpiryTime(OffsetDateTime expiryTime)
Sets the time after which the SAS will no longer work.
|
ShareServiceSasSignatureValues |
ShareServiceSasSignatureValues.setFilePath(String filePath)
Deprecated.
Please use the generateSas methods provided on the desired file/directory client that will
auto-populate the file path.
|
ShareServiceSasSignatureValues |
ShareServiceSasSignatureValues.setIdentifier(String identifier)
Sets the name of the access policy on the share this SAS references if any.
|
ShareServiceSasSignatureValues |
ShareServiceSasSignatureValues.setPermissions(ShareFileSasPermission permissions)
Sets the permissions allowed by the SAS.
|
ShareServiceSasSignatureValues |
ShareServiceSasSignatureValues.setPermissions(ShareSasPermission permissions)
Sets the permissions allowed by the SAS.
|
ShareServiceSasSignatureValues |
ShareServiceSasSignatureValues.setProtocol(SasProtocol protocol)
Sets the
SasProtocol which determines the protocols allowed by the SAS. |
ShareServiceSasSignatureValues |
ShareServiceSasSignatureValues.setSasIpRange(SasIpRange sasIpRange)
Sets the
SasIpRange which determines the IP ranges that are allowed to use the SAS. |
ShareServiceSasSignatureValues |
ShareServiceSasSignatureValues.setShareName(String shareName)
Deprecated.
Please use the generateSas methods provided on the desired share/file/directory client that will
auto-populate the share name.
|
ShareServiceSasSignatureValues |
ShareServiceSasSignatureValues.setStartTime(OffsetDateTime startTime)
Sets when the SAS will take effect.
|
ShareServiceSasSignatureValues |
ShareServiceSasSignatureValues.setVersion(String version)
Deprecated.
The version is set to the latest version of sas. Users should stop calling this API as it is now
treated as a no-op.
|
Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.