共用方式為


NotificationHubPolicyKey Class

Definition

Namespace/NotificationHub Regenerate Keys.

public class NotificationHubPolicyKey
public class NotificationHubPolicyKey : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.NotificationHubs.Models.NotificationHubPolicyKey>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.NotificationHubs.Models.NotificationHubPolicyKey>
type NotificationHubPolicyKey = class
type NotificationHubPolicyKey = class
    interface IJsonModel<NotificationHubPolicyKey>
    interface IPersistableModel<NotificationHubPolicyKey>
Public Class NotificationHubPolicyKey
Public Class NotificationHubPolicyKey
Implements IJsonModel(Of NotificationHubPolicyKey), IPersistableModel(Of NotificationHubPolicyKey)
Inheritance
NotificationHubPolicyKey
Implements

Constructors

NotificationHubPolicyKey(String)

Initializes a new instance of NotificationHubPolicyKey.

Properties

PolicyKey

Name of the key that has to be regenerated for the Namespace/Notification Hub Authorization Rule. The value can be Primary Key/Secondary Key.

Explicit Interface Implementations

IJsonModel<NotificationHubPolicyKey>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<NotificationHubPolicyKey>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NotificationHubPolicyKey>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<NotificationHubPolicyKey>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<NotificationHubPolicyKey>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to