SecurityGroupViewResultInner Class

  • java.lang.Object
    • com.azure.resourcemanager.network.fluent.models.SecurityGroupViewResultInner

Implements

public final class SecurityGroupViewResultInner
implements JsonSerializable<SecurityGroupViewResultInner>

The information about security rules applied to the specified VM.

Constructor Summary

Constructor Description
SecurityGroupViewResultInner()

Creates an instance of SecurityGroupViewResultInner class.

Method Summary

Modifier and Type Method and Description
static SecurityGroupViewResultInner fromJson(JsonReader jsonReader)

Reads an instance of SecurityGroupViewResultInner from the JsonReader.

List<SecurityGroupNetworkInterface> networkInterfaces()

Get the networkInterfaces property: List of network interfaces on the specified VM.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SecurityGroupViewResultInner withNetworkInterfaces(List<SecurityGroupNetworkInterface> networkInterfaces)

Set the networkInterfaces property: List of network interfaces on the specified VM.

Methods inherited from java.lang.Object

Constructor Details

SecurityGroupViewResultInner

public SecurityGroupViewResultInner()

Creates an instance of SecurityGroupViewResultInner class.

Method Details

fromJson

public static SecurityGroupViewResultInner fromJson(JsonReader jsonReader)

Reads an instance of SecurityGroupViewResultInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SecurityGroupViewResultInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the SecurityGroupViewResultInner.

networkInterfaces

public List networkInterfaces()

Get the networkInterfaces property: List of network interfaces on the specified VM.

Returns:

the networkInterfaces value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withNetworkInterfaces

public SecurityGroupViewResultInner withNetworkInterfaces(List networkInterfaces)

Set the networkInterfaces property: List of network interfaces on the specified VM.

Parameters:

networkInterfaces - the networkInterfaces value to set.

Returns:

the SecurityGroupViewResultInner object itself.

Applies to