다음을 통해 공유


ArmMySqlModelFactory.MySqlFirewallRuleData Method

Definition

Initializes a new instance of MySqlFirewallRuleData.

public static Azure.ResourceManager.MySql.MySqlFirewallRuleData MySqlFirewallRuleData (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 MySqlFirewallRuleData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Net.IPAddress * System.Net.IPAddress -> Azure.ResourceManager.MySql.MySqlFirewallRuleData
Public Shared Function MySqlFirewallRuleData (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 MySqlFirewallRuleData

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

Applies to