NetworkProfile Class
- java.
lang. Object - com.
azure. resourcemanager. scvmm. models. NetworkProfile
- com.
Implements
public final class NetworkProfile
implements JsonSerializable<NetworkProfile>
Defines the resource properties.
Constructor Summary
| Constructor | Description |
|---|---|
| NetworkProfile() |
Creates an instance of Network |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Network |
fromJson(JsonReader jsonReader)
Reads an instance of Network |
|
List<Network |
networkInterfaces()
Get the network |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Network |
withNetworkInterfaces(List<NetworkInterface> networkInterfaces)
Set the network |
Methods inherited from java.lang.Object
Constructor Details
NetworkProfile
public NetworkProfile()
Creates an instance of NetworkProfile class.
Method Details
fromJson
public static NetworkProfile fromJson(JsonReader jsonReader)
Reads an instance of NetworkProfile from the JsonReader.
Parameters:
Returns:
Throws:
networkInterfaces
public List<NetworkInterface> networkInterfaces()
Get the networkInterfaces property: Gets or sets the list of network interfaces associated with the virtual machine.
Returns:
toJson
validate
public void validate()
Validates the instance.
withNetworkInterfaces
public NetworkProfile withNetworkInterfaces(List<NetworkInterface> networkInterfaces)
Set the networkInterfaces property: Gets or sets the list of network interfaces associated with the virtual machine.
Parameters:
Returns: