public final class OSProfile extends Object
Constructor and Description |
---|
OSProfile() |
Modifier and Type | Method and Description |
---|---|
String |
computerName()
Get the computerName property: Specifies the host OS name of the AzureBareMetal instance.
|
String |
osType()
Get the osType property: This property allows you to specify the type of the OS.
|
String |
sshPublicKey()
Get the sshPublicKey property: Specifies the SSH public key used to access the operating system.
|
void |
validate()
Validates the instance.
|
String |
version()
Get the version property: Specifies version of operating system.
|
OSProfile |
withComputerName(String computerName)
Set the computerName property: Specifies the host OS name of the AzureBareMetal instance.
|
OSProfile |
withSshPublicKey(String sshPublicKey)
Set the sshPublicKey property: Specifies the SSH public key used to access the operating system.
|
public String computerName()
public OSProfile withComputerName(String computerName)
computerName
- the computerName value to set.public String osType()
public String version()
public String sshPublicKey()
public OSProfile withSshPublicKey(String sshPublicKey)
sshPublicKey
- the sshPublicKey value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.