OsProfile Class
- java.
lang. Object - com.
azure. resourcemanager. scvmm. models. OsProfile
- com.
public final class OsProfile
Defines the resource properties.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| OsProfile() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
adminPassword()
Get the admin |
| String |
computerName()
Get the computer |
| String |
osName()
Get the os |
|
Os |
osType()
Get the os |
| void |
validate()
Validates the instance. |
|
Os |
withAdminPassword(String adminPassword)
Set the admin |
|
Os |
withComputerName(String computerName)
Set the computer |
Methods inherited from java.lang.Object
Constructor Details
OsProfile
public OsProfile()
Method Details
adminPassword
public String adminPassword()
Get the adminPassword property: Admin password of the virtual machine.
Returns:
computerName
public String computerName()
Get the computerName property: Gets or sets computer name.
Returns:
osName
public String osName()
Get the osName property: Gets or sets os name.
Returns:
osType
public OsType osType()
Get the osType property: Gets or sets the type of the os.
Returns:
validate
public void validate()
Validates the instance.
withAdminPassword
public OsProfile withAdminPassword(String adminPassword)
Set the adminPassword property: Admin password of the virtual machine.
Parameters:
Returns:
withComputerName
public OsProfile withComputerName(String computerName)
Set the computerName property: Gets or sets computer name.
Parameters:
Returns: