次の方法で共有


DiscardRequest Class

Definition

Defines the request body for discard operation.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.DiscardRequestTypeConverter))]
public class DiscardRequest : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IDiscardRequest
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.DiscardRequestTypeConverter))>]
type DiscardRequest = class
    interface IDiscardRequest
    interface IJsonSerializable
Public Class DiscardRequest
Implements IDiscardRequest
Inheritance
DiscardRequest
Attributes
Implements

Constructors

DiscardRequest()

Creates an new DiscardRequest instance.

Properties

MoveResource

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.

MoveResourceInputType

Defines the move resource input type.

ValidateOnly

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DiscardRequest.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DiscardRequest.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IDiscardRequest.

FromJsonString(String)

Creates a new instance of DiscardRequest, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of DiscardRequest into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to