Interface CosmosDBAccount.DefinitionStages.WithIpRules
-
- All Known Subinterfaces:
CosmosDBAccount.Definition,CosmosDBAccount.DefinitionStages.WithCreate
- Enclosing interface:
- CosmosDBAccount.DefinitionStages
public static interface CosmosDBAccount.DefinitionStages.WithIpRulesThe stage of the cosmos db definition allowing to set the IP range filter.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description CosmosDBAccount.DefinitionStages.WithCreatewithIpRangeFilter(String ipRangeFilter)Deprecated.use {withIpRules(List)}CosmosDBAccount.DefinitionStages.WithCreatewithIpRules(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 Detail
-
withIpRangeFilter
@Deprecated CosmosDBAccount.DefinitionStages.WithCreate withIpRangeFilter(String ipRangeFilter)
Deprecated.use {withIpRules(List)}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
CosmosDBAccount.DefinitionStages.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.- Parameters:
ipRules- specifies the set of IP addresses or IP address ranges- Returns:
- the next stage of the definition
-
-