Share via


TargetServiceBase.FromJson(JsonNode) Method

Definition

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ITargetServiceBase. Note: the Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ITargetServiceBase 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.ServiceLinker.Models.Api20221101Preview.ITargetServiceBase FromJson (Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.Json.JsonNode node);
static member FromJson : Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Runtime.Json.JsonNode -> Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ITargetServiceBase
Public Shared Function FromJson (node As JsonNode) As ITargetServiceBase

Parameters

node
JsonNode

a JsonNode to deserialize from.

Returns

an instance of Microsoft.Azure.PowerShell.Cmdlets.ServiceLinker.Models.Api20221101Preview.ITargetServiceBase.

Applies to