Share via


PrometheusRule.FromJsonString(String) Method

Definition

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

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

Parameters

jsonText
String

a string containing a JSON serialized instance of this model.

Returns

an instance of the PrometheusRule model class.

Applies to