ArmComputeModelFactory.RestorePointSourceVmStorageProfile Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET