DnsZone.UpdateStages.WithZoneType Interface
public static interface DnsZone.UpdateStages.WithZoneType
The stage of the DNS zone update allowing to specify Zone access type.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract Update |
withPrivateAccess()
Sets the type of this zone to Private. |
abstract Update |
withPrivateAccess(List<String> registrationVirtualNetworkIds, List<String> resolutionVirtualNetworkIds)
Sets the type of this zone to Private. |
abstract Update |
withPublicAccess()
Sets the type of this zone to Public (default behavior). |
Method Details
withPrivateAccess
public abstract DnsZone.Update withPrivateAccess()
Sets the type of this zone to Private. Note that this method call will clean any previously set registrationVirtualNetworkIds and resolutionVirtualNetworkIds lists.
Returns:
withPrivateAccess
public abstract DnsZone.Update withPrivateAccess(List
Sets the type of this zone to Private.
Parameters:
Returns:
withPublicAccess
public abstract DnsZone.Update withPublicAccess()
Sets the type of this zone to Public (default behavior).
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for