Share via


CosmosDBFirewallRuleData(String, String) Constructor

Definition

Initializes a new instance of CosmosDBFirewallRuleData.

public CosmosDBFirewallRuleData (string startIPAddress, string endIPAddress);
new Azure.ResourceManager.CosmosDB.CosmosDBFirewallRuleData : string * string -> Azure.ResourceManager.CosmosDB.CosmosDBFirewallRuleData
Public Sub New (startIPAddress As String, endIPAddress As String)

Parameters

startIPAddress
String

The start IP address of the mongo cluster firewall rule. Must be IPv4 format.

endIPAddress
String

The end IP address of the mongo cluster firewall rule. Must be IPv4 format.

Exceptions

startIPAddress or endIPAddress is null.

Applies to