InboundIpRule Class
- java.
lang. Object - com.
microsoft. azure. management. eventgrid. v2020_04_01_preview. InboundIpRule
- com.
public class InboundIpRule
The InboundIpRule model.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| InboundIpRule() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Ip |
action()
Get action to perform based on the match or no match of the Ip |
| java.lang.String |
ipMask()
Get iP Address in CIDR notation e. |
|
Inbound |
withAction(IpActionType action)
Set action to perform based on the match or no match of the Ip |
|
Inbound |
withIpMask(String ipMask)
Set iP Address in CIDR notation e. |
Methods inherited from java.lang.Object
Constructor Details
InboundIpRule
public InboundIpRule()
Method Details
action
public IpActionType action()
Get action to perform based on the match or no match of the IpMask. Possible values include: 'Allow'.
Returns:
ipMask
public String ipMask()
Get iP Address in CIDR notation e.g., 10.0.0.0/8.
Returns:
withAction
public InboundIpRule withAction(IpActionType action)
Set action to perform based on the match or no match of the IpMask. Possible values include: 'Allow'.
Parameters:
Returns:
withIpMask
public InboundIpRule withIpMask(String ipMask)
Set iP Address in CIDR notation e.g., 10.0.0.0/8.
Parameters:
Returns: