Vault.UpdateStages.WithNetworkRuleSet Interface

public static interface Vault.UpdateStages.WithNetworkRuleSet

A key vault update allowing the NetworkRuleSet to be set.

Method Summary

Modifier and Type Method and Description
abstract Update withAccessFromAllNetworks()

Specifies that by default access to key vault should be allowed from all networks.

abstract Update withAccessFromAzureServices()

Specifies that access to the key vault should be allowed from applications running on Microsoft azure services.

abstract Update withAccessFromIpAddress(String ipAddress)

Specifies that access to the key vault from the specific ip address should be allowed.

abstract Update withAccessFromIpAddressRange(String ipAddressCidr)

Specifies that access to the key vault from the specific ip range should be allowed.

abstract Update withAccessFromSelectedNetworks()

Specifies that by default access to key vault should be denied from all networks.

abstract Update withBypass(NetworkRuleBypassOptions bypass)

Set the bypass value.

abstract Update withDefaultAction(NetworkRuleAction defaultAction)

Set the defaultAction value.

abstract Update withVirtualNetworkRules(List<VirtualNetworkRule> virtualNetworkRules)

Get the virtualNetworkRules value.

Method Details

withAccessFromAllNetworks

public abstract Vault.Update withAccessFromAllNetworks()

Specifies that by default access to key vault should be allowed from all networks.

Returns:

the next stage of key vault definition

withAccessFromAzureServices

public abstract Vault.Update withAccessFromAzureServices()

Specifies that access to the key vault should be allowed from applications running on Microsoft azure services.

Returns:

the update stage of key vault definition.

withAccessFromIpAddress

public abstract Vault.Update withAccessFromIpAddress(String ipAddress)

Specifies that access to the key vault from the specific ip address should be allowed.

Parameters:

ipAddress - the ip address

Returns:

the update stage of key vault definition

withAccessFromIpAddressRange

public abstract Vault.Update withAccessFromIpAddressRange(String ipAddressCidr)

Specifies that access to the key vault from the specific ip range should be allowed.

Parameters:

ipAddressCidr - the idAddress range in Cidr format

Returns:

the update stage of key vault definition

withAccessFromSelectedNetworks

public abstract Vault.Update withAccessFromSelectedNetworks()

Specifies that by default access to key vault should be denied from all networks. except from those networks specified via withVirtualNetworkRules, withAccessFromIpAddressRange withAccesFromIpAddress

Returns:

the update stage of key vault definition

withBypass

public abstract Vault.Update withBypass(NetworkRuleBypassOptions bypass)

Set the bypass value.

Parameters:

bypass - the bypass value to set

Returns:

the update stage of key vault definition.

withDefaultAction

public abstract Vault.Update withDefaultAction(NetworkRuleAction defaultAction)

Set the defaultAction value.

Parameters:

defaultAction - the defaultAction value to set

Returns:

the update stage of key vault definition.

withVirtualNetworkRules

public abstract Vault.Update withVirtualNetworkRules(List virtualNetworkRules)

Get the virtualNetworkRules value.

Parameters:

virtualNetworkRules - virtual network rules

Returns:

the update stage of key vault definition.

Applies to