SubnetAssociation Class
- java.
lang. Object - com.
microsoft. azure. management. network. SubnetAssociation
- com.
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. |
Subnet |
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
Get collection of custom security rules.
Returns:
the securityRules value
withSecurityRules
public SubnetAssociation withSecurityRules(List
Set collection of custom security rules.
Parameters:
securityRules
- the securityRules value to set
Returns:
the SubnetAssociation object itself.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java