public final class NWRuleSetIpRules extends Object
| Constructor and Description |
|---|
NWRuleSetIpRules() |
| Modifier and Type | Method and Description |
|---|---|
NetworkRuleIpAction |
action()
Get the action property: The IP Filter Action.
|
String |
ipMask()
Get the ipMask property: IP Mask.
|
void |
validate()
Validates the instance.
|
NWRuleSetIpRules |
withAction(NetworkRuleIpAction action)
Set the action property: The IP Filter Action.
|
NWRuleSetIpRules |
withIpMask(String ipMask)
Set the ipMask property: IP Mask.
|
public String ipMask()
public NWRuleSetIpRules withIpMask(String ipMask)
ipMask - the ipMask value to set.public NetworkRuleIpAction action()
public NWRuleSetIpRules withAction(NetworkRuleIpAction action)
action - the action value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.