Class VirtualMachineCaptureParameters
java.lang.Object
com.microsoft.azure.management.compute.VirtualMachineCaptureParameters
Capture Virtual Machine parameters.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the destination container name.boolean
Get specifies whether to overwrite the destination virtual hard disk, in case of conflict.Get the captured virtual hard disk's name prefix.withDestinationContainerName
(String destinationContainerName) Set the destination container name.withOverwriteVhds
(boolean overwriteVhds) Set specifies whether to overwrite the destination virtual hard disk, in case of conflict.withVhdPrefix
(String vhdPrefix) Set the captured virtual hard disk's name prefix.
-
Constructor Details
-
VirtualMachineCaptureParameters
public VirtualMachineCaptureParameters()
-
-
Method Details
-
vhdPrefix
Get the captured virtual hard disk's name prefix.- Returns:
- the vhdPrefix value
-
withVhdPrefix
Set the captured virtual hard disk's name prefix.- Parameters:
vhdPrefix
- the vhdPrefix value to set- Returns:
- the VirtualMachineCaptureParameters object itself.
-
destinationContainerName
Get the destination container name.- Returns:
- the destinationContainerName value
-
withDestinationContainerName
public VirtualMachineCaptureParameters withDestinationContainerName(String destinationContainerName) Set the destination container name.- Parameters:
destinationContainerName
- the destinationContainerName value to set- Returns:
- the VirtualMachineCaptureParameters object itself.
-
overwriteVhds
public boolean overwriteVhds()Get specifies whether to overwrite the destination virtual hard disk, in case of conflict.- Returns:
- the overwriteVhds value
-
withOverwriteVhds
Set specifies whether to overwrite the destination virtual hard disk, in case of conflict.- Parameters:
overwriteVhds
- the overwriteVhds value to set- Returns:
- the VirtualMachineCaptureParameters object itself.
-