Class WorkloadNetworkVirtualMachineInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkVirtualMachineInner
public final class WorkloadNetworkVirtualMachineInner
extends com.azure.core.management.ProxyResource
NSX Virtual Machine.
-
Constructor Summary
ConstructorDescriptionCreates an instance of WorkloadNetworkVirtualMachineInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the displayName property: Display name of the VM.void
validate()
Validates the instance.vmType()
Get the vmType property: Virtual machine type.withDisplayName
(String displayName) Set the displayName property: Display name of the VM.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
WorkloadNetworkVirtualMachineInner
public WorkloadNetworkVirtualMachineInner()Creates an instance of WorkloadNetworkVirtualMachineInner class.
-
-
Method Details
-
displayName
Get the displayName property: Display name of the VM.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: Display name of the VM.- Parameters:
displayName
- the displayName value to set.- Returns:
- the WorkloadNetworkVirtualMachineInner object itself.
-
vmType
Get the vmType property: Virtual machine type.- Returns:
- the vmType value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-