NetworkInterfaceAssociation Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. NetworkInterfaceAssociation
- com.
Implements
public final class NetworkInterfaceAssociation
implements JsonSerializable<NetworkInterfaceAssociation>
Network interface and its custom security rules.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Network |
fromJson(JsonReader jsonReader)
Reads an instance of Network |
| String |
id()
Get the id property: Network interface 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 NetworkInterfaceAssociation fromJson(JsonReader jsonReader)
Reads an instance of NetworkInterfaceAssociation from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Network interface 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.