Share via


AccessKeys Class

Definition

Namespace/Relay Connection String

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

KeyName

A string that describes the authorization rule.

PrimaryConnectionString

Primary connection string of the created namespace authorization rule.

PrimaryKey

A base64-encoded 256-bit primary key for signing and validating the SAS token.

SecondaryConnectionString

Secondary connection string of the created namespace authorization rule.

SecondaryKey

A base64-encoded 256-bit secondary key for signing and validating the SAS token.

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.Relay.Models.Api20211101.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.

ToString()

Applies to