你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AccessKeys Class

Definition

The secret access keys used for authenticating connections to redis

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Models.Api20230301Preview.AccessKeysTypeConverter))]
public class AccessKeys : Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Models.Api20230301Preview.IAccessKeys
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Models.Api20230301Preview.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.Api20230301Preview.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