Share via


PolicyModel.FromJsonString(String) Method

Definition

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

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

Parameters

jsonText
String

a string containing a JSON serialized instance of this model.

Returns

an instance of the PolicyModel model class.

Applies to