VirtualApplianceNicProperties Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. VirtualApplianceNicProperties
- com.
Implements
public final class VirtualApplianceNicProperties
implements JsonSerializable<VirtualApplianceNicProperties>
Network Virtual Appliance NIC properties.
Constructor Summary
Constructor | Description |
---|---|
VirtualApplianceNicProperties() |
Creates an instance of Virtual |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
String |
instanceName()
Get the instance |
String |
name()
Get the name property: NIC name. |
Nic |
nicType()
Get the nic |
String |
privateIpAddress()
Get the private |
String |
publicIpAddress()
Get the public |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
VirtualApplianceNicProperties
public VirtualApplianceNicProperties()
Creates an instance of VirtualApplianceNicProperties class.
Method Details
fromJson
public static VirtualApplianceNicProperties fromJson(JsonReader jsonReader)
Reads an instance of VirtualApplianceNicProperties from the JsonReader.
Parameters:
Returns:
Throws:
instanceName
public String instanceName()
Get the instanceName property: Instance on which nic is attached.
Returns:
name
public String name()
Get the name property: NIC name.
Returns:
nicType
public NicTypeInResponse nicType()
Get the nicType property: NIC type - PublicNic, PrivateNic, or AdditionalNic.
Returns:
privateIpAddress
public String privateIpAddress()
Get the privateIpAddress property: Private IP address.
Returns:
publicIpAddress
public String publicIpAddress()
Get the publicIpAddress property: Public IP address.
Returns:
toJson
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java