Compartir a través de


RoleInstanceNetworkProfile Class

  • java.lang.Object
    • com.azure.resourcemanager.compute.models.RoleInstanceNetworkProfile

Implements

public final class RoleInstanceNetworkProfile
implements JsonSerializable<RoleInstanceNetworkProfile>

Describes the network profile for the role instance.

Constructor Summary

Constructor Description
RoleInstanceNetworkProfile()

Creates an instance of RoleInstanceNetworkProfile class.

Method Summary

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

Reads an instance of RoleInstanceNetworkProfile from the JsonReader.

List<SubResource> networkInterfaces()

Get the networkInterfaces property: Specifies the list of resource Ids for the network interfaces associated with the role instance.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

RoleInstanceNetworkProfile

public RoleInstanceNetworkProfile()

Creates an instance of RoleInstanceNetworkProfile class.

Method Details

fromJson

public static RoleInstanceNetworkProfile fromJson(JsonReader jsonReader)

Reads an instance of RoleInstanceNetworkProfile from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of RoleInstanceNetworkProfile 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 RoleInstanceNetworkProfile.

networkInterfaces

public List networkInterfaces()

Get the networkInterfaces property: Specifies the list of resource Ids for the network interfaces associated with the role instance.

Returns:

the networkInterfaces value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to