Share via


PrivateEndpoint.ToJson(JsonObject, SerializationMode) Method

Definition

Serializes this instance of PrivateEndpoint into a JsonNode.

public Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Runtime.Json.JsonNode ToJson (Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Runtime.SerializationMode serializationMode);

Parameters

container
JsonObject

The JsonObject container to serialize this object into. If the caller passes in null, a new instance will be created and returned to the caller.

serializationMode
SerializationMode

Allows the caller to choose the depth of the serialization. See SerializationMode.

Returns

a serialized instance of PrivateEndpoint as a JsonNode.

Implements

Applies to

Product Versions
Azure - PowerShell Commands 12 (LTS), Latest