ArmScVmmModelFactory.OSProfileForVmInstance 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 OSProfileForVmInstance.
public static Azure.ResourceManager.ScVmm.Models.OSProfileForVmInstance OSProfileForVmInstance (string adminPassword = default, string computerName = default, Azure.ResourceManager.ScVmm.Models.ScVmmOSType? osType = default, string osSku = default, string osVersion = default);
static member OSProfileForVmInstance : string * string * Nullable<Azure.ResourceManager.ScVmm.Models.ScVmmOSType> * string * string -> Azure.ResourceManager.ScVmm.Models.OSProfileForVmInstance
Public Shared Function OSProfileForVmInstance (Optional adminPassword As String = Nothing, Optional computerName As String = Nothing, Optional osType As Nullable(Of ScVmmOSType) = Nothing, Optional osSku As String = Nothing, Optional osVersion As String = Nothing) As OSProfileForVmInstance
Parameters
- adminPassword
- String
Admin password of the virtual machine.
- computerName
- String
Gets or sets computer name.
- osType
- Nullable<ScVmmOSType>
Gets the type of the os.
- osSku
- String
Gets os sku.
- osVersion
- String
Gets os version.
Returns
A new OSProfileForVmInstance instance for mocking.