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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應