Share via


AzureSignalRExtensions Class

Definition

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

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

Methods

AddAzureSignalR(IDistributedApplicationBuilder, String, Action<IResourceBuilder<AzureSignalRResource>,ResourceModuleConstruct,SignalRService>)

Adds an Azure SignalR resource to the application model.

AddAzureSignalR(IDistributedApplicationBuilder, String, AzureSignalRServiceMode)

Adds an Azure SignalR resource to the application model.

AddAzureSignalR(IDistributedApplicationBuilder, String)

Adds an Azure SignalR resource to the application model.

RunAsEmulator(IResourceBuilder<AzureSignalRResource>, Action<IResourceBuilder<AzureSignalREmulatorResource>>)

Configures an Azure SignalR resource to be emulated. This resource requires an AzureSignalRResource to be added to the application model. Please note that the resource will be emulated in Serverless mode.

WithRoleAssignments<T>(IResourceBuilder<T>, IResourceBuilder<AzureSignalRResource>, SignalRBuiltInRole[])

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

Applies to