SubnetAssociation Class

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

public class SubnetAssociation

Subnet and it's custom security rules.

Constructor Summary

Constructor Description
SubnetAssociation()

Method Summary

Modifier and Type Method and Description
java.lang.String id()

Get subnet ID.

java.util.List<com.microsoft.azure.management.network.implementation.SecurityRuleInner> securityRules()

Get collection of custom security rules.

SubnetAssociation withSecurityRules(List<SecurityRuleInner> securityRules)

Set collection of custom security rules.

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

SubnetAssociation

public SubnetAssociation()

Method Details

id

public String id()

Get subnet ID.

Returns:

the id value

securityRules

public List securityRules()

Get collection of custom security rules.

Returns:

the securityRules value

withSecurityRules

public SubnetAssociation withSecurityRules(List securityRules)

Set collection of custom security rules.

Parameters:

securityRules - the securityRules value to set

Returns:

the SubnetAssociation object itself.

Applies to