NetworkInterface Class
- java.
lang. Object - com.
azure. resourcemanager. hardwaresecuritymodules. models. NetworkInterface
- com.
Implements
public final class NetworkInterface
implements JsonSerializable<NetworkInterface>
The network interface definition.
Constructor Summary
| Constructor | Description |
|---|---|
| NetworkInterface() |
Creates an instance of Network |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Network |
fromJson(JsonReader jsonReader)
Reads an instance of Network |
| String |
privateIpAddress()
Get the private |
| String |
resourceId()
Get the resource |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Network |
withPrivateIpAddress(String privateIpAddress)
Set the private |
Methods inherited from java.lang.Object
Constructor Details
NetworkInterface
public NetworkInterface()
Creates an instance of NetworkInterface class.
Method Details
fromJson
public static NetworkInterface fromJson(JsonReader jsonReader)
Reads an instance of NetworkInterface from the JsonReader.
Parameters:
Returns:
Throws:
privateIpAddress
public String privateIpAddress()
Get the privateIpAddress property: Private Ip address of the interface.
Returns:
resourceId
public String resourceId()
Get the resourceId property: The Azure resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...
Returns:
toJson
validate
public void validate()
Validates the instance.
withPrivateIpAddress
public NetworkInterface withPrivateIpAddress(String privateIpAddress)
Set the privateIpAddress property: Private Ip address of the interface.
Parameters:
Returns: