| Modifier and Type | Method and Description |
|---|---|
VirtualMachine.Update |
VirtualMachine.UpdateStages.WithDataDisk.withExistingDataDisk(String storageAccountName,
String containerName,
String vhdName)
Specifies an existing VHD that needs to be attached to the virtual machine as data disk.
|
VirtualMachine.Update |
VirtualMachine.UpdateStages.WithSecondaryNetworkInterface.withExistingSecondaryNetworkInterface(com.microsoft.azure.management.network.NetworkInterface networkInterface)
Associate an existing network interface with the virtual machine.
|
VirtualMachine.Update |
VirtualMachine.UpdateStages.WithDataDisk.withNewDataDisk(Integer sizeInGB)
Specifies that a new blank data disk needs to be attached to virtual machine.
|
VirtualMachine.Update |
VirtualMachine.UpdateStages.WithSecondaryNetworkInterface.withNewSecondaryNetworkInterface(com.microsoft.azure.management.resources.fluentcore.model.Creatable<com.microsoft.azure.management.network.NetworkInterface> creatable)
Create a new network interface to associate with the virtual machine, based on the
provided definition.
|
VirtualMachine.Update |
VirtualMachine.Update.withOsDiskCaching(CachingTypes cachingType)
Specifies the caching type for the Operating System disk.
|
VirtualMachine.Update |
VirtualMachine.Update.withOsDiskSizeInGb(Integer size)
Specifies the size of the OSDisk in GB.
|
VirtualMachine.Update |
VirtualMachine.UpdateStages.WithDataDisk.withoutDataDisk(int lun)
Detaches a data disk with the given logical unit number from the virtual machine.
|
VirtualMachine.Update |
VirtualMachine.UpdateStages.WithDataDisk.withoutDataDisk(String name)
Detaches a data disk with the given name from the virtual machine.
|
VirtualMachine.Update |
VirtualMachine.UpdateStages.WithExtension.withoutExtension(String name)
Detaches an extension with the given name from the virtual machine.
|
VirtualMachine.Update |
VirtualMachine.UpdateStages.WithSecondaryNetworkInterface.withoutSecondaryNetworkInterface(String name)
Removes a network interface associated with virtual machine.
|
VirtualMachine.Update |
VirtualMachine.Update.withSize(String sizeName)
Specifies the new size for the virtual machine.
|
VirtualMachine.Update |
VirtualMachine.Update.withSize(VirtualMachineSizeTypes size)
Specifies the new size for the virtual machine.
|
| Modifier and Type | Method and Description |
|---|---|
VirtualMachineDataDisk.UpdateDefinitionStages.AttachExistingDataDisk<VirtualMachine.Update> |
VirtualMachine.UpdateStages.WithDataDisk.defineExistingDataDisk(String name)
Specifies an existing VHD that needs to be attached to the virtual machine as data disk along with
it's configuration.
|
VirtualMachineDataDisk.UpdateDefinitionStages.AttachNewDataDisk<VirtualMachine.Update> |
VirtualMachine.UpdateStages.WithDataDisk.defineNewDataDisk(String name)
Specifies a new blank data disk to be attached to the virtual machine along with it's configuration.
|
VirtualMachineExtension.UpdateDefinitionStages.Blank<VirtualMachine.Update> |
VirtualMachine.UpdateStages.WithExtension.defineNewExtension(String name)
Specifies definition of an extension to be attached to the virtual machine.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/