Class AzureBlobStorageStore
Inheritance
AzureBlobStorageStore
Assembly: Lacuna.Pki.AzureConnector.dll
Syntax
public class AzureBlobStorageStore : ISimpleStore
Fields
DefaultContainerName
Declaration
public const string DefaultContainerName = null
Field Value
Methods
CreateFromBlobClient(CloudBlobClient, String)
Declaration
public static AzureBlobStorageStore CreateFromBlobClient(CloudBlobClient blobClient, string containerName = null)
Parameters
Type |
Name |
Description |
CloudBlobClient |
blobClient |
|
String |
containerName |
|
Returns
CreateFromConnectionString(String, String)
Declaration
public static AzureBlobStorageStore CreateFromConnectionString(string connectionString, string containerName = null)
Parameters
Type |
Name |
Description |
String |
connectionString |
|
String |
containerName |
|
Returns
CreateFromContainerReference(CloudBlobContainer)
Declaration
public static AzureBlobStorageStore CreateFromContainerReference(CloudBlobContainer container)
Parameters
Type |
Name |
Description |
CloudBlobContainer |
container |
|
Returns
CreateFromSettingName(String, String)
Declaration
public static AzureBlobStorageStore CreateFromSettingName(string settingName, string containerName = null)
Parameters
Type |
Name |
Description |
String |
settingName |
|
String |
containerName |
|
Returns
CreateFromStorageAccount(CloudStorageAccount, String)
Declaration
public static AzureBlobStorageStore CreateFromStorageAccount(CloudStorageAccount storageAccount, string containerName = null)
Parameters
Type |
Name |
Description |
CloudStorageAccount |
storageAccount |
|
String |
containerName |
|
Returns
Get(Byte[])
Declaration
public byte[] Get(byte[] index)
Parameters
Type |
Name |
Description |
Byte[] |
index |
|
Returns
GetAsync(Byte[])
Declaration
public Task<byte[]> GetAsync(byte[] index)
Parameters
Type |
Name |
Description |
Byte[] |
index |
|
Returns
Type |
Description |
Task<Byte[]> |
|
GetContainerAsync()
Declaration
protected Task<CloudBlobContainer> GetContainerAsync()
Returns
Type |
Description |
Task<CloudBlobContainer> |
|
Put(Byte[], Byte[])
Declaration
public void Put(byte[] index, byte[] content)
Parameters
Type |
Name |
Description |
Byte[] |
index |
|
Byte[] |
content |
|
PutAsync(Byte[], Byte[])
Declaration
public Task PutAsync(byte[] index, byte[] content)
Parameters
Type |
Name |
Description |
Byte[] |
index |
|
Byte[] |
content |
|
Returns