你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AlertRuleTemplate.FromJson(JsonNode) Method

Definition

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.IAlertRuleTemplate. Note: the Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.IAlertRuleTemplate interface is polymorphic, and the precise model class that will get deserialized is determined at runtime based on the payload.

public static Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.IAlertRuleTemplate FromJson (Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Runtime.Json.JsonNode node);
static member FromJson : Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Runtime.Json.JsonNode -> Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.IAlertRuleTemplate
Public Shared Function FromJson (node As JsonNode) As IAlertRuleTemplate

Parameters

node
JsonNode

a JsonNode to deserialize from.

Returns

an instance of Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.IAlertRuleTemplate.

Applies to