Class VirtualMachineCaptureParameters
java.lang.Object
com.azure.resourcemanager.compute.models.VirtualMachineCaptureParameters
Capture Virtual Machine parameters.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the destinationContainerName property: The destination container name.booleanGet the overwriteVhds property: Specifies whether to overwrite the destination virtual hard disk, in case of conflict.voidvalidate()Validates the instance.Get the vhdPrefix property: The captured virtual hard disk's name prefix.withDestinationContainerName(String destinationContainerName) Set the destinationContainerName property: The destination container name.withOverwriteVhds(boolean overwriteVhds) Set the overwriteVhds property: Specifies whether to overwrite the destination virtual hard disk, in case of conflict.withVhdPrefix(String vhdPrefix) Set the vhdPrefix property: The captured virtual hard disk's name prefix.
-
Constructor Details
-
VirtualMachineCaptureParameters
public VirtualMachineCaptureParameters()
-
-
Method Details
-
vhdPrefix
Get the vhdPrefix property: The captured virtual hard disk's name prefix.- Returns:
- the vhdPrefix value.
-
withVhdPrefix
Set the vhdPrefix property: The captured virtual hard disk's name prefix.- Parameters:
vhdPrefix- the vhdPrefix value to set.- Returns:
- the VirtualMachineCaptureParameters object itself.
-
destinationContainerName
Get the destinationContainerName property: The destination container name.- Returns:
- the destinationContainerName value.
-
withDestinationContainerName
public VirtualMachineCaptureParameters withDestinationContainerName(String destinationContainerName) Set the destinationContainerName property: The destination container name.- Parameters:
destinationContainerName- the destinationContainerName value to set.- Returns:
- the VirtualMachineCaptureParameters object itself.
-
overwriteVhds
public boolean overwriteVhds()Get the overwriteVhds property: Specifies whether to overwrite the destination virtual hard disk, in case of conflict.- Returns:
- the overwriteVhds value.
-
withOverwriteVhds
Set the overwriteVhds property: 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.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-