Class IPRule
java.lang.Object
com.microsoft.azure.management.storage.IPRule
IP rule with specific IP or IP range in CIDR format.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaction()
Get the action of IP ACL rule.Get specifies the IP or IP range in CIDR format.withAction
(Action action) Set the action of IP ACL rule.withIPAddressOrRange
(String iPAddressOrRange) Set specifies the IP or IP range in CIDR format.
-
Constructor Details
-
IPRule
public IPRule()
-
-
Method Details
-
iPAddressOrRange
Get specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.- Returns:
- the iPAddressOrRange value
-
withIPAddressOrRange
Set specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.- Parameters:
iPAddressOrRange
- the iPAddressOrRange value to set- Returns:
- the IPRule object itself.
-
action
Get the action of IP ACL rule. Possible values include: 'Allow'.- Returns:
- the action value
-
withAction
Set the action of IP ACL rule. Possible values include: 'Allow'.- Parameters:
action
- the action value to set- Returns:
- the IPRule object itself.
-