Share via


SaveImageBody Class

Definition

Body for the save image POST

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.SaveImageBodyTypeConverter))]
public class SaveImageBody : Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.ISaveImageBody
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.SaveImageBodyTypeConverter))>]
type SaveImageBody = class
    interface ISaveImageBody
    interface IJsonSerializable
Public Class SaveImageBody
Implements ISaveImageBody
Inheritance
SaveImageBody
Attributes
Implements

Constructors

SaveImageBody()

Creates an new SaveImageBody instance.

Properties

LabVirtualMachineId

The ID of the lab virtual machine you want to save an image from.

Name

The name for the image we create.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SaveImageBody.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SaveImageBody.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.ISaveImageBody.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of SaveImageBody into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to