CosmosDBAccount.UpdateStages.WithIpRules Interface

public static interface CosmosDBAccount.UpdateStages.WithIpRules

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

Method Summary

Modifier and Type Method and Description
abstract WithOptionals 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 WithOptionals 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.UpdateStages.WithOptionals 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 update definition

withIpRules

public abstract CosmosDBAccount.UpdateStages.WithOptionals 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 update definition

Applies to