共用方式為


ArmPostgreSqlModelFactory.PostgreSqlFirewallRuleData Method

Definition

Initializes a new instance of PostgreSqlFirewallRuleData.

public static Azure.ResourceManager.PostgreSql.PostgreSqlFirewallRuleData PostgreSqlFirewallRuleData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Net.IPAddress startIPAddress = default, System.Net.IPAddress endIPAddress = default);
static member PostgreSqlFirewallRuleData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Net.IPAddress * System.Net.IPAddress -> Azure.ResourceManager.PostgreSql.PostgreSqlFirewallRuleData
Public Shared Function PostgreSqlFirewallRuleData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional startIPAddress As IPAddress = Nothing, Optional endIPAddress As IPAddress = Nothing) As PostgreSqlFirewallRuleData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

startIPAddress
IPAddress

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

endIPAddress
IPAddress

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

Returns

A new PostgreSqlFirewallRuleData instance for mocking.

Applies to