Sdílet prostřednictvím


RelayRegenerateAccessKeyContent Class

Definition

Parameters supplied to the regenerate authorization rule operation, specifies which key needs to be reset.

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

Constructors

RelayRegenerateAccessKeyContent(RelayAccessKeyType)

Initializes a new instance of RelayRegenerateAccessKeyContent.

Properties

Key

Optional. If the key value is provided, this is set to key type, or autogenerated key value set for key type.

KeyType

The access key to regenerate.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<RelayRegenerateAccessKeyContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RelayRegenerateAccessKeyContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RelayRegenerateAccessKeyContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RelayRegenerateAccessKeyContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RelayRegenerateAccessKeyContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to