RoutingRuleProperties コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
RoutingRuleProperties の新しいインスタンスを初期化します。
public RoutingRuleProperties (string name, Azure.ResourceManager.IotHub.Models.IotHubRoutingSource source, System.Collections.Generic.IEnumerable<string> endpointNames, bool isEnabled);
new Azure.ResourceManager.IotHub.Models.RoutingRuleProperties : string * Azure.ResourceManager.IotHub.Models.IotHubRoutingSource * seq<string> * bool -> Azure.ResourceManager.IotHub.Models.RoutingRuleProperties
Public Sub New (name As String, source As IotHubRoutingSource, endpointNames As IEnumerable(Of String), isEnabled As Boolean)
パラメーター
- name
- String
ルートの名前。 名前には、英数字、ピリオド、アンダースコア、ハイフンのみを含めることができます。最大長は 64 文字で、一意である必要があります。
- source
- IotHubRoutingSource
ルーティング規則を適用するソース (DeviceMessages など)。
- endpointNames
- IEnumerable<String>
条件を満たすメッセージがルーティングされるエンドポイントの一覧。 現在、許可されているエンドポイントは 1 つだけです。
- isEnabled
- Boolean
ルートが有効かどうかを指定するために使用します。
例外
name または endpointNames が null です。