共用方式為


ArmSqlModelFactory.SqlFirewallRuleData Method

Definition

Initializes a new instance of SqlFirewallRuleData.

public static Azure.ResourceManager.Sql.SqlFirewallRuleData SqlFirewallRuleData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, string startIPAddress = default, string endIPAddress = default);
static member SqlFirewallRuleData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * string * string -> Azure.ResourceManager.Sql.SqlFirewallRuleData
Public Shared Function SqlFirewallRuleData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional startIPAddress As String = Nothing, Optional endIPAddress As String = Nothing) As SqlFirewallRuleData

Parameters

id
ResourceIdentifier

Resource ID.

name
String

Resource name.

resourceType
Nullable<ResourceType>

Resource type.

startIPAddress
String

The start IP address of the firewall rule. Must be IPv4 format. Use value '0.0.0.0' for all Azure-internal IP addresses.

endIPAddress
String

The end IP address of the firewall rule. Must be IPv4 format. Must be greater than or equal to startIpAddress. Use value '0.0.0.0' for all Azure-internal IP addresses.

Returns

A new SqlFirewallRuleData instance for mocking.

Applies to