NetworkInterfaceReference Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. computebulkactions. models. NetworkInterfaceReference
- com.
- com.
public final class NetworkInterfaceReference
extends SubResource
Describes a network interface reference.
Constructor Summary
| Constructor | Description |
|---|---|
| NetworkInterfaceReference() |
Creates an instance of Network |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Network |
fromJson(JsonReader jsonReader)
Reads an instance of Network |
|
Network |
properties()
Get the properties property: Describes a network interface reference properties. |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Network |
withId(String id) |
|
Network |
withProperties(NetworkInterfaceReferenceProperties properties)
Set the properties property: Describes a network interface reference properties. |
Methods inherited from SubResource
Methods inherited from java.lang.Object
Constructor Details
NetworkInterfaceReference
public NetworkInterfaceReference()
Creates an instance of NetworkInterfaceReference class.
Method Details
fromJson
public static NetworkInterfaceReference fromJson(JsonReader jsonReader)
Reads an instance of NetworkInterfaceReference from the JsonReader.
Parameters:
Returns:
Throws:
properties
public NetworkInterfaceReferenceProperties properties()
Get the properties property: Describes a network interface reference properties.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
NetworkInterfaceReference.toJson(JsonWriter jsonWriter)Parameters:
Throws:
withId
public NetworkInterfaceReference withId(String id)
Overrides:
NetworkInterfaceReference.withId(String id)Parameters:
withProperties
public NetworkInterfaceReference withProperties(NetworkInterfaceReferenceProperties properties)
Set the properties property: Describes a network interface reference properties.
Parameters:
Returns: