Action.FromJson(JsonNode) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IAction. Note: the Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IAction 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.Chaos.Models.IAction FromJson(Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.Json.JsonNode node);
static member FromJson : Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.Json.JsonNode -> Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IAction
Public Shared Function FromJson (node As JsonNode) As IAction
Parameters
Returns
an instance of Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IAction.