VirtualMachineUpdateProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.scvmm.models.VirtualMachineUpdateProperties

public final class VirtualMachineUpdateProperties

Defines the resource properties.

Constructor Summary

Constructor Description
VirtualMachineUpdateProperties()

Method Summary

Modifier and Type Method and Description
List<AvailabilitySetListItem> availabilitySets()

Get the availabilitySets property: Availability Sets in vm.

HardwareProfileUpdate hardwareProfile()

Get the hardwareProfile property: Defines the resource properties.

NetworkProfileUpdate networkProfile()

Get the networkProfile property: Defines the resource properties.

StorageProfileUpdate storageProfile()

Get the storageProfile property: Defines the resource properties.

void validate()

Validates the instance.

VirtualMachineUpdateProperties withAvailabilitySets(List<AvailabilitySetListItem> availabilitySets)

Set the availabilitySets property: Availability Sets in vm.

VirtualMachineUpdateProperties withHardwareProfile(HardwareProfileUpdate hardwareProfile)

Set the hardwareProfile property: Defines the resource properties.

VirtualMachineUpdateProperties withNetworkProfile(NetworkProfileUpdate networkProfile)

Set the networkProfile property: Defines the resource properties.

VirtualMachineUpdateProperties withStorageProfile(StorageProfileUpdate storageProfile)

Set the storageProfile property: Defines the resource properties.

Methods inherited from java.lang.Object

Constructor Details

VirtualMachineUpdateProperties

public VirtualMachineUpdateProperties()

Method Details

availabilitySets

public List<AvailabilitySetListItem> availabilitySets()

Get the availabilitySets property: Availability Sets in vm.

Returns:

the availabilitySets value.

hardwareProfile

public HardwareProfileUpdate hardwareProfile()

Get the hardwareProfile property: Defines the resource properties.

Returns:

the hardwareProfile value.

networkProfile

public NetworkProfileUpdate networkProfile()

Get the networkProfile property: Defines the resource properties.

Returns:

the networkProfile value.

storageProfile

public StorageProfileUpdate storageProfile()

Get the storageProfile property: Defines the resource properties.

Returns:

the storageProfile value.

validate

public void validate()

Validates the instance.

withAvailabilitySets

public VirtualMachineUpdateProperties withAvailabilitySets(List<AvailabilitySetListItem> availabilitySets)

Set the availabilitySets property: Availability Sets in vm.

Parameters:

availabilitySets - the availabilitySets value to set.

Returns:

the VirtualMachineUpdateProperties object itself.

withHardwareProfile

public VirtualMachineUpdateProperties withHardwareProfile(HardwareProfileUpdate hardwareProfile)

Set the hardwareProfile property: Defines the resource properties.

Parameters:

hardwareProfile - the hardwareProfile value to set.

Returns:

the VirtualMachineUpdateProperties object itself.

withNetworkProfile

public VirtualMachineUpdateProperties withNetworkProfile(NetworkProfileUpdate networkProfile)

Set the networkProfile property: Defines the resource properties.

Parameters:

networkProfile - the networkProfile value to set.

Returns:

the VirtualMachineUpdateProperties object itself.

withStorageProfile

public VirtualMachineUpdateProperties withStorageProfile(StorageProfileUpdate storageProfile)

Set the storageProfile property: Defines the resource properties.

Parameters:

storageProfile - the storageProfile value to set.

Returns:

the VirtualMachineUpdateProperties object itself.

Applies to