azure-native.webpubsub.WebPubSubHub
Explore with Pulumi AI
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.
Azure Native. Web Pub Sub. Inputs. Web Pub Sub Hub Properties - Properties of a hub.
- Resource
Group stringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- Resource
Name string - The name of the resource.
- Hub
Name string - The hub name.
- Properties
Web
Pub Sub Hub Properties Args - Properties of a hub.
- Resource
Group stringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- Resource
Name string - The name of the resource.
- Hub
Name string - The hub name.
- properties
Web
Pub Sub Hub Properties - Properties of a hub.
- resource
Group StringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- resource
Name String - The name of the resource.
- hub
Name String - The hub name.
- properties
Web
Pub Sub Hub Properties - Properties of a hub.
- resource
Group stringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- resource
Name string - The name of the resource.
- hub
Name string - The hub name.
- properties
Web
Pub Sub Hub Properties Args - Properties of a hub.
- resource_
group_ strname - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- resource_
name str - The name of the resource.
- hub_
name str - The hub name.
- properties Property Map
- Properties of a hub.
- resource
Group StringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- resource
Name String - The name of the resource.
- hub
Name String - The hub name.
Outputs
All input properties are implicitly available as output properties. Additionally, the WebPubSubHub resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource.
- System
Data Pulumi.Azure Native. Web Pub Sub. Outputs. System Data Response - Metadata pertaining to creation and last modification of the resource.
- Type string
- The type of the resource - e.g. "Microsoft.SignalRService/SignalR"
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource.
- System
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- Type string
- The type of the resource - e.g. "Microsoft.SignalRService/SignalR"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource.
- system
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type String
- The type of the resource - e.g. "Microsoft.SignalRService/SignalR"
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource.
- system
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type string
- The type of the resource - e.g. "Microsoft.SignalRService/SignalR"
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource.
- system_
data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type str
- The type of the resource - e.g. "Microsoft.SignalRService/SignalR"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource.
- system
Data Property Map - Metadata pertaining to creation and last modification of the resource.
- type String
- The type of the resource - e.g. "Microsoft.SignalRService/SignalR"
Supporting Types
EventHandler, EventHandlerArgs
- Url
Template string - Gets or sets the EventHandler URL template. You can use a predefined parameter {hub} and {event} inside the template, the value of the EventHandler URL is dynamically calculated when the client request comes in.
For example, UrlTemplate can be
http://example.com/api/{hub}/{event}
. The host part can't contains parameters. - Auth
Pulumi.
Azure Native. Web Pub Sub. Inputs. Upstream Auth Settings - Upstream auth settings. If not set, no auth is used for upstream messages.
- System
Events List<string> - Gets ot sets the list of system events.
- User
Event stringPattern - 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 string - Gets or sets the EventHandler URL template. You can use a predefined parameter {hub} and {event} inside the template, the value of the EventHandler URL is dynamically calculated when the client request comes in.
For example, UrlTemplate can be
http://example.com/api/{hub}/{event}
. The host part can't contains parameters. - Auth
Upstream
Auth Settings - Upstream auth settings. If not set, no auth is used for upstream messages.
- System
Events []string - Gets ot sets the list of system events.
- User
Event stringPattern - 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 String - Gets or sets the EventHandler URL template. You can use a predefined parameter {hub} and {event} inside the template, the value of the EventHandler URL is dynamically calculated when the client request comes in.
For example, UrlTemplate can be
http://example.com/api/{hub}/{event}
. The host part can't contains parameters. - auth
Upstream
Auth Settings - Upstream auth settings. If not set, no auth is used for upstream messages.
- system
Events List<String> - Gets ot sets the list of system events.
- user
Event StringPattern - 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 string - Gets or sets the EventHandler URL template. You can use a predefined parameter {hub} and {event} inside the template, the value of the EventHandler URL is dynamically calculated when the client request comes in.
For example, UrlTemplate can be
http://example.com/api/{hub}/{event}
. The host part can't contains parameters. - auth
Upstream
Auth Settings - Upstream auth settings. If not set, no auth is used for upstream messages.
- system
Events string[] - Gets ot sets the list of system events.
- user
Event stringPattern - 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
Upstream
Auth Settings - 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_ strpattern - 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 String - Gets or sets the EventHandler URL template. You can use a predefined parameter {hub} and {event} inside the template, the value of the EventHandler URL is dynamically calculated when the client request comes in.
For example, UrlTemplate can be
http://example.com/api/{hub}/{event}
. The host part can't contains parameters. - auth Property Map
- Upstream auth settings. If not set, no auth is used for upstream messages.
- system
Events List<String> - Gets ot sets the list of system events.
- user
Event StringPattern - 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
- Url
Template string - Gets or sets the EventHandler URL template. You can use a predefined parameter {hub} and {event} inside the template, the value of the EventHandler URL is dynamically calculated when the client request comes in.
For example, UrlTemplate can be
http://example.com/api/{hub}/{event}
. The host part can't contains parameters. - Auth
Pulumi.
Azure Native. Web Pub Sub. Inputs. Upstream Auth Settings Response - Upstream auth settings. If not set, no auth is used for upstream messages.
- System
Events List<string> - Gets ot sets the list of system events.
- User
Event stringPattern - 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 string - Gets or sets the EventHandler URL template. You can use a predefined parameter {hub} and {event} inside the template, the value of the EventHandler URL is dynamically calculated when the client request comes in.
For example, UrlTemplate can be
http://example.com/api/{hub}/{event}
. The host part can't contains parameters. - Auth
Upstream
Auth Settings Response - Upstream auth settings. If not set, no auth is used for upstream messages.
- System
Events []string - Gets ot sets the list of system events.
- User
Event stringPattern - 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 String - Gets or sets the EventHandler URL template. You can use a predefined parameter {hub} and {event} inside the template, the value of the EventHandler URL is dynamically calculated when the client request comes in.
For example, UrlTemplate can be
http://example.com/api/{hub}/{event}
. The host part can't contains parameters. - auth
Upstream
Auth Settings Response - Upstream auth settings. If not set, no auth is used for upstream messages.
- system
Events List<String> - Gets ot sets the list of system events.
- user
Event StringPattern - 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 string - Gets or sets the EventHandler URL template. You can use a predefined parameter {hub} and {event} inside the template, the value of the EventHandler URL is dynamically calculated when the client request comes in.
For example, UrlTemplate can be
http://example.com/api/{hub}/{event}
. The host part can't contains parameters. - auth
Upstream
Auth Settings Response - Upstream auth settings. If not set, no auth is used for upstream messages.
- system
Events string[] - Gets ot sets the list of system events.
- user
Event stringPattern - 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
Upstream
Auth Settings Response - 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_ strpattern - 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 String - Gets or sets the EventHandler URL template. You can use a predefined parameter {hub} and {event} inside the template, the value of the EventHandler URL is dynamically calculated when the client request comes in.
For example, UrlTemplate can be
http://example.com/api/{hub}/{event}
. The host part can't contains parameters. - auth Property Map
- Upstream auth settings. If not set, no auth is used for upstream messages.
- system
Events List<String> - Gets ot sets the list of system events.
- user
Event StringPattern - 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
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
UpstreamAuthSettings, UpstreamAuthSettingsArgs
- Managed
Identity Pulumi.Azure Native. Web Pub Sub. Inputs. Managed Identity Settings - Managed identity settings for upstream.
- Type
string | Pulumi.
Azure Native. Web Pub Sub. Upstream Auth Type - Upstream auth type enum.
- Managed
Identity ManagedIdentity Settings - Managed identity settings for upstream.
- Type
string | Upstream
Auth Type - Upstream auth type enum.
- managed
Identity ManagedIdentity Settings - Managed identity settings for upstream.
- type
String | Upstream
Auth Type - Upstream auth type enum.
- managed
Identity ManagedIdentity Settings - Managed identity settings for upstream.
- type
string | Upstream
Auth Type - Upstream auth type enum.
- managed_
identity ManagedIdentity Settings - Managed identity settings for upstream.
- type
str | Upstream
Auth Type - Upstream auth type enum.
- managed
Identity Property Map - Managed identity settings for upstream.
- type
String | "None" | "Managed
Identity" - Upstream auth type enum.
UpstreamAuthSettingsResponse, UpstreamAuthSettingsResponseArgs
- Managed
Identity Pulumi.Azure Native. Web Pub Sub. Inputs. Managed Identity Settings Response - Managed identity settings for upstream.
- Type string
- Upstream auth type enum.
- Managed
Identity ManagedIdentity Settings Response - Managed identity settings for upstream.
- Type string
- Upstream auth type enum.
- managed
Identity ManagedIdentity Settings Response - Managed identity settings for upstream.
- type String
- Upstream auth type enum.
- managed
Identity ManagedIdentity Settings Response - Managed identity settings for upstream.
- type string
- Upstream auth type enum.
- managed_
identity ManagedIdentity Settings Response - Managed identity settings for upstream.
- type str
- Upstream auth type enum.
- managed
Identity Property Map - Managed identity settings for upstream.
- type String
- Upstream auth type enum.
UpstreamAuthType, UpstreamAuthTypeArgs
- None
- None
- Managed
Identity - ManagedIdentity
- Upstream
Auth Type None - None
- Upstream
Auth Type Managed Identity - ManagedIdentity
- None
- None
- Managed
Identity - ManagedIdentity
- None
- None
- Managed
Identity - ManagedIdentity
- NONE
- None
- MANAGED_IDENTITY
- ManagedIdentity
- "None"
- None
- "Managed
Identity" - ManagedIdentity
WebPubSubHubProperties, WebPubSubHubPropertiesArgs
- Anonymous
Connect stringPolicy - The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny".
- Event
Handlers List<Pulumi.Azure Native. Web Pub Sub. Inputs. Event Handler> - Event handler of a hub.
- Anonymous
Connect stringPolicy - The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny".
- Event
Handlers []EventHandler - Event handler of a hub.
- anonymous
Connect StringPolicy - The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny".
- event
Handlers List<EventHandler> - Event handler of a hub.
- anonymous
Connect stringPolicy - The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny".
- event
Handlers EventHandler[] - Event handler of a hub.
- anonymous_
connect_ strpolicy - The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny".
- event_
handlers Sequence[EventHandler] - Event handler of a hub.
- anonymous
Connect StringPolicy - The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny".
- event
Handlers List<Property Map> - Event handler of a hub.
WebPubSubHubPropertiesResponse, WebPubSubHubPropertiesResponseArgs
- Anonymous
Connect stringPolicy - The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny".
- Event
Handlers List<Pulumi.Azure Native. Web Pub Sub. Inputs. Event Handler Response> - Event handler of a hub.
- Anonymous
Connect stringPolicy - The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny".
- Event
Handlers []EventHandler Response - Event handler of a hub.
- anonymous
Connect StringPolicy - The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny".
- event
Handlers List<EventHandler Response> - Event handler of a hub.
- anonymous
Connect stringPolicy - The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny".
- event
Handlers EventHandler Response[] - Event handler of a hub.
- anonymous_
connect_ strpolicy - The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny".
- event_
handlers Sequence[EventHandler Response] - Event handler of a hub.
- anonymous
Connect StringPolicy - The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny".
- event
Handlers List<Property Map> - Event handler of a hub.
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