Skip to content
Docs Try Aspire
Docs Try

AzureManagedRedisResource

Handle
📦 Aspire.Hosting.Azure.Redis v13.3.0
interface AzureManagedRedisResource
extends IAzureResource,
IExpressionValue,
IManifestExpressionProvider,
IResource,
IResourceWithConnectionString,
IResourceWithParameters,
IValueProvider,
IValueWithReferences,
IAzurePrivateEndpointTarget {
readonly connectionStringExpression: ReferenceExpression;
readonly hostName: ReferenceExpression;
readonly id: BicepOutputReference;
readonly nameOutputReference: BicepOutputReference;
readonly password: ReferenceExpression;
readonly port: ReferenceExpression;
readonly uriExpression: ReferenceExpression;
readonly useAccessKeyAuthentication: boolean;
runAsContainer(configureContainer?: (obj: RedisResource) => Promise<void>): AzureManagedRedisResource;
withAccessKeyAuthentication(keyVaultBuilder?: IAzureKeyVaultResource): AzureManagedRedisResource;
}

Properties

property connectionStringExpression ReferenceExpression get
Gets the ConnectionStringExpression property
property hostName ReferenceExpression get
Gets the HostName property
property id BicepOutputReference get
Gets the Id property
property nameOutputReference BicepOutputReference get
Gets the NameOutputReference property
property password ReferenceExpression get
Gets the Password property
property port ReferenceExpression get
Gets the Port property
property uriExpression ReferenceExpression get
Gets the UriExpression property
property useAccessKeyAuthentication boolean get
Gets the UseAccessKeyAuthentication property

Methods

method runAsContainer builder
Configures Azure Managed Redis to run in a local container
runAsContainer(configureContainer?: (obj: RedisResource) => Promise<void>): AzureManagedRedisResource
configureContainer (obj: RedisResource) => Promise<void> optional
AzureManagedRedisResource
Configures Azure Managed Redis to use access key authentication
withAccessKeyAuthentication(keyVaultBuilder?: IAzureKeyVaultResource): AzureManagedRedisResource
keyVaultBuilder IAzureKeyVaultResource optional
AzureManagedRedisResource