AzureManagedRedisResource
Class net8.0
Represents an Azure Managed Redis resource.
namespace Aspire.Hosting.Azure;
public class AzureManagedRedisResource : Aspire.Hosting.Azure.AzureProvisioningResource, Aspire.Hosting.ApplicationModel.IManifestExpressionProvider, Aspire.Hosting.ApplicationModel.IResource, Aspire.Hosting.ApplicationModel.IResourceWithConnectionString, Aspire.Hosting.ApplicationModel.IValueProvider, Aspire.Hosting.ApplicationModel.IValueWithReferences, Aspire.Hosting.Azure.IAzurePrivateEndpointTarget{ // ...} AzureProvisioningResourceIManifestExpressionProviderIResourceIResourceWithConnectionStringIValueProviderIValueWithReferencesIAzurePrivateEndpointTarget
12 members
Constructors1
Section titled ConstructorsProperties9
Section titled PropertiesAnnotationsgetats ignoredResourceAnnotationCollectionConnectionStringExpressiongetReferenceExpression Gets the connection string template for the manifest for the Azure Managed Redis resource.
HostNamegetReferenceExpression Gets the host name for the Redis server.
Idgetats ignoredBicepOutputReference Gets the "id" output reference for the resource.
NameOutputReferencegetats ignoredBicepOutputReference Gets the "name" output reference for the resource.
PasswordgetReferenceExpression? Gets the password/access key for the Redis server.
PortgetReferenceExpression Gets the port for the Redis server.
UriExpressiongetReferenceExpression Gets the connection URI expression for the Redis server.
UseAccessKeyAuthenticationgetbool Gets a value indicating whether the resource uses access key authentication.
Methods2
Section titled MethodsAddAsExistingResource(AzureResourceInfrastructure)ProvisionableResourceAddRoleAssignments(IAddRoleAssignmentsContext)