Dela via


ArmArcScVmmModelFactory.OSProfile Method

Definition

Initializes a new instance of OSProfile.

public static Azure.ResourceManager.ArcScVmm.Models.OSProfile OSProfile (string adminPassword = default, string computerName = default, Azure.ResourceManager.ArcScVmm.Models.OSType? osType = default, string osName = default);
static member OSProfile : string * string * Nullable<Azure.ResourceManager.ArcScVmm.Models.OSType> * string -> Azure.ResourceManager.ArcScVmm.Models.OSProfile
Public Shared Function OSProfile (Optional adminPassword As String = Nothing, Optional computerName As String = Nothing, Optional osType As Nullable(Of OSType) = Nothing, Optional osName As String = Nothing) As OSProfile

Parameters

adminPassword
String

Admin password of the virtual machine.

computerName
String

Gets or sets computer name.

osType
Nullable<OSType>

Gets or sets the type of the os.

osName
String

Gets or sets os name.

Returns

A new OSProfile instance for mocking.

Applies to