Class OsProfile
- java.lang.Object
-
- com.azure.resourcemanager.scvmm.models.OsProfile
-
public final class OsProfile extends Object
Defines the resource properties.
-
-
Constructor Summary
Constructors Constructor Description OsProfile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
adminPassword()
Get the adminPassword property: Admin password of the virtual machine.String
computerName()
Get the computerName property: Gets or sets computer name.String
osName()
Get the osName property: Gets or sets os name.OsType
osType()
Get the osType property: Gets or sets the type of the os.void
validate()
Validates the instance.OsProfile
withAdminPassword(String adminPassword)
Set the adminPassword property: Admin password of the virtual machine.OsProfile
withComputerName(String computerName)
Set the computerName property: Gets or sets computer name.
-
-
-
Method Detail
-
adminPassword
public String adminPassword()
Get the adminPassword property: Admin password of the virtual machine.- Returns:
- the adminPassword value.
-
withAdminPassword
public OsProfile withAdminPassword(String adminPassword)
Set the adminPassword property: Admin password of the virtual machine.- Parameters:
adminPassword
- the adminPassword value to set.- Returns:
- the OsProfile object itself.
-
computerName
public String computerName()
Get the computerName property: Gets or sets computer name.- Returns:
- the computerName value.
-
withComputerName
public OsProfile withComputerName(String computerName)
Set the computerName property: Gets or sets computer name.- Parameters:
computerName
- the computerName value to set.- Returns:
- the OsProfile object itself.
-
osType
public OsType osType()
Get the osType property: Gets or sets the type of the os.- Returns:
- the osType value.
-
osName
public String osName()
Get the osName property: Gets or sets os name.- Returns:
- the osName value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-