AzureRedisResource
Classnet10.0
Represents an Azure Redis resource.
namespace Aspire.Hosting.Azure;
public class AzureRedisResource : Aspire.Hosting.Azure.AzureProvisioningResource, Aspire.Hosting.ApplicationModel.IExpressionValue, Aspire.Hosting.ApplicationModel.IManifestExpressionProvider, Aspire.Hosting.ApplicationModel.IResource, Aspire.Hosting.ApplicationModel.IResourceWithConnectionString, Aspire.Hosting.ApplicationModel.IValueProvider, Aspire.Hosting.ApplicationModel.IValueWithReferences{ // ...}AzureProvisioningResourceIExpressionValueIManifestExpressionProviderIResourceIResourceWithConnectionStringIValueProviderIValueWithReferences
5 members
Constructors1
Section titled ConstructorsProperties4
Section titled PropertiesAnnotationsgetResourceAnnotationCollection Gets the annotations associated with the resource.
ConnectionStringgetBicepSecretOutputReference Gets the "connectionString" output reference from the bicep template for the Azure Redis resource.
ConnectionStringExpressiongetReferenceExpression Gets the connection string template for the manifest for the Azure Redis resource.
Namegetstring Gets the name of the resource.