CommitRequest Class

Definition

Defines the request body for commit operation.

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

Constructors

CommitRequest()

Creates an new CommitRequest 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 CommitRequest.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CommitRequest.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of CommitRequest into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to