Edytuj

Udostępnij za pośrednictwem


AzureConfigurationExtensions.AddAzureBlobStorageProvider Method

Definition

Adds a storage provider of type AzureBlobStorage.

public static void AddAzureBlobStorageProvider (this Orleans.Runtime.Configuration.ClusterConfiguration config, string providerName = "AzureBlobStore", string connectionString = default, string containerName = "grainstate", bool useFullAssemblyNames = false, bool indentJson = false);
static member AddAzureBlobStorageProvider : Orleans.Runtime.Configuration.ClusterConfiguration * string * string * string * bool * bool -> unit
<Extension()>
Public Sub AddAzureBlobStorageProvider (config As ClusterConfiguration, Optional providerName As String = "AzureBlobStore", Optional connectionString As String = Nothing, Optional containerName As String = "grainstate", Optional useFullAssemblyNames As Boolean = false, Optional indentJson As Boolean = false)

Parameters

config
ClusterConfiguration

The cluster configuration object to add provider to.

providerName
String

The provider name.

connectionString
String

The azure storage connection string. If none is provided, it will use the same as in the Globals configuration.

containerName
String

The container name where to store the state.

useFullAssemblyNames
Boolean

Whether to use full assembly names in the serialized JSON.

indentJson
Boolean

Whether to indent (pretty print) the JSON.

Applies to