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.ProxyResourceWithWritableNameFirewallRule
Constructor
FirewallRule(*, name: str | None = None, start_ip_address: str | None = None, end_ip_address: str | None = None, **kwargs)
Parameters
Name | Description |
---|---|
name
Required
|
Resource name. |
start_ip_address
Required
|
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
|
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
|
Resource ID. |
type
|
Resource type. |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python