EffectiveNetworkSecurityGroup Class

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

public class EffectiveNetworkSecurityGroup

Effective network security group.

Constructor Summary

Constructor Description
EffectiveNetworkSecurityGroup()

Method Summary

Modifier and Type Method and Description
EffectiveNetworkSecurityGroupAssociation association()

Get associated resources.

java.util.List<EffectiveNetworkSecurityRule> effectiveSecurityRules()

Get a collection of effective security rules.

com.microsoft.azure.SubResource networkSecurityGroup()

Get the ID of network security group that is applied.

java.util.Map<java.lang.String,java.util.List<java.lang.String>> tagMap()

Get mapping of tags to list of IP Addresses included within the tag.

EffectiveNetworkSecurityGroup withAssociation(EffectiveNetworkSecurityGroupAssociation association)

Set associated resources.

EffectiveNetworkSecurityGroup withEffectiveSecurityRules(List<EffectiveNetworkSecurityRule> effectiveSecurityRules)

Set a collection of effective security rules.

EffectiveNetworkSecurityGroup withNetworkSecurityGroup(SubResource networkSecurityGroup)

Set the ID of network security group that is applied.

EffectiveNetworkSecurityGroup withTagMap(Map<String,List<String>> tagMap)

Set mapping of tags to list of IP Addresses included within the tag.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

EffectiveNetworkSecurityGroup

public EffectiveNetworkSecurityGroup()

Method Details

association

public EffectiveNetworkSecurityGroupAssociation association()

Get associated resources.

Returns:

the association value

effectiveSecurityRules

public List effectiveSecurityRules()

Get a collection of effective security rules.

Returns:

the effectiveSecurityRules value

networkSecurityGroup

public SubResource networkSecurityGroup()

Get the ID of network security group that is applied.

Returns:

the networkSecurityGroup value

tagMap

public Map<>> tagMap()

Get mapping of tags to list of IP Addresses included within the tag.

Returns:

the tagMap value

withAssociation

public EffectiveNetworkSecurityGroup withAssociation(EffectiveNetworkSecurityGroupAssociation association)

Set associated resources.

Parameters:

association - the association value to set

Returns:

the EffectiveNetworkSecurityGroup object itself.

withEffectiveSecurityRules

public EffectiveNetworkSecurityGroup withEffectiveSecurityRules(List effectiveSecurityRules)

Set a collection of effective security rules.

Parameters:

effectiveSecurityRules - the effectiveSecurityRules value to set

Returns:

the EffectiveNetworkSecurityGroup object itself.

withNetworkSecurityGroup

public EffectiveNetworkSecurityGroup withNetworkSecurityGroup(SubResource networkSecurityGroup)

Set the ID of network security group that is applied.

Parameters:

networkSecurityGroup - the networkSecurityGroup value to set

Returns:

the EffectiveNetworkSecurityGroup object itself.

withTagMap

public EffectiveNetworkSecurityGroup withTagMap(Map<>> tagMap)

Set mapping of tags to list of IP Addresses included within the tag.

Parameters:

tagMap - the tagMap value to set

Returns:

the EffectiveNetworkSecurityGroup object itself.

Applies to