Dela via


EventHubsRegenerateAccessKeyContent Class

Definition

Parameters supplied to the Regenerate Authorization Rule operation, specifies which key needs to be reset.

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

Constructors

EventHubsRegenerateAccessKeyContent(EventHubsAccessKeyType)

Initializes a new instance of EventHubsRegenerateAccessKeyContent.

Properties

Key

Optional, if the key value provided, is set for KeyType or autogenerated Key value set for keyType.

KeyType

The access key to regenerate.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<EventHubsRegenerateAccessKeyContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<EventHubsRegenerateAccessKeyContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<EventHubsRegenerateAccessKeyContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<EventHubsRegenerateAccessKeyContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<EventHubsRegenerateAccessKeyContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to