Partager via


VirtualMachine.FromJsonString(String) Method

Definition

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

public static Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.IVirtualMachine FromJsonString (string jsonText);
static member FromJsonString : string -> Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.IVirtualMachine
Public Shared Function FromJsonString (jsonText As String) As IVirtualMachine

Parameters

jsonText
String

a string containing a JSON serialized instance of this model.

Returns

an instance of the VirtualMachine model class.

Applies to