Class CloudStorageConfigurationExtensions
Provides extension methods for IAgentCloudStorageConfigurationPhase relevant to .
Namespace: Sp.Agent.Configuration
Assembly: Sp.Agent.Cloud.dll
Methods
WithCloudStore(IAgentCloudStorageConfigurationPhase, Func<IAgentCloudStorageCommenceConfigurationPhase, IAgentCloudStorageCompleteConfigurationPhase>)
Specifies a function to be used to sense Removable Storage devices.
Declaration
public static IAgentUserBoundStorageConfigurationPhase WithCloudStore(this IAgentCloudStorageConfigurationPhase that, Func<IAgentCloudStorageCommenceConfigurationPhase, IAgentCloudStorageCompleteConfigurationPhase> cloudStoreConfig)
Parameters
Type | Name | Description |
---|---|---|
IAgentCloudStorageConfigurationPhase | that | |
System.Func<IAgentCloudStorageCommenceConfigurationPhase, IAgentCloudStorageCompleteConfigurationPhase> | cloudStoreConfig |
Returns
Type | Description |
---|---|
IAgentUserBoundStorageConfigurationPhase |
Examples
AgentContext.For( "abc12" )
.Configure( agent => agent
.DisableLocalBoundStorage()
.DisableRemovableStorage()
.WithCloudStore( y => y
.WithAzureStorage()
.WithCustomId())
.CompleteWithDefaults() );