ArmCommvaultContentStoreModelFactory.VmInfo 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.
public static Azure.ResourceManager.CommvaultContentStore.Models.VmInfo VmInfo(string sourceVmGuid = default, string storageAccountId = default, bool? shouldPowerOnVmAfterRestore = default, string name = default, string resourceGroup = default, string region = default, string networkId = default, string subnetId = default, bool? shouldAttachAndSwapOSDisk = default, string targetVmGuid = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CommvaultContentStore.Models.VmTag> vmTags = default);
static member VmInfo : string * string * Nullable<bool> * string * string * string * string * string * Nullable<bool> * string * seq<Azure.ResourceManager.CommvaultContentStore.Models.VmTag> -> Azure.ResourceManager.CommvaultContentStore.Models.VmInfo
Public Shared Function VmInfo (Optional sourceVmGuid As String = Nothing, Optional storageAccountId As String = Nothing, Optional shouldPowerOnVmAfterRestore As Nullable(Of Boolean) = Nothing, Optional name As String = Nothing, Optional resourceGroup As String = Nothing, Optional region As String = Nothing, Optional networkId As String = Nothing, Optional subnetId As String = Nothing, Optional shouldAttachAndSwapOSDisk As Nullable(Of Boolean) = Nothing, Optional targetVmGuid As String = Nothing, Optional vmTags As IEnumerable(Of VmTag) = Nothing) As VmInfo
Parameters
- sourceVmGuid
- String
The GUID of VM to be restored.
- storageAccountId
- String
The storage account to be used for restore.
- name
- String
The name of the VM.
- resourceGroup
- String
The resource group of the VM.
- region
- String
The region of the VM.
- networkId
- String
The network Id of the VM.
- subnetId
- String
The subnet Id of the VM.
The identifier to check if to attach and swap disk of the VM.
- targetVmGuid
- String
The GUID of target VM used in DISK ATTACH.
- vmTags
- IEnumerable<VmTag>
The vmTag of the VM.
Returns
A new VmInfo instance for mocking.