Share via


PrometheusForwarderDataSource.FromJsonString(String) Method

Definition

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

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

Parameters

jsonText
String

a string containing a JSON serialized instance of this model.

Returns

an instance of the PrometheusForwarderDataSource model class.

Applies to