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
System_CAPS_pubmethod VirtualMachineCaptureOSImageParameters()

Initializes a new instance of the VirtualMachineCaptureOSImageParameters class.

System_CAPS_pubmethod VirtualMachineCaptureOSImageParameters(PostCaptureAction, String, String)

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

Properties

Name Description
System_CAPS_pubproperty 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.

System_CAPS_pubproperty 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.

System_CAPS_pubproperty 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.

System_CAPS_pubproperty TargetImageName

Required. Specifies the image name of the captured image.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod 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