Share via


VirtualMachineCaptureOSImageParameters Class

 

Parameters supplied to the Capture Virtual Machine operation.

Namespace:   Microsoft.WindowsAzure.Management.Compute.Models
Assembly:  Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)

Inheritance Hierarchy

System.Object
  Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineCaptureOSImageParameters

Syntax

public class VirtualMachineCaptureOSImageParameters
public ref class VirtualMachineCaptureOSImageParameters 
type VirtualMachineCaptureOSImageParameters = class end
Public Class VirtualMachineCaptureOSImageParameters

Constructors

Name Description
VirtualMachineCaptureOSImageParameters()

Initializes a new instance of the VirtualMachineCaptureOSImageParameters class.

VirtualMachineCaptureOSImageParameters(PostCaptureAction, String, String)

Initializes a new instance of the VirtualMachineCaptureOSImageParameters class with required arguments.

Properties

Name Description
PostCaptureAction

Required. Specifies the action that is performed after the capture operation finishes. Possible values are: Delete - this value causes the virtual machine to be deleted after the image has been captured; or Reprovision - this value causes the virtual machine to be redeployed after the image is captured by using the specified information in ProvisioningConfiguration.

ProvisioningConfiguration

Optional. Provides information to be used to redeploy the virtual machine after the image has been captured. This element is only used when the PostCaptureAction is set to Reprovision.

TargetImageLabel

Required. Specifies the friendly name of the captured image. This is the value that appears in the Name column for the image in the Azure Management Portal.

TargetImageName

Required. Specifies the image name of the captured image.

Methods

Name Description
Equals(Object)

(Inherited from Object.)

Finalize()

(Inherited from Object.)

GetHashCode()

(Inherited from Object.)

GetType()

(Inherited from Object.)

MemberwiseClone()

(Inherited from Object.)

ToString()

(Inherited from Object.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.WindowsAzure.Management.Compute.Models Namespace

Return to top