WebPubSubHub Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A hub setting
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.WebPubSubHubTypeConverter))]
public class WebPubSubHub : Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.IWebPubSubHub, Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.WebPubSubHubTypeConverter))>]
type WebPubSubHub = class
interface IWebPubSubHub
interface IJsonSerializable
interface IResource
interface IValidates
Public Class WebPubSubHub
Implements IValidates, IWebPubSubHub
- Inheritance
-
WebPubSubHub
- Attributes
- Implements
Constructors
WebPubSubHub() |
Creates an new WebPubSubHub instance. |
Properties
AnonymousConnectPolicy |
The settings for configuring if anonymous connections are allowed for this hub: "allow" or "deny". Default to "deny". |
EventHandler |
Event handler of a hub. |
EventListener |
Event listener settings for forwarding your client events to listeners. Event listener is transparent to Web PubSub clients, and it doesn't return any result to clients nor interrupt the lifetime of clients. One event can be sent to multiple listeners, as long as it matches the filters in those listeners. The order of the array elements doesn't matter. Maximum count of event listeners among all hubs is 10. |
Id |
Fully qualified resource Id for the resource. |
Name |
The name of the resource. |
SystemDataCreatedAt |
The timestamp of resource creation (UTC). |
SystemDataCreatedBy |
The identity that created the resource. |
SystemDataCreatedByType |
The type of identity that created the resource. |
SystemDataLastModifiedAt |
The timestamp of resource last modification (UTC) |
SystemDataLastModifiedBy |
The identity that last modified the resource. |
SystemDataLastModifiedByType |
The type of identity that last modified the resource. |
Type |
The type of the resource - e.g. "Microsoft.SignalRService/SignalR" |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of WebPubSubHub. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of WebPubSubHub. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Models.Api20220801Preview.IWebPubSubHub. |
FromJsonString(String) |
Creates a new instance of WebPubSubHub, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of WebPubSubHub into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
Validate(IEventListener) |
Validates that this object meets the validation criteria. |