1. Packages
  2. Azure Native
  3. API Docs
  4. webpubsub
  5. WebPubSubHub
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi

azure-native.webpubsub.WebPubSubHub

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi

    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.AzureNative.WebPubSub.Inputs.WebPubSubHubProperties
    Properties of a hub.
    ResourceGroupName string
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    ResourceName string
    The name of the resource.
    HubName string
    The hub name.
    Properties WebPubSubHubPropertiesArgs
    Properties of a hub.
    ResourceGroupName string
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    ResourceName string
    The name of the resource.
    HubName string
    The hub name.
    properties WebPubSubHubProperties
    Properties of a hub.
    resourceGroupName String
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    resourceName String
    The name of the resource.
    hubName String
    The hub name.
    properties WebPubSubHubProperties
    Properties of a hub.
    resourceGroupName string
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    resourceName string
    The name of the resource.
    hubName string
    The hub name.
    properties WebPubSubHubPropertiesArgs
    Properties of a hub.
    resource_group_name str
    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.
    resourceGroupName String
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    resourceName String
    The name of the resource.
    hubName 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.
    SystemData Pulumi.AzureNative.WebPubSub.Outputs.SystemDataResponse
    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.
    SystemData SystemDataResponse
    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.
    systemData SystemDataResponse
    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.
    systemData SystemDataResponse
    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 SystemDataResponse
    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.
    systemData 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

    UrlTemplate 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.AzureNative.WebPubSub.Inputs.UpstreamAuthSettings
    Upstream auth settings. If not set, no auth is used for upstream messages.
    SystemEvents List<string>
    Gets or sets the list of system events.
    UserEventPattern string
    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"
    UrlTemplate 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 UpstreamAuthSettings
    Upstream auth settings. If not set, no auth is used for upstream messages.
    SystemEvents []string
    Gets or sets the list of system events.
    UserEventPattern string
    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"
    urlTemplate 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 UpstreamAuthSettings
    Upstream auth settings. If not set, no auth is used for upstream messages.
    systemEvents List<String>
    Gets or sets the list of system events.
    userEventPattern String
    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"
    urlTemplate 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 UpstreamAuthSettings
    Upstream auth settings. If not set, no auth is used for upstream messages.
    systemEvents string[]
    Gets or sets the list of system events.
    userEventPattern string
    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 UpstreamAuthSettings
    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_pattern str
    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"
    urlTemplate 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.
    systemEvents List<String>
    Gets or sets the list of system events.
    userEventPattern String
    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

    UrlTemplate 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.AzureNative.WebPubSub.Inputs.UpstreamAuthSettingsResponse
    Upstream auth settings. If not set, no auth is used for upstream messages.
    SystemEvents List<string>
    Gets or sets the list of system events.
    UserEventPattern string
    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"
    UrlTemplate 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 UpstreamAuthSettingsResponse
    Upstream auth settings. If not set, no auth is used for upstream messages.
    SystemEvents []string
    Gets or sets the list of system events.
    UserEventPattern string
    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"
    urlTemplate 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 UpstreamAuthSettingsResponse
    Upstream auth settings. If not set, no auth is used for upstream messages.
    systemEvents List<String>
    Gets or sets the list of system events.
    userEventPattern String
    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"
    urlTemplate 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 UpstreamAuthSettingsResponse
    Upstream auth settings. If not set, no auth is used for upstream messages.
    systemEvents string[]
    Gets or sets the list of system events.
    userEventPattern string
    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 UpstreamAuthSettingsResponse
    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_pattern str
    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"
    urlTemplate 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.
    systemEvents List<String>
    Gets or sets the list of system events.
    userEventPattern String
    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

    EventHubName string
    The name of the Event Hub.
    FullyQualifiedNamespace string
    The fully qualified namespace name of the Event Hub resource. For example, "example.servicebus.windows.net".
    EventHubName string
    The name of the Event Hub.
    FullyQualifiedNamespace string
    The fully qualified namespace name of the Event Hub resource. For example, "example.servicebus.windows.net".
    eventHubName String
    The name of the Event Hub.
    fullyQualifiedNamespace String
    The fully qualified namespace name of the Event Hub resource. For example, "example.servicebus.windows.net".
    eventHubName string
    The name of the Event Hub.
    fullyQualifiedNamespace string
    The fully qualified namespace name of the Event Hub resource. For example, "example.servicebus.windows.net".
    event_hub_name str
    The name of the Event Hub.
    fully_qualified_namespace str
    The fully qualified namespace name of the Event Hub resource. For example, "example.servicebus.windows.net".
    eventHubName String
    The name of the Event Hub.
    fullyQualifiedNamespace String
    The fully qualified namespace name of the Event Hub resource. For example, "example.servicebus.windows.net".

    EventHubEndpointResponse, EventHubEndpointResponseArgs

    EventHubName string
    The name of the Event Hub.
    FullyQualifiedNamespace string
    The fully qualified namespace name of the Event Hub resource. For example, "example.servicebus.windows.net".
    EventHubName string
    The name of the Event Hub.
    FullyQualifiedNamespace string
    The fully qualified namespace name of the Event Hub resource. For example, "example.servicebus.windows.net".
    eventHubName String
    The name of the Event Hub.
    fullyQualifiedNamespace String
    The fully qualified namespace name of the Event Hub resource. For example, "example.servicebus.windows.net".
    eventHubName string
    The name of the Event Hub.
    fullyQualifiedNamespace string
    The fully qualified namespace name of the Event Hub resource. For example, "example.servicebus.windows.net".
    event_hub_name str
    The name of the Event Hub.
    fully_qualified_namespace str
    The fully qualified namespace name of the Event Hub resource. For example, "example.servicebus.windows.net".
    eventHubName String
    The name of the Event Hub.
    fullyQualifiedNamespace String
    The fully qualified namespace name of the Event Hub resource. For example, "example.servicebus.windows.net".

    EventListener, EventListenerArgs

    Endpoint Pulumi.AzureNative.WebPubSub.Inputs.EventHubEndpoint
    An endpoint specifying where Web PubSub should send events to.
    Filter Pulumi.AzureNative.WebPubSub.Inputs.EventNameFilter
    A base class for event filter which determines whether an event should be sent to an event listener.
    Endpoint EventHubEndpoint
    An endpoint specifying where Web PubSub should send events to.
    Filter EventNameFilter
    A base class for event filter which determines whether an event should be sent to an event listener.
    endpoint EventHubEndpoint
    An endpoint specifying where Web PubSub should send events to.
    filter EventNameFilter
    A base class for event filter which determines whether an event should be sent to an event listener.
    endpoint EventHubEndpoint
    An endpoint specifying where Web PubSub should send events to.
    filter EventNameFilter
    A base class for event filter which determines whether an event should be sent to an event listener.
    endpoint EventHubEndpoint
    An endpoint specifying where Web PubSub should send events to.
    filter EventNameFilter
    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.AzureNative.WebPubSub.Inputs.EventHubEndpointResponse
    An endpoint specifying where Web PubSub should send events to.
    Filter Pulumi.AzureNative.WebPubSub.Inputs.EventNameFilterResponse
    A base class for event filter which determines whether an event should be sent to an event listener.
    Endpoint EventHubEndpointResponse
    An endpoint specifying where Web PubSub should send events to.
    Filter EventNameFilterResponse
    A base class for event filter which determines whether an event should be sent to an event listener.
    endpoint EventHubEndpointResponse
    An endpoint specifying where Web PubSub should send events to.
    filter EventNameFilterResponse
    A base class for event filter which determines whether an event should be sent to an event listener.
    endpoint EventHubEndpointResponse
    An endpoint specifying where Web PubSub should send events to.
    filter EventNameFilterResponse
    A base class for event filter which determines whether an event should be sent to an event listener.
    endpoint EventHubEndpointResponse
    An endpoint specifying where Web PubSub should send events to.
    filter EventNameFilterResponse
    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

    SystemEvents 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.
    UserEventPattern string
    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"
    SystemEvents []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.
    UserEventPattern string
    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"
    systemEvents 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.
    userEventPattern String
    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"
    systemEvents 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.
    userEventPattern string
    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_pattern str
    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"
    systemEvents 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.
    userEventPattern String
    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

    SystemEvents 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.
    UserEventPattern string
    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"
    SystemEvents []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.
    UserEventPattern string
    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"
    systemEvents 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.
    userEventPattern String
    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"
    systemEvents 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.
    userEventPattern string
    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_pattern str
    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"
    systemEvents 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.
    userEventPattern String
    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

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    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_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    UpstreamAuthSettings, UpstreamAuthSettingsArgs

    ManagedIdentity ManagedIdentitySettings
    Managed identity settings for upstream.
    Type string | UpstreamAuthType
    Upstream auth type enum.
    managedIdentity ManagedIdentitySettings
    Managed identity settings for upstream.
    type String | UpstreamAuthType
    Upstream auth type enum.
    managedIdentity ManagedIdentitySettings
    Managed identity settings for upstream.
    type string | UpstreamAuthType
    Upstream auth type enum.
    managed_identity ManagedIdentitySettings
    Managed identity settings for upstream.
    type str | UpstreamAuthType
    Upstream auth type enum.
    managedIdentity Property Map
    Managed identity settings for upstream.
    type String | "None" | "ManagedIdentity"
    Upstream auth type enum.

    UpstreamAuthSettingsResponse, UpstreamAuthSettingsResponseArgs

    ManagedIdentity Pulumi.AzureNative.WebPubSub.Inputs.ManagedIdentitySettingsResponse
    Managed identity settings for upstream.
    Type string
    Upstream auth type enum.
    ManagedIdentity ManagedIdentitySettingsResponse
    Managed identity settings for upstream.
    Type string
    Upstream auth type enum.
    managedIdentity ManagedIdentitySettingsResponse
    Managed identity settings for upstream.
    type String
    Upstream auth type enum.
    managedIdentity ManagedIdentitySettingsResponse
    Managed identity settings for upstream.
    type string
    Upstream auth type enum.
    managed_identity ManagedIdentitySettingsResponse
    Managed identity settings for upstream.
    type str
    Upstream auth type enum.
    managedIdentity Property Map
    Managed identity settings for upstream.
    type String
    Upstream auth type enum.

    UpstreamAuthType, UpstreamAuthTypeArgs

    None
    None
    ManagedIdentity
    ManagedIdentity
    UpstreamAuthTypeNone
    None
    UpstreamAuthTypeManagedIdentity
    ManagedIdentity
    None
    None
    ManagedIdentity
    ManagedIdentity
    None
    None
    ManagedIdentity
    ManagedIdentity
    NONE
    None
    MANAGED_IDENTITY
    ManagedIdentity
    "None"
    None
    "ManagedIdentity"
    ManagedIdentity

    WebPubSubHubProperties, WebPubSubHubPropertiesArgs

    AnonymousConnectPolicy string
    The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny".
    EventHandlers List<Pulumi.AzureNative.WebPubSub.Inputs.EventHandler>
    Event handler of a hub.
    EventListeners List<Pulumi.AzureNative.WebPubSub.Inputs.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.
    AnonymousConnectPolicy string
    The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny".
    EventHandlers []EventHandler
    Event handler of a hub.
    EventListeners []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.
    anonymousConnectPolicy String
    The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny".
    eventHandlers List<EventHandler>
    Event handler of a hub.
    eventListeners 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.
    anonymousConnectPolicy string
    The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny".
    eventHandlers EventHandler[]
    Event handler of a hub.
    eventListeners 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_policy str
    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.
    anonymousConnectPolicy String
    The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny".
    eventHandlers List<Property Map>
    Event handler of a hub.
    eventListeners 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

    AnonymousConnectPolicy string
    The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny".
    EventHandlers List<Pulumi.AzureNative.WebPubSub.Inputs.EventHandlerResponse>
    Event handler of a hub.
    EventListeners List<Pulumi.AzureNative.WebPubSub.Inputs.EventListenerResponse>
    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.
    AnonymousConnectPolicy string
    The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny".
    EventHandlers []EventHandlerResponse
    Event handler of a hub.
    EventListeners []EventListenerResponse
    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.
    anonymousConnectPolicy String
    The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny".
    eventHandlers List<EventHandlerResponse>
    Event handler of a hub.
    eventListeners List<EventListenerResponse>
    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.
    anonymousConnectPolicy string
    The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny".
    eventHandlers EventHandlerResponse[]
    Event handler of a hub.
    eventListeners EventListenerResponse[]
    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_policy str
    The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny".
    event_handlers Sequence[EventHandlerResponse]
    Event handler of a hub.
    event_listeners Sequence[EventListenerResponse]
    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.
    anonymousConnectPolicy String
    The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny".
    eventHandlers List<Property Map>
    Event handler of a hub.
    eventListeners 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
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi