IWithSourceVirtualMachine.FromVirtualMachine Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
FromVirtualMachine(IVirtualMachine) |
Uses the virtual machine's OS and data disks as the sources for OS disk image and data disk images of this image. |
FromVirtualMachine(String) |
Uses the virtual machine's OS disk and data disks as the source for OS disk image and data disk images of this image. |
FromVirtualMachine(IVirtualMachine)
Uses the virtual machine's OS and data disks as the sources for OS disk image and data disk images of this image.
public Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.Definition.IWithCreate FromVirtualMachine (Microsoft.Azure.Management.Compute.Fluent.IVirtualMachine virtualMachine);
abstract member FromVirtualMachine : Microsoft.Azure.Management.Compute.Fluent.IVirtualMachine -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.Definition.IWithCreate
Public Function FromVirtualMachine (virtualMachine As IVirtualMachine) As IWithCreate
Parameters
- virtualMachine
- IVirtualMachine
Source virtual machine.
Returns
Applies to
FromVirtualMachine(String)
Uses the virtual machine's OS disk and data disks as the source for OS disk image and data disk images of this image.
public Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.Definition.IWithCreate FromVirtualMachine (string virtualMachineId);
abstract member FromVirtualMachine : string -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.Definition.IWithCreate
Public Function FromVirtualMachine (virtualMachineId As String) As IWithCreate
Parameters
- virtualMachineId
- String
Source virtual machine resource ID.