次の方法で共有


RetentionPolicy.FromJsonString(String) Method

Definition

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

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

Parameters

jsonText
String

a string containing a JSON serialized instance of this model.

Returns

an instance of the RetentionPolicy model class.

Applies to