Share via


DataCollectionRule.FromJsonString(String) Method

Definition

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

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

Parameters

jsonText
String

a string containing a JSON serialized instance of this model.

Returns

an instance of the DataCollectionRule model class.

Applies to