EffectiveNetworkSecurityRule Class

  • java.lang.Object
    • com.microsoft.azure.management.network.EffectiveNetworkSecurityRule

public class EffectiveNetworkSecurityRule

Effective network security rules.

Method Summary

Modifier and Type Method and Description
SecurityRuleAccess access()

Get the access value.

String destinationAddressPrefix()

Get the destinationAddressPrefix value.

List<String> destinationAddressPrefixes()

Get the destinationAddressPrefixes value.

String destinationPortRange()

Get the destinationPortRange value.

List<String> destinationPortRanges()

Get the destinationPortRanges value.

SecurityRuleDirection direction()

Get the direction value.

List<String> expandedDestinationAddressPrefix()

Get the expandedDestinationAddressPrefix value.

List<String> expandedSourceAddressPrefix()

Get the expandedSourceAddressPrefix value.

String name()

Get the name value.

Integer priority()

Get the priority value.

EffectiveSecurityRuleProtocol protocol()

Get the protocol value.

String sourceAddressPrefix()

Get the sourceAddressPrefix value.

List<String> sourceAddressPrefixes()

Get the sourceAddressPrefixes value.

String sourcePortRange()

Get the sourcePortRange value.

List<String> sourcePortRanges()

Get the sourcePortRanges value.

EffectiveNetworkSecurityRule withAccess(SecurityRuleAccess access)

Set the access value.

EffectiveNetworkSecurityRule withDestinationAddressPrefix(String destinationAddressPrefix)

Set the destinationAddressPrefix value.

EffectiveNetworkSecurityRule withDestinationAddressPrefixes(List<String> destinationAddressPrefixes)

Set the destinationAddressPrefixes value.

EffectiveNetworkSecurityRule withDestinationPortRange(String destinationPortRange)

Set the destinationPortRange value.

EffectiveNetworkSecurityRule withDestinationPortRanges(List<String> destinationPortRanges)

Set the destinationPortRanges value.

EffectiveNetworkSecurityRule withDirection(SecurityRuleDirection direction)

Set the direction value.

EffectiveNetworkSecurityRule withExpandedDestinationAddressPrefix(List<String> expandedDestinationAddressPrefix)

Set the expandedDestinationAddressPrefix value.

EffectiveNetworkSecurityRule withExpandedSourceAddressPrefix(List<String> expandedSourceAddressPrefix)

Set the expandedSourceAddressPrefix value.

EffectiveNetworkSecurityRule withName(String name)

Set the name value.

EffectiveNetworkSecurityRule withPriority(Integer priority)

Set the priority value.

EffectiveNetworkSecurityRule withProtocol(EffectiveSecurityRuleProtocol protocol)

Set the protocol value.

EffectiveNetworkSecurityRule withSourceAddressPrefix(String sourceAddressPrefix)

Set the sourceAddressPrefix value.

EffectiveNetworkSecurityRule withSourceAddressPrefixes(List<String> sourceAddressPrefixes)

Set the sourceAddressPrefixes value.

EffectiveNetworkSecurityRule withSourcePortRange(String sourcePortRange)

Set the sourcePortRange value.

EffectiveNetworkSecurityRule withSourcePortRanges(List<String> sourcePortRanges)

Set the sourcePortRanges value.

Method Details

access

public SecurityRuleAccess access()

Get the access value.

Returns:

the access value

destinationAddressPrefix

public String destinationAddressPrefix()

Get the destinationAddressPrefix value.

Returns:

the destinationAddressPrefix value

destinationAddressPrefixes

public List destinationAddressPrefixes()

Get the destinationAddressPrefixes value.

Returns:

the destinationAddressPrefixes value

destinationPortRange

public String destinationPortRange()

Get the destinationPortRange value.

Returns:

the destinationPortRange value

destinationPortRanges

public List destinationPortRanges()

Get the destinationPortRanges value.

Returns:

the destinationPortRanges value

direction

public SecurityRuleDirection direction()

Get the direction value.

Returns:

the direction value

expandedDestinationAddressPrefix

public List expandedDestinationAddressPrefix()

Get the expandedDestinationAddressPrefix value.

Returns:

the expandedDestinationAddressPrefix value

expandedSourceAddressPrefix

public List expandedSourceAddressPrefix()

Get the expandedSourceAddressPrefix value.

Returns:

the expandedSourceAddressPrefix value

name

public String name()

Get the name value.

Returns:

the name value

priority

public Integer priority()

Get the priority value.

Returns:

the priority value

protocol

public EffectiveSecurityRuleProtocol protocol()

Get the protocol value.

Returns:

the protocol value

sourceAddressPrefix

public String sourceAddressPrefix()

Get the sourceAddressPrefix value.

Returns:

the sourceAddressPrefix value

sourceAddressPrefixes

public List sourceAddressPrefixes()

Get the sourceAddressPrefixes value.

Returns:

the sourceAddressPrefixes value

sourcePortRange

public String sourcePortRange()

Get the sourcePortRange value.

Returns:

the sourcePortRange value

sourcePortRanges

public List sourcePortRanges()

Get the sourcePortRanges value.

Returns:

the sourcePortRanges value

withAccess

public EffectiveNetworkSecurityRule withAccess(SecurityRuleAccess access)

Set the access value.

Parameters:

access - the access value to set

Returns:

the EffectiveNetworkSecurityRule object itself.

withDestinationAddressPrefix

public EffectiveNetworkSecurityRule withDestinationAddressPrefix(String destinationAddressPrefix)

Set the destinationAddressPrefix value.

Parameters:

destinationAddressPrefix - the destinationAddressPrefix value to set

Returns:

the EffectiveNetworkSecurityRule object itself.

withDestinationAddressPrefixes

public EffectiveNetworkSecurityRule withDestinationAddressPrefixes(List destinationAddressPrefixes)

Set the destinationAddressPrefixes value.

Parameters:

destinationAddressPrefixes - the destinationAddressPrefixes value to set

Returns:

the EffectiveNetworkSecurityRule object itself.

withDestinationPortRange

public EffectiveNetworkSecurityRule withDestinationPortRange(String destinationPortRange)

Set the destinationPortRange value.

Parameters:

destinationPortRange - the destinationPortRange value to set

Returns:

the EffectiveNetworkSecurityRule object itself.

withDestinationPortRanges

public EffectiveNetworkSecurityRule withDestinationPortRanges(List destinationPortRanges)

Set the destinationPortRanges value.

Parameters:

destinationPortRanges - the destinationPortRanges value to set

Returns:

the EffectiveNetworkSecurityRule object itself.

withDirection

public EffectiveNetworkSecurityRule withDirection(SecurityRuleDirection direction)

Set the direction value.

Parameters:

direction - the direction value to set

Returns:

the EffectiveNetworkSecurityRule object itself.

withExpandedDestinationAddressPrefix

public EffectiveNetworkSecurityRule withExpandedDestinationAddressPrefix(List expandedDestinationAddressPrefix)

Set the expandedDestinationAddressPrefix value.

Parameters:

expandedDestinationAddressPrefix - the expandedDestinationAddressPrefix value to set

Returns:

the EffectiveNetworkSecurityRule object itself.

withExpandedSourceAddressPrefix

public EffectiveNetworkSecurityRule withExpandedSourceAddressPrefix(List expandedSourceAddressPrefix)

Set the expandedSourceAddressPrefix value.

Parameters:

expandedSourceAddressPrefix - the expandedSourceAddressPrefix value to set

Returns:

the EffectiveNetworkSecurityRule object itself.

withName

public EffectiveNetworkSecurityRule withName(String name)

Set the name value.

Parameters:

name - the name value to set

Returns:

the EffectiveNetworkSecurityRule object itself.

withPriority

public EffectiveNetworkSecurityRule withPriority(Integer priority)

Set the priority value.

Parameters:

priority - the priority value to set

Returns:

the EffectiveNetworkSecurityRule object itself.

withProtocol

public EffectiveNetworkSecurityRule withProtocol(EffectiveSecurityRuleProtocol protocol)

Set the protocol value.

Parameters:

protocol - the protocol value to set

Returns:

the EffectiveNetworkSecurityRule object itself.

withSourceAddressPrefix

public EffectiveNetworkSecurityRule withSourceAddressPrefix(String sourceAddressPrefix)

Set the sourceAddressPrefix value.

Parameters:

sourceAddressPrefix - the sourceAddressPrefix value to set

Returns:

the EffectiveNetworkSecurityRule object itself.

withSourceAddressPrefixes

public EffectiveNetworkSecurityRule withSourceAddressPrefixes(List sourceAddressPrefixes)

Set the sourceAddressPrefixes value.

Parameters:

sourceAddressPrefixes - the sourceAddressPrefixes value to set

Returns:

the EffectiveNetworkSecurityRule object itself.

withSourcePortRange

public EffectiveNetworkSecurityRule withSourcePortRange(String sourcePortRange)

Set the sourcePortRange value.

Parameters:

sourcePortRange - the sourcePortRange value to set

Returns:

the EffectiveNetworkSecurityRule object itself.

withSourcePortRanges

public EffectiveNetworkSecurityRule withSourcePortRanges(List sourcePortRanges)

Set the sourcePortRanges value.

Parameters:

sourcePortRanges - the sourcePortRanges value to set

Returns:

the EffectiveNetworkSecurityRule object itself.

Applies to