AzureWebPubSubResource.addHub
Method
interface AzureWebPubSubResource { // ... omitted for brevity addHub( name: string, hubName?: string): AzureWebPubSubHubResource;}Signature
method
addHub builderAdds an Azure Web Pub Sub hub resource to the application model.
addHub( name: string, hubName?: string): AzureWebPubSubHubResourceParameters
namestringThe name of the Azure WebPubSub Hub resource.hubName stringoptionalThe name of the Azure WebPubSub Hub. If not provided, this defaults to the same value as `name`.Returns
AzureWebPubSubHubResource Defined on
This method is defined on the following type: