SubnetAssociation Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. SubnetAssociation
- com.
Implements
public final class SubnetAssociation
implements JsonSerializable<SubnetAssociation>
Subnet and it's custom security rules.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Subnet |
fromJson(JsonReader jsonReader)
Reads an instance of Subnet |
| String |
id()
Get the id property: Subnet ID. |
|
List<Security |
securityRules()
Get the security |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Method Details
fromJson
public static SubnetAssociation fromJson(JsonReader jsonReader)
Reads an instance of SubnetAssociation from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Subnet ID.
Returns:
securityRules
public List<SecurityRuleInner> securityRules()
Get the securityRules property: Collection of custom security rules.
Returns:
toJson
validate
public void validate()
Validates the instance.