Class VirtualNetworkAppliancePropertiesFormatInner
java.lang.Object
com.azure.resourcemanager.network.fluent.models.VirtualNetworkAppliancePropertiesFormatInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<VirtualNetworkAppliancePropertiesFormatInner>
public final class VirtualNetworkAppliancePropertiesFormatInner
extends Object
implements com.azure.json.JsonSerializable<VirtualNetworkAppliancePropertiesFormatInner>
VirtualNetworkAppliance properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of VirtualNetworkAppliancePropertiesFormatInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the bandwidthInGbps property: Bandwidth of the VirtualNetworkAppliance resource in Gbps.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of VirtualNetworkAppliancePropertiesFormatInner from the JsonReader.Get the ipConfigurations property: A list of IPConfigurations of the virtual network appliance.Get the provisioningState property: The provisioning state of the virtual network appliance resource.Get the resourceGuid property: The resource GUID property of the virtual network appliance resource.subnet()Get the subnet property: The reference to the subnet resource.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withBandwidthInGbps(String bandwidthInGbps) Set the bandwidthInGbps property: Bandwidth of the VirtualNetworkAppliance resource in Gbps.withSubnet(SubnetInner subnet) Set the subnet property: The reference to the subnet resource.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
VirtualNetworkAppliancePropertiesFormatInner
public VirtualNetworkAppliancePropertiesFormatInner()Creates an instance of VirtualNetworkAppliancePropertiesFormatInner class.
-
-
Method Details
-
bandwidthInGbps
Get the bandwidthInGbps property: Bandwidth of the VirtualNetworkAppliance resource in Gbps.- Returns:
- the bandwidthInGbps value.
-
withBandwidthInGbps
Set the bandwidthInGbps property: Bandwidth of the VirtualNetworkAppliance resource in Gbps.- Parameters:
bandwidthInGbps- the bandwidthInGbps value to set.- Returns:
- the VirtualNetworkAppliancePropertiesFormatInner object itself.
-
ipConfigurations
Get the ipConfigurations property: A list of IPConfigurations of the virtual network appliance.- Returns:
- the ipConfigurations value.
-
provisioningState
Get the provisioningState property: The provisioning state of the virtual network appliance resource.- Returns:
- the provisioningState value.
-
resourceGuid
Get the resourceGuid property: The resource GUID property of the virtual network appliance resource.- Returns:
- the resourceGuid value.
-
subnet
Get the subnet property: The reference to the subnet resource.- Returns:
- the subnet value.
-
withSubnet
Set the subnet property: The reference to the subnet resource.- Parameters:
subnet- the subnet value to set.- Returns:
- the VirtualNetworkAppliancePropertiesFormatInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<VirtualNetworkAppliancePropertiesFormatInner>- Throws:
IOException
-
fromJson
public static VirtualNetworkAppliancePropertiesFormatInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of VirtualNetworkAppliancePropertiesFormatInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of VirtualNetworkAppliancePropertiesFormatInner 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 VirtualNetworkAppliancePropertiesFormatInner.
-