Watch Aspire live streamsDocsTry Aspire

getWebSiteByIdentifier

Method
📦 Aspire.Hosting.Azure.Provisioning.AppService v13.6.0-preview.1.26478.8
interface AzureResourceInfrastructure {
// ... omitted for brevity
getWebSiteByIdentifier(bicepIdentifier: string): WebSiteProxy;
}

Signature

methodgetWebSiteByIdentifier
Gets a WebSite provisioning resource by its Bicep identifier.
getWebSiteByIdentifier(bicepIdentifier: string): WebSiteProxy
bicepIdentifierstring
WebSiteProxy

Applies to

This method applies to the following types: