AzureStorageResource
Classnet10.0
Represents an Azure Storage resource.
namespace Aspire.Hosting.Azure;
public class AzureStorageResource : Aspire.Hosting.Azure.AzureProvisioningResource, Aspire.Hosting.ApplicationModel.IResource, Aspire.Hosting.ApplicationModel.IResourceWithEndpoints, Aspire.Hosting.Azure.IAzureNspAssociationTarget, Aspire.Hosting.Azure.IResourceWithAzureFunctionsConfig{ // ...}AzureProvisioningResourceIResourceIResourceWithEndpointsIAzureNspAssociationTargetIResourceWithAzureFunctionsConfig
13 members
Constructors1
Section titled Constructors Represents an Azure Storage resource.
Properties11
Section titled PropertiesBlobEndpointgetBicepOutputReference Gets the "blobEndpoint" output reference from the bicep template for the Azure Storage resource.
ReferenceExpression Gets the connection URI expression for the blob storage service.
BicepOutputReference Gets the "dataLakeEndpoint" output reference from the bicep template for the Azure Storage resource.
ReferenceExpression Gets the connection URI expression for the data lake storage service.
IsEmulatorgetbool Gets a value indicating whether the Azure Storage resource is running in the local emulator.
BicepOutputReference Gets the "queueEndpoint" output reference from the bicep template for the Azure Storage resource.
ReferenceExpression Gets the connection URI expression for the queue storage service.
BicepOutputReference Gets the "tableEndpoint" output reference from the bicep template for the Azure Storage resource.
ReferenceExpression Gets the connection URI expression for the table storage service.
Methods1
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.