Interface DnsZone.DefinitionStages.WithZoneType
-
- All Known Subinterfaces:
DnsZone.Definition,DnsZone.DefinitionStages.WithCreate
- Enclosing interface:
- DnsZone.DefinitionStages
@Beta(V1_9_0) public static interface DnsZone.DefinitionStages.WithZoneTypeThe stage of the DNS zone definition allowing to specify Zone access type.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DnsZone.DefinitionStages.WithCreatewithPrivateAccess()Sets the type of this zone to Private.DnsZone.DefinitionStages.WithCreatewithPrivateAccess(List<String> registrationVirtualNetworkIds, List<String> resolutionVirtualNetworkIds)Sets the type of this zone to Private.DnsZone.DefinitionStages.WithCreatewithPublicAccess()Sets the type of this zone to Public (default behavior).
-
-
-
Method Detail
-
withPublicAccess
@Beta(V1_9_0) DnsZone.DefinitionStages.WithCreate withPublicAccess()
Sets the type of this zone to Public (default behavior).- Returns:
- the next stage of the definition
-
withPrivateAccess
@Beta(V1_9_0) DnsZone.DefinitionStages.WithCreate withPrivateAccess()
Sets the type of this zone to Private.- Returns:
- the next stage of the definition
-
withPrivateAccess
@Beta(V1_9_0) DnsZone.DefinitionStages.WithCreate withPrivateAccess(List<String> registrationVirtualNetworkIds, List<String> resolutionVirtualNetworkIds)
Sets the type of this zone to Private.- Parameters:
registrationVirtualNetworkIds- a list of references to virtual networks that register hostnames in this DNS zone.resolutionVirtualNetworkIds- a list of references to virtual networks that resolve records in this DNS zone.- Returns:
- the next stage of the definition
-
-