Share via


GpuResource.FromJsonString(String) Method

Definition

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

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

Parameters

jsonText
String

a string containing a JSON serialized instance of this model.

Returns

an instance of the GpuResource model class.

Applies to