BrokerResourceRule 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.
Broker Resource Rule properties. This defines the objects that represent the actions or topics, such as - method.Connect, method.Publish, etc.
public class BrokerResourceRule : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.IotOperations.Models.BrokerResourceRule>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.IotOperations.Models.BrokerResourceRule>
type BrokerResourceRule = class
interface IJsonModel<BrokerResourceRule>
interface IPersistableModel<BrokerResourceRule>
Public Class BrokerResourceRule
Implements IJsonModel(Of BrokerResourceRule), IPersistableModel(Of BrokerResourceRule)
- Inheritance
-
BrokerResourceRule
- Implements
Constructors
BrokerResourceRule(BrokerResourceDefinitionMethod) |
Initializes a new instance of BrokerResourceRule. |
Properties
ClientIds |
A list of client IDs that match the clients. The client IDs are case-sensitive and must match the client IDs provided by the clients during connection. This subfield may be set if the method is Connect. |
Method |
Give access for a Broker method (i.e., Connect, Subscribe, or Publish). |
Topics |
A list of topics or topic patterns that match the topics that the clients can publish or subscribe to. This subfield is required if the method is Publish or Subscribe. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<BrokerResourceRule>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<BrokerResourceRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<BrokerResourceRule>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<BrokerResourceRule>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<BrokerResourceRule>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET