VirtualNetworkDnsForwardingRulesetInner Class

  • java.lang.Object
    • com.azure.resourcemanager.dnsresolver.fluent.models.VirtualNetworkDnsForwardingRulesetInner

Implements

public final class VirtualNetworkDnsForwardingRulesetInner
implements JsonSerializable<VirtualNetworkDnsForwardingRulesetInner>

Reference to DNS forwarding ruleset and associated virtual network link.

Method Summary

Modifier and Type Method and Description
static VirtualNetworkDnsForwardingRulesetInner fromJson(JsonReader jsonReader)

Reads an instance of VirtualNetworkDnsForwardingRulesetInner from the JsonReader.

String id()

Get the id property: DNS Forwarding Ruleset Resource ID.

JsonWriter toJson(JsonWriter jsonWriter)
SubResource virtualNetworkLink()

Get the virtualNetworkLink property: The reference to the virtual network link.

Methods inherited from java.lang.Object

Method Details

fromJson

public static VirtualNetworkDnsForwardingRulesetInner fromJson(JsonReader jsonReader)

Reads an instance of VirtualNetworkDnsForwardingRulesetInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of VirtualNetworkDnsForwardingRulesetInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the VirtualNetworkDnsForwardingRulesetInner.

id

public String id()

Get the id property: DNS Forwarding Ruleset Resource ID.

Returns:

the id value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

virtualNetworkLink

public SubResource virtualNetworkLink()

Get the virtualNetworkLink property: The reference to the virtual network link.

Returns:

the virtualNetworkLink value.

Applies to