public ServiceFuture<Void> resetPasswordAsync(String resourceGroupName, String labAccountName, String labName, String environmentSettingName, String environmentName, ResetPasswordPayload resetPasswordPayload, final ServiceCallback<Void> serviceCallback) {
        return ServiceFuture.fromResponse(resetPasswordWithServiceResponseAsync(resourceGroupName, labAccountName, labName, environmentSettingName, environmentName, resetPasswordPayload), serviceCallback);
    }
public ServiceFuture < Void > resetPasswordAsync ( String resourceGroupName , String labAccountName , String labName , String environmentSettingName , String environmentName , ResetPasswordPayload resetPasswordPayload , final ServiceCallback < Void > serviceCallback ) { return ServiceFuture . fromResponse ( resetPasswordWithServiceResponseAsync ( resourceGroupName , labAccountName , labName , environmentSettingName , environmentName , resetPasswordPayload ) , serviceCallback ) ; }
Resets the user password on an environment This operation can take a while to complete.

@param resourceGroupName The name of the resource group.
@param labAccountName The name of the lab Account.
@param labName The name of the lab.
@param environmentSettingName The name of the environment Setting.
@param environmentName The name of the environment.
@param resetPasswordPayload Represents the payload for resetting passwords.
@param serviceCallback the async ServiceCallback to handle successful and failed responses.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the {@link ServiceFuture} object