ArmIotOperationsModelFactory.PrincipalConfig Method

Definition

public static Azure.ResourceManager.IotOperations.Models.PrincipalConfig PrincipalConfig(System.Collections.Generic.IEnumerable<System.Collections.Generic.IDictionary<string,string>> attributes = default, System.Collections.Generic.IEnumerable<string> clientIds = default, System.Collections.Generic.IEnumerable<string> usernames = default);
static member PrincipalConfig : seq<System.Collections.Generic.IDictionary<string, string>> * seq<string> * seq<string> -> Azure.ResourceManager.IotOperations.Models.PrincipalConfig
Public Shared Function PrincipalConfig (Optional attributes As IEnumerable(Of IDictionary(Of String, String)) = Nothing, Optional clientIds As IEnumerable(Of String) = Nothing, Optional usernames As IEnumerable(Of String) = Nothing) As PrincipalConfig

Parameters

attributes
IEnumerable<IDictionary<String,String>>

A list of key-value pairs that match the attributes of the clients. The attributes are case-sensitive and must match the attributes provided by the clients during authentication.

clientIds
IEnumerable<String>

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.

usernames
IEnumerable<String>

A list of usernames that match the clients. The usernames are case-sensitive and must match the usernames provided by the clients during authentication.

Returns

A new PrincipalConfig instance for mocking.

Applies to