Freigeben über


AccessKeys Class

Definition

Namespace/EventHub Connection String

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

AliasPrimaryConnectionString

Primary connection string of the alias if GEO DR is enabled

AliasSecondaryConnectionString

Secondary connection string of the alias if GEO DR is enabled

KeyName

A string that describes the AuthorizationRule.

PrimaryConnectionString

Primary connection string of the created namespace AuthorizationRule.

PrimaryKey

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

SecondaryConnectionString

Secondary connection string of the created namespace AuthorizationRule.

SecondaryKey

A base64-encoded 256-bit primary 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.EventHub.Models.Api202301Preview.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