Vault.DefinitionStages.WithNetworkRuleSet Interface

public static interface Vault.DefinitionStages.WithNetworkRuleSet

A key vault definition allowing the networkAcl to be set.

Method Summary

Modifier and Type Method and Description
abstract WithCreate withAccessFromAllNetworks()

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

abstract WithCreate withAccessFromAzureServices()

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

abstract WithCreate withAccessFromIpAddress(String ipAddress)

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

abstract WithCreate withAccessFromIpAddressRange(String ipAddressCidr)

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

abstract WithCreate withAccessFromSelectedNetworks()

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

abstract WithCreate withBypass(NetworkRuleBypassOptions bypass)

Set the bypass value.

abstract WithCreate withDefaultAction(NetworkRuleAction defaultAction)

Set the defaultAction value.

abstract WithCreate withVirtualNetworkRules(List<VirtualNetworkRule> virtualNetworkRules)

Get the virtualNetworkRules value.

Method Details

withAccessFromAllNetworks

public abstract 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

withAccessFromAzureServices

public abstract 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.

withAccessFromIpAddress

public abstract Vault.DefinitionStages.WithCreate 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 next stage of key vault definition

withAccessFromIpAddressRange

public abstract Vault.DefinitionStages.WithCreate withAccessFromIpAddressRange(String ipAddressCidr)

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

Parameters:

ipAddressCidr - the access value

Returns:

the next stage of key vault definition

withAccessFromSelectedNetworks

public abstract 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

withBypass

public abstract Vault.DefinitionStages.WithCreate withBypass(NetworkRuleBypassOptions bypass)

Set the bypass value.

Parameters:

bypass - the bypass value to set

Returns:

the next stage of key vault definition.

withDefaultAction

public abstract Vault.DefinitionStages.WithCreate withDefaultAction(NetworkRuleAction defaultAction)

Set the defaultAction value.

Parameters:

defaultAction - the defaultAction value to set

Returns:

the next stage of key vault definition.

withVirtualNetworkRules

public abstract Vault.DefinitionStages.WithCreate withVirtualNetworkRules(List virtualNetworkRules)

Get the virtualNetworkRules value.

Parameters:

virtualNetworkRules - the list of VirtualNetworkRule

Returns:

the next stage of key vault definition.

Applies to