Class WindowsUserConfiguration
java.lang.Object
com.azure.resourcemanager.batch.models.WindowsUserConfiguration
Properties used to create a user account on a Windows node.
-
Constructor Summary
ConstructorDescriptionCreates an instance of WindowsUserConfiguration class. -
Method Summary
Modifier and TypeMethodDescriptionGet the loginMode property: Login mode for uservoid
validate()
Validates the instance.withLoginMode
(LoginMode loginMode) Set the loginMode property: Login mode for user
-
Constructor Details
-
WindowsUserConfiguration
public WindowsUserConfiguration()Creates an instance of WindowsUserConfiguration class.
-
-
Method Details
-
loginMode
Get the loginMode property: Login mode for userSpecifies login mode for the user. The default value for VirtualMachineConfiguration pools is interactive mode and for CloudServiceConfiguration pools is batch mode.
- Returns:
- the loginMode value.
-
withLoginMode
Set the loginMode property: Login mode for userSpecifies login mode for the user. The default value for VirtualMachineConfiguration pools is interactive mode and for CloudServiceConfiguration pools is batch mode.
- Parameters:
loginMode
- the loginMode value to set.- Returns:
- the WindowsUserConfiguration object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-