Share via


FirewallRule Constructors

Definition

Overloads

FirewallRule()

Initializes a new instance of the FirewallRule class.

FirewallRule(String, String, String, String, String, SystemData)

Initializes a new instance of the FirewallRule class.

FirewallRule()

Initializes a new instance of the FirewallRule class.

public FirewallRule ();
Public Sub New ()

Applies to

FirewallRule(String, String, String, String, String, SystemData)

Initializes a new instance of the FirewallRule class.

public FirewallRule (string startIpAddress, string endIpAddress, string id = default, string name = default, string type = default, Microsoft.Azure.Management.MySQL.FlexibleServers.Models.SystemData systemData = default);
new Microsoft.Azure.Management.MySQL.FlexibleServers.Models.FirewallRule : string * string * string * string * string * Microsoft.Azure.Management.MySQL.FlexibleServers.Models.SystemData -> Microsoft.Azure.Management.MySQL.FlexibleServers.Models.FirewallRule
Public Sub New (startIpAddress As String, endIpAddress As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional systemData As SystemData = Nothing)

Parameters

startIpAddress
String

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

endIpAddress
String

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

id
String

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name
String

The name of the resource

type
String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

systemData
SystemData

The system metadata relating to this resource.

Applies to