addAzureWebPubSub

Method
📦 Aspire.Hosting.Azure.WebPubSub v17.0.0
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addAzureWebPubSub(name: string): AzureWebPubSubResource;
}

Signature

methodaddAzureWebPubSubbuilder
Adds an Azure Web PubSub resource to the application model. Change sku: WithParameter("sku", "Standard_S1") Change capacity: WithParameter("capacity", 2)
addAzureWebPubSub(name: string): AzureWebPubSubResource
namestringThe name of the resource. This name will be used as the connection string name when referenced in a dependency.
AzureWebPubSubResource

Applies to

This method applies to the following types: