你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
AccessKeys Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Namespace/EventHub Connection String
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat]
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.AccessKeysTypeConverter))]
public class AccessKeys : Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IAccessKeys
[<Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat>]
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.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 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.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() |