Share via


ArmRedisModelFactory.RedisAccessKeys(String, String) Method

Definition

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.

Applies to