Share via


AccessKeys Class

Definition

The secret access keys used for authenticating connections to redis

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Models.Api20240901Preview.AccessKeysTypeConverter))]
public class AccessKeys : Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Models.Api20240901Preview.IAccessKeys
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Models.Api20240901Preview.AccessKeysTypeConverter))>]
type AccessKeys = class
    interface IAccessKeys
    interface IJsonSerializable
Public Class AccessKeys
Implements IAccessKeys
Inheritance
AccessKeys
Attributes
Implements

Constructors

AccessKeys()

Creates an new AccessKeys instance.

Properties

PrimaryKey

The current primary key that clients can use to authenticate

SecondaryKey

The current secondary key that clients can use to authenticate

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AccessKeys.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AccessKeys.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Models.Api20240901Preview.IAccessKeys.

FromJsonString(String)

Creates a new instance of AccessKeys, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of AccessKeys into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to