# Aspire.Hosting.Azure.AppContainers

- Module: `Aspire.Hosting.Azure.AppContainers`
- Version: `13.2.0`
- Source: [GitHub](https://github.com/microsoft/aspire)
- Functions: `49`
- Types: `16`

## Types

- [AzureBicepResource](/reference/api/typescript/aspire.hosting.azure.appcontainers/azurebicepresource.md) -- `handle` - 9 members
- [AzureContainerAppEnvironmentResource](/reference/api/typescript/aspire.hosting.azure.appcontainers/azurecontainerappenvironmentresource.md) -- `handle` - 5 members
- [AzureContainerRegistryResource](/reference/api/typescript/aspire.hosting.azure.appcontainers/azurecontainerregistryresource.md) -- `handle` - 1 members
- [AzureEnvironmentResource](/reference/api/typescript/aspire.hosting.azure.appcontainers/azureenvironmentresource.md) -- `handle` - 2 members
- [AzureLogAnalyticsWorkspaceResource](/reference/api/typescript/aspire.hosting.azure.appcontainers/azureloganalyticsworkspaceresource.md) -- `handle` - 0 members
- [AzureProvisioningResource](/reference/api/typescript/aspire.hosting.azure.appcontainers/azureprovisioningresource.md) -- `handle` - 1 members
- [AzureResourceInfrastructure](/reference/api/typescript/aspire.hosting.azure.appcontainers/azureresourceinfrastructure.md) -- `handle` - 3 members
- [AzureUserAssignedIdentityResource](/reference/api/typescript/aspire.hosting.azure.appcontainers/azureuserassignedidentityresource.md) -- `handle` - 0 members
- [BicepOutputReference](/reference/api/typescript/aspire.hosting.azure.appcontainers/bicepoutputreference.md) -- `handle` - 3 members
- [ContainerApp](/reference/api/typescript/aspire.hosting.azure.appcontainers/containerapp.md) -- `handle` - 0 members
- [ContainerAppJob](/reference/api/typescript/aspire.hosting.azure.appcontainers/containerappjob.md) -- `handle` - 0 members
- [IAzureKeyVaultResource](/reference/api/typescript/aspire.hosting.azure.appcontainers/iazurekeyvaultresource.md) -- `interface` - 0 members
- [IAzureKeyVaultSecretReference](/reference/api/typescript/aspire.hosting.azure.appcontainers/iazurekeyvaultsecretreference.md) -- `interface` - 0 members
- [IAzureResource](/reference/api/typescript/aspire.hosting.azure.appcontainers/iazureresource.md) -- `interface` - 9 members

## Functions

- [addAzureContainerAppEnvironment](/reference/api/typescript/aspire.hosting.azure.appcontainers/addazurecontainerappenvironment.md) -- `method` -- Adds an Azure Container App Environment resource
- [addAzureContainerRegistry](/reference/api/typescript/aspire.hosting.azure.appcontainers/addazurecontainerregistry.md) -- `method` -- Adds an Azure Container Registry resource to the distributed application model.
- [addAzureEnvironment](/reference/api/typescript/aspire.hosting.azure.appcontainers/addazureenvironment.md) -- `method` -- Adds the shared Azure environment resource to the application model
- [addAzureInfrastructure](/reference/api/typescript/aspire.hosting.azure.appcontainers/addazureinfrastructure.md) -- `method` -- Adds an Azure provisioning resource to the application model
- [addAzureLogAnalyticsWorkspace](/reference/api/typescript/aspire.hosting.azure.appcontainers/addazureloganalyticsworkspace.md) -- `method` -- Adds an Azure Log Analytics Workspace resource
- [addAzureProvisioning](/reference/api/typescript/aspire.hosting.azure.appcontainers/addazureprovisioning.md) -- `method` -- Adds Azure provisioning services to the distributed application builder
- [addAzureUserAssignedIdentity](/reference/api/typescript/aspire.hosting.azure.appcontainers/addazureuserassignedidentity.md) -- `method` -- Adds an Azure user-assigned identity resource
- [addBicepTemplate](/reference/api/typescript/aspire.hosting.azure.appcontainers/addbiceptemplate.md) -- `method` -- Adds an Azure Bicep template resource from a file
- [addBicepTemplateString](/reference/api/typescript/aspire.hosting.azure.appcontainers/addbiceptemplatestring.md) -- `method` -- Adds an Azure Bicep template resource from inline Bicep content
- [asExisting](/reference/api/typescript/aspire.hosting.azure.appcontainers/asexisting.md) -- `method` -- Marks an Azure resource as existing in both run and publish modes by using parameter resources
- [clearDefaultRoleAssignments](/reference/api/typescript/aspire.hosting.azure.appcontainers/cleardefaultroleassignments.md) -- `method` -- Clears the default Azure role assignments from a resource
- [configureInfrastructure](/reference/api/typescript/aspire.hosting.azure.appcontainers/configureinfrastructure.md) -- `method` -- Configures the Azure provisioning infrastructure callback
- [getAzureContainerRegistry](/reference/api/typescript/aspire.hosting.azure.appcontainers/getazurecontainerregistry.md) -- `method` -- Gets the Azure Container Registry associated with a compute environment resource.
- [getBicepIdentifier](/reference/api/typescript/aspire.hosting.azure.appcontainers/getbicepidentifier.md) -- `method` -- Gets the normalized Bicep identifier for an Azure resource
- [getOutput](/reference/api/typescript/aspire.hosting.azure.appcontainers/getoutput.md) -- `method` -- Gets an output reference from an Azure Bicep template resource
- [isExisting](/reference/api/typescript/aspire.hosting.azure.appcontainers/isexisting.md) -- `method` -- Determines whether a resource is marked as existing
- [publishAsAzureContainerApp](/reference/api/typescript/aspire.hosting.azure.appcontainers/publishasazurecontainerapp.md) -- `method` -- Configures the container resource to be published as an Azure Container App
- [publishAsAzureContainerApp](/reference/api/typescript/aspire.hosting.azure.appcontainers/publishasazurecontainerapp.md) -- `method` -- Configures the executable resource to be published as an Azure Container App
- [publishAsAzureContainerApp](/reference/api/typescript/aspire.hosting.azure.appcontainers/publishasazurecontainerapp.md) -- `method` -- Configures the project resource to be published as an Azure Container App
- [publishAsAzureContainerAppJob](/reference/api/typescript/aspire.hosting.azure.appcontainers/publishasazurecontainerappjob.md) -- `method` -- Configures the compute resource as a manually triggered Azure Container App Job
- [publishAsConfiguredAzureContainerAppJob](/reference/api/typescript/aspire.hosting.azure.appcontainers/publishasconfiguredazurecontainerappjob.md) -- `method` -- Configures the compute resource as an Azure Container App Job with custom configuration
- [publishAsConfiguredScheduledAzureContainerAppJob](/reference/api/typescript/aspire.hosting.azure.appcontainers/publishasconfiguredscheduledazurecontainerappjob.md) -- `method` -- Configures the compute resource as a scheduled Azure Container App Job with custom configuration
- [publishAsConnectionString](/reference/api/typescript/aspire.hosting.azure.appcontainers/publishasconnectionstring.md) -- `method` -- Publishes an Azure resource to the manifest as a connection string
- [publishAsExisting](/reference/api/typescript/aspire.hosting.azure.appcontainers/publishasexisting.md) -- `method` -- Marks an Azure resource as existing in publish mode
- [publishAsExistingFromParameters](/reference/api/typescript/aspire.hosting.azure.appcontainers/publishasexistingfromparameters.md) -- `method` -- Marks an Azure resource as existing in publish mode by using parameter resources
- [publishAsScheduledAzureContainerAppJob](/reference/api/typescript/aspire.hosting.azure.appcontainers/publishasscheduledazurecontainerappjob.md) -- `method` -- Configures the compute resource as a scheduled Azure Container App Job
- [runAsExisting](/reference/api/typescript/aspire.hosting.azure.appcontainers/runasexisting.md) -- `method` -- Marks an Azure resource as existing in run mode
- [runAsExistingFromParameters](/reference/api/typescript/aspire.hosting.azure.appcontainers/runasexistingfromparameters.md) -- `method` -- Marks an Azure resource as existing in run mode by using parameter resources
- [withAzdResourceNaming](/reference/api/typescript/aspire.hosting.azure.appcontainers/withazdresourcenaming.md) -- `method` -- Configures resources to use azd naming conventions
- [withAzureContainerRegistry](/reference/api/typescript/aspire.hosting.azure.appcontainers/withazurecontainerregistry.md) -- `method` -- Configures a compute environment resource to use an Azure Container Registry.
- [withAzureLogAnalyticsWorkspace](/reference/api/typescript/aspire.hosting.azure.appcontainers/withazureloganalyticsworkspace.md) -- `method` -- Configures the container app environment to use a specific Log Analytics Workspace
- [withAzureUserAssignedIdentity](/reference/api/typescript/aspire.hosting.azure.appcontainers/withazureuserassignedidentity.md) -- `method` -- Associates an Azure user-assigned identity with a compute resource
- [withCompactResourceNaming](/reference/api/typescript/aspire.hosting.azure.appcontainers/withcompactresourcenaming.md) -- `method` -- Configures resources to use compact naming for length-constrained Azure resources
- [withContainerRegistryRoleAssignments](/reference/api/typescript/aspire.hosting.azure.appcontainers/withcontainerregistryroleassignments.md) -- `method` -- Assigns Azure Container Registry roles to a resource.
- [withDashboard](/reference/api/typescript/aspire.hosting.azure.appcontainers/withdashboard.md) -- `method` -- Configures whether the Aspire dashboard is included in the container app environment
- [withEnvironmentFromKeyVaultSecret](/reference/api/typescript/aspire.hosting.azure.appcontainers/withenvironmentfromkeyvaultsecret.md) -- `method` -- Sets an environment variable from an Azure Key Vault secret reference
- [withEnvironmentFromOutput](/reference/api/typescript/aspire.hosting.azure.appcontainers/withenvironmentfromoutput.md) -- `method` -- Sets an environment variable from a Bicep output reference
- [withHttpsUpgrade](/reference/api/typescript/aspire.hosting.azure.appcontainers/withhttpsupgrade.md) -- `method` -- Configures whether HTTP endpoints are upgraded to HTTPS
- [withLocation](/reference/api/typescript/aspire.hosting.azure.appcontainers/withlocation.md) -- `method` -- Sets the Azure location for the shared Azure environment resource
- [withParameter](/reference/api/typescript/aspire.hosting.azure.appcontainers/withparameter.md) -- `method` -- Adds a Bicep parameter without a value
- [withParameterFromConnectionString](/reference/api/typescript/aspire.hosting.azure.appcontainers/withparameterfromconnectionstring.md) -- `method` -- Adds a Bicep parameter from a connection string resource builder
- [withParameterFromEndpoint](/reference/api/typescript/aspire.hosting.azure.appcontainers/withparameterfromendpoint.md) -- `method` -- Adds a Bicep parameter from an endpoint reference
- [withParameterFromOutput](/reference/api/typescript/aspire.hosting.azure.appcontainers/withparameterfromoutput.md) -- `method` -- Adds a Bicep parameter from another Bicep output reference
- [withParameterFromParameter](/reference/api/typescript/aspire.hosting.azure.appcontainers/withparameterfromparameter.md) -- `method` -- Adds a Bicep parameter from a parameter resource builder
- [withParameterFromReferenceExpression](/reference/api/typescript/aspire.hosting.azure.appcontainers/withparameterfromreferenceexpression.md) -- `method` -- Adds a Bicep parameter from a reference expression
- [withParameterStringValue](/reference/api/typescript/aspire.hosting.azure.appcontainers/withparameterstringvalue.md) -- `method` -- Adds a Bicep parameter with a string value
- [withParameterStringValues](/reference/api/typescript/aspire.hosting.azure.appcontainers/withparameterstringvalues.md) -- `method` -- Adds a Bicep parameter with a string list value
- [withPurgeTask](/reference/api/typescript/aspire.hosting.azure.appcontainers/withpurgetask.md) -- `method` -- Configures a purge task for the Azure Container Registry resource.
- [withResourceGroup](/reference/api/typescript/aspire.hosting.azure.appcontainers/withresourcegroup.md) -- `method` -- Sets the Azure resource group for the shared Azure environment resource

## Enums

- [AzureContainerRegistryRole](/reference/api/typescript/aspire.hosting.azure.appcontainers/azurecontainerregistryrole.md) -- `enum` - 6 values
- [DeploymentScope](/reference/api/typescript/aspire.hosting.azure.appcontainers/deploymentscope.md) -- `enum` - 4 values
