Skip to content
Docs Try Aspire

AzureAppServiceEnvironmentResource

Handle TypeScript
📦 Aspire.Hosting.Azure.AppService v13.2.0-preview.1.26159.1
interface AzureAppServiceEnvironmentResource
extends IAzureResource,
IComputeEnvironmentResource,
IContainerRegistry,
IResource,
IResourceWithParameters,
IAzureComputeEnvironmentResource,
IAzureContainerRegistry {
withAzureApplicationInsights(): AzureAppServiceEnvironmentResource;
withAzureApplicationInsightsLocation(applicationInsightsLocation: string): AzureAppServiceEnvironmentResource;
withAzureApplicationInsightsLocationParameter(applicationInsightsLocation: ParameterResource): AzureAppServiceEnvironmentResource;
withAzureApplicationInsightsResource(applicationInsightsBuilder: AzureApplicationInsightsResource): AzureAppServiceEnvironmentResource;
withDashboard(enable?: boolean): AzureAppServiceEnvironmentResource;
withDeploymentSlot(deploymentSlot: string): AzureAppServiceEnvironmentResource;
withDeploymentSlotParameter(deploymentSlot: ParameterResource): AzureAppServiceEnvironmentResource;
}

Methods

method withAzureApplicationInsights builder
Enables Azure Application Insights for the Azure App Service environment
withAzureApplicationInsights(): AzureAppServiceEnvironmentResource
AzureAppServiceEnvironmentResource
method withAzureApplicationInsightsLocation builder
Enables Azure Application Insights for the Azure App Service environment with a specific location
withAzureApplicationInsightsLocation(applicationInsightsLocation: string): AzureAppServiceEnvironmentResource
applicationInsightsLocation string
AzureAppServiceEnvironmentResource
method withAzureApplicationInsightsLocationParameter builder
Enables Azure Application Insights for the Azure App Service environment using a location parameter
withAzureApplicationInsightsLocationParameter(applicationInsightsLocation: ParameterResource): AzureAppServiceEnvironmentResource
applicationInsightsLocation ParameterResource
AzureAppServiceEnvironmentResource
method withAzureApplicationInsightsResource builder
Enables Azure Application Insights for the Azure App Service environment using an existing Application Insights resource
withAzureApplicationInsightsResource(applicationInsightsBuilder: AzureApplicationInsightsResource): AzureAppServiceEnvironmentResource
applicationInsightsBuilder AzureApplicationInsightsResource
AzureAppServiceEnvironmentResource
method withDashboard builder
Configures whether the Aspire dashboard is included in the Azure App Service environment
withDashboard(enable?: boolean): AzureAppServiceEnvironmentResource
enable boolean optional = True
AzureAppServiceEnvironmentResource
method withDeploymentSlot builder
Configures the deployment slot for all Azure App Services in the environment
withDeploymentSlot(deploymentSlot: string): AzureAppServiceEnvironmentResource
deploymentSlot string
AzureAppServiceEnvironmentResource
method withDeploymentSlotParameter builder
Configures the deployment slot for all Azure App Services in the environment using a parameter
withDeploymentSlotParameter(deploymentSlot: ParameterResource): AzureAppServiceEnvironmentResource
deploymentSlot ParameterResource
AzureAppServiceEnvironmentResource