Delen via


ArmComputeModelFactory.RestorePointSourceVmStorageProfile Method

Definition

Initializes a new instance of RestorePointSourceVmStorageProfile.

public static Azure.ResourceManager.Compute.Models.RestorePointSourceVmStorageProfile RestorePointSourceVmStorageProfile (Azure.ResourceManager.Compute.Models.RestorePointSourceVmOSDisk osDisk = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.RestorePointSourceVmDataDisk> dataDiskList = default, Azure.ResourceManager.Compute.Models.DiskControllerType? diskControllerType = default);
static member RestorePointSourceVmStorageProfile : Azure.ResourceManager.Compute.Models.RestorePointSourceVmOSDisk * seq<Azure.ResourceManager.Compute.Models.RestorePointSourceVmDataDisk> * Nullable<Azure.ResourceManager.Compute.Models.DiskControllerType> -> Azure.ResourceManager.Compute.Models.RestorePointSourceVmStorageProfile
Public Shared Function RestorePointSourceVmStorageProfile (Optional osDisk As RestorePointSourceVmOSDisk = Nothing, Optional dataDiskList As IEnumerable(Of RestorePointSourceVmDataDisk) = Nothing, Optional diskControllerType As Nullable(Of DiskControllerType) = Nothing) As RestorePointSourceVmStorageProfile

Parameters

osDisk
RestorePointSourceVmOSDisk

Gets the OS disk of the VM captured at the time of the restore point creation.

dataDiskList
IEnumerable<RestorePointSourceVmDataDisk>

Gets the data disks of the VM captured at the time of the restore point creation.

diskControllerType
Nullable<DiskControllerType>

Gets the disk controller type of the VM captured at the time of the restore point creation.

Returns

A new RestorePointSourceVmStorageProfile instance for mocking.

Applies to