FirewallRule Class

A server firewall rule.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.sql.models._models_py3.ProxyResourceWithWritableName
FirewallRule

Constructor

FirewallRule(*, name: str | None = None, start_ip_address: str | None = None, end_ip_address: str | None = None, **kwargs)

Parameters

Name Description
name
Required
str

Resource name.

start_ip_address
Required
str

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

end_ip_address
Required
str

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.

Keyword-Only Parameters

Name Description
name
Required
start_ip_address
Required
end_ip_address
Required

Variables

Name Description
id
str

Resource ID.

type
str

Resource type.