ArmMySqlFlexibleServersModelFactory.MySqlFlexibleServerFirewallRuleData Method

Definition

Initializes a new instance of MySqlFlexibleServerFirewallRuleData.

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

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

Applies to