Class SubnetAssociation
java.lang.Object
com.microsoft.azure.management.network.SubnetAssociation
Subnet and it's custom security rules.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionid()
Get subnet ID.List<com.microsoft.azure.management.network.implementation.SecurityRuleInner>
Get collection of custom security rules.withSecurityRules
(List<com.microsoft.azure.management.network.implementation.SecurityRuleInner> securityRules) Set collection of custom security rules.
-
Constructor Details
-
SubnetAssociation
public SubnetAssociation()
-
-
Method Details
-
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.
-