AzureRedisResource Constructors
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.
Overloads
AzureRedisResource(RedisResource, Action<AzureResourceInfrastructure>) |
Represents an Azure Redis resource. |
AzureRedisResource(RedisResource, Action<ResourceModuleConstruct>) |
Represents an Azure Redis resource. |
AzureRedisResource(RedisResource, Action<AzureResourceInfrastructure>)
- Source:
- AzureRedisResource.cs
Represents an Azure Redis resource.
public AzureRedisResource (Aspire.Hosting.ApplicationModel.RedisResource innerResource, Action<Aspire.Hosting.Azure.AzureResourceInfrastructure> configureInfrastructure);
new Aspire.Hosting.Azure.AzureRedisResource : Aspire.Hosting.ApplicationModel.RedisResource * Action<Aspire.Hosting.Azure.AzureResourceInfrastructure> -> Aspire.Hosting.Azure.AzureRedisResource
Public Sub New (innerResource As RedisResource, configureInfrastructure As Action(Of AzureResourceInfrastructure))
Parameters
- innerResource
- RedisResource
The inner resource.
- configureInfrastructure
- Action<AzureResourceInfrastructure>
Callback to configure the Azure resources.
Applies to
AzureRedisResource(RedisResource, Action<ResourceModuleConstruct>)
- Source:
- AzureRedisResource.cs
Represents an Azure Redis resource.
public AzureRedisResource (Aspire.Hosting.ApplicationModel.RedisResource innerResource, Action<Aspire.Hosting.ResourceModuleConstruct> configureConstruct);
new Aspire.Hosting.Azure.AzureRedisResource : Aspire.Hosting.ApplicationModel.RedisResource * Action<Aspire.Hosting.ResourceModuleConstruct> -> Aspire.Hosting.Azure.AzureRedisResource
Public Sub New (innerResource As RedisResource, configureConstruct As Action(Of ResourceModuleConstruct))
Parameters
- innerResource
- RedisResource
The inner resource.
- configureConstruct
- Action<ResourceModuleConstruct>
Callback to populate the construct with Azure resources.