ArmIotOperationsModelFactory.BrokerAuthorizationRule Method
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.
public static Azure.ResourceManager.IotOperations.Models.BrokerAuthorizationRule BrokerAuthorizationRule(System.Collections.Generic.IEnumerable<Azure.ResourceManager.IotOperations.Models.BrokerResourceRule> brokerResources = default, Azure.ResourceManager.IotOperations.Models.PrincipalConfig principals = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.IotOperations.Models.StateStoreResourceRule> stateStoreResources = default);
static member BrokerAuthorizationRule : seq<Azure.ResourceManager.IotOperations.Models.BrokerResourceRule> * Azure.ResourceManager.IotOperations.Models.PrincipalConfig * seq<Azure.ResourceManager.IotOperations.Models.StateStoreResourceRule> -> Azure.ResourceManager.IotOperations.Models.BrokerAuthorizationRule
Public Shared Function BrokerAuthorizationRule (Optional brokerResources As IEnumerable(Of BrokerResourceRule) = Nothing, Optional principals As PrincipalConfig = Nothing, Optional stateStoreResources As IEnumerable(Of StateStoreResourceRule) = Nothing) As BrokerAuthorizationRule
Parameters
- brokerResources
- IEnumerable<BrokerResourceRule>
Give access to Broker methods and topics.
- principals
- PrincipalConfig
Give access to clients based on the following properties.
- stateStoreResources
- IEnumerable<StateStoreResourceRule>
Give access to state store resources.
Returns
A new BrokerAuthorizationRule instance for mocking.