Freigeben über


AccountSasQueryParameters Class

@Deprecated
public final class AccountSasQueryParameters
extends BaseSasQueryParameters

Note

This class has been deprecated. Please use the generateSas method on the desired service client after initializing AccountSasSignatureValues.

Represents the components that make up an Azure Storage SAS' query parameters. This type is not constructed directly by the user; it is only generated by the AccountSasSignatureValues type. Once generated, it can be set on a ServiceClientBuilder object to be constructed as part of a URL or it can be encoded into a String and appended to a URL directly (though caution should be taken here in case there are existing query parameters, which might affect the appropriate means of appending these query parameters). NOTE: Instances of this class are immutable to ensure thread safety.

Method Summary

Modifier and Type Method and Description
String encode()

Deprecated

Please use the generateSas method on the desired service client after initializing AccountSasSignatureValues.

Encodes all SAS query parameters into a string that can be appended to a URL.

String getResourceTypes()

Deprecated

String getServices()

Deprecated

Methods inherited from BaseSasQueryParameters

Methods inherited from java.lang.Object

Method Details

encode

@Deprecated
public String encode()

Deprecated

Please use the generateSas method on the desired service client after initializing AccountSasSignatureValues.

Encodes all SAS query parameters into a string that can be appended to a URL.

Overrides:

AccountSasQueryParameters.encode()

Returns:

A String representing the SAS query parameters.

getResourceTypes

@Deprecated
public String getResourceTypes()

Deprecated

Returns:

The storage resource types being accessed (only for Account SAS). Please refer to AccountSasResourceType for more details.

getServices

@Deprecated
public String getServices()

Deprecated

Returns:

The storage services being accessed (only for Account SAS). Please refer to AccountSasService for more details.

Applies to