Share via


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, String)

Adds an Azure Web Pub Sub hub resource to the application model.

AddHub(IResourceBuilder<AzureWebPubSubResource>, String)

Add hub settings

WithRoleAssignments<T>(IResourceBuilder<T>, IResourceBuilder<AzureWebPubSubResource>, WebPubSubBuiltInRole[])

Assigns the specified roles to the given resource, granting it the necessary permissions on the target Azure Web PubSub resource. This replaces the default role assignments for the resource.

Applies to