AzureRedisCacheResource Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an Azure Cache for Redis resource.
public AzureRedisCacheResource (string name, Action<Aspire.Hosting.Azure.AzureResourceInfrastructure> configureInfrastructure);
new Aspire.Hosting.Azure.AzureRedisCacheResource : string * Action<Aspire.Hosting.Azure.AzureResourceInfrastructure> -> Aspire.Hosting.Azure.AzureRedisCacheResource
Public Sub New (name As String, configureInfrastructure As Action(Of AzureResourceInfrastructure))
Parameters
- name
- String
The name of the resource.
- configureInfrastructure
- Action<AzureResourceInfrastructure>
Callback to configure the Azure resources.