Delen via


FirewallRule Constructors

Definition

Overloads

FirewallRule()

Initializes a new instance of the FirewallRule class.

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

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)

Initializes a new instance of the FirewallRule class.

public FirewallRule (string startIpAddress, string endIpAddress, string id = default, string name = default, string type = default);
new Microsoft.Azure.Management.PostgreSQL.Models.FirewallRule : string * string * string * string * string -> Microsoft.Azure.Management.PostgreSQL.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)

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"

Applies to