OsProfile Class

  • java.lang.Object
    • com.azure.resourcemanager.scvmm.models.OsProfile

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 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.

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:

the adminPassword value.

computerName

public String computerName()

Get the computerName property: Gets or sets computer name.

Returns:

the computerName value.

osName

public String osName()

Get the osName property: Gets or sets os name.

Returns:

the osName value.

osType

public OsType osType()

Get the osType property: Gets or sets the type of the os.

Returns:

the osType value.

validate

public void validate()

Validates the instance.

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.

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.

Applies to