| Package | Description |
|---|---|
| com.microsoft.azure.storage |
This package contains the storage service base classes.
|
| com.microsoft.azure.storage.analytics |
This package contains the storage service analytics classes.
|
| com.microsoft.azure.storage.blob |
This package contains the storage service blob classes.
|
| com.microsoft.azure.storage.core |
FOR INTERNAL USE ONLY.
|
| com.microsoft.azure.storage.file |
This package contains the storage service file classes.
|
| com.microsoft.azure.storage.queue |
This package contains the storage service queue classes.
|
| com.microsoft.azure.storage.table |
This package contains the storage service table classes.
|
| Modifier and Type | Class and Description |
|---|---|
class |
StorageCredentialsAccountAndKey
Represents storage account credentials, based on storage account and access key, for accessing the Microsoft Azure
storage services.
|
class |
StorageCredentialsAnonymous
Represents credentials for anonymous access.
|
class |
StorageCredentialsSharedAccessSignature
Represents storage credentials for delegated access to Blob service resources via a shared access signature.
|
| Modifier and Type | Field and Description |
|---|---|
static StorageCredentials |
StorageCredentialsAnonymous.ANONYMOUS
Stores the singleton instance of this class.
|
protected StorageCredentials |
ServiceClient.credentials
Holds the StorageCredentials associated with this Service Client.
|
| Modifier and Type | Method and Description |
|---|---|
StorageCredentials |
ServiceClient.getCredentials()
Returns the storage credentials associated with this service client.
|
StorageCredentials |
CloudStorageAccount.getCredentials()
Returns the credentials for the storage account.
|
protected static StorageCredentials |
StorageCredentialsAnonymous.getInstance()
Returns the singleton instance of the
StorageCredentials class. |
protected static StorageCredentials |
StorageCredentials.tryParseCredentials(Map<String,String> settings)
Tries to determine the storage credentials from a collection of name/value pairs.
|
static StorageCredentials |
StorageCredentials.tryParseCredentials(String connectionString)
Tries to determine the storage credentials from a connection string.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
ServiceClient.setCredentials(StorageCredentials credentials)
Sets the credentials to use with this service client.
|
protected void |
CloudStorageAccount.setCredentials(StorageCredentials credentials)
Sets the StorageCredentials to use with this account.
|
| Constructor and Description |
|---|
CloudStorageAccount(StorageCredentials storageCredentials)
Creates an instance of the
CloudStorageAccount class using the specified
account credentials. |
CloudStorageAccount(StorageCredentials storageCredentials,
boolean useHttps)
Creates an instance of the
CloudStorageAccount class using the specified
account credentials and the default service endpoints, using HTTP or HTTPS as specified. |
CloudStorageAccount(StorageCredentials storageCredentials,
boolean useHttps,
String endpointSuffix)
Creates an instance of the
CloudStorageAccount class using the specified
account credentials. |
CloudStorageAccount(StorageCredentials storageCredentials,
StorageUri blobStorageUri,
StorageUri queueStorageUri,
StorageUri tableStorageUri)
Creates an instance of the
CloudStorageAccount class using the specified
account credentials and service endpoints. |
CloudStorageAccount(StorageCredentials storageCredentials,
StorageUri blobStorageUri,
StorageUri queueStorageUri,
StorageUri tableStorageUri,
StorageUri fileStorageUri)
Creates an instance of the
CloudStorageAccount class using the specified
account credentials and service endpoints. |
CloudStorageAccount(StorageCredentials storageCredentials,
URI blobEndpoint,
URI queueEndpoint,
URI tableEndpoint)
Creates an instance of the
CloudStorageAccount class using the specified
account credentials and service endpoints. |
CloudStorageAccount(StorageCredentials storageCredentials,
URI blobEndpoint,
URI queueEndpoint,
URI tableEndpoint,
URI fileEndpoint)
Creates an instance of the
CloudStorageAccount class using the specified
account credentials and service endpoints. |
ServiceClient(StorageUri storageUri,
StorageCredentials credentials)
Creates an instance of the
ServiceClient class using the specified service endpoint and account
credentials. |
| Constructor and Description |
|---|
CloudAnalyticsClient(StorageUri blobStorageUri,
StorageUri tableStorageUri,
StorageCredentials credentials)
Initializes a new instance of the
CloudAnalyticsClient class using the specified blob and table
service endpoints and account credentials. |
| Constructor and Description |
|---|
CloudBlobClient(StorageUri storageUri,
StorageCredentials credentials)
Creates an instance of the
CloudBlobClient class using the specified Blob service endpoint and
account credentials. |
CloudBlobClient(URI baseUri,
StorageCredentials credentials)
Creates an instance of the
CloudBlobClient class using the specified Blob service endpoint and
account credentials. |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
Utility.areCredentialsEqual(StorageCredentials thisCred,
StorageCredentials thatCred)
Returns a value that indicates whether the specified credentials are equal.
|
static boolean |
StorageCredentialsHelper.canCredentialsSignRequest(StorageCredentials creds)
Reserved.
|
static boolean |
StorageCredentialsHelper.canCredentialsSignRequestLite(StorageCredentials creds)
Deprecated.
as of 2.0.0. Use
StorageCredentialsHelper.canCredentialsSignRequest(com.microsoft.azure.storage.StorageCredentials) instead. |
static String |
StorageCredentialsHelper.computeHmac256(StorageCredentials creds,
String value)
Computes a signature for the specified string using the HMAC-SHA256 algorithm.
|
static String |
StorageCredentialsHelper.computeHmac256(StorageCredentials creds,
String value,
OperationContext opContext)
Computes a signature for the specified string using the HMAC-SHA256 algorithm with the specified operation
context.
|
static String |
PathUtility.getCanonicalPathFromCredentials(StorageCredentials credentials,
String absolutePath)
Gets the canonical path for an object from the credentials.
|
static void |
StorageCredentialsHelper.signBlobAndQueueRequest(StorageCredentials creds,
HttpURLConnection request,
long contentLength)
Signs a request under the Shared Key authentication scheme.
|
static void |
StorageCredentialsHelper.signBlobAndQueueRequest(StorageCredentials creds,
HttpURLConnection request,
long contentLength,
OperationContext opContext)
Signs a request using the specified operation context under the Shared Key authentication scheme.
|
static void |
StorageCredentialsHelper.signBlobAndQueueRequestLite(StorageCredentials creds,
HttpURLConnection request,
long contentLength)
Deprecated.
|
static void |
StorageCredentialsHelper.signBlobAndQueueRequestLite(StorageCredentials creds,
HttpURLConnection request,
long contentLength,
OperationContext opContext)
Deprecated.
|
static void |
StorageCredentialsHelper.signTableRequest(StorageCredentials creds,
HttpURLConnection request,
long contentLength)
Signs a request under the Shared Key authentication scheme.
|
static void |
StorageCredentialsHelper.signTableRequest(StorageCredentials creds,
HttpURLConnection request,
long contentLength,
OperationContext opContext)
Signs a request using the specified operation context under the Shared Key authentication scheme.
|
static void |
StorageCredentialsHelper.signTableRequestLite(StorageCredentials creds,
HttpURLConnection request,
long contentLength)
Deprecated.
|
static void |
StorageCredentialsHelper.signTableRequestLite(StorageCredentials creds,
HttpURLConnection request,
long contentLength,
OperationContext opContext)
Deprecated.
|
| Constructor and Description |
|---|
CloudFileClient(StorageUri storageUri,
StorageCredentials credentials)
Creates an instance of the
CloudFileClient class using the specified File service endpoint and
account credentials. |
CloudFileClient(URI baseUri,
StorageCredentials credentials)
Creates an instance of the
CloudFileClient class using the specified File service endpoint and
account credentials. |
| Constructor and Description |
|---|
CloudQueueClient(StorageUri baseUri,
StorageCredentials credentials)
Initializes a new instance of the
CloudQueueClient class using the specified Queue service endpoint
and account credentials. |
CloudQueueClient(URI baseUri,
StorageCredentials credentials)
Initializes a new instance of the
CloudQueueClient class using the specified Queue service endpoint
and account credentials. |
| Constructor and Description |
|---|
CloudTableClient(StorageUri baseUri,
StorageCredentials credentials)
Initializes an instance of the
CloudTableClientclass using a Table service endpoint and
storage account credentials. |
CloudTableClient(URI baseUri,
StorageCredentials credentials)
Initializes an instance of the
CloudTableClient class using a Table service endpoint and
storage account credentials. |
/**
* Copyright Microsoft Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/