Class SubnetAssociation

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

public class SubnetAssociation extends Object
Subnet and it's custom security rules.
  • Constructor Details

    • SubnetAssociation

      public SubnetAssociation()
  • Method Details

    • id

      public String id()
      Get subnet ID.
      Returns:
      the id value
    • securityRules

      public List<com.microsoft.azure.management.network.implementation.SecurityRuleInner> securityRules()
      Get collection of custom security rules.
      Returns:
      the securityRules value
    • withSecurityRules

      public SubnetAssociation withSecurityRules(List<com.microsoft.azure.management.network.implementation.SecurityRuleInner> securityRules)
      Set collection of custom security rules.
      Parameters:
      securityRules - the securityRules value to set
      Returns:
      the SubnetAssociation object itself.