共用方式為


ArmMongoClusterModelFactory.MongoClusterFirewallRuleProperties Method

Definition

Initializes a new instance of MongoClusterFirewallRuleProperties.

public static Azure.ResourceManager.MongoCluster.Models.MongoClusterFirewallRuleProperties MongoClusterFirewallRuleProperties (Azure.ResourceManager.MongoCluster.Models.MongoClusterProvisioningState? provisioningState = default, string startIPAddress = default, string endIPAddress = default);
static member MongoClusterFirewallRuleProperties : Nullable<Azure.ResourceManager.MongoCluster.Models.MongoClusterProvisioningState> * string * string -> Azure.ResourceManager.MongoCluster.Models.MongoClusterFirewallRuleProperties
Public Shared Function MongoClusterFirewallRuleProperties (Optional provisioningState As Nullable(Of MongoClusterProvisioningState) = Nothing, Optional startIPAddress As String = Nothing, Optional endIPAddress As String = Nothing) As MongoClusterFirewallRuleProperties

Parameters

provisioningState
Nullable<MongoClusterProvisioningState>

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 MongoClusterFirewallRuleProperties instance for mocking.

Applies to