DnsForwardingRulesetInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. dnsresolver. fluent. models. DnsForwardingRulesetInner
- com.
- com.
- com.
public final class DnsForwardingRulesetInner
extends Resource
Describes a DNS forwarding ruleset.
Constructor Summary
| Constructor | Description |
|---|---|
| DnsForwardingRulesetInner() |
Creates an instance of Dns |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Sub |
dnsResolverOutboundEndpoints()
Get the dns |
| String |
etag()
Get the etag property: "If etag is provided in the response body, it may also be provided as a header per the normal etag convention. |
|
static
Dns |
fromJson(JsonReader jsonReader)
Reads an instance of Dns |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
|
Provisioning |
provisioningState()
Get the provisioning |
| String |
resourceGuid()
Get the resource |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
|
Dns |
withDnsResolverOutboundEndpoints(List<SubResource> dnsResolverOutboundEndpoints)
Set the dns |
|
Dns |
withLocation(String location) |
|
Dns |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
DnsForwardingRulesetInner
public DnsForwardingRulesetInner()
Creates an instance of DnsForwardingRulesetInner class.
Method Details
dnsResolverOutboundEndpoints
public List<SubResource> dnsResolverOutboundEndpoints()
Get the dnsResolverOutboundEndpoints property: The reference to the DNS resolver outbound endpoints that are used to route DNS queries matching the forwarding rules in the ruleset to the target DNS servers.
Returns:
etag
public String etag()
Get the etag property: "If etag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.").
Returns:
fromJson
public static DnsForwardingRulesetInner fromJson(JsonReader jsonReader)
Reads an instance of DnsForwardingRulesetInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
DnsForwardingRulesetInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
DnsForwardingRulesetInner.name()Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The current provisioning state of the DNS forwarding ruleset. This is a read-only property and any attempt to set this value will be ignored.
Returns:
resourceGuid
public String resourceGuid()
Get the resourceGuid property: The resourceGuid for the DNS forwarding ruleset.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DnsForwardingRulesetInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
DnsForwardingRulesetInner.type()Returns:
withDnsResolverOutboundEndpoints
public DnsForwardingRulesetInner withDnsResolverOutboundEndpoints(List<SubResource> dnsResolverOutboundEndpoints)
Set the dnsResolverOutboundEndpoints property: The reference to the DNS resolver outbound endpoints that are used to route DNS queries matching the forwarding rules in the ruleset to the target DNS servers.
Parameters:
Returns:
withLocation
public DnsForwardingRulesetInner withLocation(String location)
Overrides:
DnsForwardingRulesetInner.withLocation(String location)Parameters:
withTags
public DnsForwardingRulesetInner withTags(Map<String,String> tags)
Overrides:
DnsForwardingRulesetInner.withTags(Map<String,String> tags)Parameters: