IPRule Class

Rule to filter client IP address.

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

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.batch._serialization.Model
IPRule

Constructor

IPRule(*, value: str, **kwargs: Any)

Keyword-Only Parameters

Name Description
value
str

IPv4 address, or IPv4 address range in CIDR format. Required.

Variables

Name Description
action
str

Action when client IP address is matched. Required. Default value is "Allow".

value
str

IPv4 address, or IPv4 address range in CIDR format. Required.

Attributes

action

action = 'Allow'