public class ZoneInner
extends com.azure.core.management.Resource
| Constructor and Description |
|---|
ZoneInner() |
| Modifier and Type | Method and Description |
|---|---|
String |
etag()
Get the etag property: The etag of the zone.
|
Long |
maxNumberOfRecordSets()
Get the maxNumberOfRecordSets property: The maximum number of record sets that can be created in this DNS zone.
|
List<String> |
nameServers()
Get the nameServers property: The name servers for this DNS zone.
|
Long |
numberOfRecordSets()
Get the numberOfRecordSets property: The current number of record sets in this DNS zone.
|
List<com.azure.core.management.SubResource> |
registrationVirtualNetworks()
Get the registrationVirtualNetworks property: A list of references to virtual networks that register hostnames in
this DNS zone.
|
List<com.azure.core.management.SubResource> |
resolutionVirtualNetworks()
Get the resolutionVirtualNetworks property: A list of references to virtual networks that resolve records in this
DNS zone.
|
void |
validate()
Validates the instance.
|
ZoneInner |
withEtag(String etag)
Set the etag property: The etag of the zone.
|
ZoneInner |
withRegistrationVirtualNetworks(List<com.azure.core.management.SubResource> registrationVirtualNetworks)
Set the registrationVirtualNetworks property: A list of references to virtual networks that register hostnames in
this DNS zone.
|
ZoneInner |
withResolutionVirtualNetworks(List<com.azure.core.management.SubResource> resolutionVirtualNetworks)
Set the resolutionVirtualNetworks property: A list of references to virtual networks that resolve records in this
DNS zone.
|
ZoneInner |
withZoneType(ZoneType zoneType)
Set the zoneType property: The type of this DNS zone (Public or Private).
|
ZoneType |
zoneType()
Get the zoneType property: The type of this DNS zone (Public or Private).
|
public String etag()
public ZoneInner withEtag(String etag)
etag - the etag value to set.public Long maxNumberOfRecordSets()
public Long numberOfRecordSets()
public List<String> nameServers()
public ZoneType zoneType()
public ZoneInner withZoneType(ZoneType zoneType)
zoneType - the zoneType value to set.public List<com.azure.core.management.SubResource> registrationVirtualNetworks()
public ZoneInner withRegistrationVirtualNetworks(List<com.azure.core.management.SubResource> registrationVirtualNetworks)
registrationVirtualNetworks - the registrationVirtualNetworks value to set.public List<com.azure.core.management.SubResource> resolutionVirtualNetworks()
public ZoneInner withResolutionVirtualNetworks(List<com.azure.core.management.SubResource> resolutionVirtualNetworks)
resolutionVirtualNetworks - the resolutionVirtualNetworks value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.