1. Packages
  2. Azure Native v1
  3. API Docs
  4. webpubsub
  5. WebPubSubHub
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.webpubsub.WebPubSubHub

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    A hub setting API Version: 2021-10-01.

    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
            {
                EventHandlers = new[]
                {
                    new AzureNative.WebPubSub.Inputs.EventHandlerArgs
                    {
                        Auth = new AzureNative.WebPubSub.Inputs.UpstreamAuthSettingsArgs
                        {
                            ManagedIdentity = new AzureNative.WebPubSub.Inputs.ManagedIdentitySettingsArgs
                            {
                                Resource = "abc",
                            },
                            Type = "ManagedIdentity",
                        },
                        SystemEvents = new[]
                        {
                            "connect",
                            "connected",
                        },
                        UrlTemplate = "http://host.com",
                        UserEventPattern = "*",
                    },
                },
            },
            ResourceGroupName = "myResourceGroup",
            ResourceName = "myWebPubSubService",
        });
    
    });
    

    Coming soon!

    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 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(Map.of("eventHandlers", Map.ofEntries(
                    Map.entry("auth", Map.ofEntries(
                        Map.entry("managedIdentity", Map.of("resource", "abc")),
                        Map.entry("type", "ManagedIdentity")
                    )),
                    Map.entry("systemEvents",                 
                        "connect",
                        "connected"),
                    Map.entry("urlTemplate", "http://host.com"),
                    Map.entry("userEventPattern", "*")
                )))
                .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.WebPubSubHubPropertiesResponseArgs(
            event_handlers=[{
                "auth": {
                    "managedIdentity": azure_native.webpubsub.ManagedIdentitySettingsArgs(
                        resource="abc",
                    ),
                    "type": "ManagedIdentity",
                },
                "systemEvents": [
                    "connect",
                    "connected",
                ],
                "urlTemplate": "http://host.com",
                "userEventPattern": "*",
            }],
        ),
        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: {
            eventHandlers: [{
                auth: {
                    managedIdentity: {
                        resource: "abc",
                    },
                    type: "ManagedIdentity",
                },
                systemEvents: [
                    "connect",
                    "connected",
                ],
                urlTemplate: "http://host.com",
                userEventPattern: "*",
            }],
        },
        resourceGroupName: "myResourceGroup",
        resourceName: "myWebPubSubService",
    });
    
    resources:
      webPubSubHub:
        type: azure-native:webpubsub:WebPubSubHub
        properties:
          hubName: exampleHub
          properties:
            eventHandlers:
              - auth:
                  managedIdentity:
                    resource: abc
                  type: ManagedIdentity
                systemEvents:
                  - connect
                  - connected
                urlTemplate: http://host.com
                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 = 
        {
            { "anonymousConnectPolicy", "string" },
            { "eventHandlers", new[]
            {
                
                {
                    { "urlTemplate", "string" },
                    { "auth", 
                    {
                        { "managedIdentity", 
                        {
                            { "resource", "string" },
                        } },
                        { "type", "string" },
                    } },
                    { "systemEvents", new[]
                    {
                        "string",
                    } },
                    { "userEventPattern", "string" },
                },
            } },
        },
        ResourceGroupName = "string",
        ResourceName = "string",
        HubName = "string",
    });
    
    example, err := webpubsub.NewWebPubSubHub(ctx, "webPubSubHubResource", &webpubsub.WebPubSubHubArgs{
    	Properties: map[string]interface{}{
    		"anonymousConnectPolicy": "string",
    		"eventHandlers": []map[string]interface{}{
    			map[string]interface{}{
    				"urlTemplate": "string",
    				"auth": map[string]interface{}{
    					"managedIdentity": map[string]interface{}{
    						"resource": "string",
    					},
    					"type": "string",
    				},
    				"systemEvents": []string{
    					"string",
    				},
    				"userEventPattern": "string",
    			},
    		},
    	},
    	ResourceGroupName: "string",
    	ResourceName:      "string",
    	HubName:           "string",
    })
    
    var webPubSubHubResource = new WebPubSubHub("webPubSubHubResource", WebPubSubHubArgs.builder()
        .properties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .resourceGroupName("string")
        .resourceName("string")
        .hubName("string")
        .build());
    
    web_pub_sub_hub_resource = azure_native.webpubsub.WebPubSubHub("webPubSubHubResource",
        properties={
            anonymousConnectPolicy: string,
            eventHandlers: [{
                urlTemplate: string,
                auth: {
                    managedIdentity: {
                        resource: string,
                    },
                    type: string,
                },
                systemEvents: [string],
                userEventPattern: 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",
            }],
        },
        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
        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 ot sets the list of system events.
    UserEventPattern string
    Gets or sets the matching pattern for event names. There are 3 kind of patterns supported: 1. "*", it to matches any event name 2. Combine multiple events with ",", for example "event1,event2", it matches event "event1" and "event2" 3. The 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 ot sets the list of system events.
    UserEventPattern string
    Gets or sets the matching pattern for event names. There are 3 kind of patterns supported: 1. "*", it to matches any event name 2. Combine multiple events with ",", for example "event1,event2", it matches event "event1" and "event2" 3. The 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 ot sets the list of system events.
    userEventPattern String
    Gets or sets the matching pattern for event names. There are 3 kind of patterns supported: 1. "*", it to matches any event name 2. Combine multiple events with ",", for example "event1,event2", it matches event "event1" and "event2" 3. The 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 ot sets the list of system events.
    userEventPattern string
    Gets or sets the matching pattern for event names. There are 3 kind of patterns supported: 1. "*", it to matches any event name 2. Combine multiple events with ",", for example "event1,event2", it matches event "event1" and "event2" 3. The 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 ot sets the list of system events.
    user_event_pattern str
    Gets or sets the matching pattern for event names. There are 3 kind of patterns supported: 1. "*", it to matches any event name 2. Combine multiple events with ",", for example "event1,event2", it matches event "event1" and "event2" 3. The 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 ot sets the list of system events.
    userEventPattern String
    Gets or sets the matching pattern for event names. There are 3 kind of patterns supported: 1. "*", it to matches any event name 2. Combine multiple events with ",", for example "event1,event2", it matches event "event1" and "event2" 3. The 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 ot sets the list of system events.
    UserEventPattern string
    Gets or sets the matching pattern for event names. There are 3 kind of patterns supported: 1. "*", it to matches any event name 2. Combine multiple events with ",", for example "event1,event2", it matches event "event1" and "event2" 3. The 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 ot sets the list of system events.
    UserEventPattern string
    Gets or sets the matching pattern for event names. There are 3 kind of patterns supported: 1. "*", it to matches any event name 2. Combine multiple events with ",", for example "event1,event2", it matches event "event1" and "event2" 3. The 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 ot sets the list of system events.
    userEventPattern String
    Gets or sets the matching pattern for event names. There are 3 kind of patterns supported: 1. "*", it to matches any event name 2. Combine multiple events with ",", for example "event1,event2", it matches event "event1" and "event2" 3. The 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 ot sets the list of system events.
    userEventPattern string
    Gets or sets the matching pattern for event names. There are 3 kind of patterns supported: 1. "*", it to matches any event name 2. Combine multiple events with ",", for example "event1,event2", it matches event "event1" and "event2" 3. The 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 ot sets the list of system events.
    user_event_pattern str
    Gets or sets the matching pattern for event names. There are 3 kind of patterns supported: 1. "*", it to matches any event name 2. Combine multiple events with ",", for example "event1,event2", it matches event "event1" and "event2" 3. The 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 ot sets the list of system events.
    userEventPattern String
    Gets or sets the matching pattern for event names. There are 3 kind of patterns supported: 1. "*", it to matches any event name 2. Combine multiple events with ",", for example "event1,event2", it matches event "event1" and "event2" 3. The 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.
    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.
    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.
    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.
    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.
    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.

    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.
    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.
    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.
    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.
    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.
    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.

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:webpubsub:WebPubSubHub exampleHub /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/WebPubSub/myWebPubSubService/hubs/exampleHub 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi