Share via


VirtualMachineCaptureContent(String, String, Boolean) Constructor

Definition

Initializes a new instance of VirtualMachineCaptureContent.

public VirtualMachineCaptureContent (string vhdPrefix, string destinationContainerName, bool overwriteVhds);
new Azure.ResourceManager.Compute.Models.VirtualMachineCaptureContent : string * string * bool -> Azure.ResourceManager.Compute.Models.VirtualMachineCaptureContent
Public Sub New (vhdPrefix As String, destinationContainerName As String, overwriteVhds As Boolean)

Parameters

vhdPrefix
String

The captured virtual hard disk's name prefix.

destinationContainerName
String

The destination container name.

overwriteVhds
Boolean

Specifies whether to overwrite the destination virtual hard disk, in case of conflict.

Exceptions

vhdPrefix or destinationContainerName is null.

Applies to