OsProfile Class
- java.
lang. Object - com.
azure. resourcemanager. largeinstance. models. OsProfile
- com.
Implements
public final class OsProfile
implements JsonSerializable<OsProfile>
Specifies the operating system settings for the Azure Large Instance.
Constructor Summary
| Constructor | Description |
|---|---|
| OsProfile() |
Creates an instance of Os |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
computerName()
Get the computer |
|
static
Os |
fromJson(JsonReader jsonReader)
Reads an instance of Os |
| String |
osType()
Get the os |
| String |
sshPublicKey()
Get the ssh |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| String |
version()
Get the version property: Specifies version of operating system. |
|
Os |
withComputerName(String computerName)
Set the computer |
|
Os |
withSshPublicKey(String sshPublicKey)
Set the ssh |
Methods inherited from java.lang.Object
Constructor Details
OsProfile
public OsProfile()
Creates an instance of OsProfile class.
Method Details
computerName
public String computerName()
Get the computerName property: Specifies the host OS name of the Azure Large Instance.
Returns:
fromJson
public static OsProfile fromJson(JsonReader jsonReader)
Reads an instance of OsProfile from the JsonReader.
Parameters:
Returns:
Throws:
osType
public String osType()
Get the osType property: This property allows you to specify the type of the OS.
Returns:
sshPublicKey
public String sshPublicKey()
Get the sshPublicKey property: Specifies the SSH public key used to access the operating system.
Returns:
toJson
validate
public void validate()
Validates the instance.
version
public String version()
Get the version property: Specifies version of operating system.
Returns:
withComputerName
public OsProfile withComputerName(String computerName)
Set the computerName property: Specifies the host OS name of the Azure Large Instance.
Parameters:
Returns:
withSshPublicKey
public OsProfile withSshPublicKey(String sshPublicKey)
Set the sshPublicKey property: Specifies the SSH public key used to access the operating system.
Parameters:
Returns: