Freigeben über


VirtualMachineInstance.FromJsonString(String) Method

Definition

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

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

Parameters

jsonText
String

a string containing a JSON serialized instance of this model.

Returns

an instance of the VirtualMachineInstance model class.

Applies to