CosmosDBAccount.DefinitionStages.WithIpRules Interface

public static interface CosmosDBAccount.DefinitionStages.WithIpRules

The stage of the cosmos db definition allowing to set the IP range filter.

Method Summary

Modifier and Type Method and Description
abstract WithCreate withIpRangeFilter(String ipRangeFilter)

Deprecated

CosmosDB Firewall Support: This value specifies the set of IP addresses or IP address ranges in CIDR form to be included as the allowed list of client IPs for a given database account.

abstract WithCreate withIpRules(List<IpAddressOrRange> ipRules)

CosmosDB Firewall Support: This value specifies the set of IP addresses or IP address ranges in CIDR form to be included as the allowed list of client IPs for a given database account.

Method Details

withIpRangeFilter

@Deprecated
public abstract CosmosDBAccount.DefinitionStages.WithCreate withIpRangeFilter(String ipRangeFilter)

Deprecated

CosmosDB Firewall Support: This value specifies the set of IP addresses or IP address ranges in CIDR form to be included as the allowed list of client IPs for a given database account. IP addresses/ranges must be comma separated and must not contain any spaces.

Parameters:

ipRangeFilter - specifies the set of IP addresses or IP address ranges

Returns:

the next stage of the definition

withIpRules

public abstract CosmosDBAccount.DefinitionStages.WithCreate withIpRules(List ipRules)

CosmosDB Firewall Support: This value specifies the set of IP addresses or IP address ranges in CIDR form to be included as the allowed list of client IPs for a given database account.

Parameters:

ipRules - specifies the set of IP addresses or IP address ranges

Returns:

the next stage of the definition

Applies to