Class DnsResolverProperties
java.lang.Object
com.azure.resourcemanager.dnsresolver.fluent.models.DnsResolverProperties
Represents the properties of a DNS resolver.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the dnsResolverState property: The current status of the DNS resolver.Get the provisioningState property: The current provisioning state of the DNS resolver.Get the resourceGuid property: The resourceGuid property of the DNS resolver resource.void
validate()
Validates the instance.com.azure.core.management.SubResource
Get the virtualNetwork property: The reference to the virtual network.withVirtualNetwork
(com.azure.core.management.SubResource virtualNetwork) Set the virtualNetwork property: The reference to the virtual network.
-
Constructor Details
-
DnsResolverProperties
public DnsResolverProperties()
-
-
Method Details
-
virtualNetwork
public com.azure.core.management.SubResource virtualNetwork()Get the virtualNetwork property: The reference to the virtual network. This cannot be changed after creation.- Returns:
- the virtualNetwork value.
-
withVirtualNetwork
public DnsResolverProperties withVirtualNetwork(com.azure.core.management.SubResource virtualNetwork) Set the virtualNetwork property: The reference to the virtual network. This cannot be changed after creation.- Parameters:
virtualNetwork
- the virtualNetwork value to set.- Returns:
- the DnsResolverProperties object itself.
-
dnsResolverState
Get the dnsResolverState property: The current status of the DNS resolver. This is a read-only property and any attempt to set this value will be ignored.- Returns:
- the dnsResolverState value.
-
provisioningState
Get the provisioningState property: The current provisioning state of the DNS resolver. This is a read-only property and any attempt to set this value will be ignored.- Returns:
- the provisioningState value.
-
resourceGuid
Get the resourceGuid property: The resourceGuid property of the DNS resolver resource.- Returns:
- the resourceGuid value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-