ArmIotOperationsModelFactory.StateStoreResourceRule Method

Definition

public static Azure.ResourceManager.IotOperations.Models.StateStoreResourceRule StateStoreResourceRule(Azure.ResourceManager.IotOperations.Models.StateStoreResourceKeyType keyType = default, System.Collections.Generic.IEnumerable<string> keys = default, Azure.ResourceManager.IotOperations.Models.StateStoreResourceDefinitionMethod method = default);
static member StateStoreResourceRule : Azure.ResourceManager.IotOperations.Models.StateStoreResourceKeyType * seq<string> * Azure.ResourceManager.IotOperations.Models.StateStoreResourceDefinitionMethod -> Azure.ResourceManager.IotOperations.Models.StateStoreResourceRule
Public Shared Function StateStoreResourceRule (Optional keyType As StateStoreResourceKeyType = Nothing, Optional keys As IEnumerable(Of String) = Nothing, Optional method As StateStoreResourceDefinitionMethod = Nothing) As StateStoreResourceRule

Parameters

keyType
StateStoreResourceKeyType

Allowed keyTypes pattern, string, binary. The key type used for matching, for example pattern tries to match the key to a glob-style pattern and string checks key is equal to value provided in keys.

keys
IEnumerable<String>

Give access to state store keys for the corresponding principals defined. When key type is pattern set glob-style pattern (e.g., '', 'clients/').

method
StateStoreResourceDefinitionMethod

Give access for Read, Write and ReadWrite access level.

Returns

A new StateStoreResourceRule instance for mocking.

Applies to