Freigeben über


AccessKeys Class

Definition

Namespace/ServiceBus Connection String

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