DiscardRequest Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |