共用方式為


AzureWebPubSubExtensions Class

Definition

Provides extension methods for adding the Azure Web PubSub resources to the application model.

public static class AzureWebPubSubExtensions
type AzureWebPubSubExtensions = class
Public Module AzureWebPubSubExtensions
Inheritance
AzureWebPubSubExtensions

Methods

AddAzureWebPubSub(IDistributedApplicationBuilder, String, Action<IResourceBuilder<AzureWebPubSubResource>,ResourceModuleConstruct,WebPubSubService>)

Adds an Azure Web PubSub resource to the application model.

AddAzureWebPubSub(IDistributedApplicationBuilder, String)

Adds an Azure Web PubSub resource to the application model. Change sku: WithParameter("sku", "Standard_S1") Change capacity: WithParameter("capacity", 2)

AddEventHandler(IResourceBuilder<AzureWebPubSubHubResource>, ReferenceExpression, String, String[], UpstreamAuthSettings)

Add event handler setting with expression

AddEventHandler(IResourceBuilder<AzureWebPubSubHubResource>, ReferenceExpression+ExpressionInterpolatedStringHandler, String, String[], UpstreamAuthSettings)

Add event handler setting with expression

AddHub(IResourceBuilder<AzureWebPubSubResource>, String)

Add hub settings

Applies to