### YamlMime:JavaType
uid: "com.microsoft.azure.management.storage.IPRule"
fullName: "com.microsoft.azure.management.storage.IPRule"
name: "IPRule"
nameWithType: "IPRule"
summary: "IP rule with specific IP or IP range in CIDR format."
inheritances:
- ""
inheritedClassMethods:
- classRef: ""
methodsRef:
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
syntax: "public class **IPRule**"
constructors:
- uid: "com.microsoft.azure.management.storage.IPRule.IPRule()"
fullName: "com.microsoft.azure.management.storage.IPRule.IPRule()"
name: "IPRule()"
nameWithType: "IPRule.IPRule()"
syntax: "public IPRule()"
methods:
- uid: "com.microsoft.azure.management.storage.IPRule.action()"
fullName: "com.microsoft.azure.management.storage.IPRule.action()"
name: "action()"
nameWithType: "IPRule.action()"
summary: "Get the action of IP ACL rule."
syntax: "public Action action()"
desc: "Get the action of IP ACL rule. Possible values include: 'Allow'."
returns:
description: "the action value"
type: ""
- uid: "com.microsoft.azure.management.storage.IPRule.iPAddressOrRange()"
fullName: "com.microsoft.azure.management.storage.IPRule.iPAddressOrRange()"
name: "iPAddressOrRange()"
nameWithType: "IPRule.iPAddressOrRange()"
summary: "Get specifies the IP or IP range in CIDR format."
syntax: "public String iPAddressOrRange()"
desc: "Get specifies the IP or IP range in CIDR format. Only IPV4 address is allowed."
returns:
description: "the iPAddressOrRange value"
type: ""
- uid: "com.microsoft.azure.management.storage.IPRule.withAction(com.microsoft.azure.management.storage.Action)"
fullName: "com.microsoft.azure.management.storage.IPRule.withAction(Action action)"
name: "withAction(Action action)"
nameWithType: "IPRule.withAction(Action action)"
summary: "Set the action of IP ACL rule."
parameters:
- description: "the action value to set"
name: "action"
type: ""
syntax: "public IPRule withAction(Action action)"
desc: "Set the action of IP ACL rule. Possible values include: 'Allow'."
returns:
description: "the IPRule object itself."
type: ""
- uid: "com.microsoft.azure.management.storage.IPRule.withIPAddressOrRange(java.lang.String)"
fullName: "com.microsoft.azure.management.storage.IPRule.withIPAddressOrRange(String iPAddressOrRange)"
name: "withIPAddressOrRange(String iPAddressOrRange)"
nameWithType: "IPRule.withIPAddressOrRange(String iPAddressOrRange)"
summary: "Set specifies the IP or IP range in CIDR format."
parameters:
- description: "the iPAddressOrRange value to set"
name: "iPAddressOrRange"
type: ""
syntax: "public IPRule withIPAddressOrRange(String iPAddressOrRange)"
desc: "Set specifies the IP or IP range in CIDR format. Only IPV4 address is allowed."
returns:
description: "the IPRule object itself."
type: ""
type: "class"
desc: "IP rule with specific IP or IP range in CIDR format."
metadata: {}
package: "com.microsoft.azure.management.storage"
artifact: com.microsoft.azure:azure-mgmt-storage:1.41.4