共用方式為


VirtualMachineCaptureOSImageParameters Class

Definition

Parameters supplied to the Capture Virtual Machine operation.

public class VirtualMachineCaptureOSImageParameters
type VirtualMachineCaptureOSImageParameters = class
Public Class VirtualMachineCaptureOSImageParameters
Inheritance
VirtualMachineCaptureOSImageParameters

Constructors

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

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.

Applies to