Freigeben über


AzureRedisExtensions Class

Definition

Provides extension methods for adding the Azure Redis resources to the application model.

public static class AzureRedisExtensions
type AzureRedisExtensions = class
Public Module AzureRedisExtensions
Inheritance
AzureRedisExtensions

Methods

AddAzureRedis(IDistributedApplicationBuilder, String)

Adds an Azure Cache for Redis resource to the application model.

AsAzureRedis(IResourceBuilder<RedisResource>, Action<IResourceBuilder<AzureRedisResource>,ResourceModuleConstruct,RedisCache>)

Configures resource to use Azure for local development and when doing a deployment via the Azure Developer CLI.

AsAzureRedis(IResourceBuilder<RedisResource>)
Obsolete.

Configures resource to use Azure for local development and when doing a deployment via the Azure Developer CLI.

PublishAsAzureRedis(IResourceBuilder<RedisResource>, Action<IResourceBuilder<AzureRedisResource>,ResourceModuleConstruct,RedisCache>)

Configures the resource to be published as Azure Cache for Redis when deployed via Azure Developer CLI.

PublishAsAzureRedis(IResourceBuilder<RedisResource>)
Obsolete.

Configures the resource to be published as Azure Cache for Redis when deployed via Azure Developer CLI.

RunAsContainer(IResourceBuilder<AzureRedisCacheResource>, Action<IResourceBuilder<RedisResource>>)

Configures an Azure Cache for Redis resource to run locally in a container.

WithAccessKeyAuthentication(IResourceBuilder<AzureRedisCacheResource>)

Configures the resource to use access key authentication for Azure Cache for Redis.

Applies to