public class IpSecurityRestriction extends Object
Constructor and Description |
---|
IpSecurityRestriction() |
Modifier and Type | Method and Description |
---|---|
String |
action()
Get allow or Deny access for this IP range.
|
String |
description()
Get iP restriction rule description.
|
String |
ipAddress()
Get iP address the security restriction is valid for.
|
String |
name()
Get iP restriction rule name.
|
Integer |
priority()
Get priority of IP restriction rule.
|
String |
subnetMask()
Get subnet mask for the range of IP addresses the restriction is valid for.
|
Integer |
subnetTrafficTag()
Get (internal) Subnet traffic tag.
|
IpFilterTag |
tag()
Get defines what this IP filter will be used for.
|
String |
vnetSubnetResourceId()
Get virtual network resource id.
|
Integer |
vnetTrafficTag()
Get (internal) Vnet traffic tag.
|
IpSecurityRestriction |
withAction(String action)
Set allow or Deny access for this IP range.
|
IpSecurityRestriction |
withDescription(String description)
Set iP restriction rule description.
|
IpSecurityRestriction |
withIpAddress(String ipAddress)
Set iP address the security restriction is valid for.
|
IpSecurityRestriction |
withName(String name)
Set iP restriction rule name.
|
IpSecurityRestriction |
withPriority(Integer priority)
Set priority of IP restriction rule.
|
IpSecurityRestriction |
withSubnetMask(String subnetMask)
Set subnet mask for the range of IP addresses the restriction is valid for.
|
IpSecurityRestriction |
withSubnetTrafficTag(Integer subnetTrafficTag)
Set (internal) Subnet traffic tag.
|
IpSecurityRestriction |
withTag(IpFilterTag tag)
Set defines what this IP filter will be used for.
|
IpSecurityRestriction |
withVnetSubnetResourceId(String vnetSubnetResourceId)
Set virtual network resource id.
|
IpSecurityRestriction |
withVnetTrafficTag(Integer vnetTrafficTag)
Set (internal) Vnet traffic tag.
|
public String ipAddress()
public IpSecurityRestriction withIpAddress(String ipAddress)
ipAddress
- the ipAddress value to setpublic String subnetMask()
public IpSecurityRestriction withSubnetMask(String subnetMask)
subnetMask
- the subnetMask value to setpublic String vnetSubnetResourceId()
public IpSecurityRestriction withVnetSubnetResourceId(String vnetSubnetResourceId)
vnetSubnetResourceId
- the vnetSubnetResourceId value to setpublic Integer vnetTrafficTag()
public IpSecurityRestriction withVnetTrafficTag(Integer vnetTrafficTag)
vnetTrafficTag
- the vnetTrafficTag value to setpublic Integer subnetTrafficTag()
public IpSecurityRestriction withSubnetTrafficTag(Integer subnetTrafficTag)
subnetTrafficTag
- the subnetTrafficTag value to setpublic String action()
public IpSecurityRestriction withAction(String action)
action
- the action value to setpublic IpFilterTag tag()
public IpSecurityRestriction withTag(IpFilterTag tag)
tag
- the tag value to setpublic Integer priority()
public IpSecurityRestriction withPriority(Integer priority)
priority
- the priority value to setpublic String name()
public IpSecurityRestriction withName(String name)
name
- the name value to setpublic String description()
public IpSecurityRestriction withDescription(String description)
description
- the description value to setCopyright © 2019. All rights reserved.