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.getWebPubSubHub
Explore with Pulumi AI
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
Get a hub setting. Azure REST API version: 2023-02-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.
Using getWebPubSubHub
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getWebPubSubHub(args: GetWebPubSubHubArgs, opts?: InvokeOptions): Promise<GetWebPubSubHubResult>
function getWebPubSubHubOutput(args: GetWebPubSubHubOutputArgs, opts?: InvokeOptions): Output<GetWebPubSubHubResult>
def get_web_pub_sub_hub(hub_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
resource_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetWebPubSubHubResult
def get_web_pub_sub_hub_output(hub_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
resource_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetWebPubSubHubResult]
func LookupWebPubSubHub(ctx *Context, args *LookupWebPubSubHubArgs, opts ...InvokeOption) (*LookupWebPubSubHubResult, error)
func LookupWebPubSubHubOutput(ctx *Context, args *LookupWebPubSubHubOutputArgs, opts ...InvokeOption) LookupWebPubSubHubResultOutput
> Note: This function is named LookupWebPubSubHub
in the Go SDK.
public static class GetWebPubSubHub
{
public static Task<GetWebPubSubHubResult> InvokeAsync(GetWebPubSubHubArgs args, InvokeOptions? opts = null)
public static Output<GetWebPubSubHubResult> Invoke(GetWebPubSubHubInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetWebPubSubHubResult> getWebPubSubHub(GetWebPubSubHubArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:webpubsub:getWebPubSubHub
arguments:
# arguments dictionary
The following arguments are supported:
- Hub
Name string - The hub name.
- 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.
- 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.
- 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.
- 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 str - The hub name.
- 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 String - The hub name.
- 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.
getWebPubSubHub Result
The following output properties are available:
- Id string
- Fully qualified resource Id for the resource.
- Name string
- The name of the resource.
- Properties
Pulumi.
Azure Native. Web Pub Sub. Outputs. Web Pub Sub Hub Properties Response - Properties of a hub.
- 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
- Fully qualified resource Id for the resource.
- Name string
- The name of the resource.
- Properties
Web
Pub Sub Hub Properties Response - Properties of a hub.
- 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
- Fully qualified resource Id for the resource.
- name String
- The name of the resource.
- properties
Web
Pub Sub Hub Properties Response - Properties of a hub.
- 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
- Fully qualified resource Id for the resource.
- name string
- The name of the resource.
- properties
Web
Pub Sub Hub Properties Response - Properties of a hub.
- 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
- Fully qualified resource Id for the resource.
- name str
- The name of the resource.
- properties
Web
Pub Sub Hub Properties Response - Properties of a hub.
- 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
- Fully qualified resource Id for the resource.
- name String
- The name of the resource.
- properties Property Map
- Properties of a hub.
- 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
EventHandlerResponse
- Url
Template string - Gets or sets the EventHandler URL template. You can use a predefined parameter {hub} and {event} inside the template, the value of the EventHandler URL is dynamically calculated when the client request comes in.
For example, UrlTemplate can be
http://example.com/api/{hub}/{event}
. The host part can't contains parameters. - Auth
Pulumi.
Azure Native. Web Pub Sub. Inputs. Upstream Auth Settings Response - Upstream auth settings. If not set, no auth is used for upstream messages.
- System
Events List<string> - Gets or sets the list of system events.
- User
Event stringPattern - Gets or sets the matching pattern for event names. There are 3 kinds of patterns supported: 1. "*", it matches any event name 2. Combine multiple events with ",", for example "event1,event2", it matches event "event1" and "event2" 3. A single event name, for example, "event1", it matches "event1"
- Url
Template string - Gets or sets the EventHandler URL template. You can use a predefined parameter {hub} and {event} inside the template, the value of the EventHandler URL is dynamically calculated when the client request comes in.
For example, UrlTemplate can be
http://example.com/api/{hub}/{event}
. The host part can't contains parameters. - Auth
Upstream
Auth Settings Response - Upstream auth settings. If not set, no auth is used for upstream messages.
- System
Events []string - Gets or sets the list of system events.
- User
Event stringPattern - Gets or sets the matching pattern for event names. There are 3 kinds of patterns supported: 1. "*", it matches any event name 2. Combine multiple events with ",", for example "event1,event2", it matches event "event1" and "event2" 3. A single event name, for example, "event1", it matches "event1"
- url
Template String - Gets or sets the EventHandler URL template. You can use a predefined parameter {hub} and {event} inside the template, the value of the EventHandler URL is dynamically calculated when the client request comes in.
For example, UrlTemplate can be
http://example.com/api/{hub}/{event}
. The host part can't contains parameters. - auth
Upstream
Auth Settings Response - Upstream auth settings. If not set, no auth is used for upstream messages.
- system
Events List<String> - Gets or sets the list of system events.
- user
Event StringPattern - Gets or sets the matching pattern for event names. There are 3 kinds of patterns supported: 1. "*", it matches any event name 2. Combine multiple events with ",", for example "event1,event2", it matches event "event1" and "event2" 3. A single event name, for example, "event1", it matches "event1"
- url
Template string - Gets or sets the EventHandler URL template. You can use a predefined parameter {hub} and {event} inside the template, the value of the EventHandler URL is dynamically calculated when the client request comes in.
For example, UrlTemplate can be
http://example.com/api/{hub}/{event}
. The host part can't contains parameters. - auth
Upstream
Auth Settings Response - Upstream auth settings. If not set, no auth is used for upstream messages.
- system
Events string[] - Gets or sets the list of system events.
- user
Event stringPattern - Gets or sets the matching pattern for event names. There are 3 kinds of patterns supported: 1. "*", it matches any event name 2. Combine multiple events with ",", for example "event1,event2", it matches event "event1" and "event2" 3. A single event name, for example, "event1", it matches "event1"
- url_
template str - Gets or sets the EventHandler URL template. You can use a predefined parameter {hub} and {event} inside the template, the value of the EventHandler URL is dynamically calculated when the client request comes in.
For example, UrlTemplate can be
http://example.com/api/{hub}/{event}
. The host part can't contains parameters. - auth
Upstream
Auth Settings Response - Upstream auth settings. If not set, no auth is used for upstream messages.
- system_
events Sequence[str] - Gets or sets the list of system events.
- user_
event_ strpattern - Gets or sets the matching pattern for event names. There are 3 kinds of patterns supported: 1. "*", it matches any event name 2. Combine multiple events with ",", for example "event1,event2", it matches event "event1" and "event2" 3. A single event name, for example, "event1", it matches "event1"
- url
Template String - Gets or sets the EventHandler URL template. You can use a predefined parameter {hub} and {event} inside the template, the value of the EventHandler URL is dynamically calculated when the client request comes in.
For example, UrlTemplate can be
http://example.com/api/{hub}/{event}
. The host part can't contains parameters. - auth Property Map
- Upstream auth settings. If not set, no auth is used for upstream messages.
- system
Events List<String> - Gets or sets the list of system events.
- user
Event StringPattern - Gets or sets the matching pattern for event names. There are 3 kinds of patterns supported: 1. "*", it matches any event name 2. Combine multiple events with ",", for example "event1,event2", it matches event "event1" and "event2" 3. A single event name, for example, "event1", it matches "event1"
EventHubEndpointResponse
- Event
Hub stringName - The name of the Event Hub.
- Fully
Qualified stringNamespace - The fully qualified namespace name of the Event Hub resource. For example, "example.servicebus.windows.net".
- Event
Hub stringName - The name of the Event Hub.
- Fully
Qualified stringNamespace - The fully qualified namespace name of the Event Hub resource. For example, "example.servicebus.windows.net".
- event
Hub StringName - The name of the Event Hub.
- fully
Qualified StringNamespace - The fully qualified namespace name of the Event Hub resource. For example, "example.servicebus.windows.net".
- event
Hub stringName - The name of the Event Hub.
- fully
Qualified stringNamespace - The fully qualified namespace name of the Event Hub resource. For example, "example.servicebus.windows.net".
- event_
hub_ strname - The name of the Event Hub.
- fully_
qualified_ strnamespace - The fully qualified namespace name of the Event Hub resource. For example, "example.servicebus.windows.net".
- event
Hub StringName - The name of the Event Hub.
- fully
Qualified StringNamespace - The fully qualified namespace name of the Event Hub resource. For example, "example.servicebus.windows.net".
EventListenerResponse
- Endpoint
Pulumi.
Azure Native. Web Pub Sub. Inputs. Event Hub Endpoint Response - An endpoint specifying where Web PubSub should send events to.
- Filter
Pulumi.
Azure Native. Web Pub Sub. Inputs. Event Name Filter Response - A base class for event filter which determines whether an event should be sent to an event listener.
- Endpoint
Event
Hub Endpoint Response - An endpoint specifying where Web PubSub should send events to.
- Filter
Event
Name Filter Response - A base class for event filter which determines whether an event should be sent to an event listener.
- endpoint
Event
Hub Endpoint Response - An endpoint specifying where Web PubSub should send events to.
- filter
Event
Name Filter Response - A base class for event filter which determines whether an event should be sent to an event listener.
- endpoint
Event
Hub Endpoint Response - An endpoint specifying where Web PubSub should send events to.
- filter
Event
Name Filter Response - A base class for event filter which determines whether an event should be sent to an event listener.
- endpoint
Event
Hub Endpoint Response - An endpoint specifying where Web PubSub should send events to.
- filter
Event
Name Filter Response - A base class for event filter which determines whether an event should be sent to an event listener.
- endpoint Property Map
- An endpoint specifying where Web PubSub should send events to.
- filter Property Map
- A base class for event filter which determines whether an event should be sent to an event listener.
EventNameFilterResponse
- System
Events List<string> - Gets or sets a list of system events. Supported events: "connected" and "disconnected". Blocking event "connect" is not supported because it requires a response.
- User
Event stringPattern - Gets or sets a matching pattern for event names. There are 3 kinds of patterns supported: 1. "*", it matches any event name 2. Combine multiple events with ",", for example "event1,event2", it matches events "event1" and "event2" 3. A single event name, for example, "event1", it matches "event1"
- System
Events []string - Gets or sets a list of system events. Supported events: "connected" and "disconnected". Blocking event "connect" is not supported because it requires a response.
- User
Event stringPattern - Gets or sets a matching pattern for event names. There are 3 kinds of patterns supported: 1. "*", it matches any event name 2. Combine multiple events with ",", for example "event1,event2", it matches events "event1" and "event2" 3. A single event name, for example, "event1", it matches "event1"
- system
Events List<String> - Gets or sets a list of system events. Supported events: "connected" and "disconnected". Blocking event "connect" is not supported because it requires a response.
- user
Event StringPattern - Gets or sets a matching pattern for event names. There are 3 kinds of patterns supported: 1. "*", it matches any event name 2. Combine multiple events with ",", for example "event1,event2", it matches events "event1" and "event2" 3. A single event name, for example, "event1", it matches "event1"
- system
Events string[] - Gets or sets a list of system events. Supported events: "connected" and "disconnected". Blocking event "connect" is not supported because it requires a response.
- user
Event stringPattern - Gets or sets a matching pattern for event names. There are 3 kinds of patterns supported: 1. "*", it matches any event name 2. Combine multiple events with ",", for example "event1,event2", it matches events "event1" and "event2" 3. A single event name, for example, "event1", it matches "event1"
- system_
events Sequence[str] - Gets or sets a list of system events. Supported events: "connected" and "disconnected". Blocking event "connect" is not supported because it requires a response.
- user_
event_ strpattern - Gets or sets a matching pattern for event names. There are 3 kinds of patterns supported: 1. "*", it matches any event name 2. Combine multiple events with ",", for example "event1,event2", it matches events "event1" and "event2" 3. A single event name, for example, "event1", it matches "event1"
- system
Events List<String> - Gets or sets a list of system events. Supported events: "connected" and "disconnected". Blocking event "connect" is not supported because it requires a response.
- user
Event StringPattern - Gets or sets a matching pattern for event names. There are 3 kinds of patterns supported: 1. "*", it matches any event name 2. Combine multiple events with ",", for example "event1,event2", it matches events "event1" and "event2" 3. A single event name, for example, "event1", it matches "event1"
ManagedIdentitySettingsResponse
- 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
- 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.
UpstreamAuthSettingsResponse
- 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.
WebPubSubHubPropertiesResponse
- Anonymous
Connect stringPolicy - The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny".
- Event
Handlers List<Pulumi.Azure Native. Web Pub Sub. Inputs. Event Handler Response> - Event handler of a hub.
- Event
Listeners List<Pulumi.Azure Native. Web Pub Sub. Inputs. Event Listener Response> - Event listener settings for forwarding your client events to listeners. Event listener is transparent to Web PubSub clients, and it doesn't return any result to clients nor interrupt the lifetime of clients. One event can be sent to multiple listeners, as long as it matches the filters in those listeners. The order of the array elements doesn't matter. Maximum count of event listeners among all hubs is 10.
- Anonymous
Connect stringPolicy - The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny".
- Event
Handlers []EventHandler Response - Event handler of a hub.
- Event
Listeners []EventListener Response - Event listener settings for forwarding your client events to listeners. Event listener is transparent to Web PubSub clients, and it doesn't return any result to clients nor interrupt the lifetime of clients. One event can be sent to multiple listeners, as long as it matches the filters in those listeners. The order of the array elements doesn't matter. Maximum count of event listeners among all hubs is 10.
- anonymous
Connect StringPolicy - The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny".
- event
Handlers List<EventHandler Response> - Event handler of a hub.
- event
Listeners List<EventListener Response> - Event listener settings for forwarding your client events to listeners. Event listener is transparent to Web PubSub clients, and it doesn't return any result to clients nor interrupt the lifetime of clients. One event can be sent to multiple listeners, as long as it matches the filters in those listeners. The order of the array elements doesn't matter. Maximum count of event listeners among all hubs is 10.
- anonymous
Connect stringPolicy - The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny".
- event
Handlers EventHandler Response[] - Event handler of a hub.
- event
Listeners EventListener Response[] - Event listener settings for forwarding your client events to listeners. Event listener is transparent to Web PubSub clients, and it doesn't return any result to clients nor interrupt the lifetime of clients. One event can be sent to multiple listeners, as long as it matches the filters in those listeners. The order of the array elements doesn't matter. Maximum count of event listeners among all hubs is 10.
- anonymous_
connect_ strpolicy - The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny".
- event_
handlers Sequence[EventHandler Response] - Event handler of a hub.
- event_
listeners Sequence[EventListener Response] - Event listener settings for forwarding your client events to listeners. Event listener is transparent to Web PubSub clients, and it doesn't return any result to clients nor interrupt the lifetime of clients. One event can be sent to multiple listeners, as long as it matches the filters in those listeners. The order of the array elements doesn't matter. Maximum count of event listeners among all hubs is 10.
- anonymous
Connect StringPolicy - The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny".
- event
Handlers List<Property Map> - Event handler of a hub.
- event
Listeners List<Property Map> - Event listener settings for forwarding your client events to listeners. Event listener is transparent to Web PubSub clients, and it doesn't return any result to clients nor interrupt the lifetime of clients. One event can be sent to multiple listeners, as long as it matches the filters in those listeners. The order of the array elements doesn't matter. Maximum count of event listeners among all hubs is 10.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
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