SecurityGroupNetworkInterface Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. SecurityGroupNetworkInterface
- com.
Implements
public final class SecurityGroupNetworkInterface
implements JsonSerializable<SecurityGroupNetworkInterface>
Network interface and all its associated security rules.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Security |
fromJson(JsonReader jsonReader)
Reads an instance of Security |
| String |
id()
Get the id property: ID of the network interface. |
|
Security |
securityRuleAssociations()
Get the security |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Method Details
fromJson
public static SecurityGroupNetworkInterface fromJson(JsonReader jsonReader)
Reads an instance of SecurityGroupNetworkInterface from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: ID of the network interface.
Returns:
securityRuleAssociations
public SecurityRuleAssociations securityRuleAssociations()
Get the securityRuleAssociations property: All security rules associated with the network interface.
Returns:
toJson
validate
public void validate()
Validates the instance.