Share via


Alert.FromJsonString(String) Method

Definition

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

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

Parameters

jsonText
String

a string containing a JSON serialized instance of this model.

Returns

an instance of the Alert model class.

Applies to