AzureAppServiceEnvironmentResource
Classnet10.0
Represents an Azure App Service Environment resource.
namespace Aspire.Hosting.Azure;
public class AzureAppServiceEnvironmentResource : Aspire.Hosting.Azure.AzureProvisioningResource, Aspire.Hosting.ApplicationModel.IComputeEnvironmentResource, Aspire.Hosting.ApplicationModel.IContainerRegistry, Aspire.Hosting.ApplicationModel.IResource, Aspire.Hosting.Azure.IAzureComputeEnvironmentResource, Aspire.Hosting.Azure.IAzureContainerRegistry, Aspire.Hosting.Azure.IAzureDelegatedSubnetResource{ // ...}AzureProvisioningResourceIComputeEnvironmentResourceIContainerRegistryIResourceIAzureComputeEnvironmentResourceIAzureContainerRegistryIAzureDelegatedSubnetResource
9 members
Constructors1
Section titled ConstructorsAzureAppServiceEnvironmentResource(string, Action<AzureResourceInfrastructure>) Initializes a new instance of the
AzureAppServiceEnvironmentResource class. Properties5
Section titled PropertiesAzureAppInsightsConnectionStringReferencegetBicepOutputReference Gets the Application Insights Connection String.
AzureAppInsightsInstrumentationKeyReferencegetBicepOutputReference Gets the Application Insights Instrumentation Key.
ContainerRegistrygetAzureContainerRegistryResource? Gets the Azure Container Registry resource used by this Azure App Service Environment resource.
DashboardUriReferencegetBicepOutputReference Gets the URI of the App Service Environment dashboard.
NameOutputReferencegetBicepOutputReference Gets the name of the App Service Plan.
Methods3
Section titled MethodsAddAsExistingResource(AzureResourceInfrastructure)ProvisionableResource 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. GetEndpointPropertyExpression(EndpointReferenceExpression)experimentalReferenceExpression Gets a
ApplicationModel.ReferenceExpression representing a deployed endpoint property for the specified ApplicationModel.EndpointReferenceExpression. GetHostAddressExpression(EndpointReference)experimentalReferenceExpression Gets a
ApplicationModel.ReferenceExpression representing the host address or host name for the specified ApplicationModel.EndpointReference.