ServiceBus 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.
Properties related to ServiceBus.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DigitalTwins.Models.ServiceBusTypeConverter))]
public class ServiceBus : Microsoft.Azure.PowerShell.Cmdlets.DigitalTwins.Models.IServiceBus, Microsoft.Azure.PowerShell.Cmdlets.DigitalTwins.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DigitalTwins.Models.ServiceBusTypeConverter))>]
type ServiceBus = class
interface IServiceBus
interface IJsonSerializable
interface IDigitalTwinsEndpointResourceProperties
interface IValidates
Public Class ServiceBus
Implements IServiceBus, IValidates
- Inheritance
-
ServiceBus
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| ServiceBus() |
Creates an new ServiceBus instance. |
Properties
| Name | Description |
|---|---|
| AuthenticationType |
Specifies the authentication type being used for connecting to the endpoint. Defaults to 'KeyBased'. If 'KeyBased' is selected, a connection string must be specified (at least the primary connection string). If 'IdentityBased' is select, the endpointUri and entityPath properties must be specified. |
| CreatedTime |
Time when the Endpoint was added to DigitalTwinsInstance. |
| DeadLetterSecret |
Dead letter storage secret for key-based authentication. Will be obfuscated during read. |
| DeadLetterUri |
Dead letter storage URL for identity-based authentication. |
| EndpointType |
The type of Digital Twins endpoint |
| EndpointUri |
The URL of the ServiceBus namespace for identity-based authentication. It must include the protocol 'sb://'. |
| EntityPath |
The ServiceBus Topic name for identity-based authentication. |
| PrimaryConnectionString |
PrimaryConnectionString of the endpoint for key-based authentication. Will be obfuscated during read. |
| ProvisioningState |
The provisioning state. |
| SecondaryConnectionString |
SecondaryConnectionString of the endpoint for key-based authentication. Will be obfuscated during read. |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of ServiceBus. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of ServiceBus. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DigitalTwins.Models.IServiceBus. |
| FromJsonString(String) |
Creates a new instance of ServiceBus, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of ServiceBus into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |
| Validate(IEventListener) |
Validates that this object meets the validation criteria. |