Interface Registry.UpdateStages.WithPublicNetworkAccess
- All Known Subinterfaces:
Registry.Update
- Enclosing interface:
- Registry.UpdateStages
public static interface Registry.UpdateStages.WithPublicNetworkAccess
The stage of the container registry definition allowing to change public network access.
-
Method Summary
Modifier and TypeMethodDescriptionDisables public network access for the container registry, for private link feature.Enables public network access for the container registry.Specifies that by default access to container registry should be allowed from all networks.withAccessFromIpAddress(String ipAddress) Specifies that access to the container registry from the specific ip address should be allowed.withAccessFromIpAddressRange(String ipAddressCidr) Specifies that access to the container registry from the specific ip range should be allowed.Specifies that by default access to container registry should be denied from all networks except from those networks specified viaRegistry.DefinitionStages.WithPublicNetworkAccess.withAccessFromIpAddress(String)()}withAccessFromIpAddressRange(String).Specifies that access to the container registry from trusted services should be allowed regardless of whether public network access is disabled.withoutAccessFromIpAddress(String ipAddress) Remove the allowed ip address.withoutAccessFromIpAddressRange(String ipAddressCidr) Remove the allowed ip address range.Specifies that access to the container registry from trusted services should be denied when public network access is disabled.
-
Method Details
-
enablePublicNetworkAccess
Registry.Update enablePublicNetworkAccess()Enables public network access for the container registry.- Returns:
- the next stage of the update
-
disablePublicNetworkAccess
Registry.Update disablePublicNetworkAccess()Disables public network access for the container registry, for private link feature.- Returns:
- the next stage of the update
-
withAccessFromSelectedNetworks
Registry.Update withAccessFromSelectedNetworks()Specifies that by default access to container registry should be denied from all networks except from those networks specified viaRegistry.DefinitionStages.WithPublicNetworkAccess.withAccessFromIpAddress(String)()}withAccessFromIpAddressRange(String).- Returns:
- the next stage of the definition
-
withAccessFromAllNetworks
Registry.Update withAccessFromAllNetworks()Specifies that by default access to container registry should be allowed from all networks.- Returns:
- the next stage of the definition
-
withAccessFromIpAddressRange
Specifies that access to the container registry from the specific ip range should be allowed.- Parameters:
ipAddressCidr- the ip address range expressed in cidr format- Returns:
- the next stage of the definition
-
withoutAccessFromIpAddressRange
Remove the allowed ip address range.- Parameters:
ipAddressCidr- the ip address range expressed in cidr format- Returns:
- the next stage of the definition
-
withAccessFromIpAddress
Specifies that access to the container registry from the specific ip address should be allowed.- Parameters:
ipAddress- the ip address- Returns:
- the next stage of the definition
-
withoutAccessFromIpAddress
Remove the allowed ip address.- Parameters:
ipAddress- the ip address- Returns:
- the next stage of the definition
-
withAccessFromTrustedServices
Registry.Update withAccessFromTrustedServices()Specifies that access to the container registry from trusted services should be allowed regardless of whether public network access is disabled.- Returns:
- the next stage of the definition
- See Also:
-
withoutAccessFromTrustedServices
Registry.Update withoutAccessFromTrustedServices()Specifies that access to the container registry from trusted services should be denied when public network access is disabled. When public network access is allowed, trusted services will still have access to the container registry regardless of this configuration.- Returns:
- the next stage of the definition
-