共用方式為


AzureWebPubSubResource Constructors

Definition

Overloads

AzureWebPubSubResource(String, Action<AzureResourceInfrastructure>)

Represents an Azure Web PubSub resource.

AzureWebPubSubResource(String, Action<ResourceModuleConstruct>)

Represents an Azure Web PubSub resource.

AzureWebPubSubResource(String, Action<AzureResourceInfrastructure>)

Source:
AzureWebPubSubResource.cs

Represents an Azure Web PubSub resource.

public AzureWebPubSubResource (string name, Action<Aspire.Hosting.Azure.AzureResourceInfrastructure> configureInfrastructure);
new Aspire.Hosting.ApplicationModel.AzureWebPubSubResource : string * Action<Aspire.Hosting.Azure.AzureResourceInfrastructure> -> Aspire.Hosting.ApplicationModel.AzureWebPubSubResource
Public Sub New (name As String, configureInfrastructure As Action(Of AzureResourceInfrastructure))

Parameters

name
String

The name of the resource.

configureInfrastructure
Action<AzureResourceInfrastructure>

Callback to configure the Azure resources.

Applies to

AzureWebPubSubResource(String, Action<ResourceModuleConstruct>)

Source:
AzureWebPubSubResource.cs

Represents an Azure Web PubSub resource.

public AzureWebPubSubResource (string name, Action<Aspire.Hosting.ResourceModuleConstruct> configureConstruct);
new Aspire.Hosting.ApplicationModel.AzureWebPubSubResource : string * Action<Aspire.Hosting.ResourceModuleConstruct> -> Aspire.Hosting.ApplicationModel.AzureWebPubSubResource
Public Sub New (name As String, configureConstruct As Action(Of ResourceModuleConstruct))

Parameters

name
String

The name of the resource.

configureConstruct
Action<ResourceModuleConstruct>

Callback to populate the construct with Azure resources.

Applies to