NetworkInterfaceUpdate Class
- java.
lang. Object - com.
azure. resourcemanager. scvmm. models. NetworkInterfaceUpdate
- com.
Implements
public final class NetworkInterfaceUpdate
implements JsonSerializable<NetworkInterfaceUpdate>
Network Interface Update model.
Constructor Summary
| Constructor | Description |
|---|---|
| NetworkInterfaceUpdate() |
Creates an instance of Network |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Network |
fromJson(JsonReader jsonReader)
Reads an instance of Network |
|
Allocation |
ipv4AddressType()
Get the ipv4Address |
|
Allocation |
ipv6AddressType()
Get the ipv6Address |
| String |
macAddress()
Get the mac |
|
Allocation |
macAddressType()
Get the mac |
| String |
name()
Get the name property: Gets or sets the name of the network interface. |
| String |
nicId()
Get the nic |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| String |
virtualNetworkId()
Get the virtual |
|
Network |
withIpv4AddressType(AllocationMethod ipv4AddressType)
Set the ipv4Address |
|
Network |
withIpv6AddressType(AllocationMethod ipv6AddressType)
Set the ipv6Address |
|
Network |
withMacAddress(String macAddress)
Set the mac |
|
Network |
withMacAddressType(AllocationMethod macAddressType)
Set the mac |
|
Network |
withName(String name)
Set the name property: Gets or sets the name of the network interface. |
|
Network |
withNicId(String nicId)
Set the nic |
|
Network |
withVirtualNetworkId(String virtualNetworkId)
Set the virtual |
Methods inherited from java.lang.Object
Constructor Details
NetworkInterfaceUpdate
public NetworkInterfaceUpdate()
Creates an instance of NetworkInterfaceUpdate class.
Method Details
fromJson
public static NetworkInterfaceUpdate fromJson(JsonReader jsonReader)
Reads an instance of NetworkInterfaceUpdate from the JsonReader.
Parameters:
Returns:
Throws:
ipv4AddressType
public AllocationMethod ipv4AddressType()
Get the ipv4AddressType property: Gets or sets the ipv4 address type.
Returns:
ipv6AddressType
public AllocationMethod ipv6AddressType()
Get the ipv6AddressType property: Gets or sets the ipv6 address type.
Returns:
macAddress
public String macAddress()
Get the macAddress property: Gets or sets the nic MAC address.
Returns:
macAddressType
public AllocationMethod macAddressType()
Get the macAddressType property: Gets or sets the mac address type.
Returns:
name
public String name()
Get the name property: Gets or sets the name of the network interface.
Returns:
nicId
public String nicId()
Get the nicId property: Gets or sets the nic id.
Returns:
toJson
validate
public void validate()
Validates the instance.
virtualNetworkId
public String virtualNetworkId()
Get the virtualNetworkId property: Gets or sets the ARM Id of the Microsoft.ScVmm/virtualNetwork resource to connect the nic.
Returns:
withIpv4AddressType
public NetworkInterfaceUpdate withIpv4AddressType(AllocationMethod ipv4AddressType)
Set the ipv4AddressType property: Gets or sets the ipv4 address type.
Parameters:
Returns:
withIpv6AddressType
public NetworkInterfaceUpdate withIpv6AddressType(AllocationMethod ipv6AddressType)
Set the ipv6AddressType property: Gets or sets the ipv6 address type.
Parameters:
Returns:
withMacAddress
public NetworkInterfaceUpdate withMacAddress(String macAddress)
Set the macAddress property: Gets or sets the nic MAC address.
Parameters:
Returns:
withMacAddressType
public NetworkInterfaceUpdate withMacAddressType(AllocationMethod macAddressType)
Set the macAddressType property: Gets or sets the mac address type.
Parameters:
Returns:
withName
public NetworkInterfaceUpdate withName(String name)
Set the name property: Gets or sets the name of the network interface.
Parameters:
Returns:
withNicId
public NetworkInterfaceUpdate withNicId(String nicId)
Set the nicId property: Gets or sets the nic id.
Parameters:
Returns:
withVirtualNetworkId
public NetworkInterfaceUpdate withVirtualNetworkId(String virtualNetworkId)
Set the virtualNetworkId property: Gets or sets the ARM Id of the Microsoft.ScVmm/virtualNetwork resource to connect the nic.
Parameters:
Returns: