Condividi tramite


FirewallRule Class

A server firewall rule.

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

Constructor

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

Keyword-Only Parameters

Name Description
name
str

Resource name.

Default value: None
start_ip_address
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.

Default value: None
end_ip_address
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.

Default value: None

Variables

Name Description
id
str

Resource ID.

name
str

Resource name.

type
str

Resource type.

start_ip_address
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
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.