Interface Vault.DefinitionStages.WithNetworkRuleSet
- All Known Subinterfaces:
Vault.Definition,Vault.DefinitionStages.WithCreate
- Enclosing interface:
Vault.DefinitionStages
public static interface Vault.DefinitionStages.WithNetworkRuleSet
A key vault definition allowing the networkAcl to be set.
-
Method Summary
Modifier and TypeMethodDescriptionDisables public network access for the vault, for private link feature.Specifies that by default access to key vault should be allowed from all networks.Specifies that access to the key vault should be allowed from applications running on Microsoft azure services.withAccessFromIpAddress(String ipAddress) Specifies that access to the key vault from the specific ip address should be allowed.withAccessFromIpAddressRange(String ipAddressCidr) Specifies that access to the key vault from the specific ip range should be allowed.Specifies that by default access to key vault should be denied from all networks. except from those networks specified via withVirtualNetworkRules, withAccessFromIpAddressRange, withAccessFromIpAddresswithBypass(NetworkRuleBypassOptions bypass) Set the bypass value.withDefaultAction(NetworkRuleAction defaultAction) Set the defaultAction value.withVirtualNetworkRules(List<VirtualNetworkRule> virtualNetworkRules) Get the virtualNetworkRules value.
-
Method Details
-
disablePublicNetworkAccess
Vault.DefinitionStages.WithCreate disablePublicNetworkAccess()Disables public network access for the vault, for private link feature.- Returns:
- the next stage of the definition
-
withAccessFromAllNetworks
Vault.DefinitionStages.WithCreate withAccessFromAllNetworks()Specifies that by default access to key vault should be allowed from all networks.- Returns:
- the next stage of key vault definition
-
withAccessFromSelectedNetworks
Vault.DefinitionStages.WithCreate withAccessFromSelectedNetworks()Specifies that by default access to key vault should be denied from all networks. except from those networks specified via withVirtualNetworkRules, withAccessFromIpAddressRange, withAccessFromIpAddress- Returns:
- the next stage of key vault definition
-
withAccessFromIpAddress
Specifies that access to the key vault from the specific ip address should be allowed.- Parameters:
ipAddress- the ip address- Returns:
- the next stage of key vault definition
-
withAccessFromIpAddressRange
Specifies that access to the key vault from the specific ip range should be allowed.- Parameters:
ipAddressCidr- the ip address CIDR- Returns:
- the next stage of key vault definition
-
withAccessFromAzureServices
Vault.DefinitionStages.WithCreate withAccessFromAzureServices()Specifies that access to the key vault should be allowed from applications running on Microsoft azure services.- Returns:
- the next stage of key vault definition.
-
withBypass
Set the bypass value.- Parameters:
bypass- the bypass value to set- Returns:
- the next stage of key vault definition.
-
withDefaultAction
Set the defaultAction value.- Parameters:
defaultAction- the defaultAction value to set- Returns:
- the next stage of key vault definition.
-
withVirtualNetworkRules
Vault.DefinitionStages.WithCreate withVirtualNetworkRules(List<VirtualNetworkRule> virtualNetworkRules) Get the virtualNetworkRules value.- Parameters:
virtualNetworkRules- the virtual network rules- Returns:
- the next stage of key vault definition.
-