Class VirtualMachineUpdate
java.lang.Object
com.azure.resourcemanager.connectedvmware.models.VirtualMachineUpdate
Defines the virtualMachineUpdate.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the hardwareProfile property: Defines the resource properties.identity()
Get the identity property: The identity of the resource.Get the networkProfile property: Defines the update resource properties.Get the osProfile property: OS properties.Get the storageProfile property: Defines the resource update properties.tags()
Get the tags property: Gets or sets the Resource tags.void
validate()
Validates the instance.withHardwareProfile
(HardwareProfile hardwareProfile) Set the hardwareProfile property: Defines the resource properties.withIdentity
(Identity identity) Set the identity property: The identity of the resource.withNetworkProfile
(NetworkProfileUpdate networkProfile) Set the networkProfile property: Defines the update resource properties.withOsProfile
(OsProfileUpdate osProfile) Set the osProfile property: OS properties.withStorageProfile
(StorageProfileUpdate storageProfile) Set the storageProfile property: Defines the resource update properties.Set the tags property: Gets or sets the Resource tags.
-
Constructor Details
-
VirtualMachineUpdate
public VirtualMachineUpdate()
-
-
Method Details
-
tags
Get the tags property: Gets or sets the Resource tags.- Returns:
- the tags value.
-
withTags
Set the tags property: Gets or sets the Resource tags.- Parameters:
tags
- the tags value to set.- Returns:
- the VirtualMachineUpdate object itself.
-
identity
Get the identity property: The identity of the resource.- Returns:
- the identity value.
-
withIdentity
Set the identity property: The identity of the resource.- Parameters:
identity
- the identity value to set.- Returns:
- the VirtualMachineUpdate object itself.
-
hardwareProfile
Get the hardwareProfile property: Defines the resource properties.- Returns:
- the hardwareProfile value.
-
withHardwareProfile
Set the hardwareProfile property: Defines the resource properties.- Parameters:
hardwareProfile
- the hardwareProfile value to set.- Returns:
- the VirtualMachineUpdate object itself.
-
osProfile
Get the osProfile property: OS properties.- Returns:
- the osProfile value.
-
withOsProfile
Set the osProfile property: OS properties.- Parameters:
osProfile
- the osProfile value to set.- Returns:
- the VirtualMachineUpdate object itself.
-
storageProfile
Get the storageProfile property: Defines the resource update properties.- Returns:
- the storageProfile value.
-
withStorageProfile
Set the storageProfile property: Defines the resource update properties.- Parameters:
storageProfile
- the storageProfile value to set.- Returns:
- the VirtualMachineUpdate object itself.
-
networkProfile
Get the networkProfile property: Defines the update resource properties.- Returns:
- the networkProfile value.
-
withNetworkProfile
Set the networkProfile property: Defines the update resource properties.- Parameters:
networkProfile
- the networkProfile value to set.- Returns:
- the VirtualMachineUpdate object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-