Share via


MoverDiscardContent Class

Definition

Defines the request body for discard operation.

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

Constructors

MoverDiscardContent(IEnumerable<ResourceIdentifier>)

Initializes a new instance of MoverDiscardContent.

Properties

MoverResourceInputType

Defines the move resource input type.

MoverResources

Gets or sets the list of resource Id's, by default it accepts move resource id's unless the input type is switched via moveResourceInputType property.

ValidateOnly

Gets or sets a value indicating whether the operation needs to only run pre-requisite.

Explicit Interface Implementations

IJsonModel<MoverDiscardContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MoverDiscardContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MoverDiscardContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MoverDiscardContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MoverDiscardContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to