AzureBlobStorageOptions
class
Namespace: Orleans.Configuration
Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.
public class AzureBlobStorageOptions : IStorageProviderSerializerOptionsConstructors
Properties
BlobServiceClientGets or sets the client used to access the Azure Blob Service.BuildContainerFactoryA function for building container factory instancesClientOptionsOptions to be used when configuring the blob storage client, ornullto use the default options.ContainerNameContainer name where grain stage is storedDeleteStateOnClearGets or sets a value indicating whether to delete the state whenIGrainStorageis called. Defaults to true.GrainStorageSerializerGets or sets the serializer to use for this storage provider.InitStageStage of silo lifecycle where storage should be initialized. Storage must be initialized prior to use.
Methods
ConfigureBlobServiceClient(Func<Task<BlobServiceClient>>)Configures theAzureBlobStorageOptionsusing the provided callback.ConfigureBlobServiceClient(Uri)Configures theAzureBlobStorageOptionsusing an authenticated service URI.ConfigureBlobServiceClient(Uri, AzureSasCredential)Configures theAzureBlobStorageOptionsusing an authenticated service URI and aAzure.AzureSasCredential.ConfigureBlobServiceClient(Uri, StorageSharedKeyCredential)Configures theAzureBlobStorageOptionsusing an authenticated service URI and aAzure.Storage.StorageSharedKeyCredential.ConfigureBlobServiceClient(Uri, TokenCredential)Configures theAzureBlobStorageOptionsusing an authenticated service URI and aAzure.Core.TokenCredential.ConfigureBlobServiceClient(string)Configures theAzureBlobStorageOptionsusing a connection string.
