Language

ArmCommvaultContentStoreModelFactory.CommvaultVmRestoreSettings Method

Definition

The properties of information of a VM.

public static Azure.ResourceManager.CommvaultContentStore.Models.CommvaultVmRestoreSettings CommvaultVmRestoreSettings(string sourceVmGuid = default, string storageAccountId = default, bool? shouldPowerOnVmAfterRestore = default, string name = default, string resourceGroupName = default, string region = default, string virtualNetworkId = default, string subnetId = default, bool? shouldAttachAndSwapOSDisk = default, string targetVmGuid = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CommvaultContentStore.Models.CommvaultVmTag> tags = default);
static member CommvaultVmRestoreSettings : string * string * Nullable<bool> * string * string * string * string * string * Nullable<bool> * string * seq<Azure.ResourceManager.CommvaultContentStore.Models.CommvaultVmTag> -> Azure.ResourceManager.CommvaultContentStore.Models.CommvaultVmRestoreSettings
Public Shared Function CommvaultVmRestoreSettings (Optional sourceVmGuid As String = Nothing, Optional storageAccountId As String = Nothing, Optional shouldPowerOnVmAfterRestore As Nullable(Of Boolean) = Nothing, Optional name As String = Nothing, Optional resourceGroupName As String = Nothing, Optional region As String = Nothing, Optional virtualNetworkId As String = Nothing, Optional subnetId As String = Nothing, Optional shouldAttachAndSwapOSDisk As Nullable(Of Boolean) = Nothing, Optional targetVmGuid As String = Nothing, Optional tags As IEnumerable(Of CommvaultVmTag) = Nothing) As CommvaultVmRestoreSettings

Parameters

sourceVmGuid
String

The GUID of VM to be restored.

storageAccountId
String

The storage account to be used for restore.

shouldPowerOnVmAfterRestore
Nullable<Boolean>

The identifier to check if VM needs to be powered on.

name
String

The name of the VM.

resourceGroupName
String

The resource group of the VM.

region
String

The region of the VM.

virtualNetworkId
String

The network Id of the VM.

subnetId
String

The subnet Id of the VM.

shouldAttachAndSwapOSDisk
Nullable<Boolean>

The identifier to check if to attach and swap disk of the VM.

targetVmGuid
String

The GUID of target VM used in DISK ATTACH.

tags
IEnumerable<CommvaultVmTag>

The vmTag of the VM.

Returns

A new CommvaultVmRestoreSettings instance for mocking.

Applies to