azure-native.webpubsub.WebPubSubHub
Explore with Pulumi AI
A hub setting Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2021-10-01.
Other available API versions: 2023-03-01-preview, 2023-06-01-preview, 2023-08-01-preview, 2024-01-01-preview, 2024-03-01, 2024-04-01-preview.
Example Usage
WebPubSubHubs_CreateOrUpdate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var webPubSubHub = new AzureNative.WebPubSub.WebPubSubHub("webPubSubHub", new()
{
HubName = "exampleHub",
Properties = new AzureNative.WebPubSub.Inputs.WebPubSubHubPropertiesArgs
{
AnonymousConnectPolicy = "allow",
EventHandlers = new[]
{
new AzureNative.WebPubSub.Inputs.EventHandlerArgs
{
Auth = new AzureNative.WebPubSub.Inputs.UpstreamAuthSettingsArgs
{
ManagedIdentity = new AzureNative.WebPubSub.Inputs.ManagedIdentitySettingsArgs
{
Resource = "abc",
},
Type = AzureNative.WebPubSub.UpstreamAuthType.ManagedIdentity,
},
SystemEvents = new[]
{
"connect",
"connected",
},
UrlTemplate = "http://host.com",
UserEventPattern = "*",
},
},
EventListeners = new[]
{
new AzureNative.WebPubSub.Inputs.EventListenerArgs
{
Endpoint = new AzureNative.WebPubSub.Inputs.EventHubEndpointArgs
{
EventHubName = "eventHubName1",
FullyQualifiedNamespace = "example.servicebus.windows.net",
Type = "EventHub",
},
Filter = new AzureNative.WebPubSub.Inputs.EventNameFilterArgs
{
SystemEvents = new[]
{
"connected",
"disconnected",
},
Type = "EventName",
UserEventPattern = "*",
},
},
},
},
ResourceGroupName = "myResourceGroup",
ResourceName = "myWebPubSubService",
});
});
package main
import (
webpubsub "github.com/pulumi/pulumi-azure-native-sdk/webpubsub/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := webpubsub.NewWebPubSubHub(ctx, "webPubSubHub", &webpubsub.WebPubSubHubArgs{
HubName: pulumi.String("exampleHub"),
Properties: &webpubsub.WebPubSubHubPropertiesArgs{
AnonymousConnectPolicy: pulumi.String("allow"),
EventHandlers: webpubsub.EventHandlerArray{
&webpubsub.EventHandlerArgs{
Auth: &webpubsub.UpstreamAuthSettingsArgs{
ManagedIdentity: &webpubsub.ManagedIdentitySettingsArgs{
Resource: pulumi.String("abc"),
},
Type: pulumi.String(webpubsub.UpstreamAuthTypeManagedIdentity),
},
SystemEvents: pulumi.StringArray{
pulumi.String("connect"),
pulumi.String("connected"),
},
UrlTemplate: pulumi.String("http://host.com"),
UserEventPattern: pulumi.String("*"),
},
},
EventListeners: []webpubsub.EventListenerArgs{
{
Endpoint: {
EventHubName: pulumi.String("eventHubName1"),
FullyQualifiedNamespace: pulumi.String("example.servicebus.windows.net"),
Type: pulumi.String("EventHub"),
},
Filter: {
SystemEvents: pulumi.StringArray{
pulumi.String("connected"),
pulumi.String("disconnected"),
},
Type: pulumi.String("EventName"),
UserEventPattern: pulumi.String("*"),
},
},
},
},
ResourceGroupName: pulumi.String("myResourceGroup"),
ResourceName: pulumi.String("myWebPubSubService"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.webpubsub.WebPubSubHub;
import com.pulumi.azurenative.webpubsub.WebPubSubHubArgs;
import com.pulumi.azurenative.webpubsub.inputs.WebPubSubHubPropertiesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var webPubSubHub = new WebPubSubHub("webPubSubHub", WebPubSubHubArgs.builder()
.hubName("exampleHub")
.properties(WebPubSubHubPropertiesArgs.builder()
.anonymousConnectPolicy("allow")
.eventHandlers(EventHandlerArgs.builder()
.auth(UpstreamAuthSettingsArgs.builder()
.managedIdentity(ManagedIdentitySettingsArgs.builder()
.resource("abc")
.build())
.type("ManagedIdentity")
.build())
.systemEvents(
"connect",
"connected")
.urlTemplate("http://host.com")
.userEventPattern("*")
.build())
.eventListeners(EventListenerArgs.builder()
.endpoint(EventHubEndpointArgs.builder()
.eventHubName("eventHubName1")
.fullyQualifiedNamespace("example.servicebus.windows.net")
.type("EventHub")
.build())
.filter(EventNameFilterArgs.builder()
.systemEvents(
"connected",
"disconnected")
.type("EventName")
.userEventPattern("*")
.build())
.build())
.build())
.resourceGroupName("myResourceGroup")
.resourceName("myWebPubSubService")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
web_pub_sub_hub = azure_native.webpubsub.WebPubSubHub("webPubSubHub",
hub_name="exampleHub",
properties=azure_native.webpubsub.WebPubSubHubPropertiesArgs(
anonymous_connect_policy="allow",
event_handlers=[azure_native.webpubsub.EventHandlerArgs(
auth=azure_native.webpubsub.UpstreamAuthSettingsArgs(
managed_identity=azure_native.webpubsub.ManagedIdentitySettingsArgs(
resource="abc",
),
type=azure_native.webpubsub.UpstreamAuthType.MANAGED_IDENTITY,
),
system_events=[
"connect",
"connected",
],
url_template="http://host.com",
user_event_pattern="*",
)],
event_listeners=[azure_native.webpubsub.EventListenerArgs(
endpoint=azure_native.webpubsub.EventHubEndpointArgs(
event_hub_name="eventHubName1",
fully_qualified_namespace="example.servicebus.windows.net",
type="EventHub",
),
filter=azure_native.webpubsub.EventNameFilterArgs(
system_events=[
"connected",
"disconnected",
],
type="EventName",
user_event_pattern="*",
),
)],
),
resource_group_name="myResourceGroup",
resource_name_="myWebPubSubService")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const webPubSubHub = new azure_native.webpubsub.WebPubSubHub("webPubSubHub", {
hubName: "exampleHub",
properties: {
anonymousConnectPolicy: "allow",
eventHandlers: [{
auth: {
managedIdentity: {
resource: "abc",
},
type: azure_native.webpubsub.UpstreamAuthType.ManagedIdentity,
},
systemEvents: [
"connect",
"connected",
],
urlTemplate: "http://host.com",
userEventPattern: "*",
}],
eventListeners: [{
endpoint: {
eventHubName: "eventHubName1",
fullyQualifiedNamespace: "example.servicebus.windows.net",
type: "EventHub",
},
filter: {
systemEvents: [
"connected",
"disconnected",
],
type: "EventName",
userEventPattern: "*",
},
}],
},
resourceGroupName: "myResourceGroup",
resourceName: "myWebPubSubService",
});
resources:
webPubSubHub:
type: azure-native:webpubsub:WebPubSubHub
properties:
hubName: exampleHub
properties:
anonymousConnectPolicy: allow
eventHandlers:
- auth:
managedIdentity:
resource: abc
type: ManagedIdentity
systemEvents:
- connect
- connected
urlTemplate: http://host.com
userEventPattern: '*'
eventListeners:
- endpoint:
eventHubName: eventHubName1
fullyQualifiedNamespace: example.servicebus.windows.net
type: EventHub
filter:
systemEvents:
- connected
- disconnected
type: EventName
userEventPattern: '*'
resourceGroupName: myResourceGroup
resourceName: myWebPubSubService
Create WebPubSubHub Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WebPubSubHub(name: string, args: WebPubSubHubArgs, opts?: CustomResourceOptions);
@overload
def WebPubSubHub(resource_name: str,
args: WebPubSubHubArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WebPubSubHub(resource_name: str,
opts: Optional[ResourceOptions] = None,
properties: Optional[WebPubSubHubPropertiesArgs] = None,
resource_group_name: Optional[str] = None,
resource_name_: Optional[str] = None,
hub_name: Optional[str] = None)
func NewWebPubSubHub(ctx *Context, name string, args WebPubSubHubArgs, opts ...ResourceOption) (*WebPubSubHub, error)
public WebPubSubHub(string name, WebPubSubHubArgs args, CustomResourceOptions? opts = null)
public WebPubSubHub(String name, WebPubSubHubArgs args)
public WebPubSubHub(String name, WebPubSubHubArgs args, CustomResourceOptions options)
type: azure-native:webpubsub:WebPubSubHub
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args WebPubSubHubArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args WebPubSubHubArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args WebPubSubHubArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WebPubSubHubArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WebPubSubHubArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var webPubSubHubResource = new AzureNative.WebPubSub.WebPubSubHub("webPubSubHubResource", new()
{
Properties = new AzureNative.WebPubSub.Inputs.WebPubSubHubPropertiesArgs
{
AnonymousConnectPolicy = "string",
EventHandlers = new[]
{
new AzureNative.WebPubSub.Inputs.EventHandlerArgs
{
UrlTemplate = "string",
Auth = new AzureNative.WebPubSub.Inputs.UpstreamAuthSettingsArgs
{
ManagedIdentity = new AzureNative.WebPubSub.Inputs.ManagedIdentitySettingsArgs
{
Resource = "string",
},
Type = "string",
},
SystemEvents = new[]
{
"string",
},
UserEventPattern = "string",
},
},
EventListeners = new[]
{
new AzureNative.WebPubSub.Inputs.EventListenerArgs
{
Endpoint = new AzureNative.WebPubSub.Inputs.EventHubEndpointArgs
{
EventHubName = "string",
FullyQualifiedNamespace = "string",
Type = "EventHub",
},
Filter = new AzureNative.WebPubSub.Inputs.EventNameFilterArgs
{
Type = "EventName",
SystemEvents = new[]
{
"string",
},
UserEventPattern = "string",
},
},
},
},
ResourceGroupName = "string",
ResourceName = "string",
HubName = "string",
});
example, err := webpubsub.NewWebPubSubHub(ctx, "webPubSubHubResource", &webpubsub.WebPubSubHubArgs{
Properties: &webpubsub.WebPubSubHubPropertiesArgs{
AnonymousConnectPolicy: pulumi.String("string"),
EventHandlers: webpubsub.EventHandlerArray{
&webpubsub.EventHandlerArgs{
UrlTemplate: pulumi.String("string"),
Auth: &webpubsub.UpstreamAuthSettingsArgs{
ManagedIdentity: &webpubsub.ManagedIdentitySettingsArgs{
Resource: pulumi.String("string"),
},
Type: pulumi.String("string"),
},
SystemEvents: pulumi.StringArray{
pulumi.String("string"),
},
UserEventPattern: pulumi.String("string"),
},
},
EventListeners: []webpubsub.EventListenerArgs{
{
Endpoint: {
EventHubName: pulumi.String("string"),
FullyQualifiedNamespace: pulumi.String("string"),
Type: pulumi.String("EventHub"),
},
Filter: {
Type: pulumi.String("EventName"),
SystemEvents: pulumi.StringArray{
pulumi.String("string"),
},
UserEventPattern: pulumi.String("string"),
},
},
},
},
ResourceGroupName: pulumi.String("string"),
ResourceName: pulumi.String("string"),
HubName: pulumi.String("string"),
})
var webPubSubHubResource = new WebPubSubHub("webPubSubHubResource", WebPubSubHubArgs.builder()
.properties(WebPubSubHubPropertiesArgs.builder()
.anonymousConnectPolicy("string")
.eventHandlers(EventHandlerArgs.builder()
.urlTemplate("string")
.auth(UpstreamAuthSettingsArgs.builder()
.managedIdentity(ManagedIdentitySettingsArgs.builder()
.resource("string")
.build())
.type("string")
.build())
.systemEvents("string")
.userEventPattern("string")
.build())
.eventListeners(EventListenerArgs.builder()
.endpoint(EventHubEndpointArgs.builder()
.eventHubName("string")
.fullyQualifiedNamespace("string")
.type("EventHub")
.build())
.filter(EventNameFilterArgs.builder()
.type("EventName")
.systemEvents("string")
.userEventPattern("string")
.build())
.build())
.build())
.resourceGroupName("string")
.resourceName("string")
.hubName("string")
.build());
web_pub_sub_hub_resource = azure_native.webpubsub.WebPubSubHub("webPubSubHubResource",
properties=azure_native.webpubsub.WebPubSubHubPropertiesArgs(
anonymous_connect_policy="string",
event_handlers=[azure_native.webpubsub.EventHandlerArgs(
url_template="string",
auth=azure_native.webpubsub.UpstreamAuthSettingsArgs(
managed_identity=azure_native.webpubsub.ManagedIdentitySettingsArgs(
resource="string",
),
type="string",
),
system_events=["string"],
user_event_pattern="string",
)],
event_listeners=[azure_native.webpubsub.EventListenerArgs(
endpoint=azure_native.webpubsub.EventHubEndpointArgs(
event_hub_name="string",
fully_qualified_namespace="string",
type="EventHub",
),
filter=azure_native.webpubsub.EventNameFilterArgs(
type="EventName",
system_events=["string"],
user_event_pattern="string",
),
)],
),
resource_group_name="string",
resource_name_="string",
hub_name="string")
const webPubSubHubResource = new azure_native.webpubsub.WebPubSubHub("webPubSubHubResource", {
properties: {
anonymousConnectPolicy: "string",
eventHandlers: [{
urlTemplate: "string",
auth: {
managedIdentity: {
resource: "string",
},
type: "string",
},
systemEvents: ["string"],
userEventPattern: "string",
}],
eventListeners: [{
endpoint: {
eventHubName: "string",
fullyQualifiedNamespace: "string",
type: "EventHub",
},
filter: {
type: "EventName",
systemEvents: ["string"],
userEventPattern: "string",
},
}],
},
resourceGroupName: "string",
resourceName: "string",
hubName: "string",
});
type: azure-native:webpubsub:WebPubSubHub
properties:
hubName: string
properties:
anonymousConnectPolicy: string
eventHandlers:
- auth:
managedIdentity:
resource: string
type: string
systemEvents:
- string
urlTemplate: string
userEventPattern: string
eventListeners:
- endpoint:
eventHubName: string
fullyQualifiedNamespace: string
type: EventHub
filter:
systemEvents:
- string
type: EventName
userEventPattern: string
resourceGroupName: string
resourceName: string
WebPubSubHub Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The WebPubSubHub resource accepts the following input properties:
- Properties
Pulumi.
Azure Native. Web Pub Sub. Inputs. Web Pub Sub Hub Properties - Properties of a hub.
- Resource
Group stringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- Resource
Name string - The name of the resource.
- Hub
Name string - The hub name.
- Properties
Web
Pub Sub Hub Properties Args - Properties of a hub.
- Resource
Group stringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- Resource
Name string - The name of the resource.
- Hub
Name string - The hub name.
- properties
Web
Pub Sub Hub Properties - Properties of a hub.
- resource
Group StringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- resource
Name String - The name of the resource.
- hub
Name String - The hub name.
- properties
Web
Pub Sub Hub Properties - Properties of a hub.
- resource
Group stringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- resource
Name string - The name of the resource.
- hub
Name string - The hub name.
- properties
Web
Pub Sub Hub Properties Args - Properties of a hub.
- resource_
group_ strname - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- resource_
name str - The name of the resource.
- hub_
name str - The hub name.
- properties Property Map
- Properties of a hub.
- resource
Group StringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- resource
Name String - The name of the resource.
- hub
Name String - The hub name.
Outputs
All input properties are implicitly available as output properties. Additionally, the WebPubSubHub resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource.
- System
Data Pulumi.Azure Native. Web Pub Sub. Outputs. System Data Response - Metadata pertaining to creation and last modification of the resource.
- Type string
- The type of the resource - e.g. "Microsoft.SignalRService/SignalR"
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource.
- System
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- Type string
- The type of the resource - e.g. "Microsoft.SignalRService/SignalR"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource.
- system
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type String
- The type of the resource - e.g. "Microsoft.SignalRService/SignalR"
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource.
- system
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type string
- The type of the resource - e.g. "Microsoft.SignalRService/SignalR"
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource.
- system_
data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type str
- The type of the resource - e.g. "Microsoft.SignalRService/SignalR"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource.
- system
Data Property Map - Metadata pertaining to creation and last modification of the resource.
- type String
- The type of the resource - e.g. "Microsoft.SignalRService/SignalR"
Supporting Types
EventHandler, EventHandlerArgs
- Url
Template string - Gets or sets the EventHandler URL template. You can use a predefined parameter {hub} and {event} inside the template, the value of the EventHandler URL is dynamically calculated when the client request comes in.
For example, UrlTemplate can be
http://example.com/api/{hub}/{event}
. The host part can't contains parameters. - Auth
Pulumi.
Azure Native. Web Pub Sub. Inputs. Upstream Auth Settings - Upstream auth settings. If not set, no auth is used for upstream messages.
- System
Events List<string> - Gets or sets the list of system events.
- User
Event stringPattern - Gets or sets the matching pattern for event names. There are 3 kinds of patterns supported: 1. "*", it matches any event name 2. Combine multiple events with ",", for example "event1,event2", it matches event "event1" and "event2" 3. A single event name, for example, "event1", it matches "event1"
- Url
Template string - Gets or sets the EventHandler URL template. You can use a predefined parameter {hub} and {event} inside the template, the value of the EventHandler URL is dynamically calculated when the client request comes in.
For example, UrlTemplate can be
http://example.com/api/{hub}/{event}
. The host part can't contains parameters. - Auth
Upstream
Auth Settings - Upstream auth settings. If not set, no auth is used for upstream messages.
- System
Events []string - Gets or sets the list of system events.
- User
Event stringPattern - Gets or sets the matching pattern for event names. There are 3 kinds of patterns supported: 1. "*", it matches any event name 2. Combine multiple events with ",", for example "event1,event2", it matches event "event1" and "event2" 3. A single event name, for example, "event1", it matches "event1"
- url
Template String - Gets or sets the EventHandler URL template. You can use a predefined parameter {hub} and {event} inside the template, the value of the EventHandler URL is dynamically calculated when the client request comes in.
For example, UrlTemplate can be
http://example.com/api/{hub}/{event}
. The host part can't contains parameters. - auth
Upstream
Auth Settings - Upstream auth settings. If not set, no auth is used for upstream messages.
- system
Events List<String> - Gets or sets the list of system events.
- user
Event StringPattern - Gets or sets the matching pattern for event names. There are 3 kinds of patterns supported: 1. "*", it matches any event name 2. Combine multiple events with ",", for example "event1,event2", it matches event "event1" and "event2" 3. A single event name, for example, "event1", it matches "event1"
- url
Template string - Gets or sets the EventHandler URL template. You can use a predefined parameter {hub} and {event} inside the template, the value of the EventHandler URL is dynamically calculated when the client request comes in.
For example, UrlTemplate can be
http://example.com/api/{hub}/{event}
. The host part can't contains parameters. - auth
Upstream
Auth Settings - Upstream auth settings. If not set, no auth is used for upstream messages.
- system
Events string[] - Gets or sets the list of system events.
- user
Event stringPattern - Gets or sets the matching pattern for event names. There are 3 kinds of patterns supported: 1. "*", it matches any event name 2. Combine multiple events with ",", for example "event1,event2", it matches event "event1" and "event2" 3. A single event name, for example, "event1", it matches "event1"
- url_
template str - Gets or sets the EventHandler URL template. You can use a predefined parameter {hub} and {event} inside the template, the value of the EventHandler URL is dynamically calculated when the client request comes in.
For example, UrlTemplate can be
http://example.com/api/{hub}/{event}
. The host part can't contains parameters. - auth
Upstream
Auth Settings - Upstream auth settings. If not set, no auth is used for upstream messages.
- system_
events Sequence[str] - Gets or sets the list of system events.
- user_
event_ strpattern - Gets or sets the matching pattern for event names. There are 3 kinds of patterns supported: 1. "*", it matches any event name 2. Combine multiple events with ",", for example "event1,event2", it matches event "event1" and "event2" 3. A single event name, for example, "event1", it matches "event1"
- url
Template String - Gets or sets the EventHandler URL template. You can use a predefined parameter {hub} and {event} inside the template, the value of the EventHandler URL is dynamically calculated when the client request comes in.
For example, UrlTemplate can be
http://example.com/api/{hub}/{event}
. The host part can't contains parameters. - auth Property Map
- Upstream auth settings. If not set, no auth is used for upstream messages.
- system
Events List<String> - Gets or sets the list of system events.
- user
Event StringPattern - Gets or sets the matching pattern for event names. There are 3 kinds of patterns supported: 1. "*", it matches any event name 2. Combine multiple events with ",", for example "event1,event2", it matches event "event1" and "event2" 3. A single event name, for example, "event1", it matches "event1"
EventHandlerResponse, EventHandlerResponseArgs
- Url
Template string - Gets or sets the EventHandler URL template. You can use a predefined parameter {hub} and {event} inside the template, the value of the EventHandler URL is dynamically calculated when the client request comes in.
For example, UrlTemplate can be
http://example.com/api/{hub}/{event}
. The host part can't contains parameters. - Auth
Pulumi.
Azure Native. Web Pub Sub. Inputs. Upstream Auth Settings Response - Upstream auth settings. If not set, no auth is used for upstream messages.
- System
Events List<string> - Gets or sets the list of system events.
- User
Event stringPattern - Gets or sets the matching pattern for event names. There are 3 kinds of patterns supported: 1. "*", it matches any event name 2. Combine multiple events with ",", for example "event1,event2", it matches event "event1" and "event2" 3. A single event name, for example, "event1", it matches "event1"
- Url
Template string - Gets or sets the EventHandler URL template. You can use a predefined parameter {hub} and {event} inside the template, the value of the EventHandler URL is dynamically calculated when the client request comes in.
For example, UrlTemplate can be
http://example.com/api/{hub}/{event}
. The host part can't contains parameters. - Auth
Upstream
Auth Settings Response - Upstream auth settings. If not set, no auth is used for upstream messages.
- System
Events []string - Gets or sets the list of system events.
- User
Event stringPattern - Gets or sets the matching pattern for event names. There are 3 kinds of patterns supported: 1. "*", it matches any event name 2. Combine multiple events with ",", for example "event1,event2", it matches event "event1" and "event2" 3. A single event name, for example, "event1", it matches "event1"
- url
Template String - Gets or sets the EventHandler URL template. You can use a predefined parameter {hub} and {event} inside the template, the value of the EventHandler URL is dynamically calculated when the client request comes in.
For example, UrlTemplate can be
http://example.com/api/{hub}/{event}
. The host part can't contains parameters. - auth
Upstream
Auth Settings Response - Upstream auth settings. If not set, no auth is used for upstream messages.
- system
Events List<String> - Gets or sets the list of system events.
- user
Event StringPattern - Gets or sets the matching pattern for event names. There are 3 kinds of patterns supported: 1. "*", it matches any event name 2. Combine multiple events with ",", for example "event1,event2", it matches event "event1" and "event2" 3. A single event name, for example, "event1", it matches "event1"
- url
Template string - Gets or sets the EventHandler URL template. You can use a predefined parameter {hub} and {event} inside the template, the value of the EventHandler URL is dynamically calculated when the client request comes in.
For example, UrlTemplate can be
http://example.com/api/{hub}/{event}
. The host part can't contains parameters. - auth
Upstream
Auth Settings Response - Upstream auth settings. If not set, no auth is used for upstream messages.
- system
Events string[] - Gets or sets the list of system events.
- user
Event stringPattern - Gets or sets the matching pattern for event names. There are 3 kinds of patterns supported: 1. "*", it matches any event name 2. Combine multiple events with ",", for example "event1,event2", it matches event "event1" and "event2" 3. A single event name, for example, "event1", it matches "event1"
- url_
template str - Gets or sets the EventHandler URL template. You can use a predefined parameter {hub} and {event} inside the template, the value of the EventHandler URL is dynamically calculated when the client request comes in.
For example, UrlTemplate can be
http://example.com/api/{hub}/{event}
. The host part can't contains parameters. - auth
Upstream
Auth Settings Response - Upstream auth settings. If not set, no auth is used for upstream messages.
- system_
events Sequence[str] - Gets or sets the list of system events.
- user_
event_ strpattern - Gets or sets the matching pattern for event names. There are 3 kinds of patterns supported: 1. "*", it matches any event name 2. Combine multiple events with ",", for example "event1,event2", it matches event "event1" and "event2" 3. A single event name, for example, "event1", it matches "event1"
- url
Template String - Gets or sets the EventHandler URL template. You can use a predefined parameter {hub} and {event} inside the template, the value of the EventHandler URL is dynamically calculated when the client request comes in.
For example, UrlTemplate can be
http://example.com/api/{hub}/{event}
. The host part can't contains parameters. - auth Property Map
- Upstream auth settings. If not set, no auth is used for upstream messages.
- system
Events List<String> - Gets or sets the list of system events.
- user
Event StringPattern - Gets or sets the matching pattern for event names. There are 3 kinds of patterns supported: 1. "*", it matches any event name 2. Combine multiple events with ",", for example "event1,event2", it matches event "event1" and "event2" 3. A single event name, for example, "event1", it matches "event1"
EventHubEndpoint, EventHubEndpointArgs
- Event
Hub stringName - The name of the Event Hub.
- Fully
Qualified stringNamespace - The fully qualified namespace name of the Event Hub resource. For example, "example.servicebus.windows.net".
- Event
Hub stringName - The name of the Event Hub.
- Fully
Qualified stringNamespace - The fully qualified namespace name of the Event Hub resource. For example, "example.servicebus.windows.net".
- event
Hub StringName - The name of the Event Hub.
- fully
Qualified StringNamespace - The fully qualified namespace name of the Event Hub resource. For example, "example.servicebus.windows.net".
- event
Hub stringName - The name of the Event Hub.
- fully
Qualified stringNamespace - The fully qualified namespace name of the Event Hub resource. For example, "example.servicebus.windows.net".
- event_
hub_ strname - The name of the Event Hub.
- fully_
qualified_ strnamespace - The fully qualified namespace name of the Event Hub resource. For example, "example.servicebus.windows.net".
- event
Hub StringName - The name of the Event Hub.
- fully
Qualified StringNamespace - The fully qualified namespace name of the Event Hub resource. For example, "example.servicebus.windows.net".
EventHubEndpointResponse, EventHubEndpointResponseArgs
- Event
Hub stringName - The name of the Event Hub.
- Fully
Qualified stringNamespace - The fully qualified namespace name of the Event Hub resource. For example, "example.servicebus.windows.net".
- Event
Hub stringName - The name of the Event Hub.
- Fully
Qualified stringNamespace - The fully qualified namespace name of the Event Hub resource. For example, "example.servicebus.windows.net".
- event
Hub StringName - The name of the Event Hub.
- fully
Qualified StringNamespace - The fully qualified namespace name of the Event Hub resource. For example, "example.servicebus.windows.net".
- event
Hub stringName - The name of the Event Hub.
- fully
Qualified stringNamespace - The fully qualified namespace name of the Event Hub resource. For example, "example.servicebus.windows.net".
- event_
hub_ strname - The name of the Event Hub.
- fully_
qualified_ strnamespace - The fully qualified namespace name of the Event Hub resource. For example, "example.servicebus.windows.net".
- event
Hub StringName - The name of the Event Hub.
- fully
Qualified StringNamespace - The fully qualified namespace name of the Event Hub resource. For example, "example.servicebus.windows.net".
EventListener, EventListenerArgs
- Endpoint
Pulumi.
Azure Native. Web Pub Sub. Inputs. Event Hub Endpoint - An endpoint specifying where Web PubSub should send events to.
- Filter
Pulumi.
Azure Native. Web Pub Sub. Inputs. Event Name Filter - A base class for event filter which determines whether an event should be sent to an event listener.
- Endpoint
Event
Hub Endpoint - An endpoint specifying where Web PubSub should send events to.
- Filter
Event
Name Filter - A base class for event filter which determines whether an event should be sent to an event listener.
- endpoint
Event
Hub Endpoint - An endpoint specifying where Web PubSub should send events to.
- filter
Event
Name Filter - A base class for event filter which determines whether an event should be sent to an event listener.
- endpoint
Event
Hub Endpoint - An endpoint specifying where Web PubSub should send events to.
- filter
Event
Name Filter - A base class for event filter which determines whether an event should be sent to an event listener.
- endpoint
Event
Hub Endpoint - An endpoint specifying where Web PubSub should send events to.
- filter
Event
Name Filter - A base class for event filter which determines whether an event should be sent to an event listener.
- endpoint Property Map
- An endpoint specifying where Web PubSub should send events to.
- filter Property Map
- A base class for event filter which determines whether an event should be sent to an event listener.
EventListenerResponse, EventListenerResponseArgs
- Endpoint
Pulumi.
Azure Native. Web Pub Sub. Inputs. Event Hub Endpoint Response - An endpoint specifying where Web PubSub should send events to.
- Filter
Pulumi.
Azure Native. Web Pub Sub. Inputs. Event Name Filter Response - A base class for event filter which determines whether an event should be sent to an event listener.
- Endpoint
Event
Hub Endpoint Response - An endpoint specifying where Web PubSub should send events to.
- Filter
Event
Name Filter Response - A base class for event filter which determines whether an event should be sent to an event listener.
- endpoint
Event
Hub Endpoint Response - An endpoint specifying where Web PubSub should send events to.
- filter
Event
Name Filter Response - A base class for event filter which determines whether an event should be sent to an event listener.
- endpoint
Event
Hub Endpoint Response - An endpoint specifying where Web PubSub should send events to.
- filter
Event
Name Filter Response - A base class for event filter which determines whether an event should be sent to an event listener.
- endpoint
Event
Hub Endpoint Response - An endpoint specifying where Web PubSub should send events to.
- filter
Event
Name Filter Response - A base class for event filter which determines whether an event should be sent to an event listener.
- endpoint Property Map
- An endpoint specifying where Web PubSub should send events to.
- filter Property Map
- A base class for event filter which determines whether an event should be sent to an event listener.
EventNameFilter, EventNameFilterArgs
- System
Events List<string> - Gets or sets a list of system events. Supported events: "connected" and "disconnected". Blocking event "connect" is not supported because it requires a response.
- User
Event stringPattern - Gets or sets a matching pattern for event names. There are 3 kinds of patterns supported: 1. "*", it matches any event name 2. Combine multiple events with ",", for example "event1,event2", it matches events "event1" and "event2" 3. A single event name, for example, "event1", it matches "event1"
- System
Events []string - Gets or sets a list of system events. Supported events: "connected" and "disconnected". Blocking event "connect" is not supported because it requires a response.
- User
Event stringPattern - Gets or sets a matching pattern for event names. There are 3 kinds of patterns supported: 1. "*", it matches any event name 2. Combine multiple events with ",", for example "event1,event2", it matches events "event1" and "event2" 3. A single event name, for example, "event1", it matches "event1"
- system
Events List<String> - Gets or sets a list of system events. Supported events: "connected" and "disconnected". Blocking event "connect" is not supported because it requires a response.
- user
Event StringPattern - Gets or sets a matching pattern for event names. There are 3 kinds of patterns supported: 1. "*", it matches any event name 2. Combine multiple events with ",", for example "event1,event2", it matches events "event1" and "event2" 3. A single event name, for example, "event1", it matches "event1"
- system
Events string[] - Gets or sets a list of system events. Supported events: "connected" and "disconnected". Blocking event "connect" is not supported because it requires a response.
- user
Event stringPattern - Gets or sets a matching pattern for event names. There are 3 kinds of patterns supported: 1. "*", it matches any event name 2. Combine multiple events with ",", for example "event1,event2", it matches events "event1" and "event2" 3. A single event name, for example, "event1", it matches "event1"
- system_
events Sequence[str] - Gets or sets a list of system events. Supported events: "connected" and "disconnected". Blocking event "connect" is not supported because it requires a response.
- user_
event_ strpattern - Gets or sets a matching pattern for event names. There are 3 kinds of patterns supported: 1. "*", it matches any event name 2. Combine multiple events with ",", for example "event1,event2", it matches events "event1" and "event2" 3. A single event name, for example, "event1", it matches "event1"
- system
Events List<String> - Gets or sets a list of system events. Supported events: "connected" and "disconnected". Blocking event "connect" is not supported because it requires a response.
- user
Event StringPattern - Gets or sets a matching pattern for event names. There are 3 kinds of patterns supported: 1. "*", it matches any event name 2. Combine multiple events with ",", for example "event1,event2", it matches events "event1" and "event2" 3. A single event name, for example, "event1", it matches "event1"
EventNameFilterResponse, EventNameFilterResponseArgs
- System
Events List<string> - Gets or sets a list of system events. Supported events: "connected" and "disconnected". Blocking event "connect" is not supported because it requires a response.
- User
Event stringPattern - Gets or sets a matching pattern for event names. There are 3 kinds of patterns supported: 1. "*", it matches any event name 2. Combine multiple events with ",", for example "event1,event2", it matches events "event1" and "event2" 3. A single event name, for example, "event1", it matches "event1"
- System
Events []string - Gets or sets a list of system events. Supported events: "connected" and "disconnected". Blocking event "connect" is not supported because it requires a response.
- User
Event stringPattern - Gets or sets a matching pattern for event names. There are 3 kinds of patterns supported: 1. "*", it matches any event name 2. Combine multiple events with ",", for example "event1,event2", it matches events "event1" and "event2" 3. A single event name, for example, "event1", it matches "event1"
- system
Events List<String> - Gets or sets a list of system events. Supported events: "connected" and "disconnected". Blocking event "connect" is not supported because it requires a response.
- user
Event StringPattern - Gets or sets a matching pattern for event names. There are 3 kinds of patterns supported: 1. "*", it matches any event name 2. Combine multiple events with ",", for example "event1,event2", it matches events "event1" and "event2" 3. A single event name, for example, "event1", it matches "event1"
- system
Events string[] - Gets or sets a list of system events. Supported events: "connected" and "disconnected". Blocking event "connect" is not supported because it requires a response.
- user
Event stringPattern - Gets or sets a matching pattern for event names. There are 3 kinds of patterns supported: 1. "*", it matches any event name 2. Combine multiple events with ",", for example "event1,event2", it matches events "event1" and "event2" 3. A single event name, for example, "event1", it matches "event1"
- system_
events Sequence[str] - Gets or sets a list of system events. Supported events: "connected" and "disconnected". Blocking event "connect" is not supported because it requires a response.
- user_
event_ strpattern - Gets or sets a matching pattern for event names. There are 3 kinds of patterns supported: 1. "*", it matches any event name 2. Combine multiple events with ",", for example "event1,event2", it matches events "event1" and "event2" 3. A single event name, for example, "event1", it matches "event1"
- system
Events List<String> - Gets or sets a list of system events. Supported events: "connected" and "disconnected". Blocking event "connect" is not supported because it requires a response.
- user
Event StringPattern - Gets or sets a matching pattern for event names. There are 3 kinds of patterns supported: 1. "*", it matches any event name 2. Combine multiple events with ",", for example "event1,event2", it matches events "event1" and "event2" 3. A single event name, for example, "event1", it matches "event1"
ManagedIdentitySettings, ManagedIdentitySettingsArgs
- Resource string
- The Resource indicating the App ID URI of the target resource. It also appears in the aud (audience) claim of the issued token.
- Resource string
- The Resource indicating the App ID URI of the target resource. It also appears in the aud (audience) claim of the issued token.
- resource String
- The Resource indicating the App ID URI of the target resource. It also appears in the aud (audience) claim of the issued token.
- resource string
- The Resource indicating the App ID URI of the target resource. It also appears in the aud (audience) claim of the issued token.
- resource str
- The Resource indicating the App ID URI of the target resource. It also appears in the aud (audience) claim of the issued token.
- resource String
- The Resource indicating the App ID URI of the target resource. It also appears in the aud (audience) claim of the issued token.
ManagedIdentitySettingsResponse, ManagedIdentitySettingsResponseArgs
- Resource string
- The Resource indicating the App ID URI of the target resource. It also appears in the aud (audience) claim of the issued token.
- Resource string
- The Resource indicating the App ID URI of the target resource. It also appears in the aud (audience) claim of the issued token.
- resource String
- The Resource indicating the App ID URI of the target resource. It also appears in the aud (audience) claim of the issued token.
- resource string
- The Resource indicating the App ID URI of the target resource. It also appears in the aud (audience) claim of the issued token.
- resource str
- The Resource indicating the App ID URI of the target resource. It also appears in the aud (audience) claim of the issued token.
- resource String
- The Resource indicating the App ID URI of the target resource. It also appears in the aud (audience) claim of the issued token.
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
UpstreamAuthSettings, UpstreamAuthSettingsArgs
- Managed
Identity Pulumi.Azure Native. Web Pub Sub. Inputs. Managed Identity Settings - Managed identity settings for upstream.
- Type
string | Pulumi.
Azure Native. Web Pub Sub. Upstream Auth Type - Upstream auth type enum.
- Managed
Identity ManagedIdentity Settings - Managed identity settings for upstream.
- Type
string | Upstream
Auth Type - Upstream auth type enum.
- managed
Identity ManagedIdentity Settings - Managed identity settings for upstream.
- type
String | Upstream
Auth Type - Upstream auth type enum.
- managed
Identity ManagedIdentity Settings - Managed identity settings for upstream.
- type
string | Upstream
Auth Type - Upstream auth type enum.
- managed_
identity ManagedIdentity Settings - Managed identity settings for upstream.
- type
str | Upstream
Auth Type - Upstream auth type enum.
- managed
Identity Property Map - Managed identity settings for upstream.
- type
String | "None" | "Managed
Identity" - Upstream auth type enum.
UpstreamAuthSettingsResponse, UpstreamAuthSettingsResponseArgs
- Managed
Identity Pulumi.Azure Native. Web Pub Sub. Inputs. Managed Identity Settings Response - Managed identity settings for upstream.
- Type string
- Upstream auth type enum.
- Managed
Identity ManagedIdentity Settings Response - Managed identity settings for upstream.
- Type string
- Upstream auth type enum.
- managed
Identity ManagedIdentity Settings Response - Managed identity settings for upstream.
- type String
- Upstream auth type enum.
- managed
Identity ManagedIdentity Settings Response - Managed identity settings for upstream.
- type string
- Upstream auth type enum.
- managed_
identity ManagedIdentity Settings Response - Managed identity settings for upstream.
- type str
- Upstream auth type enum.
- managed
Identity Property Map - Managed identity settings for upstream.
- type String
- Upstream auth type enum.
UpstreamAuthType, UpstreamAuthTypeArgs
- None
- None
- Managed
Identity - ManagedIdentity
- Upstream
Auth Type None - None
- Upstream
Auth Type Managed Identity - ManagedIdentity
- None
- None
- Managed
Identity - ManagedIdentity
- None
- None
- Managed
Identity - ManagedIdentity
- NONE
- None
- MANAGED_IDENTITY
- ManagedIdentity
- "None"
- None
- "Managed
Identity" - ManagedIdentity
WebPubSubHubProperties, WebPubSubHubPropertiesArgs
- Anonymous
Connect stringPolicy - The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny".
- Event
Handlers List<Pulumi.Azure Native. Web Pub Sub. Inputs. Event Handler> - Event handler of a hub.
- Event
Listeners List<Pulumi.Azure Native. Web Pub Sub. Inputs. Event Listener> - Event listener settings for forwarding your client events to listeners. Event listener is transparent to Web PubSub clients, and it doesn't return any result to clients nor interrupt the lifetime of clients. One event can be sent to multiple listeners, as long as it matches the filters in those listeners. The order of the array elements doesn't matter. Maximum count of event listeners among all hubs is 10.
- Anonymous
Connect stringPolicy - The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny".
- Event
Handlers []EventHandler - Event handler of a hub.
- Event
Listeners []EventListener - Event listener settings for forwarding your client events to listeners. Event listener is transparent to Web PubSub clients, and it doesn't return any result to clients nor interrupt the lifetime of clients. One event can be sent to multiple listeners, as long as it matches the filters in those listeners. The order of the array elements doesn't matter. Maximum count of event listeners among all hubs is 10.
- anonymous
Connect StringPolicy - The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny".
- event
Handlers List<EventHandler> - Event handler of a hub.
- event
Listeners List<EventListener> - Event listener settings for forwarding your client events to listeners. Event listener is transparent to Web PubSub clients, and it doesn't return any result to clients nor interrupt the lifetime of clients. One event can be sent to multiple listeners, as long as it matches the filters in those listeners. The order of the array elements doesn't matter. Maximum count of event listeners among all hubs is 10.
- anonymous
Connect stringPolicy - The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny".
- event
Handlers EventHandler[] - Event handler of a hub.
- event
Listeners EventListener[] - Event listener settings for forwarding your client events to listeners. Event listener is transparent to Web PubSub clients, and it doesn't return any result to clients nor interrupt the lifetime of clients. One event can be sent to multiple listeners, as long as it matches the filters in those listeners. The order of the array elements doesn't matter. Maximum count of event listeners among all hubs is 10.
- anonymous_
connect_ strpolicy - The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny".
- event_
handlers Sequence[EventHandler] - Event handler of a hub.
- event_
listeners Sequence[EventListener] - Event listener settings for forwarding your client events to listeners. Event listener is transparent to Web PubSub clients, and it doesn't return any result to clients nor interrupt the lifetime of clients. One event can be sent to multiple listeners, as long as it matches the filters in those listeners. The order of the array elements doesn't matter. Maximum count of event listeners among all hubs is 10.
- anonymous
Connect StringPolicy - The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny".
- event
Handlers List<Property Map> - Event handler of a hub.
- event
Listeners List<Property Map> - Event listener settings for forwarding your client events to listeners. Event listener is transparent to Web PubSub clients, and it doesn't return any result to clients nor interrupt the lifetime of clients. One event can be sent to multiple listeners, as long as it matches the filters in those listeners. The order of the array elements doesn't matter. Maximum count of event listeners among all hubs is 10.
WebPubSubHubPropertiesResponse, WebPubSubHubPropertiesResponseArgs
- Anonymous
Connect stringPolicy - The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny".
- Event
Handlers List<Pulumi.Azure Native. Web Pub Sub. Inputs. Event Handler Response> - Event handler of a hub.
- Event
Listeners List<Pulumi.Azure Native. Web Pub Sub. Inputs. Event Listener Response> - Event listener settings for forwarding your client events to listeners. Event listener is transparent to Web PubSub clients, and it doesn't return any result to clients nor interrupt the lifetime of clients. One event can be sent to multiple listeners, as long as it matches the filters in those listeners. The order of the array elements doesn't matter. Maximum count of event listeners among all hubs is 10.
- Anonymous
Connect stringPolicy - The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny".
- Event
Handlers []EventHandler Response - Event handler of a hub.
- Event
Listeners []EventListener Response - Event listener settings for forwarding your client events to listeners. Event listener is transparent to Web PubSub clients, and it doesn't return any result to clients nor interrupt the lifetime of clients. One event can be sent to multiple listeners, as long as it matches the filters in those listeners. The order of the array elements doesn't matter. Maximum count of event listeners among all hubs is 10.
- anonymous
Connect StringPolicy - The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny".
- event
Handlers List<EventHandler Response> - Event handler of a hub.
- event
Listeners List<EventListener Response> - Event listener settings for forwarding your client events to listeners. Event listener is transparent to Web PubSub clients, and it doesn't return any result to clients nor interrupt the lifetime of clients. One event can be sent to multiple listeners, as long as it matches the filters in those listeners. The order of the array elements doesn't matter. Maximum count of event listeners among all hubs is 10.
- anonymous
Connect stringPolicy - The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny".
- event
Handlers EventHandler Response[] - Event handler of a hub.
- event
Listeners EventListener Response[] - Event listener settings for forwarding your client events to listeners. Event listener is transparent to Web PubSub clients, and it doesn't return any result to clients nor interrupt the lifetime of clients. One event can be sent to multiple listeners, as long as it matches the filters in those listeners. The order of the array elements doesn't matter. Maximum count of event listeners among all hubs is 10.
- anonymous_
connect_ strpolicy - The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny".
- event_
handlers Sequence[EventHandler Response] - Event handler of a hub.
- event_
listeners Sequence[EventListener Response] - Event listener settings for forwarding your client events to listeners. Event listener is transparent to Web PubSub clients, and it doesn't return any result to clients nor interrupt the lifetime of clients. One event can be sent to multiple listeners, as long as it matches the filters in those listeners. The order of the array elements doesn't matter. Maximum count of event listeners among all hubs is 10.
- anonymous
Connect StringPolicy - The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny".
- event
Handlers List<Property Map> - Event handler of a hub.
- event
Listeners List<Property Map> - Event listener settings for forwarding your client events to listeners. Event listener is transparent to Web PubSub clients, and it doesn't return any result to clients nor interrupt the lifetime of clients. One event can be sent to multiple listeners, as long as it matches the filters in those listeners. The order of the array elements doesn't matter. Maximum count of event listeners among all hubs is 10.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:webpubsub:WebPubSubHub exampleHub /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/hubs/{hubName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0