Class OsProfile
java.lang.Object
com.azure.resourcemanager.connectedvmware.models.OsProfile
Defines the resource properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the adminPassword property: Gets or sets administrator password.Get the adminUsername property: Gets or sets administrator username.Get the allowExtensionOperations property: Gets or sets a value indicating whether the VM is ready for extension operations.Get the computerName property: Gets or sets computer name.guestId()
Get the guestId property: Gets or sets the guestId.Get the linuxConfiguration property: Specifies the linux configuration for update management.osName()
Get the osName property: Gets or sets os name.osType()
Get the osType property: Gets or sets the type of the os.Get the toolsRunningStatus property: Gets or sets the current running status of VMware Tools running in the guest operating system.Get the toolsVersion property: Gets or sets the current version of VMware Tools.Get the toolsVersionStatus property: Gets or sets the current version status of VMware Tools installed in the guest operating system.void
validate()
Validates the instance.Get the windowsConfiguration property: Specifies the windows configuration for update management.withAdminPassword
(String adminPassword) Set the adminPassword property: Gets or sets administrator password.withAdminUsername
(String adminUsername) Set the adminUsername property: Gets or sets administrator username.withComputerName
(String computerName) Set the computerName property: Gets or sets computer name.withGuestId
(String guestId) Set the guestId property: Gets or sets the guestId.withLinuxConfiguration
(OsProfileLinuxConfiguration linuxConfiguration) Set the linuxConfiguration property: Specifies the linux configuration for update management.withOsType
(OsType osType) Set the osType property: Gets or sets the type of the os.withWindowsConfiguration
(OsProfileWindowsConfiguration windowsConfiguration) Set the windowsConfiguration property: Specifies the windows configuration for update management.
-
Constructor Details
-
OsProfile
public OsProfile()
-
-
Method Details
-
computerName
Get the computerName property: Gets or sets computer name.- Returns:
- the computerName value.
-
withComputerName
Set the computerName property: Gets or sets computer name.- Parameters:
computerName
- the computerName value to set.- Returns:
- the OsProfile object itself.
-
adminUsername
Get the adminUsername property: Gets or sets administrator username.- Returns:
- the adminUsername value.
-
withAdminUsername
Set the adminUsername property: Gets or sets administrator username.- Parameters:
adminUsername
- the adminUsername value to set.- Returns:
- the OsProfile object itself.
-
adminPassword
Get the adminPassword property: Gets or sets administrator password.- Returns:
- the adminPassword value.
-
withAdminPassword
Set the adminPassword property: Gets or sets administrator password.- Parameters:
adminPassword
- the adminPassword value to set.- Returns:
- the OsProfile object itself.
-
guestId
Get the guestId property: Gets or sets the guestId.- Returns:
- the guestId value.
-
withGuestId
Set the guestId property: Gets or sets the guestId.- Parameters:
guestId
- the guestId value to set.- Returns:
- the OsProfile object itself.
-
allowExtensionOperations
Get the allowExtensionOperations property: Gets or sets a value indicating whether the VM is ready for extension operations.- Returns:
- the allowExtensionOperations value.
-
osType
Get the osType property: Gets or sets the type of the os.- Returns:
- the osType value.
-
withOsType
Set the osType property: Gets or sets the type of the os.- Parameters:
osType
- the osType value to set.- Returns:
- the OsProfile object itself.
-
osName
Get the osName property: Gets or sets os name.- Returns:
- the osName value.
-
toolsRunningStatus
Get the toolsRunningStatus property: Gets or sets the current running status of VMware Tools running in the guest operating system.- Returns:
- the toolsRunningStatus value.
-
toolsVersionStatus
Get the toolsVersionStatus property: Gets or sets the current version status of VMware Tools installed in the guest operating system.- Returns:
- the toolsVersionStatus value.
-
toolsVersion
Get the toolsVersion property: Gets or sets the current version of VMware Tools.- Returns:
- the toolsVersion value.
-
windowsConfiguration
Get the windowsConfiguration property: Specifies the windows configuration for update management.- Returns:
- the windowsConfiguration value.
-
withWindowsConfiguration
Set the windowsConfiguration property: Specifies the windows configuration for update management.- Parameters:
windowsConfiguration
- the windowsConfiguration value to set.- Returns:
- the OsProfile object itself.
-
linuxConfiguration
Get the linuxConfiguration property: Specifies the linux configuration for update management.- Returns:
- the linuxConfiguration value.
-
withLinuxConfiguration
Set the linuxConfiguration property: Specifies the linux configuration for update management.- Parameters:
linuxConfiguration
- the linuxConfiguration value to set.- Returns:
- the OsProfile object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-