Sdílet prostřednictvím


ArmComputeModelFactory.VirtualMachineCaptureResult Method

Definition

Initializes a new instance of VirtualMachineCaptureResult.

public static Azure.ResourceManager.Compute.Models.VirtualMachineCaptureResult VirtualMachineCaptureResult (Azure.Core.ResourceIdentifier id = default, string schema = default, string contentVersion = default, BinaryData parameters = default, System.Collections.Generic.IEnumerable<BinaryData> resources = default);
static member VirtualMachineCaptureResult : Azure.Core.ResourceIdentifier * string * string * BinaryData * seq<BinaryData> -> Azure.ResourceManager.Compute.Models.VirtualMachineCaptureResult
Public Shared Function VirtualMachineCaptureResult (Optional id As ResourceIdentifier = Nothing, Optional schema As String = Nothing, Optional contentVersion As String = Nothing, Optional parameters As BinaryData = Nothing, Optional resources As IEnumerable(Of BinaryData) = Nothing) As VirtualMachineCaptureResult

Parameters

id
ResourceIdentifier

Resource Id.

schema
String

the schema of the captured virtual machine.

contentVersion
String

the version of the content.

parameters
BinaryData

parameters of the captured virtual machine.

resources
IEnumerable<BinaryData>

a list of resource items of the captured virtual machine.

Returns

A new VirtualMachineCaptureResult instance for mocking.

Applies to