Share via


ArmCosmosDBModelFactory.CosmosDBFirewallRuleData Method

Definition

Initializes a new instance of CosmosDBFirewallRuleData.

public static Azure.ResourceManager.CosmosDB.CosmosDBFirewallRuleData CosmosDBFirewallRuleData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBProvisioningState? provisioningState = default, string startIPAddress = default, string endIPAddress = default);
static member CosmosDBFirewallRuleData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBProvisioningState> * string * string -> Azure.ResourceManager.CosmosDB.CosmosDBFirewallRuleData
Public Shared Function CosmosDBFirewallRuleData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional provisioningState As Nullable(Of CosmosDBProvisioningState) = Nothing, Optional startIPAddress As String = Nothing, Optional endIPAddress As String = Nothing) As CosmosDBFirewallRuleData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

provisioningState
Nullable<CosmosDBProvisioningState>

The provisioning state of the firewall rule.

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.

Returns

A new CosmosDBFirewallRuleData instance for mocking.

Applies to