ArmRedisModelFactory.RedisAccessKeys(String, String) 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.
Initializes a new instance of RedisAccessKeys.
public static Azure.ResourceManager.Redis.Models.RedisAccessKeys RedisAccessKeys (string primaryKey = default, string secondaryKey = default);
static member RedisAccessKeys : string * string -> Azure.ResourceManager.Redis.Models.RedisAccessKeys
Public Shared Function RedisAccessKeys (Optional primaryKey As String = Nothing, Optional secondaryKey As String = Nothing) As RedisAccessKeys
Parameters
- primaryKey
- String
The current primary key that clients can use to authenticate with Redis cache.
- secondaryKey
- String
The current secondary key that clients can use to authenticate with Redis cache.
Returns
A new RedisAccessKeys instance for mocking.