Share via


NetworkDeviceRebootContent Class

Definition

Reboot properties.

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

Constructors

NetworkDeviceRebootContent()

Initializes a new instance of NetworkDeviceRebootContent.

Properties

RebootType

Type of reboot to be performed. Example: GracefulRebootWithZTP.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<NetworkDeviceRebootContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<NetworkDeviceRebootContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NetworkDeviceRebootContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<NetworkDeviceRebootContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<NetworkDeviceRebootContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to