AzureManagedRedisResource
Classnet10.0
Represents an Azure Managed Redis resource.
namespace Aspire.Hosting.Azure;
public class AzureManagedRedisResource : 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, Aspire.Hosting.Azure.IAzurePrivateEndpointTarget{ // ...}AzureProvisioningResourceIExpressionValueIManifestExpressionProviderIResourceIResourceWithConnectionStringIValueProviderIValueWithReferencesIAzurePrivateEndpointTarget
12 members
Constructors1
Section titled Constructors Represents an Azure Managed Redis resource.
Properties9
Section titled PropertiesResourceAnnotationCollection Gets the annotations associated with the resource.
ReferenceExpression Gets the connection string template for the manifest for the Azure Managed Redis resource.
bool Gets a value indicating whether the resource uses access key authentication.
Methods2
Section titled MethodsProvisionableResource Adds a new
Primitives.ProvisionableResource into infra. The new resource represents a reference to the current Azure.AzureProvisioningResource via https://learn.microsoft.com/azure/azure-resource-manager/bicep/existing-resource. Adds role assignments to this Azure resource.